powerpc: refactor stpcpy, stpncpy, strcpy, and strncpy IFUNC.
[glibc.git] / ChangeLog
blobd4bbc560f4a6e6c7998cb800412b6c09ee2d54a3
1 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
4         implementation-specific function name and remove unneeded macros
5         definition.
6         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
7         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
8         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
9         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
10         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
11         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
12         function name if not defined.
13         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
14         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
16 2017-04-11  Paul Clarke  <pc@us.ibm.com>
18         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
19         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
20         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
21         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
23 2017-04-11  Florian Weimer  <fweimer@redhat.com>
24             Zack Weinberg  <zackw@panix.com>
26         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
27         readdir64 as thread-safe.  Update warning about readdir_r.
29 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31         * sysdeps/unix/sysv/linux/x86/Implies: New file.
32         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
33         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
34         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
35         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
36         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
37         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
39 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41         * sysdeps/i386/dl-procinfo.c: Include
42         <sysdeps/x86/dl-procinfo.c>.
43         * sysdeps/x86_64/dl-procinfo.c: Likewise.
44         * sysdeps/x86/dl-procinfo.c: New file.
46 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
48         * sysdeps/generic/math_private.h: Remove declarations of
49         many functions that are already declared in math.h.
50         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
51         declaration for __frexpl.
52         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
53         the declarations for __scalbnl and fabsl.
55 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
57         [BZ #20831]
58         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
59         of __mprotect to change protection on the excess portion
60         to disallow all access.
62 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
64         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
65         HAS_CPU_FEATURE to check for SSE.
66         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
67         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
68         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
69         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
70         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
71         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
72         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
73         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
74         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
75         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
76         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
77         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
78         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
79         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
80         (index_cpu_SSE): Likewise.
81         (reg_SSE): Likewise.
83 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
85         * posix/getopt1.c: Include <config.h>, not "config.h".
87 2017-04-07  Zack Weinberg  <zackw@panix.com>
89         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
90         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
91         Mention in top-of-file boilerplate that these files are shared
92         with gnulib.
93         * posix/getopt.h, posix/bits/getopt_posix.h:
94         Mention in top-of-file boilerplate that these files are NOT shared
95         with gnulib, unlike the rest of the getopt implementation.
97         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
98         New files, intended to be shared with gnulib.
99         * posix/bits/getopt_posix.h:
100         New file, not intended to be shared with gnulib.
101         * posix/getopt.h: Now just includes features.h,
102         bits/getopt_core.h, and bits/getopt_ext.h.  Will
103         no longer be shared with gnulib.
104         * include/bits/getopt_core.h, include/bits/getopt_ext.h
105         * include/bits/getopt_posix.h: New wrappers.
106         * posix/Makefile: Install new headers.
107         * posix/unistd.h, libio/stdio.h:
108         Include bits/getopt_posix.h instead of getopt.h.
110         * include/libc-symbols.h: For gnulib compatibility, define
111         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
112         _GL_ATTRIBUTE_CONST.
113         * posix/getopt.c (_getopt_initialize): Mark argc and argv
114         parameters with _GL_UNUSED.
116         * posix/getopt.c: When used standalone, define __libc_use_alloca
117         as always false and alloca to abort if called.
118         (process_long_option): Rewrite handling of ambiguous long options
119         to use a single boolean vector, not a linked list; use
120         __libc_use_alloca to decide whether to allocate this using alloca.
121         * posix/tst-getopt_long1.c: Adjust text of expected error message.
123         * posix/getopt.c (process_long_option): New function split out
124         from _getopt_internal_r.
125         (_getopt_internal_r): Replace both copies of the long-option
126         processing code with calls to process_long_option.
127         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
128         (do_test): Differentiate argv[0] in the two subtests.
130         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
131         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
132         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
134         * posix/getopt.h: Add backup definition of __nonnull for
135         consistency with gnulib.  Define __getopt_argv_const to const
136         if not already defined.
137         (getopt): Update doc comment from gnulib.  Prototype
138         unconditionally.  Add __nonnull annotation.
139         (__posix_getopt): Add __nonnull annotation.
140         (getopt_long, getopt_long_only): Use __getopt_argv_const in
141         prototypes for consistency with gnulib.  Add __nonnull
142         annotations.
143         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
144         (getopt_internal): Change 'argv' argument to type 'char **'.
145         Remove now-unnecessary casts.
146         (getopt, __posix_getopt): Eliminate repetition with a macro.
147         Cast 'argv' to 'char **' when calling _getopt_internal.
148         * posix/getopt1.c (getopt_long, getopt_long_only):
149         Use __getopt_argv_const for consistency with gnulib.
150         Cast 'argv' to 'char **' when calling _getopt_internal.
151         (_getopt_long_r, _getopt_long_only_r):
152         Change 'argv' argument to type 'char **'.
153         (main): Constify 'long_options'.
154         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
155         (_getopt_long_r, _getopt_long_only_r):
156         Change 'argv' argument to type 'char **'.
158         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
159         (locked_vfxprintf): New helper function. Handle arbitrary
160         multibyte strings, not just ASCII.
161         * include/stdio.h: Declare __fxprintf_nocancel.
162         * posix/getopt.c: When _LIBC is defined, define fprintf to
163         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
164         to _IO_funlockfile.  When neither _LIBC nor
165         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
166         funlockfile as no-ops.
167         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
168         the standalone error-printing code can now be used for libc as
169         well.  Add an flockfile/funlockfile pair around one case where
170         the error message is printed in several chunks.  Don't use fputc.
171         * posix/tst-getopt-cancel.c: New test.
172         * posix/Makefile: Run it.
174         * posix/getopt.c (_getopt_internal_r): Don't increment
175         d->optind a second time when reporting ambiguous -W options.
177         * posix/getopt_int.h: Include getopt.h.
178         Use impl-namespace names for all arguments to _getopt_internal and
179         _getopt_internal_r.
180         Declare __ordering enum outside the struct.
181         Harmonize comments with gnulib.
182         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
183         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
184         #ifdef TEST block and make unconditional.  Do not define NULL.
185         * posix/getopt.c: Partial merge from gnulib, covering the
186         initial includes and global declarations, commentary, and
187         a couple of semantically-neutral code changes.
189         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
190         Use '...' instead of `...' for quotation marks inside
191         comments and strings.
193         * config.h.in (USE_NONOPTION_FLAGS): Remove.
194         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
195         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
196         * posix/getopt_int.h: Likewise.
197         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
198         __libc_argc and __libc_argv externs, which were only used by
199         #ifdef USE_NONOPTION_FLAGS blocks.
200         * posix/getopt_init.c: Remove file.
201         * posix/Makefile (routines): Remove getopt_init.
202         * include/getopt.h: Don't declare __getopt_initialize_environment.
203         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
204         a comment.
206 2017-04-07  Florian Weimer  <fweimer@redhat.com>
208         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
210 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
212         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
213         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
214         to __wrap_.udiv.
215         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
216         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
218         * sysdeps/i386/symbol-hacks.h: New file.
219         * sysdeps/m68k/symbol-hacks.h: New file.
220         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
221         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
222         * sysdeps/unix/sysv/linux/i386/Makefile
223         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
224         [$(subdir) = csu] (sysdep-only-routines): Likewise.
225         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
226         * sysdeps/unix/sysv/linux/m68k/Makefile
227         [$(subdir) = csu] (sysdep_routines): Likewise.
228         [$(subdir) = csu] (sysdep-only-routines): Likewise.
229         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
231         [$(subdir) = csu] (sysdep_routines): Likewise.
232         [$(subdir) = csu] (sysdep-only-routines): Likewise.
233         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
234         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
235         [$(subdir) = csu] (sysdep_routines): Likewise.
236         [$(subdir) = csu] (sysdep-only-routines): Likewise.
237         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
238         * sysdeps/wordsize-32/Makefile: Remove file.
239         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
240         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
242 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
244         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
245         (TEST_FUNCTION_ARGV): New.
247 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
249         * elf/next.c: Import support/test-driver.c instead of
250         test-skeleton.c and delete TEST_FUNCTION macro definition.
251         * elf/nodelete.c: Likewise.
252         * elf/order2.c: Likewise.
253         * elf/tst-_dl_addr_inside_object.c: Likewise.
254         * elf/tst-addr1.c: Likewise.
255         * elf/tst-align.c: Likewise.
256         * elf/tst-align2.c: Likewise.
257         * elf/tst-audit11.c: Likewise.
258         * elf/tst-audit12.c: Likewise.
259         * elf/tst-audit2.c: Likewise.
260         * elf/tst-audit9.c: Likewise.
261         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
262         * elf/tst-deep1.c: Likewise.
263         * elf/tst-dl-iter-static.c: Likewise.
264         * elf/tst-dlmodcount.c: Likewise.
265         * elf/tst-dlmopen1.c: Likewise.
266         * elf/tst-dlmopen2.c: Likewise.
267         * elf/tst-dlmopen3.c: Likewise.
268         * elf/tst-dlopen-aout.c: Likewise.
269         * elf/tst-dlopenrpath.c: Likewise.
270         * elf/tst-dlsym-error.c: Likewise.
271         * elf/tst-execstack-needed.c: Likewise.
272         * elf/tst-execstack-prog.c: Likewise.
273         * elf/tst-execstack.c: Likewise.
274         * elf/tst-global1.c: Likewise.
275         * elf/tst-gnu2-tls1.c: Likewise.
276         * elf/tst-latepthread.c: Likewise.
277         * elf/tst-leaks1.c: Likewise.
278         * elf/tst-linkall-static.c: Likewise.
279         (do_test): New function.
280         * elf/tst-nodelete-opened.c: Likewise.
281         * elf/tst-nodelete.cc: Likewise.
282         * elf/tst-nodelete2.c: Likewise.
283         * elf/tst-noload.c: Likewise.
284         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
285         * elf/tst-order-main.c: Likewise.
286         * elf/tst-pathopt.c: Likewise.
287         * elf/tst-pie2.c: Likewise.
288         * elf/tst-piemod1.c: Likewise.
289         * elf/tst-prelink.c: Likewise.
290         * elf/tst-protected1a.c: Likewise.
291         * elf/tst-protected1b.c: Likewise.
292         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
293         and define _GNU_SOURCE macro.
294         (cmdline_process_function): New function.
295         * elf/tst-relsort1.c: Likewise.
296         * elf/tst-stackguard1.c: Likewise, import getopt.h,
297         and define _GNU_SOURCE macro.
298         (cmdline_process_function): New function.
299         * elf/tst-thrlock.c: Likewise.
300         * elf/tst-tls-dlinfo.c: Likewise.
301         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
302         * elf/tst-tls1.c: Likewise.
303         * elf/tst-tls10.c: Likewise.
304         * elf/tst-tls11.c: Likewise.
305         * elf/tst-tls12.c: Likewise.
306         * elf/tst-tls13.c: Likewise.
307         * elf/tst-tls14.c: Likewise.
308         * elf/tst-tls15.c: Likewise.
309         * elf/tst-tls16.c: Likewise.
310         * elf/tst-tls17.c: Likewise.
311         * elf/tst-tls18.c: Likewise.
312         * elf/tst-tls19.c: Likewise.
313         * elf/tst-tls2.c: Likewise.
314         * elf/tst-tls3.c: Likewise.
315         * elf/tst-tls4.c: Likewise.
316         * elf/tst-tls5.c: Likewise.
317         * elf/tst-tls6.c: Likewise.
318         * elf/tst-tls7.c: Likewise.
319         * elf/tst-tls8.c: Likewise.
320         * elf/tst-tls9.c: Likewise.
321         * elf/tst-tlsalign-extern.c: Likewise.
322         * elf/tst-tlsalign.c: Likewise.
323         * elf/tst-unique1.c: Likewise.
324         * elf/tst-unique2.c: Likewise.
325         * elf/vismain.c: Likewise.
327 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
329         * string/test-strnlen.c (do_page_tests): New function
330         to check length of strings ending at the page boundary.
331         (test_main): Added call to the do_page_tests function.
333 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
334             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
336         * sysdeps/powerpc/powerpc64/multiarch/Makefile
337         (sysdep_routines): Add strnlen-power8.
338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
339         (strnlen): Add __strnlen_power8 to list of strnlen functions.
340         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
341         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
342         (__strnlen): Add __strnlen_power8 to ifunc list.
343         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
345 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
347         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
348         the TEST_FUNCTION macro definition.
349         * wcsmbs/tst-mbrtowc2.c: Likewise.
350         * wcsmbs/tst-mbsrtowcs.c: Likewise.
351         * wcsmbs/tst-wchar-h.c: Likewise.
352         * wcsmbs/tst-wcpncpy.c: Likewise.
353         * wcsmbs/tst-wcrtomb.c: Likewise.
354         * wcsmbs/tst-wcsnlen.c: Likewise.
355         * wcsmbs/tst-wcstof.c: Likewise.
357 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
359         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
360         CALL_THREAD_FCT macro usage.
361         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
362         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
363         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
365         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
366         * sysdeps/unix/sysv/linux/arm/kernel-features.h
367         (__ASSUME_REQUEUE_PI): Likewise.
368         * sysdeps/unix/sysv/linux/kernel-features.h
369         (__ASSUME_REQUEUE_PI): Likewise.
370         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
371         (__ASSUME_REQUEUE_PI): Likewise.
372         * sysdeps/unix/sysv/linux/mips/kernel-features.h
373         (__ASSUME_REQUEUE_PI): Likewise.
374         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
375         (__ASSUME_REQUEUE_PI): Likewise.
377 2017-04-04  Florian Weimer  <fweimer@redhat.com>
379         * resolv/tst-resolv-canonname.c: New file.
380         * resolv/Makefile (tests): Add tst-resolv-canonname.
381         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
383 2017-04-04  Florian Weimer  <fweimer@redhat.com>
385         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
386         Declare.
387         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
388         (NS_MAXCDNAME): Remove definition.
389         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
390         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
391         (NS_MAXCDNAME): Remove definition.
392         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
394 2017-04-04  Florian Weimer  <fweimer@redhat.com>
396         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
397         call whose result is not used.
399 2017-04-04  Florian Weimer  <fweimer@redhat.com>
401         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
402         * resolv/Makefile (tests): Add tst-ns_name.
403         (tst-ns_name): Link with -lresolv.
404         (tst-ns_name.out): Depend on the input data file.
406 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
408         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
409         Clobber also r14.
411 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
413         [BZ #21253]
414         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
415         slack space by 32KiB.
417 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
419         [BZ #21338]
420         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
421         instead of incorrect do_set_arena_test
423 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
425         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
426         * math/bits/math-finite.h: Likewise.
428 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
430         [BZ #21289]
431         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
433 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
435         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
436         non expected inotify_add_watch and quotactl return.
438 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
440         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
441         to int32_t.
442         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
443         as returning int32_t.
445 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
447         * math/math.h: Include bits/math-finite.h once per
448         floating-point type.
449         * math/bits/math-finite.h: Macroize all declarations by
450         floating-point type.
452 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
454         [BZ #21182]
455         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
456         near end of a page.
457         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
458         overflow calculation.
460 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
462         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
463         (IMPL) Call with 1 instead of 0 as argument.
465 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
467         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
468         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
469         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
470         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
471         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
472         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
473         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
474         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
475         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
476         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
477         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
478         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
479         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
480         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
481         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
482         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
483         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
484         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
485         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
486         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
487         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
488         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
489         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
490         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
491         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
492         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
493         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
494         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
495         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
496         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
497         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
498         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
499         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
500         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
501         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
502         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
503         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
504         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
505         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
506         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
507         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
508         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
509         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
510         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
511         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
512         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
513         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
514         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
515         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
516         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
517         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
518         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
519         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
520         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
521         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
522         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
523         INLINE_SYSCALL_ERROR_RETURN_VALUE.
524         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
525         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
526         defined.
527         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
528         __NR_setgroups32 if defined.
529         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
530         if defined.
531         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
532         __NR_setresgid32 is defined.
533         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
534         __NR_setresuid32 if defined.
535         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
536         __NR_setreuid32 if defined.
537         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
538         defined.
539         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
540         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
541         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
542         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
543         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
544         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
545         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
546         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
547         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
548         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
549         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
550         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
551         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
552         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
553         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
554         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
555         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
556         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
557         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
558         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
559         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
560         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
561         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
562         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
563         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
564         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
565         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
566         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
567         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
568         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
569         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
570         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
571         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
572         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
573         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
574         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
575         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
576         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
577         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
578         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
579         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
580         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
581         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
582         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
583         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
584         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
585         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
586         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
587         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
588         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
589         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
590         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
591         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
592         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
593         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
594         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
595         INLINE_SYSCALL_ERROR_RETURN_VALUE.
596         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
597         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
598         defined.
599         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
600         __NR_setgroups32 if defined.
601         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
602         if defined.
603         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
604         __NR_setresgid32 is defined.
605         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
606         __NR_setresuid32 if defined.
607         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
608         __NR_setreuid32 if defined.
609         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
610         defined.
612 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
614         [BZ #21277]
615         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
616         unconditionally.
617         (IMAXBEL): Likewise.
618         (IUTF8): Likewise.
620 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
622         * sysdeps/aarch64/libm-test-ulps: Update.
624 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
626         * README.tunables: Updated descriptions.
627         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
628         * scripts/gen-tunables.awk: Updated the code related to the
629         commit.
631 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
633         * benchtests/Makefile (string-benchset): Add memcpy-random.
634         * benchtests/bench-memcpy-random.c: New file.
636 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
638         * stdio-common/printf.h (register_printf_modifier): Change the
639         order of __wur and __THROW.
640         (register_printf_type): Likewise.
642 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
644         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
645         test_main ().
646         (CMDLINE_PROCESS): Use function instead of defined macro.
647         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
648         <suppport/support.h> to use set_fortify_handler().
649         * string/bug-envz1.c: Import support/test-driver.c instead of
650         test-skeleton.c.
651         * string/bug-strcoll2.c: Likewise.
652         * string/bug-strtok1.c: Likewise.
653         * string/stratcliff.c: Likewise.
654         * string/test-ffs.c: Likewise.
655         * string/test-memccpy.c: Likewise.
656         * string/test-memchr.c: Likewise.
657         * string/test-memcmp.c: Likewise.
658         * string/test-memcpy.c: Likewise.
659         * string/test-memmem.c: Likewise.
660         * string/test-memmove.c: Likewise.
661         * string/test-memrchr.c: Likewise.
662         * string/test-memset.c: Likewise.
663         * string/test-rawmemchr.c: Likewise.
664         * string/test-strcasecmp.c: Likewise.
665         * string/test-strcasestr.c: Likewise.
666         * string/test-strcat.c: Likewise.
667         * string/test-strchr.c: Likewise.
668         * string/test-strcmp.c: Likewise.
669         * string/test-strcpy.c: Likewise.
670         * string/test-string.h: Likewise.
671         * string/test-strlen.c: Likewise.
672         * string/test-strncasecmp.c: Likewise.
673         * string/test-strncat.c: Likewise.
674         * string/test-strncmp.c: Likewise.
675         * string/test-strncpy.c: Likewise.
676         * string/test-strnlen.c: Likewise.
677         * string/test-strpbrk.c: Likewise.
678         * string/test-strrchr.c: Likewise.
679         * string/test-strspn.c: Likewise.
680         * string/test-strstr.c: Likewise.
681         * string/tst-bswap.c: Likewise.
682         * string/tst-cmp.c: Likewise.
683         * string/tst-endian.c: Likewise.
684         * string/tst-inlcall.c: Likewise.
685         * string/tst-strcoll-overflow.c: Likewise.
686         * string/tst-strfry.c: Likewise.
687         * string/tst-strlen.c: Likewise.
688         * string/tst-strtok.c: Likewise.
689         * string/tst-strtok_r.c: Likewise.
690         * string/tst-strxfrm.c: Likewise.
691         * string/tst-strxfrm2.c: Likewise.
692         * string/tst-svc.c: Likewise.
693         * string/tst-svc2.c: Likewise.
695 2017-03-22  Zack Weinberg  <zackw@panix.com>
697         * stdio-common/bug25.c: Include stdlib.h.
698         * support/tst-support_format_dns_packet.c: Include stdio.h,
699         stdlib.h, and string.h.
700         * support/tst-support_record_failure.c: Include string.h.
701         * support/tst-support_record_failure-2.sh: Adjust line number
702         expectations and correct a typo in an error message.
704 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
706         [BZ #21258]
707         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
708         Define only if _dl_runtime_resolve is defined to
709         _dl_runtime_resolve_sse_vex.
710         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
711         Fallthrough to _dl_runtime_resolve_sse_vex.
713 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
715         * INSTALL: Regenerated.
717 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
719         * config.h.in: Add LINK_OBSOLETE_NSL.
720         * config.make.in: Add build-obsolete-nsl.
721         * configure.ac: Add obsolete-nsl option.
722         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
723         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
724         * include/rpcsvc/nislib.h: Likewise.
725         * include/rpcsvc/ypclnt.h: Likewise.
726         * manual/install.texi: Document --enable-obsolete-nsl.
727         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
728         * nis/nis_add.c: Replace libnsl_hidden_def with
729         libnsl_hidden_nolink_def.
730         * nis/nis_addmember.c: Likewise.
731         * nis/nis_call.c: Likewise.
732         * nis/nis_clone_obj.c: Likewise.
733         * nis/nis_defaults.c: Likeise.
734         * nis/nis_domain_of_r.c: Likewise.
735         * nis/nis_error.c: Likewise.
736         * nis/nis_file.c: Likewise.
737         * nis/nis_free.c: Likewise.
738         * nis_local_names.c: Likewise.
739         * nis/nis_lookup.c: Likewise.
740         * nis/nis_modify.c: Likewise.
741         * nis/nis_print.c: Likewise.
742         * nis/nis_remove.c: Likewise.
743         * nis/nis_table.c: Likewise.
744         * nis/nis_util.c: Likewise.
745         * nis/nis_xdr.c: Likewise.
746         * nis/yp_xdr.c: Likewise.
747         * nis/ypclnt.c: Likewise.
748         * nis/ypupdate_xdr.c: Likewise.
749         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
750         * nis/nis_clone_dir.c: Likewise.
751         * nis/nis_clone_res.c: Likewise.
752         * nis/nis_creategroup.c: Likewise.
753         * nis/nis_destroygroup.c: Likewise.
754         * nis/nis_domain_of.c: Likewise.
755         * nis/nis_getservlist.c: Likewise.
756         * nis/nis_ismember.c: Likewise.
757         * nis/nis_mkdir.c: Likewise.
758         * nis/nis_ping.c: Likewise.
759         * nis/nis_print_group_entry.c: Likewise.
760         * nis/nis_removemember.c: Likewise.
761         * nis/nis_rmdir.c: Likewise.
762         * nis/nis_server.c: Likewise.
763         * nis/nis_subr.c: Likewise.
764         * nis/nis_verifygroup.c: Likewise.
766 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
768         * malloc/tst-interpose-aux.c (check_for_allocations):
769         Move compiler barrier before free.
771 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
773         [BZ #21279]
774         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
775         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
776         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
777         x86_64-x32-linux.
778         (mq_attr.mq_maxmsg): Likewise.
779         (mq_attr.mq_msgsize): Likewise.
780         (mq_attr.mq_curmsgs): Likewise.
782         [BZ #21278]
783         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
784         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
785         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
786         mips-o32-linux.
788         [BZ #21268]
789         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
790         if [__USE_MISC]
791         (NL3): Likewise.
793 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
795         [BZ #21275]
796         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
797         __stack to __stackbase.
798         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
799         checks so we can include defined(__ia64__) first.
801 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
803         * sysdeps/unix/sysv/linux/ttyname.h: New file.
804         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
805         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
806         Call is_pty when the link does not exist or does not match, fail
807         with ENODEV when it returns true.
808         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
809         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
810         Call is_pty when the link does not exist or does not match, fail
811         with ENODEV when it returns true.
813 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
815         [BZ #16437]
816         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
817         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
818         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
819         x86_64-x32-linux.
820         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
821         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
822         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
824         [BZ #21261]
825         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
826         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
827         names for all fields.
828         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
829         for jmp_buf field renaming.
830         (_JMPBUF_UNWINDS_ADJ): Likewise.
832         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
833         with allow-header.
835 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
837         * malloc/malloc.c (unlink): Add consistency check between size and
838         next->prev->size, to further harden against 1-byte overflows.
840 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
842         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
843         CPU_FEATURES_CPU_P.
845 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
847         [BZ #21259]
848         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
849         unconditionally, not just for [__USE_MISC].
851         [BZ #17786]
852         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
853         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
854         mips-o32-linux.
856         [BZ #21260]
857         * sysdeps/unix/sysv/linux/alpha/Makefile
858         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
859         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
861         * conform/conformtest.pl ($cross): New variable.
862         (--cross): New command-line option.
863         (runtest): Skip test execution when cross-compiling.
864         * conform/Makefile (conformtest-cross): New variable.
865         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
866         conformtest.pl.
868         * conform/conformtest.pl ($xfail_str): New variable.
869         (--xfail=): New command-line option.
870         (top level): Handle expectations starting xfail[cond]-.
871         * conform/Makefile (conformtest-xfail): New variable.
872         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
873         conformtest.pl.
875 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
877         * conform/conformtest.pl: Use compilation instead of execution
878         tests for testing values of constants and usability in #if.
880 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
882         * math/auto-libm-test-in: Mark some catan and catanh as
883         xfail-rounding:ibm128-libgcc.
884         * math/auto-libm-test-out-catan: Regenerate.
885         * math/auto-libm-test-out-catanh: Likewise.
887 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
889         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
890         (__END_NAMESPACE_STD): Likewise.
891         (__USING_NAMESPACE_STD): Likewise.
892         (__BEGIN_NAMESPACE_C99): Likewise.
893         (__END_NAMESPACE_C99): Likewise.
894         (__USING_NAMESPACE_C99): Likewise.
895         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
896         undefine macro.
897         (_Mdouble_END_NAMESPACE): Likewise.
898         * ctype/ctype.h: Do not handle C++ namespaces.
899         * libio/bits/stdio-ldbl.h: Likewise.
900         * libio/stdio.h: Likewise.
901         * locale/locale.h: Likewise.
902         * math/bits/mathcalls.h: Likewise.
903         * setjmp/setjmp.h: Likewise.
904         * signal/signal.h: Likewise.
905         * stdlib/bits/stdlib-float.h: Likewise.
906         * stdlib/bits/stdlib-ldbl.h: Likewise.
907         * stdlib/stdlib.h: Likewise.
908         * string/string.h: Likewise.
909         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
910         * time/bits/types/clock_t.h: Likewise.
911         * time/bits/types/struct_tm.h: Likewise.
912         * time/bits/types/time_t.h: Likewise.
913         * time/time.h: Likewise.
914         * wcsmbs/bits/wchar-ldbl.h: Likewise.
915         * wcsmbs/uchar.h: Likewise.
916         * wcsmbs/wchar.h: Likewise.
917         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
918         * wctype/wctype.h: Do not handle C++ namespaces.
919         * scripts/begin-end-check.pl: Remove.
920         * Makefile (installed-headers): Likewise.
921         (tests-special): Do not add $(objpfx)begin-end-check.out.
922         ($(objpfx)begin-end-check.out): Remove.
924 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
925             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
927         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
928         (DL_PLATFORM_INIT): New define.
929         (dl_platform_init): New function.
930         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
931         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
932         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
933         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
934         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
936 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
938         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
939         instead of PIC.
941 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
943         [BZ #21094]
944         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
945         24+24+24-bit pi for wider range of values around pi/2.
946         * math/auto-libm-test-in: Add more tests of cos and tan.
947         * math/auto-libm-test-out-cos: Regenerated.
948         * math/auto-libm-test-out-tan: Likewise.
950 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
952         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
953         (RTLD_START): Don't record stack end address in _dl_start_user.
955 2017-03-15  Alexey Neyman  <stilor@att.net>
957         [BZ #21088]
958         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
959         around definitions match those around use.
961 2017-03-15  Alexey Neyman  <stilor@att.net>
963         * configure.ac: Avoid empty subexpression in grep.
964         * configure: Regenerate.
966 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
968         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
969         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
970         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
971         (test_wrp_rv): Fix format.
972         (test_wrp_rv2): New macro.
973         (do_test): Handle mlock return on 64 bits kernels with 32 bits
974         binaries.
976 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
978         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
979         Use a union when storing pointers.
980         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
981         cast result when passing to INIT_VEC_PTRS_LOOP.
982         (VECTOR_WRAPPER_fFF_3): Likewise.
983         (VECTOR_WRAPPER_fFF_4): Likewise.
985 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
987         * include/bits/mathcalls-helper-functions.h: New file.
988         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
989         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
990         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
991         math/bits/mathcalls-helper-functions.h.
992         * math/bits/mathcalls-helper-functions.h: New file.
993         * math/math.h: Include bits/mathcalls-helper-functions.h for
994         float, double, and long double.
996 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
998         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
999         instead of feraiseexcept.
1001 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1003         [BZ #21243]
1004         * support/temp_file.c (support_delete_temp_files): Add comment
1005         about ignored errors.
1007 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1009         [BZ #21244]
1010         * support/xclose.c: New file.
1011         * support/Makefile (libsupport-routines): Add xclose.
1012         * support/xunistd.h (xclose): Declare.
1013         * support/resolv_test.c (server_thread_tcp_client)
1014         (server_thread_tcp, make_server_sockets, resolv_test_start)
1015         (resolv_test_end): Call xclose instead of close.
1016         * support/support_enter_network_namespace.c
1017         (support_enter_network_namespace): Likewise.
1018         * support/support_run_diff.c (write_to_temp_file): Likewise.
1020 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1022         * support/support_format_dns_packet.c (support_format_dns_packet):
1023         Handle CNAME records in the response.  Extract RDATA names from
1024         rdata, not the whole packet.  Check AAAA record length.
1025         * support/tst-support_format_dns_packet.c: New file.
1026         * support/Makefile (tests): Add tst-support_format_dns_packet.
1027         (tst-support_format_dns_packet): Link against libresolv.
1029 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1031         [BZ #21232]
1032         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
1033         posix_fadvise64 weak_alias for static build.
1035 2017-03-14  Andreas Schwab  <schwab@suse.de>
1037         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
1038         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
1039         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
1040         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
1041         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
1042         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
1043         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
1044         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
1046 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1048         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
1049         posix error code.
1050         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1052 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1054         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
1055         no_isolate usage for SH.
1057 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
1059         [BZ #15105]
1060         [BZ #19463]
1061         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
1062         * inet/rcmd.c (rcmd_af): Likewise.
1063         * inet/rexec.c   (rexec_af): Likewise.
1064         * intl/dcigettext.c (_LIBC): Likewise.
1065         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
1066         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
1067         * locale/setlocale.c (setlocale): Likewise.
1068         * posix/spawn_faction_addopen.c
1069         (posix_spawn_file_actions_addopen): Likewise.
1070         * stdlib/putenv.c (putenv): Use __strndup.
1071         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
1072         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
1073         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
1074         (__Need_M_And_C) Remove define/undef.
1075         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
1076         (__malloc_and_calloc_defined): Remove define.
1077         * string/bits/string2.h (__strdup): Remove define.
1078         (strdup): Likewise.
1079         (__strndup): Likewise.
1080         (strndup): Likewise.
1082 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
1084         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
1085         macro.
1086         (IPV6_ADDR_PREFERENCES): Likewise.
1087         (IPV6_MINHOPCOUNT): Likewise.
1088         (IPV6_ORIGDSTADDR): Likewise.
1089         (IPV6_RECVORIGDSTADDR): Likewise.
1090         (IPV6_TRANSPARENT): Likewise.
1091         (IPV6_UNICAST_IF): Likewise.
1092         (IPV6_RECVFRAGSIZE): Likewise.
1094 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
1096         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
1098 2017-03-12  Alexey Neyman <stilor@att.net>
1100         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
1101         in R_SH_DIR32 case is always false when inlined from
1102         dl-conflict.c. Ifdef out to prevent GCC from insertin an
1104 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
1106         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1107         (__ASSUME_RECV_SYSCALL): Replace duplicate by
1108         __ASSUME_SEND_SYSCALL.
1110 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
1112         * sunrpc/Makefile: don't build and install rpcsvc header
1113         files, rpcgen and librpcsvc.a by default.
1115 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
1117         * math/auto-libm-test-out-catan: Regenerated.
1118         * math/auto-libm-test-out-catanh: Likewise.
1119         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1121 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
1123         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
1124         for long double with corrected test expectations.
1126 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1128         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
1129         Define.
1130         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1131         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
1132         * sysdeps/unix/sysv/linux/nios2/sysdep.h
1133         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1134         * sysdeps/unix/sysv/linux/tile/sysdep.h
1135         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1136         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1137         (__ASSUME_RECV_SYSCALL): Define.
1138         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1139         (__ASSUME_RECV_SYSCALL): Likewise.
1140         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1141         (__ASSUME_RECV_SYSCALL): Likewise.
1142         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1143         (__ASSUME_RECV_SYSCALL): Likewise.
1144         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1145         (__ASSUME_RECV_SYSCALL): Likewise.
1146         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1147         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
1148         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1149         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1150         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1151         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1152         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
1153         auto-generation list.
1154         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1155         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1156         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
1157         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1158         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1159         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
1160         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
1161         __ASSUME_SENDTO_SYSCALL.
1162         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
1163         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
1164         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
1166         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
1167         auto-generation list.
1168         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1169         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1170         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1171         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1172         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1173         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1174         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1175         * sysdeps/unix/sysv/linux/kernel-features.h
1176         (__ASSUME_SENDTO_SYSCALL): Define by default.
1177         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1178         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
1179         __NR_sendto.
1180         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1181         (__ASSUME_SENDTO_SYSCALL): Likewise.
1182         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1183         (__ASSUME_SENDTO_SYSCALL): Likewise.
1184         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1185         (__ASSUME_SENDTO_SYSCALL): Remove definition.
1186         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1187         (__ASSUME_SENDTO_SYSCALL): Likewise.
1188         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
1189         (__ASSUME_SENDTO_SYSCALL): Likewise.
1190         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
1192         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
1193         auto-generation list.
1194         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1195         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1196         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1197         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1198         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1199         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1200         (__ASSUME_RECV_SYSCALL): New define.
1201         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1202         (__ASSUME_RECV_SYSCALL): Likewise.
1203         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1204         (__ASSUME_RECV_SYSCALL): Likewise.
1205         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1206         (__ASSUME_RECV_SYSCALL): Likewise.
1207         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1208         (__ASSUME_RECV_SYSCALL): Likewise.
1209         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1210         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1211         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1212         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1213         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1214         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1215         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
1216         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
1217         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
1218         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
1219         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
1220         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
1222         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
1223         auto-generation list.
1224         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1225         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1226         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1227         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1228         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1229         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1230         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1231         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1232         (__ASSUME_RECVFROM_SYSCALL): Define by default.
1233         * sysdeps/unix/sysv/linux/kernel-features.h
1234         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
1235         __NR_recvfrom.
1236         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1237         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1238         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1239         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1240         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1241         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
1242         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1243         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1244         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1245         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1246         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1247         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1248         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
1250         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
1251         auto-generation list.
1252         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1253         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1254         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1255         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1256         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1257         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1258         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1259         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
1260         * sysdeps/unix/sysv/linux/kernel-features.h
1261         (__ASSUME_CONNECT_SYSCALL): Define.
1262         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1263         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
1264         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1265         (__ASSUME_CONNECT_SYSCALL): Likewise.
1266         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1267         (__ASSUME_CONNECT_SYSCALL): Likewise.
1268         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1269         (__ASSUME_CONNECT_SYSCALL): Likewise.
1271         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
1272         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
1273         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept 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/hppa/syscalls.list: Likewise.
1278         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1279         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1280         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1281         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1282         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1283         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1284         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1285         * sysdeps/unix/sysv/linux/kernel-features.h
1286         (__ASSUME_ACCEPT_SYSCALL): New define.
1287         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1288         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1289         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
1290         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1291         (__ASSUME_ACCEPT_SYSCALL): Define.
1292         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1293         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1294         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1295         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1296         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1297         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1298         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1299         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1300         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
1302 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
1303             Zack Weinberg  <zackw@panix.com>
1305         * posix/test-errno.c: New file.
1306         * posix/Makefile (tests): Add test-errno.
1307         * sysdeps/unix/sysv/linux/test-errno.c: New file.
1308         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
1310 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
1312         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1314 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1316         * time/tzset.c (compute_offset): Open-code min macro.
1317         (min, max, sign): Remove.
1319 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1321         [BZ #15576]
1322         Remove TZNAME_MAX limit from sysconf.
1323         * include/time.h (__tzname_cur_max, __tzname_max): Remove
1324         declaration.
1325         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
1326         compute_tzname_max.
1327         (compute_tzname_max): Remove.
1328         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
1329         (update_vars): Do not update __tzname_cur_max.
1330         (tzset_internal): Remove argument.
1331         (__tzset): Adjust call to tzset_internal.
1332         (__tz_convert): Likewise.
1334         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
1335         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1336         * manual/conf.texi (Sysconf Definition): Update comment.
1338 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1340         [BZ #21209]
1341         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
1342         AT_SECURE processes.
1343         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
1344         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
1345         (test_child): Likewise.
1346         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
1348 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1350         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
1352 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1354         * sysdeps/s390/atomic-machine.h
1355         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
1356         (__arch_compare_and_exchange_val_8_acq,
1357         __arch_compare_and_exchange_val_16_acq,
1358         __arch_compare_and_exchange_val_32_acq,
1359         __arch_compare_and_exchange_val_64_acq):
1360         Delete macro.
1361         (atomic_compare_and_exchange_val_acq,
1362         atomic_compare_and_exchange_val_rel,
1363         atomic_compare_and_exchange_bool_acq,
1364         catomic_compare_and_exchange_bool_acq,
1365         atomic_exchange_acq, atomic_exchange_rel,
1366         atomic_exchange_and_add_acq,
1367         atomic_exchange_and_add_rel,
1368         catomic_exchange_and_add, atomic_or_val,
1369         atomic_or, catomic_or, atomic_bit_test_set,
1370         atomic_and_val, atomic_and, catomic_and):
1371         Define macros with help of C11 atomic builtins.
1373 2017-03-03  Justus Winter <justus@gnupg.org>
1375         * sysdeps/mach/hurd/ftruncate64.c: New file.
1376         * sysdeps/mach/hurd/truncate64.c: Likewise.
1378 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1380         * time/tzfile.c (NOID): Do not define.
1381         * time/tzset.c (NOID): Likewise.
1383 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1385         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
1387 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1389         * elf/get-dynamic-info.h: Remove header file inclusion guard.
1391 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1393         [BZ #21015]
1394         * manual/install.texi (Configuring and compiling): Document
1395         --enable-bind-now.
1396         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
1397         (build-shlib-helper): Use $(LDFLAGS-lib.so).
1398         (format.lds): Likewise.
1399         [bind-now] (LDFLAGS-c.so): Remove.
1400         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
1401         be R_X86_64_GLOB_DAT.
1402         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
1403         relocation can be R_386_GLOB_DAT.
1404         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
1405         relocaiton can be R_ALPHA_GLOB_DAT.
1406         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
1408 2017-03-01  Zack Weinberg  <zackw@panix.com>
1410         * include/libc-pointer-arith.h: New file.  Define
1411         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
1412         PTR_ALIGN_DOWN here.
1413         * include/libc-internal.h: Definitions of above macros
1414         moved from here.  Don't include libc-diag.h anymore either.
1415         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
1416         Don't include libc-internal.h.
1418         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
1419         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
1420         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
1421         * string/strcoll_l.c, sysdeps/nacl/brk.c
1422         * sysdeps/unix/clock_settime.c
1423         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
1424         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
1425         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
1426         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
1427         Don't include libc-internal.h.
1429         * elf/get-dynamic-info.h, iconv/loop.c
1430         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
1431         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
1432         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
1433         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
1434         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1435         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
1436         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1437         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
1438         * sysdeps/ieee754/ldbl-128/k_tanl.c
1439         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1440         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1441         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
1442         Include libc-diag.h instead of libc-internal.h.
1444         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
1445         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
1446         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
1447         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
1448         * sysdeps/unix/sysv/linux/spawni.c
1449         * sysdeps/x86_64/nptl/tls.h:
1450         Include libc-pointer-arith.h instead of libc-internal.h.
1452         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
1453         * sysdeps/x86_64/atomic-machine.h:
1454         Add multiple include guard.
1456         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
1457         * string/strcasestr.c: No need to include config.h.
1458         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
1459         sys/auxv.h. Don't include sysdep.h.
1460         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
1462         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
1463         DL_LOOKUP_ADDRESS.
1464         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
1465         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
1466         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
1467         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
1468         of ARTIFICIAL_LIMIT.
1469         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
1470         declaration of __clone2.
1472 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1474         * scripts/backport-support.sh (latest_commit): New file.
1476 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1478         [BZ #20257]
1479         * inet/Makefile (routines): Add deadline.
1480         (tests-static): Add tst-deadline.
1481         * inet/net-internal.h (struct deadline_current_time)
1482         (__deadline_current_time, struct deadline, __deadline_is_infinite)
1483         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
1484         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
1485         * inet/deadline.c: New file.
1486         * inet/tst-deadline.c: Likewise.
1487         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
1488         tst-udp-timeout, tst-udp-garbage.
1489         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
1490         explicitly.
1491         (tst-udp-garbage): Likewise.  Also link against thread library.
1492         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
1493         struct layout is part of the ABI.
1494         (clntudp_call): Rework timeout handling.
1495         * sunrpc/tst-udp-garbage.c: New file.
1496         * sunrpc/tst-udp-nonblocking.c: Likewise.
1497         * sunrpc/tst-udp-timeout.c: Likewise.
1499 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1501         [BZ #5010]
1502         * sunrpc/svc.c (svc_is_mapped): Remove.
1503         (svc_unregister): Obtain mapped status while the service is still
1504         registered.
1505         * sunrpc/Makefile [have-thread-library] (tests): Add
1506         tst-svc_register.
1507         (tst-svc_register): Link against libc.so explicitly and the thread
1508         library.
1509         * sunrpc/tst-svc_register.c: New file.
1511 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
1513         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
1514         * sysdeps/pthread/bits/sigthread.h: Likewise.
1516 2017-02-27  Florian Weimer  <fweimer@redhat.com>
1518         [BZ #21115]
1519         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
1520         * sunrpc/Makefile (tests): Add tst-udp-error.
1521         (tst-udp-error): Link against libc.so explicitly.
1522         * sunrpc/tst-udp-error: New file.
1524 2017-02-25  Zack Weinberg  <zackw@panix.com>
1526         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
1527         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
1529         * sysdeps/generic/math_ldbl.h
1530         * sysdeps/ia64/fpu/math_ldbl.h
1531         * sysdeps/ieee754/ldbl-128/math_ldbl.h
1532         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1533         * sysdeps/ieee754/ldbl-96/math_ldbl.h
1534         * sysdeps/powerpc/fpu/math_ldbl.h
1535         * sysdeps/x86_64/fpu/math_ldbl.h:
1536         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
1537         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
1538         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
1539         Add copyright notices.
1541         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1542         Don't use EXTRACT_WORDS64.
1544         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
1545         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
1546         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
1547         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
1548         Include math_ldbl.h, not math_private.h.
1550 2017-02-25  Zack Weinberg  <zackw@panix.com>
1552         * include/libc-diag.h: New file.  Define ignore_value,
1553         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
1554         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
1556         * include/libc-internal.h: Definitions of above macros moved from
1557         here.  Include libc-diag.h.  Add copyright notice.
1559         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
1560         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
1561         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
1562         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
1563         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
1564         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
1565         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
1566         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
1567         Include libc-diag.h instead of libc-internal.h.
1569         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
1570         call to unsetenv (NULL).
1571         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
1572         call to pthread_mutexattr_destroy (NULL).
1574 2017-02-25  Zack Weinberg  <zackw@panix.com>
1576         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
1577         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
1578         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
1579         gets was removed from C++ in C++14.
1580         * include/stdio.h: Remove redundant declaration of gets.
1581         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
1582         be declared, since we are testing it.
1583         * stdio-common/Makefile (tst-gets.c): Compile with
1584         -Wno-deprecated-declarations.
1585         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
1586         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
1587         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
1588         Compile with -Wno-deprecated-declarations.
1590 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1592         * math/libm-test-support.c (check_ulp): Use LIT() around literal
1593         numbers.
1595 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1597         * resolv/tst-resolv-qtypes.c (domain):
1598         Change type to const pointer to const char.
1600 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
1602         * math/Makefile (libm-tests-generated): Remove variable.
1603         (libm-tests-base-normal): New variable.
1604         (libm-tests-base-finite): Likewise.
1605         (libm-tests-base-inline): Likewise.
1606         (libm-tests-base): Likewise.
1607         (libm-tests-normal): Likewise.
1608         (libm-tests-finite): Likewise.
1609         (libm-tests-inline): Likewise.
1610         (libm-tests-vector): Likewise.
1611         (libm-tests): Define in terms of these new variables.
1612         (libm-tests-for-type): New variable.
1613         (libm-tests.o): Move definition.
1614         (tests): Move addition of $(libm-tests).
1615         (generated): Update for new and removed libm test files.
1616         ($(objpfx)libm-test.c): Remove target.
1617         ($(objpfx)libm-have-vector-test.h): Likewise.
1618         (CFLAGS-test-double-vlen2.c): Remove variable.
1619         (CFLAGS-test-double-vlen4.c): Likewise.
1620         (CFLAGS-test-double-vlen8.c): Likewise.
1621         (CFLAGS-test-float-vlen4.c): Likewise.
1622         (CFLAGS-test-float-vlen8.c): Likewise.
1623         (CFLAGS-test-float-vlen16.c): Likewise.
1624         (CFLAGS-test-float.c): Likewise.
1625         (CFLAGS-test-float-finite.c): Likewise.
1626         (CFLAGS-libm-test-support-float.c): Likewise.
1627         (CFLAGS-test-double.c): Likewise.
1628         (CFLAGS-test-double-finite.c): Likewise.
1629         (CFLAGS-libm-test-support-double.c): Likewise.
1630         (CFLAGS-test-ldouble.c): Likewise.
1631         (CFLAGS-test-ldouble-finite.c): Likewise.
1632         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1633         (libm-test-inline-cflags): New variable.
1634         (CFLAGS-test-ifloat.c): Remove variable.
1635         (CFLAGS-test-idouble.c): Likewise.
1636         (CFLAGS-test-ildouble.c): Likewise.
1637         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
1638         dependencies.
1639         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
1640         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
1641         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
1642         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
1643         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
1644         Likewise.
1645         (dependencies on libm-test-support-*.o): Remove.
1646         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
1647         rules using iterators.
1648         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
1649         Likewise.
1650         ($(objpfx)libm-test-support-$(o).o): Likewise.
1651         ($(addprefix $(objpfx),$(filter-out $(tests-static)
1652         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
1653         instead.
1654         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
1655         define rule instead.
1656         * math/README.libm-test: Update.
1657         * math/libm-test-acos.inc: Include libm-test-driver.c.
1658         (do_test): New function.
1659         * math/libm-test-acosh.inc: Include libm-test-driver.c.
1660         (do_test): New function.
1661         * math/libm-test-asin.inc: Include libm-test-driver.c.
1662         (do_test): New function.
1663         * math/libm-test-asinh.inc: Include libm-test-driver.c.
1664         (do_test): New function.
1665         * math/libm-test-atan.inc: Include libm-test-driver.c.
1666         (do_test): New function.
1667         * math/libm-test-atan2.inc: Include libm-test-driver.c.
1668         (do_test): New function.
1669         * math/libm-test-atanh.inc: Include libm-test-driver.c.
1670         (do_test): New function.
1671         * math/libm-test-cabs.inc: Include libm-test-driver.c.
1672         (do_test): New function.
1673         * math/libm-test-cacos.inc: Include libm-test-driver.c.
1674         (do_test): New function.
1675         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
1676         (do_test): New function.
1677         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
1678         (do_test): New function.
1679         * math/libm-test-carg.inc: Include libm-test-driver.c.
1680         (do_test): New function.
1681         * math/libm-test-casin.inc: Include libm-test-driver.c.
1682         (do_test): New function.
1683         * math/libm-test-casinh.inc: Include libm-test-driver.c.
1684         (do_test): New function.
1685         * math/libm-test-catan.inc: Include libm-test-driver.c.
1686         (do_test): New function.
1687         * math/libm-test-catanh.inc: Include libm-test-driver.c.
1688         (do_test): New function.
1689         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
1690         (do_test): New function.
1691         * math/libm-test-ccos.inc: Include libm-test-driver.c.
1692         (do_test): New function.
1693         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
1694         (do_test): New function.
1695         * math/libm-test-ceil.inc: Include libm-test-driver.c.
1696         (do_test): New function.
1697         * math/libm-test-cexp.inc: Include libm-test-driver.c.
1698         (do_test): New function.
1699         * math/libm-test-cimag.inc: Include libm-test-driver.c.
1700         (do_test): New function.
1701         * math/libm-test-clog.inc: Include libm-test-driver.c.
1702         (do_test): New function.
1703         * math/libm-test-clog10.inc: Include libm-test-driver.c.
1704         (do_test): New function.
1705         * math/libm-test-conj.inc: Include libm-test-driver.c.
1706         (do_test): New function.
1707         * math/libm-test-copysign.inc: Include libm-test-driver.c.
1708         (do_test): New function.
1709         * math/libm-test-cos.inc: Include libm-test-driver.c.
1710         (do_test): New function.
1711         * math/libm-test-cosh.inc: Include libm-test-driver.c.
1712         (do_test): New function.
1713         * math/libm-test-cpow.inc: Include libm-test-driver.c.
1714         (do_test): New function.
1715         * math/libm-test-cproj.inc: Include libm-test-driver.c.
1716         (do_test): New function.
1717         * math/libm-test-creal.inc: Include libm-test-driver.c.
1718         (do_test): New function.
1719         * math/libm-test-csin.inc: Include libm-test-driver.c.
1720         (do_test): New function.
1721         * math/libm-test-csinh.inc: Include libm-test-driver.c.
1722         (do_test): New function.
1723         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
1724         (do_test): New function.
1725         * math/libm-test-ctan.inc: Include libm-test-driver.c.
1726         (do_test): New function.
1727         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
1728         (do_test): New function.
1729         * math/libm-test-erf.inc: Include libm-test-driver.c.
1730         (do_test): New function.
1731         * math/libm-test-erfc.inc: Include libm-test-driver.c.
1732         (do_test): New function.
1733         * math/libm-test-exp.inc: Include libm-test-driver.c.
1734         (do_test): New function.
1735         * math/libm-test-exp10.inc: Include libm-test-driver.c.
1736         (do_test): New function.
1737         * math/libm-test-exp2.inc: Include libm-test-driver.c.
1738         (do_test): New function.
1739         * math/libm-test-expm1.inc: Include libm-test-driver.c.
1740         (do_test): New function.
1741         * math/libm-test-fabs.inc: Include libm-test-driver.c.
1742         (do_test): New function.
1743         * math/libm-test-fdim.inc: Include libm-test-driver.c.
1744         (do_test): New function.
1745         * math/libm-test-floor.inc: Include libm-test-driver.c.
1746         (do_test): New function.
1747         * math/libm-test-fma.inc: Include libm-test-driver.c.
1748         (do_test): New function.
1749         * math/libm-test-fmax.inc: Include libm-test-driver.c.
1750         (do_test): New function.
1751         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
1752         (do_test): New function.
1753         * math/libm-test-fmin.inc: Include libm-test-driver.c.
1754         (do_test): New function.
1755         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
1756         (do_test): New function.
1757         * math/libm-test-fmod.inc: Include libm-test-driver.c.
1758         (do_test): New function.
1759         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
1760         (do_test): New function.
1761         * math/libm-test-frexp.inc: Include libm-test-driver.c.
1762         (do_test): New function.
1763         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
1764         (do_test): New function.
1765         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
1766         (do_test): New function.
1767         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
1768         (do_test): New function.
1769         * math/libm-test-hypot.inc: Include libm-test-driver.c.
1770         (do_test): New function.
1771         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
1772         (do_test): New function.
1773         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
1774         (do_test): New function.
1775         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
1776         (do_test): New function.
1777         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
1778         (do_test): New function.
1779         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
1780         (do_test): New function.
1781         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
1782         (do_test): New function.
1783         * math/libm-test-isinf.inc: Include libm-test-driver.c.
1784         (do_test): New function.
1785         * math/libm-test-isless.inc: Include libm-test-driver.c.
1786         (do_test): New function.
1787         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
1788         (do_test): New function.
1789         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
1790         (do_test): New function.
1791         * math/libm-test-isnan.inc: Include libm-test-driver.c.
1792         (do_test): New function.
1793         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
1794         (do_test): New function.
1795         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
1796         (do_test): New function.
1797         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
1798         (do_test): New function.
1799         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
1800         (do_test): New function.
1801         * math/libm-test-iszero.inc: Include libm-test-driver.c.
1802         (do_test): New function.
1803         * math/libm-test-j0.inc: Include libm-test-driver.c.
1804         (do_test): New function.
1805         * math/libm-test-j1.inc: Include libm-test-driver.c.
1806         (do_test): New function.
1807         * math/libm-test-jn.inc: Include libm-test-driver.c.
1808         (do_test): New function.
1809         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
1810         (do_test): New function.
1811         * math/libm-test-llogb.inc: Include libm-test-driver.c.
1812         (do_test): New function.
1813         * math/libm-test-llrint.inc: Include libm-test-driver.c.
1814         (do_test): New function.
1815         * math/libm-test-llround.inc: Include libm-test-driver.c.
1816         (do_test): New function.
1817         * math/libm-test-log.inc: Include libm-test-driver.c.
1818         (do_test): New function.
1819         * math/libm-test-log10.inc: Include libm-test-driver.c.
1820         (do_test): New function.
1821         * math/libm-test-log1p.inc: Include libm-test-driver.c.
1822         (do_test): New function.
1823         * math/libm-test-log2.inc: Include libm-test-driver.c.
1824         (do_test): New function.
1825         * math/libm-test-logb.inc: Include libm-test-driver.c.
1826         (do_test): New function.
1827         * math/libm-test-lrint.inc: Include libm-test-driver.c.
1828         (do_test): New function.
1829         * math/libm-test-lround.inc: Include libm-test-driver.c.
1830         (do_test): New function.
1831         * math/libm-test-modf.inc: Include libm-test-driver.c.
1832         (do_test): New function.
1833         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
1834         (do_test): New function.
1835         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
1836         (do_test): New function.
1837         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
1838         (do_test): New function.
1839         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
1840         (do_test): New function.
1841         * math/libm-test-nextup.inc: Include libm-test-driver.c.
1842         (do_test): New function.
1843         * math/libm-test-pow.inc: Include libm-test-driver.c.
1844         (do_test): New function.
1845         * math/libm-test-remainder.inc: Include libm-test-driver.c.
1846         (do_test): New function.
1847         * math/libm-test-remquo.inc: Include libm-test-driver.c.
1848         (do_test): New function.
1849         * math/libm-test-rint.inc: Include libm-test-driver.c.
1850         (do_test): New function.
1851         * math/libm-test-round.inc: Include libm-test-driver.c.
1852         (do_test): New function.
1853         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
1854         (do_test): New function.
1855         * math/libm-test-scalb.inc: Include libm-test-driver.c.
1856         (do_test): New function.
1857         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
1858         (do_test): New function.
1859         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
1860         (do_test): New function.
1861         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
1862         (do_test): New function.
1863         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
1864         (do_test): New function.
1865         * math/libm-test-signbit.inc: Include libm-test-driver.c.
1866         (do_test): New function.
1867         * math/libm-test-significand.inc: Include libm-test-driver.c.
1868         (do_test): New function.
1869         * math/libm-test-sin.inc: Include libm-test-driver.c.
1870         (do_test): New function.
1871         * math/libm-test-sincos.inc: Include libm-test-driver.c.
1872         (do_test): New function.
1873         * math/libm-test-sinh.inc: Include libm-test-driver.c.
1874         (do_test): New function.
1875         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
1876         (do_test): New function.
1877         * math/libm-test-tan.inc: Include libm-test-driver.c.
1878         (do_test): New function.
1879         * math/libm-test-tanh.inc: Include libm-test-driver.c.
1880         (do_test): New function.
1881         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
1882         (do_test): New function.
1883         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
1884         (do_test): New function.
1885         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
1886         (do_test): New function.
1887         * math/libm-test-trunc.inc: Include libm-test-driver.c.
1888         (do_test): New function.
1889         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
1890         (do_test): New function.
1891         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
1892         (do_test): New function.
1893         * math/libm-test-y0.inc: Include libm-test-driver.c.
1894         (do_test): New function.
1895         * math/libm-test-y1.inc: Include libm-test-driver.c.
1896         (do_test): New function.
1897         * math/libm-test-yn.inc: Include libm-test-driver.c.
1898         (do_test): New function.
1899         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
1900         (HAVE_VECTOR): Remove macro.
1901         (START): Do not call HAVE_VECTOR.
1902         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
1903         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
1904         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
1905         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
1906         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
1907         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
1908         * math/test-math-vector.h (FUNC_TEST): New macro.
1909         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
1910         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
1911         (double-vlen4-funcs): Likewise.
1912         (double-vlen4-avx2-funcs): Likewise.
1913         (double-vlen8-funcs): Likewise.
1914         (float-vlen4-funcs): Likewise.
1915         (float-vlen8-funcs): Likewise.
1916         (float-vlen8-avx2-funcs): Likewise.
1917         (float-vlen16-funcs): Likewise.
1918         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
1919         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
1920         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
1921         macro.
1922         (TEST_VECTOR_sin): Likewise.
1923         (TEST_VECTOR_sincos): Likewise.
1924         (TEST_VECTOR_log): Likewise.
1925         (TEST_VECTOR_exp): Likewise.
1926         (TEST_VECTOR_pow): Likewise.
1927         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
1928         Likewise.
1929         (TEST_VECTOR_sin): Likewise.
1930         (TEST_VECTOR_sincos): Likewise.
1931         (TEST_VECTOR_log): Likewise.
1932         (TEST_VECTOR_exp): Likewise.
1933         (TEST_VECTOR_pow): Likewise.
1934         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
1935         Likewise.
1936         (TEST_VECTOR_sinf): Likewise.
1937         (TEST_VECTOR_sincosf): Likewise.
1938         (TEST_VECTOR_logf): Likewise.
1939         (TEST_VECTOR_expf): Likewise.
1940         (TEST_VECTOR_powf): Likewise.
1941         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
1942         Likewise.
1943         (TEST_VECTOR_sinf): Likewise.
1944         (TEST_VECTOR_sincosf): Likewise.
1945         (TEST_VECTOR_logf): Likewise.
1946         (TEST_VECTOR_expf): Likewise.
1947         (TEST_VECTOR_powf): Likewise.
1948         * math/gen-libm-have-vector-test.sh: Remove file.
1949         * math/libm-test.inc: Likewise.
1950         * math/libm-test-support-double.c: Likewise.
1951         * math/libm-test-support-float.c: Likewise.
1952         * math/libm-test-support-ldouble.c: Likewise.
1953         * math/test-double-finite.c: Likewise.: Likewise.
1954         * math/test-double.c: Likewise.
1955         * math/test-float-finite.c: Likewise.
1956         * math/test-float.c: Likewise.
1957         * math/test-idouble.c: Likewise.
1958         * math/test-ifloat.c: Likewise.
1959         * math/test-ildouble.c: Likewise.
1960         * math/test-ldouble-finite.c: Likewise.
1961         * math/test-ldouble.c: Likewise.
1962         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1963         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
1964         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1965         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1966         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1967         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1968         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1969         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
1970         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1971         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1973 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1974            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1976         * math/Makefile: Add wrappers to gen-libm-calls.
1977         * math/w_acos_template.c: New file.
1978         * math/w_acosh_template.c: Likewise.
1979         * math/w_asin_template.c: Likewise.
1980         * math/w_atan2_template.c: Likewise.
1981         * math/w_atanh_template.c: Likewise.
1982         * math/w_cosh_template.c: Likewise.
1983         * math/w_exp10_template.c: Likewise.
1984         * math/w_exp2_template.c: Likewise.
1985         * math/w_exp_template.c: Likewise.
1986         * math/w_fmod_template.c: Likewise.
1987         * math/w_hypot_template.c: Likewise.
1988         * math/w_j0_template.c: Likewise.
1989         * math/w_j1_template.c: Likewise.
1990         * math/w_jn_template.c: Likewise.
1991         * math/w_lgamma_r_template.c: Likewise.
1992         * math/w_lgamma_template.c: Likewise.
1993         * math/w_log10_template.c: Likewise.
1994         * math/w_log2_template.c: Likewise.
1995         * math/w_log_template.c: Likewise.
1996         * math/w_pow_template.c: Likewise.
1997         * math/w_remainder_template.c: Likewise.
1998         * math/w_sinh_template.c: Likewise.
1999         * math/w_sqrt_template.c: Likewise.
2000         * math/w_tgamma_template.c: Likewise.: Likewise.
2001         * sysdeps/generic/math-type-macros-double.h
2002         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
2003         the new wrappers.
2004         * sysdeps/generic/math-type-macros-float.h: Likewise.
2005         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2007 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
2009         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
2010         New enum constant and macro.
2012         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2013         kernel version to 4.10.
2015 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
2017         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
2019 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2023 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2025         * sysdeps/powerpc/tst-set_ppr.c: New file.
2026         Implement test cases for __ppc_set_ppr_* functions.
2027         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
2028         in the list of tests.
2030 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2032         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
2033         instead of test-skeleton.c.
2034         (do_test): Replaced pthread_create and pthread_join with
2035         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
2036         Removed unneeded status variable.
2037         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
2038         instead of test-skeleton.c.
2039         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
2041 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
2043         [BZ #20313]
2044         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2045         201605L, for Unicode 9.
2047 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
2049         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
2050         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2051         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2052         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2053         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2054         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2056 2017-02-19  Zack Weinberg  <zackw@panix.com>
2058         * rt/tst-mqueue4.c: Include stdint.h.
2060 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2062         * sysdeps/arm/libm-test-ulps: Update.
2063         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2064         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2065         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2067 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2069         [BZ #21029]
2070         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
2071         * sysdeps/unix/sysv/linux/i386/Makefile
2072         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
2073         (uses-6-syscall-arguments): Remove.
2074         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
2075         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
2076         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
2077         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
2078         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
2079         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
2080         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
2081         [$(subdir) = misc] (cflags-pselect.o): Likewise.
2082         [$(subdir) = misc] (cflags-pselect.os): Likewise.
2083         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
2084         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
2085         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
2086         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
2087         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
2088         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
2089         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
2090         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
2091         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
2092         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
2093         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
2094         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
2095         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
2096         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
2097         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
2098         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
2099         Likewise.
2100         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
2101         Likewise.
2102         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
2103         Likewise.
2104         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
2105         Likewise.
2106         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
2107         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
2108         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
2109         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
2110         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
2111         ebp on inline assembly.
2112         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
2113         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2114         Set if CAN_USE_REGISTER_ASM_EBP is set.
2116 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2118         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
2119         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
2121 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2123         * math/auto-libm-test-in: Add tests of catan and catanh.
2124         * math/auto-libm-test-out-catan: New generated file.
2125         * math/auto-libm-test-out-catanh: Likewise.
2126         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
2127         Move tests with finite inputs, except divide-by-zero cases, to
2128         auto-libm-test-in.
2129         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
2130         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
2131         (libm-test-funcs-noauto): Remove catan and catanh.
2132         * sysdeps/i386/fpu/libm-test-ulps: Update.
2133         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2136         * math/auto-libm-test-in: Add tests of casin and casinh.
2137         * math/auto-libm-test-out-casin: New generated file.
2138         * math/auto-libm-test-out-casinh: Likewise.
2139         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
2140         Move tests with finite inputs to auto-libm-test-in.
2141         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
2142         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
2143         (libm-test-funcs-noauto): Remove casin and casinh.
2144         * sysdeps/i386/fpu/libm-test-ulps: Update.
2145         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2148         * math/auto-libm-test-in: Add tests of cacos and cacosh.
2149         * math/auto-libm-test-out-cacos: New generated file.
2150         * math/auto-libm-test-out-cacosh: Likewise.
2151         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
2152         Move tests with finite inputs to auto-libm-test-in.
2153         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
2154         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
2155         (libm-test-funcs-noauto): Remove cacos and cacosh.
2156         * sysdeps/i386/fpu/libm-test-ulps: Update.
2157         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2160         Revert:
2161         2017-02-16  Zack Weinberg  <zackw@panix.com>
2163         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2164         Don't include init-arch.h.
2165         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2166         Don't include init-arch.h.
2168 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2170         [BZ #21171]
2171         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
2172         +Inf and raise divide-by-zero when x is negative.
2173         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
2174         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
2175         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
2176         -Inf and raise divide-by-zero when x = +-0.
2177         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2178         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2179         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2180         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2181         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2182         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2183         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2185 2017-02-16  Zack Weinberg  <zackw@panix.com>
2187         * scripts/build-many-glibcs.py (bot_build_mail): If the
2188         bot_config does not contain all of the necessary email-
2189         related settings, just print a warning and continue.
2191 2017-02-16  Zack Weinberg  <zackw@panix.com>
2193         * crypt/md5.h: Test _LIBC with #if defined, not #if.
2194         * dirent/opendir-tst1.c: Include sys/stat.h.
2195         * dirent/tst-fdopendir.c: Include sys/stat.h.
2196         * dirent/tst-fdopendir2.c: Include stdlib.h.
2197         * dirent/tst-scandir.c: Include stdbool.h.
2198         * elf/tst-auditmod1.c: Include link.h and stddef.h.
2199         * elf/tst-tls15.c: Include stdlib.h.
2200         * elf/tst-tls16.c: Include stdlib.h.
2201         * elf/tst-tls17.c: Include stdlib.h.
2202         * elf/tst-tls18.c: Include stdlib.h.
2203         * iconv/tst-iconv6.c: Include endian.h.
2204         * iconvdata/bug-iconv11.c: Include limits.h.
2205         * io/test-utime.c: Include stdint.h.
2206         * io/tst-faccessat.c: Include sys/stat.h.
2207         * io/tst-fchmodat.c: Include sys/stat.h.
2208         * io/tst-fchownat.c: Include sys/stat.h.
2209         * io/tst-fstatat.c: Include sys/stat.h.
2210         * io/tst-futimesat.c: Include sys/stat.h.
2211         * io/tst-linkat.c: Include sys/stat.h.
2212         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
2213         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
2214         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
2215         * io/tst-openat.c: Include stdbool.h.
2216         * io/tst-readlinkat.c: Include sys/stat.h.
2217         * io/tst-renameat.c: Include sys/stat.h.
2218         * io/tst-symlinkat.c: Include sys/stat.h.
2219         * io/tst-unlinkat.c: Include stdbool.h.
2220         * libio/bug-memstream1.c: Include stdlib.h.
2221         * libio/bug-wmemstream1.c: Include stdlib.h.
2222         * libio/tst-fwrite-error.c: Include stdlib.h.
2223         * libio/tst-memstream1.c: Include stdlib.h.
2224         * libio/tst-memstream2.c: Include stdlib.h.
2225         * libio/tst-memstream3.c: Include stdlib.h.
2226         * malloc/tst-interpose-aux.c: Include stdint.h.
2227         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
2228         * nptl/tst-basic7.c: Include limits.h.
2229         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
2230         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
2231         * nptl/tst-cancel4_1.c: Include stddef.h.
2232         * nptl/tst-cancel4_2.c: Include stddef.h.
2233         * nptl/tst-cond16.c: Include limits.h.
2234         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2235         * nptl/tst-cond18.c: Include limits.h.
2236         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2237         * nptl/tst-cond4.c: Include stdint.h.
2238         * nptl/tst-cond6.c: Include stdint.h.
2239         * nptl/tst-stack2.c: Include limits.h.
2240         * nptl/tst-stackguard1.c: Include stddef.h.
2241         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
2242         * nptl/tst-tls4moda.c: Include stddef.h.
2243         Don't include stdio.h, unistd.h, or tls.h.
2244         * nptl/tst-tls4modb.c: Include stddef.h.
2245         Don't include stdio.h, unistd.h, or tls.h.
2246         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
2247         * posix/tst-getaddrinfo2.c: Include stdio.h.
2248         * posix/tst-getaddrinfo5.c: Include stdio.h.
2249         * posix/tst-pathconf.c: Include sys/stat.h.
2250         * posix/tst-posix_fadvise-common.c: Include stdint.h.
2251         * posix/tst-preadwrite-common.c: Include sys/stat.h.
2252         * posix/tst-regex.c: Include stdint.h.
2253         Don't include spawn.h or spawn_int.h.
2254         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
2255         * posix/tst-vfork3.c: Include sys/stat.h.
2256         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
2257         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
2258         * resolv/tst-resolv-search.c: Include stdlib.h.
2259         * stdio-common/tst-fmemopen2.c: Include stdint.h.
2260         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
2261         * stdlib/test-canon.c: Include sys/stat.h.
2262         * stdlib/tst-tls-atexit.c: Include stdbool.h.
2263         * string/test-memchr.c: Include stdint.h.
2264         * string/tst-cmp.c: Include stdint.h.
2265         * sysdeps/pthread/tst-timer.c: Include stdint.h.
2266         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
2267         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
2268         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2269         Don't include init-arch.h.
2270         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2271         Don't include init-arch.h.
2272         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
2273         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
2274         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
2275         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
2276         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
2277         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
2278         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
2279         * time/clocktest.c: Include stdint.h.
2280         * time/tst-posixtz.c: Include stdint.h.
2281         * timezone/tst-timezone.c: Include stdint.h.
2283 2017-02-16  Zack Weinberg  <zackw@panix.com>
2285         * string/string.h [__USE_MISC]: Include strings.h.
2286         (__bzero, bcmp, bcopy, bzero, index, rindex)
2287         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
2288         (ffs, ffsl, ffsll): Don't declare.
2289         * string/strings.h: Do not suppress the file if string.h has
2290         already been included.
2291         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
2292         annotations.
2293         (index, rindex): Define inline forwarders even if
2294         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
2295         (ffs): Use __attribute_const__.
2296         (ffsl, ffsll): Declare here.
2297         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
2298         have now been standardized.
2299         * include/string.h (__bzero): Declare here.
2301         * bits/types.h: Move to posix/bits.
2302         * include/bits/types.h: New wrapper.
2304 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2306         * string/bits/string2.h (strcmp): Remove define.
2307         (__strcmp_cg): Likewise.
2308         (strncmp): Likewise.
2310 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2312         * include/string.h: Add __cplusplus check.
2314 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2316         [BZ #21134]
2317         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
2318         "divide by zero" exception when the input is zero.
2319         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
2320         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
2321         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
2322         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
2323         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2325 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
2327         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
2328         and include ...
2329         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
2330         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
2331         to, and include ...
2332         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
2333         file.
2334         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
2335         and include ...
2336         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
2337         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
2338         and include ...
2339         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
2340         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
2341         and include ...
2342         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
2343         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
2344         and include ...
2345         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
2346         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
2347         to, and include ...
2348         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
2349         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
2350         and include ...
2351         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
2353 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
2355         * math/libm-test-support.h: Do not include <math-tests-arch.h>
2356         here.
2357         * math/libm-test-support.c (libm_test_init): Do not call
2358         INIT_ARCH_EXT here.
2359         * math/libm-test-driver.c: Include <math-tests-arch.h>.
2360         (main): Call INIT_ARCH_EXT.
2362 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2364         [BZ #21130]
2365         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
2366         with the "invalid" exception raised when x is -Inf.
2367         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2369 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
2371         * string/bits/string2.h (strchr): Remove define.
2373 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
2375         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
2376         tst-avx512.
2377         (test-extras): Add tst-avx-aux and tst-avx512-aux.
2378         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
2379         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
2380         ($(objpfx)tst-sse): New rule.
2381         ($(objpfx)tst-avx): Likewise.
2382         ($(objpfx)tst-avx512): Likewise.
2383         (CFLAGS-tst-avx-aux.c): New.
2384         (CFLAGS-tst-avxmod.c): Likewise.
2385         (CFLAGS-tst-avx512-aux.c): Likewise.
2386         (CFLAGS-tst-avx512mod.c): Likewise.
2387         * sysdeps/x86_64/tst-avx-aux.c: New file.
2388         * sysdeps/x86_64/tst-avx.c: Likewise.
2389         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
2390         * sysdeps/x86_64/tst-avx512.c: Likewise.
2391         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
2392         * sysdeps/x86_64/tst-avxmod.c: Likewise.
2393         * sysdeps/x86_64/tst-sse.c: Likewise.
2394         * sysdeps/x86_64/tst-ssemod.c: Likewise.
2396 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2398         * math/auto-libm-test-in: Add more tests of csin and csinh.
2399         * math/auto-libm-test-out-csin: Regenerated.
2400         * math/auto-libm-test-out-csinh: Likewise.
2401         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
2402         auto-libm-test-in.
2403         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
2405 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2407         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
2408         libm-compat-calls-auto.
2409         (libm-compat-calls): Likewise.
2410         (libm-compat-calls-auto): Rename to libm-compat-calls and add
2411         w_lgamma_compatF and k_standardF (merged from the items above).
2412         (libm-routines): Use libm-compat-calls, instead of
2413         libm-compat-calls-auto, with type-foreach.
2415 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2417         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
2418         macro.
2419         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
2420         (CFLAGS-test-ifloat.c): ... this.  Remove
2421         -U__LIBC_INTERNAL_MATH_INLINES.
2422         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
2423         (CFLAGS-test-idouble.c): ... this.  Remove
2424         -U__LIBC_INTERNAL_MATH_INLINES.
2425         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
2426         (CFLAGS-test-ildouble.c): ... this.  Remove
2427         -U__LIBC_INTERNAL_MATH_INLINES.
2429 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
2431         * math/libm-test-support.c: New file.  Content from
2432         math/libm-test-driver.c.
2433         * math/libm-test-support.h: Likewise.
2434         * math/libm-test-support-double.c: New file.
2435         * math/libm-test-support-float.c: Likewise.
2436         * math/libm-test-support-ldouble.c: Likewise.
2437         * math/libm-test-driver.c: Remove main comment and header
2438         includes.  Include libm-test-support.h.
2439         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
2440         (flag_test_errno): Remove static.
2441         (flag_test_exceptions): Likewise.
2442         (flag_test_finite): Likewise.
2443         (flag_test_inline): Likewise.
2444         (flag_test_mathvec): Likewise.
2445         (test_msg): Likewise.
2446         (NO_EXCEPTION): Remove.
2447         (INVALID_EXCEPTION): Likewise.
2448         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2449         (OVERFLOW_EXCEPTION): Likewise.
2450         (UNDERFLOW_EXCEPTION): Likewise.
2451         (INEXACT_EXCEPTION): Likewise.
2452         (INVALID_EXCEPTION_OK): Likewise.
2453         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2454         (OVERFLOW_EXCEPTION_OK): Likewise.
2455         (UNDERFLOW_EXCEPTION_OK): Likewise.
2456         (NO_INEXACT_EXCEPTION): Likewise.
2457         (EXCEPTIONS_OK): Likewise.
2458         (IGNORE_ZERO_INF_SIGN): Likewise.
2459         (TEST_NAN_SIGN): Likewise.
2460         (TEST_NAN_PAYLOAD): Likewise.
2461         (NO_TEST_INLINE): Likewise.
2462         (XFAIL_TEST): Likewise.
2463         (ERRNO_UNCHANGED): Likewise.
2464         (ERRNO_EDOM): Likewise.
2465         (ERRNO_ERANGE): Likewise.
2466         (IGNORE_RESULT): Likewise.
2467         (NON_FINITE): Likewise.
2468         (TEST_SNAN): Likewise.
2469         (NO_TEST_MATHVEC): Likewise.
2470         (__CONCATX): Likewise.
2471         (TYPE_MIN): Likewise.
2472         (TYPE_TRUE_MIN): Likewise.
2473         (TYPE_MAX): Likewise.
2474         (MIN_EXP): Likewise.
2475         (MAX_EXP): Likewise.
2476         (MANT_DIG): Likewise.
2477         (FSTR_MAX): Likewise.
2478         (ulp_idx): Likewise.
2479         (qtype_str): Remove static.
2480         (TEST_COND_binary32): Remove.
2481         (TEST_COND_binary64): Likewise.
2482         (TEST_COND_binary128): Likewise.
2483         (TEST_COND_ibm128): Likewise.
2484         (TEST_COND_intel96): Likewise.
2485         (TEST_COND_m68k96): Likewise.
2486         (TEST_COND_ibm128_libgcc): Likewise.
2487         (XFAIL_IBM128_LIBGCC): Likewise.
2488         (PAYLOAD_DIG): Likewise.
2489         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2490         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2491         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2492         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2493         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2494         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2495         (TEST_COND_long32): Likewise.
2496         (TEST_COND_long64): Likewise.
2497         (TEST_COND_before_rounding): Likewise.
2498         (TEST_COND_after_rounding): Likewise.
2499         (ulps_file_name): Likewise.
2500         (ulps_file): Likewise.
2501         (output_ulps): Likewise.
2502         (output_dir): Likewise.
2503         (noErrors): Likewise.
2504         (noTests): Likewise.
2505         (noExcTests): Likewise.
2506         (noErrnoTests): Likewise.
2507         (verbose): Likewise.
2508         (output_max_error): Likewise.
2509         (output_points): Likewise.
2510         (ignore_max_ulp): Likewise.
2511         (max_error): Likewise.
2512         (real_max_error): Likewise.
2513         (imag_max_error): Likewise.
2514         (prev_max_error): Likewise.
2515         (prev_real_max_error): Likewise.
2516         (prev_imag_max_error): Likewise.
2517         (max_valid_error): Likewise.
2518         (TYPE_DECIMAL_DIG): Likewise.
2519         (TYPE_HEX_DIG): Likewise.
2520         (fmt_ftostr): Likewise.
2521         (compare_ulp_data): Likewise.
2522         (find_ulps): Likewise.
2523         (init_max_error): Likewise.
2524         (set_max_error): Likewise.
2525         (print_float): Likewise.
2526         (print_screen): Likewise.
2527         (print_screen_max_error): Likewise.
2528         (update_stats): Likewise.
2529         (print_function_ulps): Likewise.
2530         (print_complex_function_ulps): Likewise.
2531         (fpstack_test): Likewise.
2532         (print_max_error): Likewise.
2533         (print_complex_max_error): Likewise.
2534         (test_single_exception): Likewise.
2535         (test_exceptions): Likewise.
2536         (test_single_errno): Likewise.
2537         (test_errno): Likewise.
2538         (ULPDIFF): Likewise.
2539         (ulp): Likewise.
2540         (check_float_internal): Likewise.
2541         (check_float): Likewise.
2542         (check_complex): Likewise.
2543         (check_int): Likewise.
2544         (check_long): Likewise.
2545         (check_bool): Likewise.
2546         (check_longlong): Likewise.
2547         (check_intmax_t): Likewise.
2548         (check_uintmax_t): Likewise.
2549         (enable_test): Likewise.
2550         (matherr): Likewise.
2551         (initialize): Likewise.
2552         (options): Likewise.
2553         (doc): Remove static.
2554         (argp): Likewise.
2555         (parse_opt): Remove.
2556         (check_ulp): Likewise.
2557         (libm_test_init): Likewise.
2558         (libm_test_finish): Likewise.
2559         * math/Makefile (libm-test-support): New variable.
2560         (test-extras): Add libm-test-support files.
2561         (extra-test-objs): Likewise.
2562         (CFLAGS-libm-test-support-float.c): New variable.
2563         (CFLAGS-libm-test-support-double.c): Likewise.
2564         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2565         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
2566         libm-test-support objects.
2568 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2570         * math/Makefile (libm-calls): Move w_exp...
2571         (libm-compat-calls-auto): Here.
2573         * math/w_expl.c: Add suffix "_compat" to filename.
2574         * sysdeps/ia64/fpu/w_expl.c: Likewise.
2575         * sysdeps/ia64/fpu/w_expf.c: Likewise.
2576         * sysdeps/ia64/fpu/w_exp.c: Likewise.
2577         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2578         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2579         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2580         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2581         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2583         * math/w_expl_compat.c: New file, copied from above.
2584         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
2585         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
2586         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
2587         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
2588         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
2589         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
2590         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
2591         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
2593         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
2594         to filename.
2595         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
2597         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
2598         copied from above and adjusted for the new filenames.
2599         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
2601 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2603         * math/Makefile (libm-calls): Move w_lgammaF...
2604         (libm-compat-calls-auto): Here.
2606         * math/w_lgamma.c: Add suffix "_compat2" to filename.
2607         * math/w_lgammaf.c: Likewise.
2608         * math/w_lgammal.c: Likewise.
2610         * math/w_lgamma_compat2.c: New file, copied from above.
2611         * math/w_lgammaf_compat2.c: Likewise.
2612         * math/w_lgammal_compat2.c: Likewise.
2614 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2616         * math/Makefile (libm-calls): Move w_lgammaF_r...
2617         (libm-compat-calls-auto): Here.
2619         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
2620         * math/w_lgammaf_r.c: Likewise.
2621         * math/w_lgammal_r.c: Likewise.
2622         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2623         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2624         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2626         * math/w_lgamma_r_compat.c: New file, copied from above.
2627         * math/w_lgammaf_r_compat.c: Likewise.
2628         * math/w_lgammal_r_compat.c: Likewise.
2629         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
2630         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
2631         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
2633         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
2634         to filename.
2635         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
2637         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
2638         copied from above and adjusted for the new filenames.
2639         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
2641 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
2643         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
2644         calculation in SYSCALL_ERROR_HANDLER().
2646 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
2648         * manual/contrib.texi: Fix typo.
2650 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2652         [BZ #21109]
2653         * elf/dl-tunable-types.h (tunable_callback_t): Accept
2654         tunable_val_t as argument.
2655         * elf/dl-tunables.c (__tunable_set_val): Add comment.
2656         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
2657         argument.
2658         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
2660 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
2662         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
2663         Add PTRACE_EVENT_STOP.
2664         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2665         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2666         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2667         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2668         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
2669         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
2671 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
2673         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
2674         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
2675         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
2676         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
2677         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
2678         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
2679         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
2680         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
2681         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
2682         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
2684         [BZ #21112]
2685         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
2686         12 bits zero.
2687         (cp_l): Update for new value of cp_h.
2688         * math/auto-libm-test-in: Add another test of pow.
2689         * math/auto-libm-test-out-pow: Regenerated.
2691 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2693         * manual/contrib.texi: Fix typo.
2695 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2697         [BZ #15998]
2698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2699         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
2700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2702 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2704         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
2705         STRCHR as __strchr_power8.
2706         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
2707         strlen as __strlen_power8.
2709 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2711         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
2712         unaligned load for shorter strings.
2713         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2715 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2717         * math/libm-test-driver.c (flag_test_errno): New variable.
2718         (flag_test_exceptions): Likewise.
2719         (flag_test_finite): Likewise.
2720         (flag_test_inline): Likewise.
2721         (flag_test_mathvec): Likewise.
2722         (test_msg): Likewise.
2723         (ulp_idx): Likewise.
2724         (qtype_str): Likewise.
2725         (ULP_IDX): Remove macro.
2726         (QTYPE_STR): Likewise.
2727         (find_ulps): Use ulp_idx not ULP_IDX.
2728         (print_function_ulps): Use qtype_str, printed with %s, not
2729         QTYPE_STR, printed with concatentation to format string.
2730         (print_complex_function_ulps): Likewise.
2731         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
2732         (test_errno): Use flag_test_errno not TEST_ERRNO.
2733         (enable_test): Use flag_test_inline, flag_test_finite and
2734         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
2735         TEST_MATHVEC.
2736         (libm_test_init): New function.  Factored out of main.
2737         (libm_test_finish): Likewise.
2738         (main): Call libm_test_init and libm_test_finish and move most
2739         code to those functions.
2741         * math/libm-test-driver.c (STRX): New macro.
2742         (STR): Likewise.
2743         (STR_FLOAT): Likewise.
2744         (STR_VEC_LEN): Likewise.
2745         (TEST_MSG): Likewise.  Define here instead of expecting to be
2746         defined by including file.
2747         * math/test-double-finite.c (TEST_MSG): Remove macro.
2748         * math/test-double-vlen2.h (TEST_MSG): Likewise.
2749         * math/test-double-vlen4.h (TEST_MSG): Likewise.
2750         * math/test-double-vlen8.h (TEST_MSG): Likewise.
2751         * math/test-double.c (TEST_MSG): Likewise.
2752         * math/test-float-finite.c (TEST_MSG): Likewise.
2753         * math/test-float-vlen16.h (TEST_MSG): Likewise.
2754         * math/test-float-vlen4.h (TEST_MSG): Likewise.
2755         * math/test-float-vlen8.h (TEST_MSG): Likewise.
2756         * math/test-float.c (TEST_MSG): Likewise.
2757         * math/test-idouble.c (TEST_MSG): Likewise.
2758         * math/test-ifloat.c (TEST_MSG): Likewise.
2759         * math/test-ildouble.c (TEST_MSG): Likewise.
2760         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
2761         * math/test-ldouble.c (TEST_MSG): Likewise.
2763         * math/libm-test.inc: Move all tests of individual functions to
2764         libm-test-*.inc and #include libm-test-*.c files.
2765         (acos_test_data): Remove.
2766         (acos_test): Likewise.
2767         (acosh_test_data): Likewise.
2768         (acosh_test): Likewise.
2769         (asin_test_data): Likewise.
2770         (asin_test): Likewise.
2771         (asinh_test_data): Likewise.
2772         (asinh_test): Likewise.
2773         (atan_test_data): Likewise.
2774         (atan_test): Likewise.
2775         (atanh_test_data): Likewise.
2776         (atanh_test): Likewise.
2777         (atan2_test_data): Likewise.
2778         (atan2_test): Likewise.
2779         (cabs_test_data): Likewise.
2780         (cabs_test): Likewise.
2781         (cacos_test_data): Likewise.
2782         (cacos_test): Likewise.
2783         (cacosh_test_data): Likewise.
2784         (cacosh_test): Likewise.
2785         (canonicalize_test_data): Likewise.
2786         (canonicalize_test): Likewise.
2787         (carg_test_data): Likewise.
2788         (carg_test): Likewise.
2789         (casin_test_data): Likewise.
2790         (casin_test): Likewise.
2791         (casinh_test_data): Likewise.
2792         (casinh_test): Likewise.
2793         (catan_test_data): Likewise.
2794         (catan_test): Likewise.
2795         (catanh_test_data): Likewise.
2796         (catanh_test): Likewise.
2797         (cbrt_test_data): Likewise.
2798         (cbrt_test): Likewise.
2799         (ccos_test_data): Likewise.
2800         (ccos_test): Likewise.
2801         (ccosh_test_data): Likewise.
2802         (ccosh_test): Likewise.
2803         (ceil_test_data): Likewise.
2804         (ceil_test): Likewise.
2805         (cexp_test_data): Likewise.
2806         (cexp_test): Likewise.
2807         (cimag_test_data): Likewise.
2808         (cimag_test): Likewise.
2809         (clog_test_data): Likewise.
2810         (clog_test): Likewise.
2811         (clog10_test_data): Likewise.
2812         (clog10_test): Likewise.
2813         (conj_test_data): Likewise.
2814         (conj_test): Likewise.
2815         (copysign_test_data): Likewise.
2816         (copysign_test): Likewise.
2817         (cos_test_data): Likewise.
2818         (cos_test): Likewise.
2819         (cosh_test_data): Likewise.
2820         (cosh_test): Likewise.
2821         (cpow_test_data): Likewise.
2822         (cpow_test): Likewise.
2823         (cproj_test_data): Likewise.
2824         (cproj_test): Likewise.
2825         (creal_test_data): Likewise.
2826         (creal_test): Likewise.
2827         (csin_test_data): Likewise.
2828         (csin_test): Likewise.
2829         (csinh_test_data): Likewise.
2830         (csinh_test): Likewise.
2831         (csqrt_test_data): Likewise.
2832         (csqrt_test): Likewise.
2833         (ctan_test_data): Likewise.
2834         (ctan_test): Likewise.
2835         (ctanh_test_data): Likewise.
2836         (ctanh_test): Likewise.
2837         (erf_test_data): Likewise.
2838         (erf_test): Likewise.
2839         (erfc_test_data): Likewise.
2840         (erfc_test): Likewise.
2841         (exp_test_data): Likewise.
2842         (exp_test): Likewise.
2843         (exp10_test_data): Likewise.
2844         (exp10_test): Likewise.
2845         (pow10_test): Likewise.
2846         (exp2_test_data): Likewise.
2847         (exp2_test): Likewise.
2848         (expm1_test_data): Likewise.
2849         (expm1_test): Likewise.
2850         (fabs_test_data): Likewise.
2851         (fabs_test): Likewise.
2852         (fdim_test_data): Likewise.
2853         (fdim_test): Likewise.
2854         (floor_test_data): Likewise.
2855         (floor_test): Likewise.
2856         (fma_test_data): Likewise.
2857         (fma_test): Likewise.
2858         (fmax_test_data): Likewise.
2859         (fmax_test): Likewise.
2860         (fmaxmag_test_data): Likewise.
2861         (fmaxmag_test): Likewise.
2862         (fmin_test_data): Likewise.
2863         (fmin_test): Likewise.
2864         (fminmag_test_data): Likewise.
2865         (fminmag_test): Likewise.
2866         (fmod_test_data): Likewise.
2867         (fmod_test): Likewise.
2868         (fpclassify_test_data): Likewise.
2869         (fpclassify_test): Likewise.
2870         (frexp_test_data): Likewise.
2871         (frexp_test): Likewise.
2872         (fromfp_test_data): Likewise.
2873         (fromfp_test): Likewise.
2874         (fromfpx_test_data): Likewise.
2875         (fromfpx_test): Likewise.
2876         (getpayload_test_data): Likewise.
2877         (getpayload_test): Likewise.
2878         (hypot_test_data): Likewise.
2879         (hypot_test): Likewise.
2880         (ilogb_test_data): Likewise.
2881         (ilogb_test): Likewise.
2882         (iscanonical_test_data): Likewise.
2883         (iscanonical_test): Likewise.
2884         (iseqsig_test_data): Likewise.
2885         (iseqsig_test): Likewise.
2886         (isfinite_test_data): Likewise.
2887         (isfinite_test): Likewise.
2888         (finite_test): Likewise.
2889         (isgreater_test_data): Likewise.
2890         (isgreater_test): Likewise.
2891         (isgreaterequal_test_data): Likewise.
2892         (isgreaterequal_test): Likewise.
2893         (isinf_test_data): Likewise.
2894         (isinf_test): Likewise.
2895         (isless_test_data): Likewise.
2896         (isless_test): Likewise.
2897         (islessequal_test_data): Likewise.
2898         (islessequal_test): Likewise.
2899         (islessgreater_test_data): Likewise.
2900         (islessgreater_test): Likewise.
2901         (isnan_test_data): Likewise.
2902         (isnan_test): Likewise.
2903         (isnormal_test_data): Likewise.
2904         (isnormal_test): Likewise.
2905         (issignaling_test_data): Likewise.
2906         (issignaling_test): Likewise.
2907         (issubnormal_test_data): Likewise.
2908         (issubnormal_test): Likewise.
2909         (isunordered_test_data): Likewise.
2910         (isunordered_test): Likewise.
2911         (iszero_test_data): Likewise.
2912         (iszero_test): Likewise.
2913         (j0_test_data): Likewise.
2914         (j0_test): Likewise.
2915         (j1_test_data): Likewise.
2916         (j1_test): Likewise.
2917         (jn_test_data): Likewise.
2918         (jn_test): Likewise.
2919         (lgamma_test_data): Likewise.
2920         (lgamma_test): Likewise.
2921         (gamma_test): Likewise.
2922         (llogb_test_data): Likewise.
2923         (llogb_test): Likewise.
2924         (lrint_test_data): Likewise.
2925         (lrint_test): Likewise.
2926         (llrint_test_data): Likewise.
2927         (llrint_test): Likewise.
2928         (log_test_data): Likewise.
2929         (log_test): Likewise.
2930         (log10_test_data): Likewise.
2931         (log10_test): Likewise.
2932         (log1p_test_data): Likewise.
2933         (log1p_test): Likewise.
2934         (log2_test_data): Likewise.
2935         (log2_test): Likewise.
2936         (logb_test_data): Likewise.
2937         (logb_test): Likewise.
2938         (lround_test_data): Likewise.
2939         (lround_test): Likewise.
2940         (llround_test_data): Likewise.
2941         (llround_test): Likewise.
2942         (modf_test_data): Likewise.
2943         (modf_test): Likewise.
2944         (nearbyint_test_data): Likewise.
2945         (nearbyint_test): Likewise.
2946         (nextafter_test_data): Likewise.
2947         (nextafter_test): Likewise.
2948         (nextup_test_data): Likewise.
2949         (nextup_test): Likewise.
2950         (nextdown_test_data): Likewise.
2951         (nextdown_test): Likewise.
2952         (nexttoward_test_data): Likewise.
2953         (nexttoward_test): Likewise.
2954         (pow_test_data): Likewise.
2955         (pow_test): Likewise.
2956         (remainder_test_data): Likewise.
2957         (remainder_test): Likewise.
2958         (drem_test): Likewise.
2959         (remquo_test_data): Likewise.
2960         (remquo_test): Likewise.
2961         (rint_test_data): Likewise.
2962         (rint_test): Likewise.
2963         (round_test_data): Likewise.
2964         (round_test): Likewise.
2965         (roundeven_test_data): Likewise.
2966         (roundeven_test): Likewise.
2967         (scalb_test_data): Likewise.
2968         (scalb_test): Likewise.
2969         (scalbn_test_data): Likewise.
2970         (scalbn_test): Likewise.
2971         (ldexp_test): Likewise.
2972         (scalbln_test_data): Likewise.
2973         (scalbln_test): Likewise.
2974         (setpayload_test_data): Likewise.
2975         (setpayload_test): Likewise.
2976         (setpayloadsig_test_data): Likewise.
2977         (setpayloadsig_test): Likewise.
2978         (signbit_test_data): Likewise.
2979         (signbit_test): Likewise.
2980         (sin_test_data): Likewise.
2981         (sin_test): Likewise.
2982         (sincos_test_data): Likewise.
2983         (sincos_test): Likewise.
2984         (sinh_test_data): Likewise.
2985         (sinh_test): Likewise.
2986         (sqrt_test_data): Likewise.
2987         (sqrt_test): Likewise.
2988         (tan_test_data): Likewise.
2989         (tan_test): Likewise.
2990         (tanh_test_data): Likewise.
2991         (tanh_test): Likewise.
2992         (tgamma_test_data): Likewise.
2993         (tgamma_test): Likewise.
2994         (totalorder_test_data): Likewise.
2995         (totalorder_test): Likewise.
2996         (totalordermag_test_data): Likewise.
2997         (totalordermag_test): Likewise.
2998         (trunc_test_data): Likewise.
2999         (trunc_test): Likewise.
3000         (ufromfp_test_data): Likewise.
3001         (ufromfp_test): Likewise.
3002         (ufromfpx_test_data): Likewise.
3003         (ufromfpx_test): Likewise.
3004         (y0_test_data): Likewise.
3005         (y0_test): Likewise.
3006         (y1_test_data): Likewise.
3007         (y1_test): Likewise.
3008         (yn_test_data): Likewise.
3009         (yn_test): Likewise.
3010         (significand_test_data): Likewise.
3011         (significand_test): Likewise.
3012         * math/Makefile (auto-libm-test-out-files): Remove variable.
3013         (libm-test-funcs-noauto): New variable.
3014         (libm-test-funcs-all): Likewise.
3015         (libm-test-c-auto): Likewise.
3016         (libm-test-c-noauto): Likewise.
3017         (libm-tests-generated): Add $(libm-test-c-auto) and
3018         $(libm-test-c-noauto).
3019         (generated): Do not add auto-libm-test-out.
3020         (libm-test-c-auto-obj): New variable.
3021         (libm-test-c-noauto-obj): Likewise.
3022         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
3023         ($(libm-test-c-noauto-obj)): New static pattern rule.
3024         ($(libm-test-c-auto-obj)): Likewise.
3025         (libm-test-incs): New variable.
3026         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
3027         and pass it to gen-libm-have-vector-test.sh.
3028         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
3029         be passed on command line.
3030         * math/libm-test-acos.inc: New file.  Content from
3031         math/libm-test.inc.
3032         * math/libm-test-acosh.inc: Likewise.
3033         * math/libm-test-asin.inc: Likewise.
3034         * math/libm-test-asinh.inc: Likewise.
3035         * math/libm-test-atan.inc: Likewise.
3036         * math/libm-test-atan2.inc: Likewise.
3037         * math/libm-test-atanh.inc: Likewise.
3038         * math/libm-test-cabs.inc: Likewise.
3039         * math/libm-test-cacos.inc: Likewise.
3040         * math/libm-test-cacosh.inc: Likewise.
3041         * math/libm-test-canonicalize.inc: Likewise.
3042         * math/libm-test-carg.inc: Likewise.
3043         * math/libm-test-casin.inc: Likewise.
3044         * math/libm-test-casinh.inc: Likewise.
3045         * math/libm-test-catan.inc: Likewise.
3046         * math/libm-test-catanh.inc: Likewise.
3047         * math/libm-test-cbrt.inc: Likewise.
3048         * math/libm-test-ccos.inc: Likewise.
3049         * math/libm-test-ccosh.inc: Likewise.
3050         * math/libm-test-ceil.inc: Likewise.
3051         * math/libm-test-cexp.inc: Likewise.
3052         * math/libm-test-cimag.inc: Likewise.
3053         * math/libm-test-clog.inc: Likewise.
3054         * math/libm-test-clog10.inc: Likewise.
3055         * math/libm-test-conj.inc: Likewise.
3056         * math/libm-test-copysign.inc: Likewise.
3057         * math/libm-test-cos.inc: Likewise.
3058         * math/libm-test-cosh.inc: Likewise.
3059         * math/libm-test-cpow.inc: Likewise.
3060         * math/libm-test-cproj.inc: Likewise.
3061         * math/libm-test-creal.inc: Likewise.
3062         * math/libm-test-csin.inc: Likewise.
3063         * math/libm-test-csinh.inc: Likewise.
3064         * math/libm-test-csqrt.inc: Likewise.
3065         * math/libm-test-ctan.inc: Likewise.
3066         * math/libm-test-ctanh.inc: Likewise.
3067         * math/libm-test-erf.inc: Likewise.
3068         * math/libm-test-erfc.inc: Likewise.
3069         * math/libm-test-exp.inc: Likewise.
3070         * math/libm-test-exp10.inc: Likewise.
3071         * math/libm-test-exp2.inc: Likewise.
3072         * math/libm-test-expm1.inc: Likewise.
3073         * math/libm-test-fabs.inc: Likewise.
3074         * math/libm-test-fdim.inc: Likewise.
3075         * math/libm-test-floor.inc: Likewise.
3076         * math/libm-test-fma.inc: Likewise.
3077         * math/libm-test-fmax.inc: Likewise.
3078         * math/libm-test-fmaxmag.inc: Likewise.
3079         * math/libm-test-fmin.inc: Likewise.
3080         * math/libm-test-fminmag.inc: Likewise.
3081         * math/libm-test-fmod.inc: Likewise.
3082         * math/libm-test-fpclassify.inc: Likewise.
3083         * math/libm-test-frexp.inc: Likewise.
3084         * math/libm-test-fromfp.inc: Likewise.
3085         * math/libm-test-fromfpx.inc: Likewise.
3086         * math/libm-test-getpayload.inc: Likewise.
3087         * math/libm-test-hypot.inc: Likewise.
3088         * math/libm-test-ilogb.inc: Likewise.
3089         * math/libm-test-iscanonical.inc: Likewise.
3090         * math/libm-test-iseqsig.inc: Likewise.
3091         * math/libm-test-isfinite.inc: Likewise.
3092         * math/libm-test-isgreater.inc: Likewise.
3093         * math/libm-test-isgreaterequal.inc: Likewise.
3094         * math/libm-test-isinf.inc: Likewise.
3095         * math/libm-test-isless.inc: Likewise.
3096         * math/libm-test-islessequal.inc: Likewise.
3097         * math/libm-test-islessgreater.inc: Likewise.
3098         * math/libm-test-isnan.inc: Likewise.
3099         * math/libm-test-isnormal.inc: Likewise.
3100         * math/libm-test-issignaling.inc: Likewise.
3101         * math/libm-test-issubnormal.inc: Likewise.
3102         * math/libm-test-isunordered.inc: Likewise.
3103         * math/libm-test-iszero.inc: Likewise.
3104         * math/libm-test-j0.inc: Likewise.
3105         * math/libm-test-j1.inc: Likewise.
3106         * math/libm-test-jn.inc: Likewise.
3107         * math/libm-test-lgamma.inc: Likewise.
3108         * math/libm-test-llogb.inc: Likewise.
3109         * math/libm-test-llrint.inc: Likewise.
3110         * math/libm-test-llround.inc: Likewise.
3111         * math/libm-test-log.inc: Likewise.
3112         * math/libm-test-log10.inc: Likewise.
3113         * math/libm-test-log1p.inc: Likewise.
3114         * math/libm-test-log2.inc: Likewise.
3115         * math/libm-test-logb.inc: Likewise.
3116         * math/libm-test-lrint.inc: Likewise.
3117         * math/libm-test-lround.inc: Likewise.
3118         * math/libm-test-modf.inc: Likewise.
3119         * math/libm-test-nearbyint.inc: Likewise.
3120         * math/libm-test-nextafter.inc: Likewise.
3121         * math/libm-test-nextdown.inc: Likewise.
3122         * math/libm-test-nexttoward.inc: Likewise.
3123         * math/libm-test-nextup.inc: Likewise.
3124         * math/libm-test-pow.inc: Likewise.
3125         * math/libm-test-remainder.inc: Likewise.
3126         * math/libm-test-remquo.inc: Likewise.
3127         * math/libm-test-rint.inc: Likewise.
3128         * math/libm-test-round.inc: Likewise.
3129         * math/libm-test-roundeven.inc: Likewise.
3130         * math/libm-test-scalb.inc: Likewise.
3131         * math/libm-test-scalbln.inc: Likewise.
3132         * math/libm-test-scalbn.inc: Likewise.
3133         * math/libm-test-setpayload.inc: Likewise.
3134         * math/libm-test-setpayloadsig.inc: Likewise.
3135         * math/libm-test-signbit.inc: Likewise.
3136         * math/libm-test-significand.inc: Likewise.
3137         * math/libm-test-sin.inc: Likewise.
3138         * math/libm-test-sincos.inc: Likewise.
3139         * math/libm-test-sinh.inc: Likewise.
3140         * math/libm-test-sqrt.inc: Likewise.
3141         * math/libm-test-tan.inc: Likewise.
3142         * math/libm-test-tanh.inc: Likewise.
3143         * math/libm-test-tgamma.inc: Likewise.
3144         * math/libm-test-totalorder.inc: Likewise.
3145         * math/libm-test-totalordermag.inc: Likewise.
3146         * math/libm-test-trunc.inc: Likewise.
3147         * math/libm-test-ufromfp.inc: Likewise.
3148         * math/libm-test-ufromfpx.inc: Likewise.
3149         * math/libm-test-y0.inc: Likewise.
3150         * math/libm-test-y1.inc: Likewise.
3151         * math/libm-test-yn.inc: Likewise.
3152         * math/README.libm-test: Update.
3154         * math/gen-auto-libm-tests.c: Update comment about use of program.
3155         (generate_output): Add argument FUNCTION.
3156         (main): Require extra argument.  Pass function name to
3157         generate_output.
3158         * math/Makefile (generated): Add auto-libm-test-out.
3159         (libm-test-funcs-auto): New variable.
3160         (auto-libm-test-out-files): New variable.
3161         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
3162         Concatenate those files to form $(objpfx)auto-libm-test-out and
3163         use it as input to gen-libm-test.pl.
3164         * math/README.libm-test: Update.
3165         * math/auto-libm-test-out: Remove.
3166         * math/auto-libm-test-out-acos: New generated file.
3167         * math/auto-libm-test-out-acosh: Likewise.
3168         * math/auto-libm-test-out-asin: Likewise.
3169         * math/auto-libm-test-out-asinh: Likewise.
3170         * math/auto-libm-test-out-atan: Likewise.
3171         * math/auto-libm-test-out-atan2: Likewise.
3172         * math/auto-libm-test-out-atanh: Likewise.
3173         * math/auto-libm-test-out-cabs: Likewise.
3174         * math/auto-libm-test-out-carg: Likewise.
3175         * math/auto-libm-test-out-cbrt: Likewise.
3176         * math/auto-libm-test-out-ccos: Likewise.
3177         * math/auto-libm-test-out-ccosh: Likewise.
3178         * math/auto-libm-test-out-cexp: Likewise.
3179         * math/auto-libm-test-out-clog: Likewise.
3180         * math/auto-libm-test-out-clog10: Likewise.
3181         * math/auto-libm-test-out-cos: Likewise.
3182         * math/auto-libm-test-out-cosh: Likewise.
3183         * math/auto-libm-test-out-cpow: Likewise.
3184         * math/auto-libm-test-out-csin: Likewise.
3185         * math/auto-libm-test-out-csinh: Likewise.
3186         * math/auto-libm-test-out-csqrt: Likewise.
3187         * math/auto-libm-test-out-ctan: Likewise.
3188         * math/auto-libm-test-out-ctanh: Likewise.
3189         * math/auto-libm-test-out-erf: Likewise.
3190         * math/auto-libm-test-out-erfc: Likewise.
3191         * math/auto-libm-test-out-exp: Likewise.
3192         * math/auto-libm-test-out-exp10: Likewise.
3193         * math/auto-libm-test-out-exp2: Likewise.
3194         * math/auto-libm-test-out-expm1: Likewise.
3195         * math/auto-libm-test-out-fma: Likewise.
3196         * math/auto-libm-test-out-hypot: Likewise.
3197         * math/auto-libm-test-out-j0: Likewise.
3198         * math/auto-libm-test-out-j1: Likewise.
3199         * math/auto-libm-test-out-jn: Likewise.
3200         * math/auto-libm-test-out-lgamma: Likewise.
3201         * math/auto-libm-test-out-log: Likewise.
3202         * math/auto-libm-test-out-log10: Likewise.
3203         * math/auto-libm-test-out-log1p: Likewise.
3204         * math/auto-libm-test-out-log2: Likewise.
3205         * math/auto-libm-test-out-pow: Likewise.
3206         * math/auto-libm-test-out-sin: Likewise.
3207         * math/auto-libm-test-out-sincos: Likewise.
3208         * math/auto-libm-test-out-sinh: Likewise.
3209         * math/auto-libm-test-out-sqrt: Likewise.
3210         * math/auto-libm-test-out-tan: Likewise.
3211         * math/auto-libm-test-out-tanh: Likewise.
3212         * math/auto-libm-test-out-tgamma: Likewise.
3213         * math/auto-libm-test-out-y0: Likewise.
3214         * math/auto-libm-test-out-y1: Likewise.
3215         * math/auto-libm-test-out-yn: Likewise.
3217         * math/Makefile (generated): Do not include libm-test.stmp.
3218         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
3219         on $(objpfx)libm-test.stmp.
3220         ($(objpfx)libm-test.stmp): Remove rule.
3221         ($(objpfx)libm-test-ulps.h): New rule.
3222         ($(objpfx)libm-test.c): Likewise.
3223         ($(objpfx)libm-have-vector-test.h): Likewise.
3224         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
3225         individual generated files, not libm-test.stmp.
3227         * math/gen-libm-test.pl ($output_dir): Remove variable.
3228         ($srcdir): Likewise.
3229         ($opt_a): New variable.
3230         ($opt_c): Likewise.
3231         ($opt_C): Likewise.
3232         ($opt_H): Likewise.
3233         (-n): Make option take argument and use it as NewUlps output.
3234         (-a): New option.  Use its argument for auto-libm-test-out input.
3235         (-c): New option.  Use its argument for libm-test.inc input.
3236         (-C): New option.  Use its argument for libm-test.c output.
3237         (-H): New option.  Use its argument for libm-test-ulps.h output.
3238         (top level): Only process inputs needed to generate outputs
3239         specified by command-line options.  Only generate outputs
3240         specified by command-line options.
3241         * math/README.libm-test: Update example gen-libm-test.pl command.
3242         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
3243         commands.
3244         (regen-ulps): Likewise.
3246 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
3248         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
3249         * include/string.h (index): Remove define.
3250         (rindex): Likewise.
3251         * misc/getttyent.c (__getttyent): Rename index to strchr.
3252         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
3253         * sunrpc/rpc_main.c (mkfile_output): Likewise.
3255 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3257         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
3258         * math/libm-test.inc: Move all contents, other than tests of
3259         individual functions, to libm-test-driver.c.
3260         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
3261         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
3262         [!FE_UPWARD] (FE_UPWARD): Likewise.
3263         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
3264         (NO_EXCEPTION): Likewise.
3265         (INVALID_EXCEPTION): Likewise.
3266         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3267         (OVERFLOW_EXCEPTION): Likewise.
3268         (UNDERFLOW_EXCEPTION): Likewise.
3269         (INEXACT_EXCEPTION): Likewise.
3270         (INVALID_EXCEPTION_OK): Likewise.
3271         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3272         (OVERFLOW_EXCEPTION_OK): Likewise.
3273         (UNDERFLOW_EXCEPTION_OK): Likewise.
3274         (NO_INEXACT_EXCEPTION): Likewise.
3275         (EXCEPTIONS_OK): Likewise.
3276         (IGNORE_ZERO_INF_SIGN): Likewise.
3277         (TEST_NAN_SIGN): Likewise.
3278         (TEST_NAN_PAYLOAD): Likewise.
3279         (NO_TEST_INLINE): Likewise.
3280         (XFAIL_TEST): Likewise.
3281         (ERRNO_UNCHANGED): Likewise.
3282         (ERRNO_EDOM): Likewise.
3283         (ERRNO_ERANGE): Likewise.
3284         (IGNORE_RESULT): Likewise.
3285         (NON_FINITE): Likewise.
3286         (TEST_SNAN): Likewise.
3287         (NO_TEST_MATHVEC): Likewise.
3288         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
3289         (__CONCATX): Likewise.
3290         (TYPE_MIN): Likewise.
3291         (TYPE_TRUE_MIN): Likewise.
3292         (TYPE_MAX): Likewise.
3293         (MIN_EXP): Likewise.
3294         (MAX_EXP): Likewise.
3295         (MANT_DIG): Likewise.
3296         (FSTR_MAX): Likewise.
3297         (ULP_IDX): Likewise.
3298         (QTYPE_STR): Likewise.
3299         (TEST_COND_binary32): Likewise.
3300         (TEST_COND_binary64): Likewise.
3301         (TEST_COND_binary128): Likewise.
3302         (TEST_COND_ibm128): Likewise.
3303         (TEST_COND_intel96): Likewise.
3304         (TEST_COND_m68k96): Likewise.
3305         (TEST_COND_ibm128_libgcc): Likewise.
3306         (XFAIL_IBM128_LIBGCC): Likewise.
3307         (PAYLOAD_DIG): Likewise.
3308         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3309         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3310         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3311         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3312         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3313         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3314         (TEST_COND_long32): Likewise.
3315         (TEST_COND_long64): Likewise.
3316         (TEST_COND_before_rounding): Likewise.
3317         (TEST_COND_after_rounding): Likewise.
3318         (lit_pi_3_m_4_d): Likewise.
3319         (lit_pi_3_m_4_ln10_m_d): Likewise.
3320         (lit_pi_2_ln10_m_d): Likewise.
3321         (lit_pi_4_ln10_m_d): Likewise.
3322         (lit_pi_ln10_d): Likewise.
3323         (lit_pi_2_d): Likewise.
3324         (lit_pi_4_d): Likewise.
3325         (lit_pi): Likewise.
3326         (lit_e): Likewise.
3327         (ulps_file_name): Likewise.
3328         (ulps_file): Likewise.
3329         (output_ulps): Likewise.
3330         (output_dir): Likewise.
3331         (noErrors): Likewise.
3332         (noTests): Likewise.
3333         (noExcTests): Likewise.
3334         (noErrnoTests): Likewise.
3335         (verbose): Likewise.
3336         (output_max_error): Likewise.
3337         (output_points): Likewise.
3338         (ignore_max_ulp): Likewise.
3339         (plus_zero): Likewise.
3340         (minus_zero): Likewise.
3341         (plus_infty): Likewise.
3342         (minus_infty): Likewise.
3343         (qnan_value_pl): Likewise.
3344         (qnan_value): Likewise.
3345         (snan_value_pl): Likewise.
3346         (snan_value): Likewise.
3347         (max_value): Likewise.
3348         (min_value): Likewise.
3349         (min_subnorm_value): Likewise.
3350         (snan_value_ld): Likewise.
3351         (max_error): Likewise.
3352         (real_max_error): Likewise.
3353         (imag_max_error): Likewise.
3354         (prev_max_error): Likewise.
3355         (prev_real_max_error): Likewise.
3356         (prev_imag_max_error): Likewise.
3357         (max_valid_error): Likewise.
3358         (TYPE_DECIMAL_DIG): Likewise.
3359         (TYPE_HEX_DIG): Likewise.
3360         (fmt_ftostr): Likewise.
3361         (compare_ulp_data): Likewise.
3362         (find_ulps): Likewise.
3363         (init_max_error): Likewise.
3364         (set_max_error): Likewise.
3365         (print_float): Likewise.
3366         (print_screen): Likewise.
3367         (print_screen_max_error): Likewise.
3368         (update_stats): Likewise.
3369         (print_function_ulps): Likewise.
3370         (print_complex_function_ulps): Likewise.
3371         (fpstack_test): Likewise.
3372         (print_max_error): Likewise.
3373         (print_complex_max_error): Likewise.
3374         (test_single_exception): Likewise.
3375         (test_exceptions): Likewise.
3376         (test_single_errno): Likewise.
3377         (test_errno): Likewise.
3378         (ULPDIFF): Likewise.
3379         (ulp): Likewise.
3380         (check_float_internal): Likewise.
3381         (check_float): Likewise.
3382         (check_complex): Likewise.
3383         (check_int): Likewise.
3384         (check_long): Likewise.
3385         (check_bool): Likewise.
3386         (check_longlong): Likewise.
3387         (check_intmax_t): Likewise.
3388         (check_uintmax_t): Likewise.
3389         (enable_test): Likewise.
3390         (struct test_f_f_data): Likewise.
3391         (struct test_ff_f_data): Likewise.
3392         (struct test_fj_f_data): Likewise.
3393         (struct test_fi_f_data): Likewise.
3394         (struct test_fl_f_data): Likewise.
3395         (struct test_if_f_data): Likewise.
3396         (struct test_fff_f_data): Likewise.
3397         (struct test_fiu_M_data): Likewise.
3398         (struct test_fiu_U_data): Likewise.
3399         (struct test_c_f_data): Likewise.
3400         (struct test_f_f1_data): Likewise.
3401         (struct test_fF_f1_data): Likewise.
3402         (struct test_ffI_f1_data): Likewise.
3403         (struct test_c_c_data): Likewise.
3404         (struct test_cc_c_data): Likewise.
3405         (struct test_f_i_data): Likewise.
3406         (struct test_ff_i_data): Likewise.
3407         (struct test_f_l_data): Likewise.
3408         (struct test_f_L_data): Likewise.
3409         (struct test_fFF_11_data): Likewise.
3410         (struct test_Ff_b1_data): Likewise.
3411         (IF_ROUND_INIT_): Likewise.
3412         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3413         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3414         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3415         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3416         (ROUND_RESTORE_): Likewise.
3417         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3418         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3419         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3420         (ROUND_RESTORE_FE_UPWARD): Likewise.
3421         (RM_): Likewise.
3422         (RM_FE_DOWNWARD): Likewise.
3423         (RM_FE_TONEAREST): Likewise.
3424         (RM_FE_TOWARDZERO): Likewise.
3425         (RM_FE_UPWARD): Likewise.
3426         (COMMON_TEST_SETUP): Likewise.
3427         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3428         (COMMON_TEST_CLEANUP): Likewise.
3429         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3430         (RUN_TEST_f_f): Likewise.
3431         (RUN_TEST_LOOP_f_f): Likewise.
3432         (RUN_TEST_fp_f): Likewise.
3433         (RUN_TEST_LOOP_fp_f): Likewise.
3434         (RUN_TEST_2_f): Likewise.
3435         (RUN_TEST_LOOP_2_f): Likewise.
3436         (RUN_TEST_ff_f): Likewise.
3437         (RUN_TEST_LOOP_ff_f): Likewise.
3438         (RUN_TEST_LOOP_fj_f): Likewise.
3439         (RUN_TEST_fi_f): Likewise.
3440         (RUN_TEST_LOOP_fi_f): Likewise.
3441         (RUN_TEST_fl_f): Likewise.
3442         (RUN_TEST_LOOP_fl_f): Likewise.
3443         (RUN_TEST_if_f): Likewise.
3444         (RUN_TEST_LOOP_if_f): Likewise.
3445         (RUN_TEST_fff_f): Likewise.
3446         (RUN_TEST_LOOP_fff_f): Likewise.
3447         (RUN_TEST_fiu_M): Likewise.
3448         (RUN_TEST_LOOP_fiu_M): Likewise.
3449         (RUN_TEST_fiu_U): Likewise.
3450         (RUN_TEST_LOOP_fiu_U): Likewise.
3451         (RUN_TEST_c_f): Likewise.
3452         (RUN_TEST_LOOP_c_f): Likewise.
3453         (RUN_TEST_f_f1): Likewise.
3454         (RUN_TEST_LOOP_f_f1): Likewise.
3455         (RUN_TEST_fF_f1): Likewise.
3456         (RUN_TEST_LOOP_fF_f1): Likewise.
3457         (RUN_TEST_fI_f1): Likewise.
3458         (RUN_TEST_LOOP_fI_f1): Likewise.
3459         (RUN_TEST_ffI_f1_mod8): Likewise.
3460         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
3461         (RUN_TEST_Ff_b1): Likewise.
3462         (RUN_TEST_LOOP_Ff_b1): Likewise.
3463         (RUN_TEST_Ffp_b1): Likewise.
3464         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3465         (RUN_TEST_c_c): Likewise.
3466         (RUN_TEST_LOOP_c_c): Likewise.
3467         (RUN_TEST_cc_c): Likewise.
3468         (RUN_TEST_LOOP_cc_c): Likewise.
3469         (RUN_TEST_f_i): Likewise.
3470         (RUN_TEST_LOOP_f_i): Likewise.
3471         (RUN_TEST_f_i_tg): Likewise.
3472         (RUN_TEST_LOOP_f_i_tg): Likewise.
3473         (RUN_TEST_ff_b): Likewise.
3474         (RUN_TEST_LOOP_ff_b): Likewise.
3475         (RUN_TEST_ff_i_tg): Likewise.
3476         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3477         (RUN_TEST_f_b): Likewise.
3478         (RUN_TEST_LOOP_f_b): Likewise.
3479         (RUN_TEST_f_b_tg): Likewise.
3480         (RUN_TEST_LOOP_f_b_tg): Likewise.
3481         (RUN_TEST_f_l): Likewise.
3482         (RUN_TEST_LOOP_f_l): Likewise.
3483         (RUN_TEST_f_L): Likewise.
3484         (RUN_TEST_LOOP_f_L): Likewise.
3485         (RUN_TEST_fFF_11): Likewise.
3486         (RUN_TEST_LOOP_fFF_11): Likewise.
3487         (VEC_SUFF): Likewise.
3488         (STR_CONCAT): Likewise.
3489         (STR_CON3): Likewise.
3490         (HAVE_VECTOR): Likewise.
3491         (START): Likewise.
3492         (END): Likewise.
3493         (END_COMPLEX): Likewise.
3494         (ALL_RM_TEST): Likewise.
3495         (matherr): Likewise.
3496         (initialize): Likewise.
3497         (options): Likewise.
3498         (doc): Likewise.
3499         (parse_opt): Likewise.
3500         (argp): Likewise.
3501         (check_ulp): Likewise.
3502         (main): Likewise.
3503         (do_test): New function.  Call tests of individual functions
3504         previously called from main.
3506         * math/libm-test.inc: Remove comment listing functions tested and
3507         not tested.
3509 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3511         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
3512         (allocate_stack): Remove COLORING_INCREMENT usage.
3513         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
3514         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
3516 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3518         * manual/libm-err-tab.pl (@all_functions): Change to
3519         %all_functions.  Initialize as empty.
3520         (parse_ulps): Add to %all_functions based on functions found in
3521         ulps files.  Ignore results for non-default rounding modes and
3522         vector functions.
3523         (print_platforms): Use %all_platforms.
3524         * manual/math.texi (Errors in Math Functions): Document omissions
3525         from the table.
3527         * math/Makefile (before-compile): Remove.
3529 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
3531         [BZ #21075]
3532         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
3533         unused assignment.
3534         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3536 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3538         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
3539         Add __glibc_unlikely hint.
3541 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3543         [BZ #16640]
3544         * sysdeps/i386/i686/strtok.S: Remove file.
3545         * sysdeps/i386/i686/strtok_r.S: Likewise.
3546         * sysdeps/i386/strtok.S: Likewise.
3547         * sysdeps/i386/strtok_r.S: Likewise.
3548         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
3549         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
3550         * sysdeps/x86_64/strtok.S: Likewise.
3551         * sysdeps/x86_64/strtok_r.S: Likewise.
3553         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
3554         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
3555         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3556         (__ASSUME_FADVISE64_AS_64_64): Define.
3557         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
3558         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
3559         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
3560         __ALIGNMENT_ARG usage.
3561         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
3562         __NR_fadvise64_64 if it is not defined.
3564 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3566         * version.h (RELEASE): Set to "development"
3567         (VERSION): Set to 2.25.90.
3568         * NEWS: Add 2.26 section.
3570         * version.h (RELEASE): Set to "stable"
3571         (VERSION): Set to 2.25.
3572         * include/features.h (__GLIBC_MINOR__): Set to 25.
3574         * manual/contrib.texi: Add more contributors from this release
3575         and past releases.
3577         * NEWS (2.25): Add list of bugs fixed.
3579         * NEWS: Add missing news items.
3581 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3583         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
3584         parent if child exited in that manner.  Print WEXITSTATUS
3585         instead of the raw status.
3586         (do_test_prep): Rename to do_test.
3587         (do_test): Return the result of run_executable_sgid.
3588         (TEST_FUNCTION_ARGV): Adjust.
3590 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
3591             Florian Weimer  <fweimer@redhat.com>
3592             Carlos O'Donell  <carlos@redhat.com>
3594         [BZ #20915]
3595         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
3596         Do not initialize DTV.
3597         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3599 2017-02-03  David S. Miller  <davem@davemloft.net>
3601         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
3602         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
3604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
3606         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3607         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
3608         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3609         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3610         (libm-sysdep_routines): Update.
3611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
3612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
3613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
3615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3616         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
3617         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
3618         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
3619         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
3620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
3621         Likewise.
3622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
3624         Likewise.
3625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
3627         Likewise.
3628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
3630         Likewise.
3631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3633         (libm-sysdep_routines): Update.
3635 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
3637         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
3638         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
3639         against unrelocated shared library.
3640         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3642 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3644         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
3645         * elf/tst-env-setuid-tunables.c
3646         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
3647         GLIBC_TUNABLES is removed in a setgid process.
3649         [BZ #21073]
3650         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
3651         * elf/dl-tunables.c (tunables_strdup): Remove.
3652         (get_next_env): Also return the previous envp.
3653         (parse_tunables): Erase tunables of category
3654         TUNABLES_SECLEVEL_SXID_ERASE.
3655         (maybe_enable_malloc_check): Make MALLOC_CHECK_
3656         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
3657         (__tunables_init)[TUNABLES_FRONTEND ==
3658         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
3659         after parsing.
3660         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
3661         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
3662         * elf/dl-tunables.h (struct _tunable): Change member is_secure
3663         to security_level.
3664         * elf/dl-tunables.list: Add security_level annotations for all
3665         tunables.
3666         * scripts/gen-tunables.awk: Recognize and generate enum values
3667         for security_level.
3668         * elf/tst-env-setuid.c: New test case.
3669         * elf/tst-env-setuid-tunables: new test case.
3670         * elf/Makefile (tests-static): Add them.
3672 2017-02-01  Richard Henderson  <rth@twiddle.net>
3674         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
3675         adjusting the byte count.
3677 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
3679         * conform/Makefile (linknamespace-libs): Define.
3681         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
3682         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
3683         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
3684         operands.
3686 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
3688         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
3690 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
3692         [BZ #21081]
3693         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3694         (L(stosb)): Add VZEROUPPER before ret.
3696 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
3697             Alexey Makhalov <amakhalov@vmware.com>
3698             Florian Weimer <fweimer@redhat.com>
3700         [BZ #20116]
3701         * nptl/pthread_create.c: Document concurrency notes.
3702         Enhance thread creation notes.
3703         (create_thread): Use bool *stopped_start.
3704         (START_THREAD_DEFN): Comment ownership of PD.
3705         (__pthread_create_2_1): Add local bool stopped_start and use
3706         that instead of pd->stopped_start where appropriate.
3707         * nptl/createthread.c (create_thread): Use bool *stopped_start.
3708         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
3709         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3710         * nptl/tst-create-detached.c: New file.
3711         * nptl/Makefile (tests): Add tst-create-detached.
3712         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3713         Reference the enhanced thread creation notes.
3714         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
3715         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3716         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
3717         (__pthread_current_priority): Likewise.
3718         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
3719         xpthread_attr_init, xpthread_attr_setdetachstate, and
3720         xpthread_attr_setstacksize.
3721         * support/xpthread_attr_destroy.c: New file.
3722         * support/xpthread_attr_init.c: New file.
3723         * support/xpthread_attr_setdetachstate.c: New file.
3724         * support/xpthread_attr_setstacksize.c: New file.
3725         * support/xthread.h: Define prototypes for xpthread_attr_destroy
3726         xpthread_attr_init, xpthread_attr_setdetachstate, and
3727         xpthread_attr_setstacksize.
3729 2017-01-27  Florian Weimer  <fweimer@redhat.com>
3731         * nptl/Makefile (tests): Add tst-robust-fork.
3732         * nptl/tst-robust-fork.c: New file.
3733         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
3734         xpthread_mutex_consistent, xpthread_mutex_destroy,
3735         xpthread_mutex_init, xpthread_mutexattr_destroy,
3736         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
3737         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
3738         xpthread_mutexattr_settype.
3739         * support/xmmap.c: New file.
3740         * support/xmunmap.c: Likewise.
3741         * support/xpthread_mutex_consistent.c: Likewise.
3742         * support/xpthread_mutex_destroy.c: Likewise.
3743         * support/xpthread_mutex_init.c: Likewise.
3744         * support/xpthread_mutexattr_destroy.c: Likewise.
3745         * support/xpthread_mutexattr_init.c: Likewise.
3746         * support/xpthread_mutexattr_setprotocol.c: Likewise.
3747         * support/xpthread_mutexattr_setpshared.c: Likewise.
3748         * support/xpthread_mutexattr_setrobust.c: Likewise.
3749         * support/xpthread_mutexattr_settype.c: Likewise.
3750         * support/xthread.h (xpthread_mutexattr_destroy)
3751         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
3752         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
3753         (xpthread_mutexattr_settype, xpthread_mutex_init)
3754         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
3755         * support/xunistd.h (xmmap, xmunmap): Likewise.
3757 2017-01-25  Florian Weimer  <fweimer@redhat.com>
3759         * string/Makefile (xtests): Add comment.
3760         (LOCALES): Add en_GB.UTF-8.
3761         (tst-strcoll-overflow.out): Depend on generated locales.
3762         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
3763         (SIZE, TIMEOUT): Update comments.
3764         (do_test): Define as static.  Fail test if setlocale fails.
3765         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
3766         messages.
3767         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
3768         TIMEOUT at 300 seconds should be enough to run this test
3769         successfully.
3771 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
3773         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3774         /* FALLTHRU */ comments.
3776 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
3778         [BZ #21053]
3779         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
3780         constants instead of the old R* ones.
3781         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
3782         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
3783         (NGREG): ... to this, to fit in with other architectures.
3784         (gpregset_t): Use new NGREG macro.
3785         [__USE_GNU]: Remove condition; all architectures other than tile
3786         are unconditional.
3787         (R*): Rename to REG_R*.
3789 2017-01-20  DJ Delorie  <dj@redhat.com>
3791         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
3792         (tunable_set_val_if_valid_range_signed) ... this, and ...
3793         (tunable_set_val_if_valid_range_unsigned) ... this.
3794         (tunable_initialize): Call the correct one of the above based on type.
3796 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
3798         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
3799         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3800         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3801         * sysdeps/microblaze/libm-test-ulps: Likewise.
3802         * sysdeps/sh/libm-test-ulps: Likewise.
3804         * math/README.libm-test: Update list of characters for input and
3805         output types.
3807 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3809         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3810         (__lll_unlock_elision): Fix adapt_count decrement.
3812 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
3814         * README.pretty-printers (Known issues): Warn about printers not
3815         always covering everything.
3816         * nptl/nptl-printers.py (MutexPrinter): Change output.
3817         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
3819 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3821         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
3822         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3823         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
3824         (__lll_lock_elision): Do not test futex before starting a
3825         transaction.  Use __glibc_likely instead of __builtin_expect.
3826         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
3827         (__lll_trylock_elision): Do not test futex before starting a
3828         transaction.  Use __glibc_likely instead of __builtin_expect.
3830 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3832         * po/Makefile (update-translations): New target.
3834 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3836         [BZ #21061]
3837         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
3839 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3841         * elf/dl-tunables (get_next_env): Always advance envp.
3842         * stdlib/tst-empty-env.c: New test case.
3843         * stdlib/Makefile (tests): Use it.
3845 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3847         [BZ #21047]
3848         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
3849         name for instruction.
3850         [!__SOFTFP__] (_FPU_SETCW): Likewise.
3852 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3854         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
3855         for make install.
3857 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3859         * po/bg.po: Merge from Translation Project.
3860         * po/fr.po: Likewise.
3861         * po/ko.po: Likewise.
3862         * po/nl.po: Likewise.
3863         * po/sv.po: Likewise.
3865 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3867         * manual/install.texi (Tools for Compilation): Update GCC version
3868         known to work to build glibc.
3869         * INSTALL: Regenerated.
3871 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3873         [BZ #21006]
3874         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
3876 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
3878         [BZ #21045]
3879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3880         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
3881         to __sigprocmask.
3883 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
3885         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
3886         wrap-around.
3887         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
3889         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
3891 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3893         * NEWS: Fix typo.
3895 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3897         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
3898         barriers and comments.
3899         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
3900         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3901         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3903 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3905         [BZ #19402]
3906         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
3907         mutexes.
3909 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3911         [BZ #20985]
3912         * nptl/Makefile: Adapt.
3913         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3914         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3915         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3916         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3917         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
3918         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
3919         lll_robust* functions and adapt.
3920         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3921         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
3922         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3923         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3924         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
3925         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3926         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
3927         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3928         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
3929         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3930         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3931         * nptl/lowlevelrobustlock.c: Remove file.
3932         * nptl/lowlevelrobustlock.sym: Likewise.
3933         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
3934         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
3936 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3938         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3940 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3942         * po/cs.po: Merge translations from the Translation Project.
3943         * po/de.po: Likewise.
3944         * po/pl.po: Likewise.
3945         * po/ru.po: Likewise.
3946         * po/tr.po: Likewise.
3947         * po/uk.po: Likewise.
3948         * po/vi.po: Likewise.
3949         * po/zh_CN.po: Likewise.
3951 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
3953         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
3955         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
3956         object.
3958 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3960         [BZ #16458]
3961         * bits/uintn-identity.h: New file.
3962         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
3963         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
3964         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
3965         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
3966         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
3967         * string/endian.h: Include <bits/uintn-identity.h>.
3968         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
3969         __uint16_identity.
3970         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
3971         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
3972         __uint32_identity.
3973         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
3974         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
3975         __uint64_identity.
3976         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
3977         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
3978         __uint16_identity.
3979         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
3980         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
3981         __uint32_identity.
3982         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
3983         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
3984         __uint64_identity.
3985         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
3986         * string/Makefile (headers): Add bits/uintn-identity.h.
3987         (tests): Add test-endian-types.
3988         * string/test-endian-types.c: New file.
3989         * inet/Makefile (tests): Add test-hnto-types.
3990         * inet/test-hnto-types.c: New file.
3992 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3994         * po/be.po: Update from Translation Project.
3995         * po/bg.po: Likewise.
3996         * po/ca.po: Likewise.
3997         * po/cs.po: Likewise.
3998         * po/da.po: Likewise.
3999         * po/de.po: Likewise.
4000         * po/el.po: Likewise.
4001         * po/eo.po: Likewise.
4002         * po/es.po: Likewise.
4003         * po/fi.po: Likewise.
4004         * po/fr.po: Likewise.
4005         * po/gl.po: Likewise.
4006         * po/hr.po: Likewise.
4007         * po/hu.po: Likewise.
4008         * po/ia.po: Likewise.
4009         * po/id.po: Likewise.
4010         * po/it.po: Likewise.
4011         * po/ja.po: Likewise.
4012         * po/ko.po: Likewise.
4013         * po/lt.po: Likewise.
4014         * po/nb.po: Likewise.
4015         * po/nl.po: Likewise.
4016         * po/pl.po: Likewise.
4017         * po/pt_BR.po: Likewise.
4018         * po/ru.po: Likewise.
4019         * po/rw.po: Likewise.
4020         * po/sk.po: Likewise.
4021         * po/sl.po: Likewise.
4022         * po/sv.po: Likewise.
4023         * po/tr.po: Likewise.
4024         * po/uk.po: Likewise.
4025         * po/vi.po: Likewise.
4026         * po/zh_CN.po: Likewise.
4027         * po/zh_TW.po: Likewise.
4029 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4031         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
4032         -Wformat-truncation instead of -Wformat-length.
4033         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
4034         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
4035         GCC 7.
4036         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
4037         (do_test): Ignore -Wformat-truncation for GCC 7.
4039         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
4040         buffer used to print long int value.
4042         * elf/sotruss-lib.c (init): Increase space allocated for pid by
4043         one byte.  Print it with %ld, cast to long int.
4045 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4047         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
4048         (re.fullmatch, subprocess.run): Likewise.
4050 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4052         * po/libc.pot: Regenerate.
4054 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4056         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
4057         (min_strlen): Likewise.
4058         (disable_tunable): Likewise.
4059         (maybe_disable_malloc_check): Rename to
4060         maybe_enable_malloc_check.
4061         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
4062         if /etc/suid-debug file exists.
4063         (__tunables_init): Update caller.
4064         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
4065         secure.
4067 2016-01-10  Torvald Riegel  <triegel@redhat.com>
4069         * nptl/DESIGN-rwlock.txt: Remove.
4070         * nptl/lowlevelrwlock.sym: Remove.
4071         * nptl/Makefile: Add new tests.
4072         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
4073         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
4074         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
4075         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
4076         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
4077         PTHREAD_RWLOCK_FUTEX_USED): New.
4078         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
4079         implementation.
4080         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
4081         (__pthread_rwlock_rdlock): Adapt.
4082         * nptl/pthread_rwlock_timedrdlock.c
4083         (pthread_rwlock_timedrdlock): Adapt.
4084         * nptl/pthread_rwlock_timedwrlock.c
4085         (pthread_rwlock_timedwrlock): Adapt.
4086         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
4087         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
4088         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
4089         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
4090         (__pthread_rwlock_wrlock): Adapt.
4091         * nptl/tst-rwlock10.c: Adapt.
4092         * nptl/tst-rwlock11.c: Adapt.
4093         * nptl/tst-rwlock17.c: New file.
4094         * nptl/tst-rwlock18.c: New file.
4095         * nptl/tst-rwlock19.c: New file.
4096         * nptl/tst-rwlock2b.c: New file.
4097         * nptl/tst-rwlock8.c: Adapt.
4098         * nptl/tst-rwlock9.c: Adapt.
4099         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4100         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4101         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4102         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4103         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4104         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4105         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4106         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4107         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4108         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4109         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4110         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4111         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4112         (pthread_rwlock_t): Adapt.
4113         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4114         (pthread_rwlock_t): Adapt.
4115         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4116         * nptl/nptl-printers.py (): Adapt.
4117         * nptl/nptl_lock_constants.pysym: Adapt.
4118         * nptl/test-rwlock-printers.py: Adapt.
4119         * nptl/test-rwlockattr-printers.c: Adapt.
4120         * nptl/test-rwlockattr-printers.py: Adapt.
4122 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
4124         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
4125         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
4126         (fma_test_data): Likewise.
4127         (hypot_test_data): Likewise.
4128         (log1p_test_data): Likewise.
4129         (modf_test_data): Likewise.
4130         (pow_test_data): Likewise.
4131         (remainder_test_data): Likewise.
4132         (remquo_test_data): Likewise.
4133         (scalb_test_data): Likewise.
4134         (scalbn_test_data): Likewise.
4135         (scalbln_test_data): Likewise.
4136         * math/gen-libm-test.pl (parse_args): Transform
4137         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
4138         on the rounding mode.
4140 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
4142         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
4143         xfail-rounding:ibm128-libgcc automatically to tests overflowing
4144         and those that can underflow to zero.
4145         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
4146         add others.
4147         * math/auto-libm-test-out: Regenerated.
4149         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
4150         supported.
4151         (feholdexcept_tests): Skip tests requiring exceptions or rounding
4152         modes support if not supported.
4154         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
4155         Add libc.so PLT entry.
4156         (__tls_get_addr): Make ld.so PLT entry optional.
4158 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4160         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
4161         * string/bits/string3.h: ... here.
4163 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4165         [BZ #21028]
4166         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
4167         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
4168         if EXCEPTION_TESTS returns false.
4170 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4172         [BZ #20558]
4173         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
4174         strings_fortified.h.
4175         [__USE_MISC] (bzero): Likewise.
4176         [__USE_MISC] (explicit_bzero): Likewise.
4177         * string/strings.h: Include strings_fortified.h.
4178         * string/Makefile (headers): Add strings_fortified.h.
4179         * string/bits/strings_fortified.h: New file.
4180         * include/bits/strings_fortified.h: Likewise.
4182 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4184         * elf/tst-tls13.c (TIMEOUT): Remove.
4185         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
4186         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
4187         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
4188         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
4189         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
4191         [BZ #21026]
4192         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
4193         (readahead): New syscall entry.
4195 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4197         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
4198         around tests of strncat with large sizes.
4200         * malloc/tst-malloc.c: Include <libc-internal.h>.
4201         (do_test): Disable -Walloc-size-larger-than= around tests of
4202         malloc with negative sizes.
4203         * malloc/tst-mcheck.c: Include <libc-internal.h>.
4204         (do_test): Disable -Walloc-size-larger-than= around tests of
4205         malloc and realloc with negative sizes.
4206         * malloc/tst-realloc.c: Include <libc-internal.h>.
4207         (do_test): Disable -Walloc-size-larger-than= around tests of
4208         realloc with negative sizes.
4210         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
4211         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
4212         allowed to 16 ulps.
4213         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
4214         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
4215         * math/auto-libm-test-out: Regenerated.
4217 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4219         * math/Makefile (libm-calls): Move wrappers...
4220         (libm-compat-call-auto): Here.
4221         (libm-routines): Add items in libm-compat-calls-auto.
4222         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
4223         the filenames of the wrappers that have been renamed.
4224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
4225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4227         * math/w_acos.c: Add _compat suffix to filename.
4228         * math/w_acosf.c: Likewise.
4229         * math/w_acosh.c: Likewise.
4230         * math/w_acoshf.c: Likewise.
4231         * math/w_acoshl.c: Likewise.
4232         * math/w_acosl.c: Likewise.
4233         * math/w_asin.c: Likewise.
4234         * math/w_asinf.c: Likewise.
4235         * math/w_asinl.c: Likewise.
4236         * math/w_atan2.c: Likewise.
4237         * math/w_atan2f.c: Likewise.
4238         * math/w_atan2l.c: Likewise.
4239         * math/w_atanh.c: Likewise.
4240         * math/w_atanhf.c: Likewise.
4241         * math/w_atanhl.c: Likewise.
4242         * math/w_cosh.c: Likewise.
4243         * math/w_coshf.c: Likewise.
4244         * math/w_coshl.c: Likewise.
4245         * math/w_exp10.c: Likewise.
4246         * math/w_exp10f.c: Likewise.
4247         * math/w_exp10l.c: Likewise.
4248         * math/w_exp2.c: Likewise.
4249         * math/w_exp2f.c: Likewise.
4250         * math/w_exp2l.c: Likewise.
4251         * math/w_fmod.c: Likewise.
4252         * math/w_fmodf.c: Likewise.
4253         * math/w_fmodl.c: Likewise.
4254         * math/w_hypot.c: Likewise.
4255         * math/w_hypotf.c: Likewise.
4256         * math/w_hypotl.c: Likewise.
4257         * math/w_j0.c: Likewise.
4258         * math/w_j0f.c: Likewise.
4259         * math/w_j0l.c: Likewise.
4260         * math/w_j1.c: Likewise.
4261         * math/w_j1f.c: Likewise.
4262         * math/w_j1l.c: Likewise.
4263         * math/w_jn.c: Likewise.
4264         * math/w_jnf.c: Likewise.
4265         * math/w_jnl.c: Likewise.
4266         * math/w_log10.c: Likewise.
4267         * math/w_log10f.c: Likewise.
4268         * math/w_log10l.c: Likewise.
4269         * math/w_log2.c: Likewise.
4270         * math/w_log2f.c: Likewise.
4271         * math/w_log2l.c: Likewise.
4272         * math/w_log.c: Likewise.
4273         * math/w_logf.c: Likewise.
4274         * math/w_logl.c: Likewise.
4275         * math/w_pow.c: Likewise.
4276         * math/w_powf.c: Likewise.
4277         * math/w_powl.c: Likewise.
4278         * math/w_remainder.c: Likewise.
4279         * math/w_remainderf.c: Likewise.
4280         * math/w_remainderl.c: Likewise.
4281         * math/w_scalb.c: Likewise.
4282         * math/w_scalbf.c: Likewise.
4283         * math/w_scalbl.c: Likewise.
4284         * math/w_sinh.c: Likewise.
4285         * math/w_sinhf.c: Likewise.
4286         * math/w_sinhl.c: Likewise.
4287         * math/w_sqrt.c: Likewise.
4288         * math/w_sqrtf.c: Likewise.
4289         * math/w_sqrtl.c: Likewise.
4290         * math/w_tgamma.c: Likewise.
4291         * math/w_tgammaf.c: Likewise.
4292         * math/w_tgammal.c: Likewise.
4294         * math/w_acos_compat.c: New file copied from above and
4295         adjusted for new #includes path
4296         * math/w_acosf_compat.c: Likewise.
4297         * math/w_acosh_compat.c: Likewise.
4298         * math/w_acoshf_compat.c: Likewise.
4299         * math/w_acoshl_compat.c: Likewise.
4300         * math/w_acosl_compat.c: Likewise.
4301         * math/w_asin_compat.c: Likewise.
4302         * math/w_asinf_compat.c: Likewise.
4303         * math/w_asinl_compat.c: Likewise.
4304         * math/w_atan2_compat.c: Likewise.
4305         * math/w_atan2f_compat.c: Likewise.
4306         * math/w_atan2l_compat.c: Likewise.
4307         * math/w_atanh_compat.c: Likewise.
4308         * math/w_atanhf_compat.c: Likewise.
4309         * math/w_atanhl_compat.c: Likewise.
4310         * math/w_cosh_compat.c: Likewise.
4311         * math/w_coshf_compat.c: Likewise.
4312         * math/w_coshl_compat.c: Likewise.
4313         * math/w_exp10_compat.c: Likewise.
4314         * math/w_exp10f_compat.c: Likewise.
4315         * math/w_exp10l_compat.c: Likewise.
4316         * math/w_exp2_compat.c: Likewise.
4317         * math/w_exp2f_compat.c: Likewise.
4318         * math/w_exp2l_compat.c: Likewise.
4319         * math/w_fmod_compat.c: Likewise.
4320         * math/w_fmodf_compat.c: Likewise.
4321         * math/w_fmodl_compat.c: Likewise.
4322         * math/w_hypot_compat.c: Likewise.
4323         * math/w_hypotf_compat.c: Likewise.
4324         * math/w_hypotl_compat.c: Likewise.
4325         * math/w_j0_compat.c: Likewise.
4326         * math/w_j0f_compat.c: Likewise.
4327         * math/w_j0l_compat.c: Likewise.
4328         * math/w_j1_compat.c: Likewise.
4329         * math/w_j1f_compat.c: Likewise.
4330         * math/w_j1l_compat.c: Likewise.
4331         * math/w_jn_compat.c: Likewise.
4332         * math/w_jnf_compat.c: Likewise.
4333         * math/w_jnl_compat.c: Likewise.
4334         * math/w_log10_compat.c: Likewise.
4335         * math/w_log10f_compat.c: Likewise.
4336         * math/w_log10l_compat.c: Likewise.
4337         * math/w_log2_compat.c: Likewise.
4338         * math/w_log2f_compat.c: Likewise.
4339         * math/w_log2l_compat.c: Likewise.
4340         * math/w_log_compat.c: Likewise.
4341         * math/w_logf_compat.c: Likewise.
4342         * math/w_logl_compat.c: Likewise.
4343         * math/w_pow_compat.c: Likewise.
4344         * math/w_powf_compat.c: Likewise.
4345         * math/w_powl_compat.c: Likewise.
4346         * math/w_remainder_compat.c: Likewise.
4347         * math/w_remainderf_compat.c: Likewise.
4348         * math/w_remainderl_compat.c: Likewise.
4349         * math/w_scalb_compat.c: Likewise.
4350         * math/w_scalbf_compat.c: Likewise.
4351         * math/w_scalbl_compat.c: Likewise.
4352         * math/w_sinh_compat.c: Likewise.
4353         * math/w_sinhf_compat.c: Likewise.
4354         * math/w_sinhl_compat.c: Likewise.
4355         * math/w_sqrt_compat.c: Likewise.
4356         * math/w_sqrtf_compat.c: Likewise.
4357         * math/w_sqrtl_compat.c: Likewise.
4358         * math/w_tgamma_compat.c: Likewise.
4359         * math/w_tgammaf_compat.c: Likewise.
4360         * math/w_tgammal_compat.c: Likewise.
4362         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
4363         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4364         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4365         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4366         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4367         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4368         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4369         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4370         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4371         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
4372         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
4373         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
4374         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4375         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4376         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4377         * sysdeps/ia64/fpu/w_powl.c: Likewise.
4378         * sysdeps/ia64/fpu/w_powf.c: Likewise.
4379         * sysdeps/ia64/fpu/w_pow.c: Likewise.
4380         * sysdeps/ia64/fpu/w_logl.c: Likewise.
4381         * sysdeps/ia64/fpu/w_logf.c: Likewise.
4382         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4383         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4384         * sysdeps/ia64/fpu/w_log2.c: Likewise.
4385         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4386         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4387         * sysdeps/ia64/fpu/w_log10.c: Likewise.
4388         * sysdeps/ia64/fpu/w_log.c: Likewise.
4389         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4390         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4391         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4392         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4393         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4394         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4395         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4396         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4397         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4398         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4399         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4400         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4401         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4402         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4403         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4404         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4405         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4406         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4407         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4408         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4409         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4410         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4411         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4412         * sysdeps/ia64/fpu/w_asin.c: Likewise.
4413         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4414         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4415         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4416         * sysdeps/ia64/fpu/w_acos.c: Likewise.
4417         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
4418         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
4419         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
4420         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
4421         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
4422         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
4423         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
4424         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
4425         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
4426         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
4427         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
4428         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
4429         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
4430         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
4431         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
4432         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
4433         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
4434         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
4435         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
4436         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
4437         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
4438         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
4439         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
4440         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
4441         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
4442         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
4443         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
4444         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
4445         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
4446         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
4447         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
4448         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
4449         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
4450         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
4451         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
4452         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
4453         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
4454         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
4455         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
4456         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
4457         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
4458         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
4459         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
4460         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
4461         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
4462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
4463         Likewise.
4464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
4465         Likewise.
4466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
4467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
4468         Likewise.
4469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
4470         Likewise.
4471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
4472         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4473         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4474         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4475         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4476         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4477         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
4479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
4481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4482         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4483         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4484         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4485         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4487         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
4488         and adjusted for new #includes path
4489         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
4490         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
4491         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
4492         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
4493         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
4494         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
4495         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
4496         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
4497         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
4498         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
4499         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
4500         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
4501         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
4502         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
4503         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
4504         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
4505         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
4506         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
4507         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
4508         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
4509         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
4510         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
4511         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
4512         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
4513         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
4514         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
4515         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
4516         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
4517         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
4518         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
4519         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
4520         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
4521         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
4522         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
4523         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
4524         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
4525         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
4526         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
4527         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
4528         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
4529         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
4530         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
4531         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
4532         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
4533         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
4534         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
4535         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
4536         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
4537         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
4538         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
4539         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
4540         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
4541         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
4542         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
4543         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
4544         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
4545         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
4546         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
4547         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
4548         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4549         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4550         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
4551         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4552         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
4553         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4554         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
4555         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4556         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
4557         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4558         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
4559         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
4560         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
4561         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4562         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
4563         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4564         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
4565         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4566         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
4567         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4568         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
4569         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4570         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
4571         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4572         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
4573         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4574         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
4575         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4576         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
4577         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4578         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
4579         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4580         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
4581         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
4582         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
4583         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4584         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
4585         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4586         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
4587         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
4589         Likewise.
4590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
4591         Likewise.
4592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
4593         Likewise.
4594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
4595         Likewise.
4596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
4597         Likewise.
4598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
4599         Likewise.
4600         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
4601         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
4602         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
4603         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
4604         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
4605         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
4606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
4607         Likewise.
4608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
4609         Likewise.
4610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
4611         Likewise.
4612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
4613         Likewise.
4614         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
4615         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
4616         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
4617         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
4619 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4621         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
4622         __jmp_buf_internal_tag.
4624         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
4625         preserve NaN payload if [__mips_nan2008].
4626         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4628         [BZ #21022]
4629         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
4631 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4633         * sysdeps/i386/fpu/libm-test-ulps: Update.
4635 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4637         * sysdeps/ia64/strcat.c: Remove file.
4638         * sysdeps/powerpc/strcat.c: Likewise.
4639         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
4640         C implementation.
4641         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
4642         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
4644 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4645             Steven Munroe  <sjmunroe@us.ibm.com>
4646             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4648         [BZ #20822]
4649         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4650         (__lll_lock_elision): Access adapt_count via C11 atomics.
4651         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4652         (__lll_trylock_elision): Likewise.
4653         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4654         (__lll_unlock_elision):  Update adapt_count variable inside the
4655         critical section using C11 atomics.
4657 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4659         * math/test-fenvinline.c (do_test): Disable tests of raised
4660         exceptions if !EXCEPTION_TESTS (FLOAT).
4662 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4664         [BZ #19390]
4665         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
4666         maximum string size.
4667         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
4668         in pointer addition.
4669         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
4670         Likewise.
4672 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4674         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
4675         passed to tst-ldconfig-X.sh.
4677 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
4679         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
4681 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4683         [BZ #21019]
4684         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
4685         New syscall entry.
4686         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
4687         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
4688         lseek.
4690         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4691         power4 glibc for powerpc-linux-gnu.
4693 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4695         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
4696         semctl.
4698 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4700         * math/test-nearbyint-except.c: Include <stdbool.h>.
4701         (any_supported): New variable.
4702         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
4703         set any_supported.
4704         (do_test): Return 77 if no floating-point type supported
4705         exceptions.
4707         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
4708         condition on [__mips_hard_float].
4710 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4712         [BZ #21014]
4713         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
4714         in pointer addition.
4715         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
4717 2017-01-02  Torvald Riegel  <triegel@redhat.com>
4719         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
4720         new condvar.
4722 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4724         * scripts/build-many-glibcs.py (Context.checkout): Default
4725         binutils version to 2.28 branch.
4727 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4729         * support/support_format_netent.c (support_format_netent): Work
4730         around alpha struct netent definition difference.
4732 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4734         * support/xwrite.c (xwrite): Use %td for pointer difference.
4736 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4738         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
4739         have-tunables only.
4740         (tests-static): Add tst-malloc-usable-static-tunables for
4741         have-tunables only.
4743 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
4745         * scripts/config.guess: Update to version 2017-01-01.
4746         * scripts/config.sub: Update to version 2017-01-01.
4748         * NEWS: Update copyright dates.
4749         * catgets/gencat.c (print_version): Likewise.
4750         * csu/version.c (banner): Likewise.
4751         * debug/catchsegv.sh: Likewise.
4752         * debug/pcprofiledump.c (print_version): Likewise.
4753         * debug/xtrace.sh (do_version): Likewise.
4754         * elf/ldconfig.c (print_version): Likewise.
4755         * elf/ldd.bash.in: Likewise.
4756         * elf/pldd.c (print_version): Likewise.
4757         * elf/sotruss.sh: Likewise.
4758         * elf/sprof.c (print_version): Likewise.
4759         * iconv/iconv_prog.c (print_version): Likewise.
4760         * iconv/iconvconfig.c (print_version): Likewise.
4761         * locale/programs/locale.c (print_version): Likewise.
4762         * locale/programs/localedef.c (print_version): Likewise.
4763         * login/programs/pt_chown.c (print_version): Likewise.
4764         * malloc/memusage.sh (do_version): Likewise.
4765         * malloc/memusagestat.c (print_version): Likewise.
4766         * malloc/mtrace.pl: Likewise.
4767         * manual/libc.texinfo: Likewise.
4768         * nptl/version.c (banner): Likewise.
4769         * nscd/nscd.c (print_version): Likewise.
4770         * nss/getent.c (print_version): Likewise.
4771         * nss/makedb.c (print_version): Likewise.
4772         * posix/getconf.c (main): Likewise.
4773         * scripts/test-installation.pl: Likewise.
4774         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4776         * All files with FSF copyright notices: Update copyright dates
4777         using scripts/update-copyrights.
4778         * intl/plural.c: Regenerated.
4779         * locale/programs/charmap-kw.h: Likewise.
4780         * locale/programs/locfile-kw.h: Likewise.
4782 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4784         [BZ #20593]
4785         Update DNS RR type definitions.
4786         * scripts/gen-rrtypes.py: New file.
4787         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
4788         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
4789         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
4790         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
4791         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
4792         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
4793         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
4794         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
4795         ns_t_ta, ns_t_dlv.
4796         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
4797         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
4798         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
4799         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
4800         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
4801         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
4802         Define.
4803         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
4804         entry for ns_t_zxfr.
4806 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4808         [BZ #18784]
4809         CVE-2015-5180
4810         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
4811         T_UNSPEC.  Adjust value.
4812         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
4813         * resolv/res_query.c (__libc_res_nquery): Likewise.
4814         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
4815         QTYPEs.
4816         * resolv/tst-resolv-qtypes.c: New file.
4817         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
4818         (tst-resolv-qtypes): Link against libresolv and libpthread.
4820 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4822         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
4824 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4826         * manual/tunables.texi: New chapter.
4827         * manual/Makefile (chapters): Add it.
4828         * manual/probes.texi (@node): Point to the Tunables chapter.
4830         * Makeconfig (have-tunables): Check for non-negative instead
4831         of positive.
4832         * configure.ac: Add 'valstring' as a valid value for
4833         --enable-tunables.
4834         * configure: Regenerate.
4835         * elf/Makefile (have-tunables): Check for non-negative instead
4836         of positive.
4837         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
4838         dl-tunables.c.
4839         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
4840         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4841         (tunables_strdup): Likewise.
4842         (disable_tunables): Likewise.
4843         (parse_tunables): Likewise.
4844         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
4845         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4846         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
4847         (TUNABLES_FRONTEND_yes): New macro, define as
4848         TUNABLES_FRONTEND_valstring by default.
4849         * manual/install.texi: Document new acceptable values for
4850         --enable-tunables.
4851         * INSTALL: Regenerate.
4853         * config.make.in (have-loop-to-function): Define.
4854         * elf/Makefile (CFLAGS-dl-tunables.c): Add
4855         -fno-tree-loop-distribute-patterns.
4856         * elf/dl-tunables.c: Include libc-internals.h.
4857         (GLIBC_TUNABLES): New macro.
4858         (tunables_strdup): New function.
4859         (parse_tunables): New function.
4860         (min_strlen): New function.
4861         (__tunables_init): Use the new functions and macro.
4862         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
4863         * malloc/tst-malloc-usable-tunables.c: New test case.
4864         * malloc/tst-malloc-usable-static-tunables.c: New test case.
4865         * malloc/Makefile (tests, tests-static): Add tests.
4867         * manual/install.texi: Add --enable-tunables option.
4868         * INSTALL: Regenerate.
4869         * README.tunables: New file.
4870         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
4871         (before-compile): Generate dl-tunable-list.h early.
4872         * config.h.in: Add HAVE_TUNABLES.
4873         * config.make.in: Add have-tunables.
4874         * configure.ac: Add --enable-tunables option.
4875         * configure: Regenerate.
4876         * csu/init-first.c (__libc_init_first): Move
4877         __libc_init_secure earlier...
4878         * csu/init-first.c (LIBC_START_MAIN):... to here.
4879         Include dl-tunables.h, libc-internal.h.
4880         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
4881         binaries.
4882         * elf/Makefile (dl-routines): Add dl-tunables.
4883         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
4884         namespace.
4885         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
4886         only when !HAVE_TUNABLES.
4887         * elf/rtld.c (process_envvars): Likewise.
4888         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
4889         (_dl_sysdep_start): Call __tunables_init.
4890         * elf/dl-tunable-types.h: New file.
4891         * elf/dl-tunables.c: New file.
4892         * elf/dl-tunables.h: New file.
4893         * elf/dl-tunables.list: New file.
4894         * malloc/tst-malloc-usable-static.c: New test case.
4895         * malloc/Makefile (tests-static): Add it.
4896         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
4897         Define TUNABLE_NAMESPACE.
4898         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
4899         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
4900         callback functions.
4901         (ptmalloc_init): Set tunable values.
4902         * scripts/gen-tunables.awk: New file.
4903         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
4904         (_dl_sysdep_start): Call __tunables_init.
4906 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4908         * resolv/resolv.h (RES_BLAST): Deprecate.
4909         * resolv/res_debug.c (p_option): Remove RES_BLAST.
4910         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
4911         to RES_BLAST.
4913 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4915         [BZ #19582]
4916         Deprecate RES_USE_INET6.
4917         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
4918         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
4919         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
4920         RES_USE_INET6.
4921         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
4922         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
4923         (_nss_nisplus_gethostbyaddr_r): Likewise.
4924         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
4925         of res_use_inet6.
4926         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
4927         instead of RES_USE_INET6.
4928         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
4929         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
4930         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
4931         Likewise.
4932         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
4933         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
4934         Likewise.
4935         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
4936         (_nss_dns_gethostbyname_r): Likewise.
4937         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
4938         alternate RES_USE_INET6 handling.
4939         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
4940         instead of RES_USE_INET6.
4941         * resolv/res_init.c (res_setoptions): Likewise.
4942         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
4943         * resolv/resolv-internal.h: New file.
4944         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
4945         make the deprecation warning non-fatal.
4946         * resolv/README (Using the resolver in multi-threaded code): Drop
4947         reference to RES_USE_INET6.
4948         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
4949         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
4951 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4953         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
4954         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
4955         tst-resolv-search.
4956         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
4957         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
4958         with libresolv and libpthread.
4959         * resolv/tst-bug18665.c: New file.
4960         * resolv/tst-bug18665-tcp: Likewise.
4961         * resolv/tst-res_use_inet6: Likewise.
4962         * resolv/tst-resolv-basic: Likewise.
4963         * resolv/tst-resolv-network: Likewise.
4964         * resolv/tst-resolv-search: Likewise.
4965         * support/Makefile (libsupport-routines): Add check_addrinfo,
4966         check_dns_packet, check_hostent, check_netent, resolv_test,
4967         support_format_address_family, support_format_addrinfo,
4968         support_format_dns_packet, support_format_herrno,
4969         support_format_hostent, support_format_netent, support_run_diff,
4970         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
4971         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
4972         xstrdup, xwrite.
4973         * support/check_addrinfo.c: New file.
4974         * support/check_dns_packet.c: Likewise.
4975         * support/check_hostent.c: Likewise.
4976         * support/check_netent.c: Likewise.
4977         * support/check_nss.h: Likewise.
4978         * support/format_nss.h: Likewise.
4979         * support/resolv_test.c: Likewise.
4980         * support/resolv_test.h: Likewise.
4981         * support/run_diff.h: Likewise.
4982         * support/support_format_address_family.c: Likewise.
4983         * support/support_format_addrinfo.c: Likewise.
4984         * support/support_format_dns_packet.c: Likewise.
4985         * support/support_format_herrno.c: Likewise.
4986         * support/support_format_hostent.c: Likewise.
4987         * support/support_format_netent.c: Likewise.
4988         * support/support_run_diff.c: Likewise.
4989         * support/xaccept.c: Likewise.
4990         * support/xbind.c: Likewise.
4991         * support/xconnect.c: Likewise.
4992         * support/xfclose.c: Likewise.
4993         * support/xfopen.c: Likewise.
4994         * support/xgetsockname.c: Likewise.
4995         * support/xlisten.c: Likewise.
4996         * support/xmemstream.c: Likewise.
4997         * support/xmemstream.h: Likewise.
4998         * support/xpoll.c: Likewise.
4999         * support/xpthread_once.c: Likewise.
5000         * support/xrecvfrom.c: Likewise.
5001         * support/xsendto.c: Likewise.
5002         * support/xsetsockopt.c: Likewise.
5003         * support/xstdio.h: Likewise.
5004         * support/xstrdup.c: Likewise.
5005         * support/support.h (xstrdup): Declare.
5006         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
5007         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
5008         * support/xthread.h (xpthread_once): Likwise.
5009         * support/xunistd.h (xwrite): Declare.
5011 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5013         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
5014         (test_verbose): Declare.
5015         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
5016         * support/support_test_main.c (default_options): Likewise.
5017         (usage, support_test_main): Handle 'v'.
5018         (test_verbose): Define.
5019         * support/tst-support_record_failure.c (do_test): Use
5020         test_verbose.
5021         * support/tst-support_record_failure-2.sh (different_status): Add
5022         --verbose test.
5024 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5026         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
5027         test failures are recorded.
5028         * support/check.c (support_print_failure_impl): Call
5029         support_record_failure.
5030         (support_exit_failure_impl): Call support_record_failure if status
5031         indicates failure.
5032         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
5033         * support/xasprintf.c (xasprintf): Likewise.
5034         * support/xfork.c (xfork): Likewise.
5035         * support/xpthread_check_return.c (xpthread_check_return):
5036         Likewise.
5037         * support/xsocket.c (xsocket): Likeweise.
5038         * support/xwaitpid.c (xwaitpid): Likewise.
5039         * support/support_record_failure.c (struct test_failures): Adjust
5040         to coding style.
5041         * support/support_test_verify_impl.c (support_test_verify_impl):
5042         Adjust error messages.
5043         * support/tst-support_record_failure-2.sh (different_status):
5044         Adjust error messages.
5046 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5048         * support/namespace.h: New file.
5049         * support/support_become_root.c: Likewise.
5050         * support/support_enter_network_namespace.c: Likewise.
5051         * support/tst-support-namespace.c: Likewise.
5052         * support/xsocket.c: Likewise.
5053         * support/xsocket.h: Likewise.
5054         * support/Makefile (libsupport-routines): Add support_become_root,
5055         support_enter_network_namespace, xsocket.
5056         (tests): Add tst-support-namespace.
5058 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5060         [BZ #17252]
5061         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
5062         __USE_GNU.
5064 2016-12-31  Torvald Riegel  <triegel@redhat.com>
5066         [BZ #13165]
5067         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
5068         use new algorithm.
5069         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5070         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5071         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5072         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5073         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
5074         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
5075         __condvar_cleanup_waiting, __condvar_dec_grefs,
5076         __pthread_cond_wait_common): New.
5077         (__condvar_cleanup): Remove.
5078         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
5079         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
5080         Likewise.
5081         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
5082         Likewise.
5083         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
5084         * nptl/tst-cond1.c: Add comment.
5085         * nptl/tst-cond20.c (do_test): Adapt.
5086         * nptl/tst-cond22.c (do_test): Likewise.
5087         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
5088         structure.
5089         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5090         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5091         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5092         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
5093         Likewise.
5094         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5095         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5096         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5097         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5098         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5099         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
5100         Likewise.
5101         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
5102         Likewise.
5103         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5104         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
5105         (COND_CLOCK_BITS): Adapt.
5106         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
5107         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
5108         __PTHREAD_COND_SHARED_MASK): New.
5109         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
5110         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
5111         * nptl/nptl_lock_constants.pysym: Adapt.
5112         * nptl/test-cond-printers.py: Adapt.
5113         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
5114         cond_compat_check_and_clear): Adapt.
5115         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
5116         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5117         (__pthread_cond_timedwait): ... and move here.
5118         * nptl/DESIGN-condvar.txt: Remove file.
5119         * nptl/lowlevelcond.sym: Likewise.
5120         * nptl/pthread_cond_timedwait.c: Likewise.
5121         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
5122         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
5123         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
5124         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
5125         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
5126         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
5127         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
5128         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
5129         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
5130         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
5131         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
5132         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
5133         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
5134         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
5135         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
5136         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
5138 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
5140         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5141         (fromfp): New declaration.
5142         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5143         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5145         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
5146         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
5147         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5148         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5149         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5150         * math/math.h: Include <bits/types.h>.
5151         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
5152         constant and macro.
5153         (FP_INT_DOWNWARD): Likewise.
5154         (FP_INT_TOWARDZERO): Likewise.
5155         (FP_INT_TONEARESTFROMZERO): Likewise.
5156         (FP_INT_TONEAREST): Likewise.
5157         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
5158         (fromfpf): Likewise.
5159         (fromfpl): Likewise.
5160         (ufromfp): Likewise.
5161         (ufromfpf): Likewise.
5162         (ufromfpl): Likewise.
5163         (fromfpx): Likewise.
5164         (fromfpxf): Likewise.
5165         (fromfpxl): Likewise.
5166         (ufromfpx): Likewise.
5167         (ufromfpxf): Likewise.
5168         (ufromfpxl): Likewise.
5169         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
5170         s_fromfpxF and s_ufromfpxF.
5171         * math/gen-fromfp-tests.py: New file.
5172         * math/gen-fromfp-tests-inputs: Likewise.
5173         * math/libm-test.inc: Include <stdint.h>
5174         (check_intmax_t): New function.
5175         (check_uintmax_t): Likewise.
5176         (struct test_fiu_M_data): New type.
5177         (struct test_fiu_U_data): Likewise.
5178         (RUN_TEST_fiu_M): New macro.
5179         (RUN_TEST_LOOP_fiu_M): Likewise.
5180         (RUN_TEST_fiu_U): Likewise.
5181         (RUN_TEST_LOOP_fiu_U): Likewise.
5182         (fromfp_test_data): New array.
5183         (fromfp_test): New function.
5184         (fromfpx_test_data): New array.
5185         (fromfpx_test): New function.
5186         (ufromfp_test_data): New array.
5187         (ufromfp_test): New function.
5188         (ufromfpx_test_data): New array.
5189         (ufromfpx_test): New function.
5190         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
5191         ufromfpx_test.
5192         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
5193         characters.
5194         * math/test-tgmath-ret.c: Include <stdint.h>.
5195         (rm): New variable.
5196         (width): Likewise.
5197         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
5198         called function.
5199         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
5200         CHECK_RET_CONST_TYPE.
5201         (CHECK_RET_CONST_DOUBLE): Likewise.
5202         (CHECK_RET_CONST_LDOUBLE): Likewise.
5203         (CHECK_RET_CONST): Take extra arguments and pass them to calls
5204         macros.
5205         (fromfp): New CHECK_RET_CONST call.
5206         (ufromfp): Likewise.
5207         (fromfpx): Likewise.
5208         (ufromfpx): Likewise.
5209         (do_test): Call check_return_fromfp, check_return_ufromfp,
5210         check_return_fromfpx and check_return_ufromfpx.
5211         * math/test-tgmath.c: Include <stdint.h>
5212         (NCALLS): Increase to 138.
5213         (F(compile_test)): Initialize i.  Call fromfp functions.
5214         (F(fromfp)): New function.
5215         (F(fromfpx)): Likewise.
5216         (F(ufromfp)): Likewise.
5217         (F(ufromfpx)): Likewise.
5218         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
5219         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
5220         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
5221         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
5222         ufromfpxl.
5223         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
5224         ufromfp and ufromfpx.
5225         * math/fromfp.h: New file.
5226         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
5227         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
5228         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
5229         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
5230         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
5231         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
5232         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
5233         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
5234         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
5235         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
5236         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
5237         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
5238         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
5239         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
5240         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
5241         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
5242         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
5243         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
5244         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
5245         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
5246         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
5247         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
5248         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
5249         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
5250         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
5251         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
5252         ufromfp, fromfpx and ufromfpx.
5253         (CFLAGS-nldbl-fromfp.c): New variable.
5254         (CFLAGS-nldbl-fromfpx.c): Likewise.
5255         (CFLAGS-nldbl-ufromfp.c): Likewise.
5256         (CFLAGS-nldbl-ufromfpx.c): Likewise.
5257         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
5258         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
5259         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
5260         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
5261         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
5262         * sysdeps/nacl/libm.abilist: Update.
5263         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5264         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5265         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5266         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5267         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5268         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5269         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5270         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5271         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5272         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5273         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5274         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5276         Likewise.
5277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5278         Likewise.
5279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5280         Likewise.
5281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5282         Likewise.
5283         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5284         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5285         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5286         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5287         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5289         Likewise.
5290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5291         Likewise.
5292         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5293         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5294         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5296 2016-12-30  Florian Weimer  <fweimer@redhat.com>
5298         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
5299         compat-gethnamaddr.
5300         (CPPFLAGS): Remove.
5301         * resolv/gethnamaddr.c: Rename ...
5302         * resolv/compat-gethnamaddr.c: ... to this file.
5303         (_endhtent): Make static.
5304         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
5305         symbol.
5306         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
5307         compat symbol.
5308         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
5309         symbol.
5310         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
5311         Turn into compat symbol.
5312         * include/resolv.h (_endhtent): Remove declaration.
5314 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
5316         * bits/types.h (__intmax_t): New typedef.
5317         (__uintmax_t): Likewise.
5318         * sysdeps/generic/stdint.h: Include <bits/types.h>.
5319         (intmax_t): Define using __intmax_t.
5320         (uintmax_t): Define using __uintmax_t.
5322         * support/Makefile (tests-special): Make definition conditional on
5323         [$(run-built-tests) = yes].
5324         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
5325         on [$(run-built-tests) = yes].
5327 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5329         * Rules (tests): Add tests-printers-programs to tests to be
5330         built.
5332 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5334         * sysvipc/Makefile (tests): Add test-sysvshm.
5335         * sysvipc/test-sysvshm.c: New file.
5337         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
5338         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
5339         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
5340         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
5341         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
5342         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
5343         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
5344         Likewise.
5345         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
5346         Likewise.
5347         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
5348         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
5349         is defined.
5351         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
5352         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
5353         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
5354         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
5355         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
5356         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
5357         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
5358         Likewise.
5359         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
5360         Likewise.
5361         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
5362         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
5363         defined.
5365         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5366         oldshmctl.
5367         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
5368         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
5369         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
5370         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
5371         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
5372         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
5373         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
5374         Likewise.
5375         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
5376         Likewise.
5377         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
5378         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
5379         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
5380         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
5381         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
5382         implementation.
5383         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
5384         if it is defined.
5386         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
5387         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
5388         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
5389         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
5390         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
5391         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
5392         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
5393         Likewise.
5394         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
5395         Likewise.
5396         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
5397         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5398         Define to __NR_osf_shmat.
5399         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
5400         defined.
5402         * sysvipc/Makefile (tests): Add test-sysvsem.
5403         * sysvipc/test-sysvsem.c: New file.
5405         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
5406         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
5407         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
5408         Likewise.
5409         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
5410         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
5411         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
5412         Likewise.
5413         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
5414         Likewise.
5415         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
5416         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
5417         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
5418         add a comment about s390 syscall difference from default one.
5419         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
5420         syscall if it is defined.
5422         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
5423         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
5424         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
5425         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
5426         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
5427         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
5428         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
5429         Likewise.
5430         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
5431         Likewise.
5432         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
5433         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
5434         defined.
5436         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
5437         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
5438         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
5439         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
5440         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
5441         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
5442         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
5443         Likewise.
5444         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
5445         Likewise.
5446         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
5447         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
5448         if it is defined.
5450         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5451         oldsemctl.
5452         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
5453         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
5454         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
5455         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
5456         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
5457         implementation.
5458         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
5459         syscall if it is defined.
5460         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
5461         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
5462         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
5463         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
5464         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
5465         Likewise.
5466         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
5468         * sysvipc/Makefile (tests): Add test-sysvmsg.
5469         * sysvipc/test-sysvmsg.c: New file.
5470         * support/check.h (FAIL_UNSUPPORTED): New define.
5472         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
5473         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
5474         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
5475         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
5476         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
5477         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
5478         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
5479         Likewise.
5480         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
5481         Likewise.
5482         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
5483         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
5484         define.
5486         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
5487         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
5488         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
5489         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
5490         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
5491         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
5492         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
5493         Likewise.
5494         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
5495         Likewise.
5496         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
5497         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
5498         if defined.
5500         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
5501         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
5502         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5503         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5504         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5505         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
5506         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5507         Likewise.
5508         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
5509         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
5510         Likewise.
5511         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
5512         if defined.
5513         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
5515         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5516         oldmsgctl.
5517         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
5518         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
5519         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
5520         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
5521         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5522         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5523         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5524         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5525         Likewise.
5526         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
5527         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
5528         implementation.
5529         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
5530         if defined.
5532         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
5533         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
5534         definition and define its own.
5535         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
5536         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
5537         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
5538         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
5539         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
5540         definitions to common header.
5541         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
5542         operation from ipc_ops.h.
5544         * sysdeps/unix/sysv/linux/kernel-features.h
5545         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
5546         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5547         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
5548         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5549         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5550         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5551         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5552         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5553         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5554         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5555         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5556         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5557         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5558         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5559         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5561 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5563         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
5564         overflow in pointer addition.
5566 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5568         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5569         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
5570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5571         (strchr): Add __strchr_power8 to list of strchr functions.
5572         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
5573         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
5574         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
5575         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
5576         (strchr): Add __strchr_power8 to ifunc list.
5577         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
5578         (__strchrnul): Add __strchrnul_power8 to ifunc list.
5579         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
5580         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
5582 2016-12-28  Florian Weimer  <fweimer@redhat.com>
5584         * support/Makefile (libsupport-routines): Add
5585         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
5586         (tests): Add tst-support_record_failure.
5587         (tests-special): tst-support_record_failure-2.
5588         (tst-support_record_failure-2.out): Depend on
5589         tst-support_record_failure-2.sh and tst-support_record_failure.
5590         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
5591         (support_test_verify_impl, support_record_failure)
5592         (support_report_failure, support_report_failure_reset): Declare.
5593         * support/support_test_main.c (adjust_exit_status): New function.
5594         (support_test_main): Call it to incorporate record test failures.
5595         * support/support_test_verify_impl.c: New file.
5596         * support/support_record_failure.c: Likewise.
5597         * support/tst-support_record_failure.c: Likewise.
5598         * support/tst-support_record_failure-2.sh: Likewise.
5599         * support/xunistd.h: Likewise.
5600         * support/xfork.c: Likewise.
5601         * support/xwaitpid.c: Likewise.
5603 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
5605         * scripts/check-c++-types.sh: Add comments.
5607 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
5609         [BZ #19514]
5610         * resolv/res_send.c: Fix typo in comment.
5611         * sysdeps/i386/i386-mcount.S: Likewise.
5612         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5613         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5614         * sysdeps/sparc/sparc-mcount.S: Likewise.
5616 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5618         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
5619         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
5620         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
5621         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
5622         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
5623         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
5624         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
5625         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
5627 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5629         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
5631 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5633         [BZ #17252]
5634         * posix/unistd.h (getentropy): Declare.
5636 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5638         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
5639         Remove.
5640         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
5641         (cmd): Remove spoof, nospoof, spoofalert.
5642         (parse_line): Ignore spoof-related lines.
5643         (do_init): Do not process RESOLV_SPOOF_CHECK.
5645 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5647         [BZ #20964]
5648         sunrpc: Always obtain AF_INET addresses from NSS.
5649         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
5650         * sunrpc/rpc_gethostbyname.c: New file.
5651         * sunrpc/Makefile (routines): Add it.
5652         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
5653         * sunrpc/clnt_simp.c (callrpc): Likewise.
5654         * sunrpc/getrpcport.c (getrpcport): Likewise.
5656 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5658         * sunrpc/rpcinfo.c: Remove.
5659         * sunrpc/Makefile: Remove comments referring to rpcinfo.
5661 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5663         [BZ #19387]
5664         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
5665         addition.
5666         * string/test-memchr.c (do_test): Remove alignment limitation.
5667         (test_main): Add test that trigger BZ #19387.
5669 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5671         [BZ #7065]
5672         Enable stack protectore if requested by ./configure.
5673         * Makeconfig (+stack-protector): New variable.
5674         (+cflags): Use it.
5676 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5678         [BZ #7065]
5679         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
5680         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
5681         (__rt_sigreturn_stub): Use inhibit_stack_protector.
5682         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5683         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
5685 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5687         [BZ #7065]
5688         * login/Makefile (pt_chown-cflags): Remove.
5689         * nscd/Makefile (CFLAGS-nscd): Likewise.
5690         * resolv/Makefile (CFLAGS-libresolv): Likewise.
5692 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5694         [BZ #7065]
5695         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
5696         non-libc-linking testcase.
5698 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5699             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5700             Florian Weimer  <fweimer@redhat.com>
5702         [BZ #7065]
5703         PLT avoidance for __stack_chk_fail*.
5704         * debug/Makefile (CFLAGS-stack_chk_fail.c)
5705         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
5706         * debug/stack_chk_fail.c (__stack_chk_fail): Add
5707         __stack_chk_fail_local alias.
5708         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
5709         (__stack_chk_fail): Turn into hidden reference to
5710         __stack_chk_fail_local.
5712 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5714         [BZ #7065]
5715         * configure.ac: Add check for unsupported stack-protection level.
5716         (libc_cv_predef_stack_protector): Remove.
5717         (no_ssp): New variable.
5718         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
5719         (stack_protector): Set to -fno-stack-protector similarly.
5720         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
5721         (libc_cv_asm_set_directive): Likewise.
5722         (libc_cv_protected_data): Likewise.
5723         (libc_cv_z_combreloc): Likewise.
5724         (libc_cv_hashstyle): Likewise.
5725         (libc_cv_has_glob_dat): Likewise.
5726         (libc_cv_output_format): Likewise.
5727         (libc_cv_output_format): Likewise.
5728         (libc_cv_ehdr_start): Likewise.
5729         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
5730         (LIBC_LINKER_FEATURE): Likewise.
5731         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
5733 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5735         [BZ #7065]
5736         * elf/Makefile (dummy-stack-chk-fail): New.
5737         (librtld.map): Use it.
5739 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5741         [BZ #7065]
5742         Compile the dynamic linker without stack protection.
5743         * elf/Makefile (elide-stack-protector): New.
5744         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
5745         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
5746         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
5747         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
5749 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5751         [BZ #7065]
5752         * config.make.in (have-ssp, no-stack-protector): New.
5753         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
5754         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
5755         (CFLAGS-sbrk.op): Likewise.
5756         (CFLAGS-brk.o): Likewise.
5757         (CFLAGS-brk.op): Likewise.
5758         * string/Makefile (CFLAGS-memcpy.c): Likewise.
5759         (CFLAGS-wordcopy.c): Likewise.
5761 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5763         [BZ #7065]
5764         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
5765         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
5766         * include/libc-symbols.h (inhibit_stack_protector): New macro.
5767         (__ifunc_resolver): Use it.
5768         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
5769         inhibit_stack_protector.
5770         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
5771         * elf/ifuncmain7.c (foo_ifunc): Likewise.
5772         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
5773         (foo_protected_ifunc): Likewise.
5774         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
5775         (foo_protected_ifunc): Likewise.
5776         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5777         * sysdeps/nacl/nacl_interface_query.c
5778         (nacl_interface_query_ifunc): Likewise.
5779         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5780         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
5781         Likewise.
5782         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
5783         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
5784         the generated vDSO syscall resolver.
5786 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5787             Florian Weimer  <fweimer@redhat.com>
5789         [BZ #7065]
5790         Initialize the stack guard earlier when linking statically.
5791         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
5792         (__pthread_initialize_minimal): Declare.
5793         * csu/libc-start.c (__pthread_initialize_minimal): Remove
5794         declaration.
5795         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
5796         stack canary and apply_irel initialization up.  Call
5797         __pthread_initialize_minimal only if linked in.
5798         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
5799         constant values.
5800         (__pthread_initialize_minimal): Remove.
5801         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
5802         (__pthread_initialize_minimal_internal): Do not call
5803         __libc_setup_tls.
5805 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5807         [BZ #7065]
5808         * configure.ac (libc_cv_ssp): Move up.
5809         (libc_cv_ssp_strong): Likewise.
5810         (libc_cv_ssp_all): New.
5811         (stack_protector): Augment, adding -fstack-protector-all.
5812         (no_stack_protector): New.
5813         (STACK_PROTECTOR_LEVEL): New.
5814         (AC_ARG_ENABLE(stack-protector)): New configure flag.
5815         * manual/install.texi (--enable-stack-protector): Document it.
5816         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
5818 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
5820         * README.pretty-printers: Must specify CPPFLAGS-* also.
5821         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
5822         (CPPFLAGS-test-mutex-printers.c): Define.
5823         (CPPFLAGS-test-condattr-printers.c): Define.
5824         (CPPFLAGS-test-cond-printers.c): Define.
5825         (CPPFLAGS-test-rwlockattr-printers.c): Define.
5826         (CPPFLAGS-test-rwlock-printers.c): Define.
5828         * nss/Makefile [ifeq (yes,$(have-thread-library))]
5829         (tests): Add tst-cancel-getpwuid_r.
5830         * nss/tst-cancel-getpwuid_r.c: New file.
5832         [BZ #11941]
5833         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
5834         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
5835         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
5836         tst-nodelete-dlclose.
5837         (modules-names): Add tst-nodelete-dlclose-dso and
5838         tst-nodelete-dlclose-plugin.
5839         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
5840         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
5841         ($(objpfx)tst-nodelete-dlclose): Define.
5842         ($(objpfx)tst-nodelete-dlclose.out): Define.
5844 2016-12-23  Florian Weimer  <fweimer@redhat.com>
5846         * scripts/test_printers_common.py: Log GDB output in case of
5847         Python detection failure.
5849 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5851         * configure.ac: Check for python3 or python.
5852         * configure: Regenerated.
5853         * config.make.in (PYTHON): New variable.
5854         * benchtests/Makefile: Don't define PYTHON.
5855         (bench): Define target only if PYTHON was defined.
5856         * Rules: Don't define PYTHON.
5857         Define pretty printer targets only if PYTHON was defined.
5858         (tests-printers): Add to tests-unsupported if PYTHON is not
5859         found.
5860         (python-flags, python-invoke): Remove.
5861         (tests-printers-out): Use PYTHON instead of python-invoke.
5863 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5865         [BZ #20978]
5866         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5867         Compare name == NULL, not name != NULL.
5869         * manual/texinfo.tex: Update to version 2016-09-18.18 with
5870         trailing whitespace removed.
5871         * scripts/config.guess: Update to version 2016-10-02.
5872         * scripts/config.sub: Update to version 2016-11-19.
5873         * scripts/install-sh: Update to version 2016-01-11.22.
5874         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
5875         * scripts/move-if-change: Update to version 2016-01-11 22:04.
5877 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
5879         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
5880         (do_one_test) Restore original string so iteration works.
5881         * string/string-inlines.c (do_test): Create better input strings.
5882         (test_main) Reduce number of testruns.
5883         * string/string-inlines.c (__old_strsep_1c): New function.
5884         (__old_strsep_2c): Likewise.
5885         (__old_strsep_3c): Likewise.
5886         * string/strsep.c (__strsep): Remove case of small delim string.
5887         Call strcspn directly rather than strpbrk.
5888         * string/bits/string2.h (__strsep): Remove define.
5889         (__strsep_1c): Remove.
5890         (__strsep_2c): Remove.
5891         (__strsep_3c): Remove.
5892         (strsep): Remove.
5893         * sysdeps/unix/sysv/linux/internal_statvfs.c
5894         (__statvfs_getflags): Rename to __strsep.
5896 2016-12-21  Florian Weimer  <fweimer@redhat.com>
5898         * csu/libc-tls.c (_dl_tls_setup): Remove.
5899         * elf/dl-tls.c (_dl_tls_setup): Likewise.
5900         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
5901         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
5903 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5905         [BZ #7065]
5906         * sysdeps/x86_64/Makefile [$(subdir) = elf]
5907         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
5909 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5910             Florian Weimer  <fweimer@redhat.com>
5912         [BZ #7065]
5913         * csu/Makefile (tests): Empty assignment and document it.
5914         (tests-static): Remove.
5915         * csu/tst-empty.c: Move to...
5916         * misc/tst-empty.c: ... here.  Switch to new test driver.
5917         * csu/tst-atomic.c: Move to...
5918         * misc/tst-atomic.c: ... here.  Switch to new test driver.
5919         * csu/tst-atomic-long.c: Move to...
5920         * misc/tst-atomic-long.c: ... here.
5921         * misc/Makefile (tests): Add tst-empty, tst-atomic,
5922         tst-atomic-long.
5923         (tests-static): Add tst-empty.
5925 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
5927         * manual/nss.texi: Change incorrect @vtable to @table.
5928         * manual/arith.texi: Convert @tables of variables to @vtables
5929         and remove unnecessary indexing.
5930         * manual/filesys.texi: Likewise.
5931         * manual/llio.texi: Likewise.
5932         * manual/memory.texi: Likewise.
5933         * manual/process.texi: Likewise.
5934         * manual/resource.texi: Likewise.
5935         * manual/search.texi: Likewise.
5936         * manual/signal.texi: Likewise.
5937         * manual/socket.texi: Likewise.
5938         * manual/stdio.texi: Likewise.
5939         * manual/sysinfo.texi: Likewise.
5940         * manual/syslog.texi: Likewise.
5941         * manual/terminal.texi: Likewise.
5942         * manual/time.texi: Likewise.
5943         * manual/users.texi: Likewise.
5945 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5947         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5948         (roundeven): New declaration.
5949         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
5950         macro.
5951         * math/Versions (roundeven): New libm symbol at version
5952         GLIBC_2.25.
5953         (roundevenf): Likewise.
5954         (roundevenl): Likewise.
5955         * math/Makefile (libm-calls): Add s_roundevenF.
5956         * math/libm-test.inc (roundeven_test_data): New array.
5957         (roundeven_test): New function.
5958         (main): Call roundeven_test.
5959         * math/test-tgmath.c (NCALLS): Increase to 134.
5960         (F(compile_test)): Call roundeven.
5961         (F(roundeven)): New function.
5962         * manual/arith.texi (Rounding Functions): Document roundeven,
5963         roundevenf and roundevenl.
5964         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
5965         * include/math.h (roundeven): Use libm_hidden_proto.
5966         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
5967         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
5968         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
5969         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
5970         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
5971         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
5972         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5973         roundeven.
5974         (CFLAGS-nldbl-roundeven.c): New variable.
5975         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
5976         * sysdeps/nacl/libm.abilist: Update.
5977         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5978         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5979         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5980         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5981         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5982         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5983         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5984         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5985         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5986         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5987         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5988         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5990         Likewise.
5991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5992         Likewise.
5993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5994         Likewise.
5995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5996         Likewise.
5997         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5998         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5999         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6000         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6001         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6003         Likewise.
6004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6005         Likewise.
6006         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6007         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6008         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6010 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6012         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
6013         preprocessor indentation inside #if.
6015 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6017         * math/libm-test.inc (fmt_ftostr): New function.
6018         (print_float, check_float_internal): Replace some uses of
6019         FTOSTR with uses of fmt_ftostr.
6020         (print_max_error, print_complex_max_error, print_function_ulps)
6021         (print_complex_function_ulps): Remove uses of the macros
6022         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
6023         * math/test-double.h (FTOSTR): Define to strfromd.
6024         (PRINTF_EXPR): Delete.
6025         (PRINTF_XEXPR): Likewise.
6026         (PRINTF_NEXPR): Likewise.
6027         * math/test-float.h (FTOSTR): Define to strfromf.
6028         (PRINTF_EXPR): Delete.
6029         (PRINTF_XEXPR): Likewise.
6030         (PRINTF_NEXPR): Likewise.
6031         * math/test-ldouble.h (FTOSTR): Define to strfroml.
6032         (PRINTF_EXPR): Delete.
6033         (PRINTF_XEXPR): Likewise.
6034         (PRINTF_NEXPR): Likewise.
6036 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6038         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6039         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
6040         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6041         (__lll_lock_elision): Decrement adapt_count while unlocking
6042         instead of before locking.
6043         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6044         (__lll_trylock_elision): Likewise.
6045         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
6046         (__lll_unlock_elision): Likewise.
6048 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6050         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
6051         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
6052         Use __libc_tbegin_retry macro.
6054 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6056         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
6057         Add -msoft-float.
6058         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
6059         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6060         Use __libc_t* transaction macros instead of __builtin_t*.
6061         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6062         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6064 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6066         * sysdeps/unix/sysv/linux/s390/elision-lock.c
6067         (__lll_lock_elision): Use atomics to load / store adapt_count.
6068         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6069         (__lll_trylock_elision): Likewise.
6071 2016-12-20  Florian Weimer  <fweimer@redhat.com>
6073         Do not require memset elimination in explicit_bzero test.
6074         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
6075         (enum test_expectation): Add NO_EXPECTATIONS.
6076         (subtests): NO_EXPECTATIONS for ordinary clear.
6077         (check_test_buffer): Handle NO_EXPECTATIONS.
6078         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
6080 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6082         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6083         (fmaxmag): New declaration.
6084         (fminmag): Likewise.
6085         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
6086         macro.
6087         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
6088         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
6089         (fmaxmagf): Likewise.
6090         (fmaxmagl): Likewise.
6091         (fminmag): Likewise.
6092         (fminmagf): Likewise.
6093         (fminmagl): Likewise.
6094         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
6095         * math/s_fmaxmag_template.c: New file.
6096         * math/s_fminmag_template.c: Likewise.
6097         * math/libm-test.inc (fmaxmag_test_data): New array.
6098         (fmaxmag_test): New function.
6099         (fminmag_test_data): New array.
6100         (fminmag_test): New function.
6101         (main): Call fmaxmag_test and fminmag_test.
6102         * math/test-tgmath.c (NCALLS): Increase to 132.
6103         (F(compile_test)): Call fmaxmag and fminmag.
6104         (F(fminmag)): New function.
6105         (F(fmaxmag)): Likewise.
6106         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
6107         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
6108         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
6109         fminmag.
6110         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
6111         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
6112         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
6113         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
6114         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
6115         and fminmag.
6116         (CFLAGS-nldbl-fmaxmag.c): New variable.
6117         (CFLAGS-nldbl-fminmag.c): Likewise.
6118         * sysdeps/nacl/libm.abilist: Update.
6119         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6120         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6121         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6122         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6123         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6124         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6125         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6126         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6127         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6128         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6129         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6130         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6132         Likewise.
6133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6134         Likewise.
6135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6136         Likewise.
6137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6138         Likewise.
6139         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6140         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6141         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6142         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6143         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6145         Likewise.
6146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6147         Likewise.
6148         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6149         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6150         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6152 2016-12-19  Torvald Riegel  <triegel@redhat.com>
6154         [BZ #20973]
6155         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
6156         wake-up in robust mutexes.
6157         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6159 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6161         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
6162         (CFLAGS-bench-fmaxf.c): New rule.
6163         (CFLAGS-bench-fminf.c): Likewise.
6164         * benchtests/fmaxf-inputs: New file.
6165         * benchtests/fminf-inputs: Likewise.
6167         * benchtests/Makefile (bench-math): Add fmin and fmax.
6168         (CFLAGS-bench-fmax.c): New rule.
6169         (CFLAGS-bench-fmin.c): Likewise.
6170         * benchtests/fmax-inputs: New file.
6171         * benchtests/fmin-inputs: Likewise.
6173         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
6174         parenthesis.
6175         (CMDLINE_PROCESS): Define using function instead of macro.
6176         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
6177         of test-skeleton.
6178         * benchtests/bench-memchr.c: Likewise.
6179         * benchtests/bench-memcmp.c: Likewise.
6180         * benchtests/bench-memcpy-large.c: Likewise.
6181         * benchtests/bench-memcpy.c: Likewise.
6182         * benchtests/bench-memmem.c: Likewise.
6183         * benchtests/bench-memmove-large.c: Likewise.
6184         * benchtests/bench-memmove.c: Likewise.
6185         * benchtests/bench-memset-large.c: Likewise.
6186         * benchtests/bench-memset.c: Likewise.
6187         * benchtests/bench-rawmemchr.c: Likewise.
6188         * benchtests/bench-strcasecmp.c: Likewise.
6189         * benchtests/bench-strcasestr.c: Likewise.
6190         * benchtests/bench-strcat.c: Likewise.
6191         * benchtests/bench-strchr.c: Likewise.
6192         * benchtests/bench-strcmp.c: Likewise.
6193         * benchtests/bench-strcpy.c: Likewise.
6194         * benchtests/bench-strcpy_chk.c: Likewise.
6195         * benchtests/bench-strlen.c: Likewise.
6196         * benchtests/bench-strncasecmp.c: Likewise.
6197         * benchtests/bench-strncmp.c: Likewise.
6198         * benchtests/bench-strncpy.c: Likewise.
6199         * benchtests/bench-strnlen.c: Likewise.
6200         * benchtests/bench-strpbrk.c: Likewise.
6201         * benchtests/bench-strrchr.c: Likewise.
6202         * benchtests/bench-strsep.c: Likewise.
6203         * benchtests/bench-strspn.c: Likewise.
6204         * benchtests/bench-strstr.c: Likewise.
6205         * benchtests/bench-strtok.c: Likewise.
6207 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6209         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
6210         stepping identification.
6211         (init_cpu_features): Add handle of Haswell.
6213 2016-11-25  Jim Meyering  <meyering@fb.com>
6215         [BZ #20386]
6216         Let gcc detect assert(a = 1) errors.
6217         * assert/assert.h (assert): Rewrite, retaining the old definintion
6218         when required, but otherwise putting the expression as-is in an "if"
6219         expression (hence, with no added parentheses) within a statement
6220         expression.
6222 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6224         * benchtests/Makefile (binaries-benchset): Depend on libsupport
6225         DSO.
6227 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
6229         * Rules (python-flags, python-invoke): New.
6230         ($(test-printers-out)): Use $(python-flags).
6232 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6234         * manual/arith.texi (Math Error Reporting): Document that sNaN
6235         arguments are not considered domain errors.
6237 2016-12-16  Zack Weinberg <zackw@panix.com>
6238             Florian Weimer <fweimer@redhat.com>
6239             Nick Mathewson <nickm@torproject.org>
6241         * string/explicit_bzero.c: New routine.
6242         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
6243         * string/Makefile (routines, strop-tests, tests): Add them.
6244         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
6245         * string/string.h [__USE_MISC]: Declare explicit_bzero.
6247         * debug/explicit_bzero_chk.c: New routine.
6248         * debug/Makefile (routines): Add it.
6249         * debug/tst-chk1.c: Test fortification of explicit_bzero.
6250         * string/bits/string3.h: Fortify explicit_bzero.
6252         * manual/string.texi: Document explicit_bzero.
6253         * NEWS: Mention addition of explicit_bzero.
6255         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
6256         data before returning, using explicit_bzero.
6257         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
6258         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6259         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6261         * include/string.h: Redirect internal uses of explicit_bzero
6262         to __explicit_bzero_chk[_internal].
6263         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
6264         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
6265         * sysdeps/arm/nacl/libc.abilist
6266         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
6267         * sysdeps/unix/sysv/linux/alpha/libc.abilist
6268         * sysdeps/unix/sysv/linux/arm/libc.abilist
6269         * sysdeps/unix/sysv/linux/hppa/libc.abilist
6270         * sysdeps/unix/sysv/linux/i386/libc.abilist
6271         * sysdeps/unix/sysv/linux/ia64/libc.abilist
6272         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6273         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
6274         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
6275         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6276         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6277         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6278         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6279         * sysdeps/unix/sysv/linux/nios2/libc.abilist
6280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6284         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
6285         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6286         * sysdeps/unix/sysv/linux/sh/libc.abilist
6287         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6288         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6291         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
6292         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
6293         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
6294         Add entries for explicit_bzero and __explicit_bzero_chk.
6296 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6298         * math/fenv.h
6299         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
6300         (FE_SNANS_ALWAYS_SIGNAL): New macro.
6301         * math/test-fe-snans-always-signal.c: New file.
6302         * math/Makefile (tests): Add test-fe-snans-always-signal.
6303         (CFLAGS-test-fe-snans-always-signal.c): New variable.
6304         * manual/arith.texi (Infinity and NaN): Document
6305         FE_SNANS_ALWAYS_SIGNAL.
6307 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6309         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
6310         bracket.
6312 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6314         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
6315         before calling execv.
6317 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6319         [BZ #20971]
6320         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
6321         overflow in pointer addition.
6322         * string/test-memchr.c (do_test): Add an argument to pass as
6323         the size on memchr.
6324         (test_main): Add check for SIZE_MAX.
6326 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6328         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
6329         (libm-calls): Add w_scalblnF.
6330         * math/w_scalbln.c: Remove.
6331         * math/w_scalblnf.c: Likewise.
6332         * math/w_scalblnl.c: Likewise.
6333         * math/w_scalbln_template.c: New file with type-generic
6334         implementation based on math/w_scalbln.c.
6335         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
6336         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
6338 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6340         [BZ #20947]
6341         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
6342         either is a signaling NaN.
6343         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
6344         follow fmaxl more closely.
6345         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
6346         when either is a signaling NaN.
6347         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
6348         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
6349         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
6350         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
6351         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
6352         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
6353         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
6354         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
6355         (fmin_test_data): Likewise.
6357 2016-12-15  Andreas Schwab  <schwab@suse.de>
6359         * support/support_test_main.c (support_test_main): Don't shadow
6360         file-local variable test_pid.
6362 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6364         [BZ #20947]
6365         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
6366         either is a signaling NaN.
6367         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
6369 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6371         [BZ #20947]
6372         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
6373         when either is a signaling NaN.
6374         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
6376         * bits/long-double.h: New file.
6377         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
6378         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
6379         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
6380         * sysdeps/mips/bits/long-double.h: Likewise.
6381         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
6382         * math/Makefile (headers): Add bits/long-double.h.
6383         * misc/sys/cdefs.h: Include <bits/long-double.h>.
6384         * stdlib/strtold.c: Include <bits/long-double.h> instead of
6385         <bits/wordsize.h>.
6386         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
6387         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
6388         * math/math.h: Do not include <bits/mathdef.h>.
6389         * sysdeps/aarch64/bits/mathdef.h: Remove file.
6390         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
6391         inclusion.
6392         * sysdeps/ia64/bits/mathdef.h: Remove file.
6393         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
6394         * sysdeps/mips/bits/mathdef.h: Likewise.
6395         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6396         * sysdeps/s390/bits/mathdef.h: Likewise.
6397         * sysdeps/sparc/bits/mathdef.h: Likewise.
6398         * sysdeps/x86/bits/mathdef.h: Likewise.
6399         * sysdeps/s390/s390-32/bits/wordsize.h
6400         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
6401         conditional code.
6402         * sysdeps/s390/s390-64/bits/wordsize.h
6403         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6404         Likewise.
6405         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
6406         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6407         Likewise.
6408         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
6409         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6410         Likewise.
6411         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6412         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6413         Likewise.
6415         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
6416         <linux/falloc.h>.
6417         (FALLOC_FL_KEEP_SIZE): Remove.
6418         (FALLOC_FL_PUNCH_HOLE): Likewise.
6419         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
6420         (FALLOC_FL_ZERO_RANGE): Likewise.
6422 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6424         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
6426 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6428         * sysdeps/unix/sysv/linux/renameat.c: New file.
6429         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
6431         * sysdeps/unix/sysv/linux/rename.c: New file.
6432         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
6434 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6436         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
6437         * string/strtok.c (strtok): Change to tailcall __strtok_r.
6438         * string/strtok_r.c (__strtok_r): Optimize for performance.
6439         * string/string-inlines.c (__old_strtok_r_1c): New function.
6440         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
6442 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6444         * math/Makefile (gen-libm-calls): Add w_log1pF.
6445         (libm-calls): Remove w_log1pF.
6446         * math/w_log1p.c: Remove.
6447         * math/w_log1pf.c: Likewise.
6448         * math/w_log1pl.c: Likewise.
6449         * math/w_log1p_template.c: New file with type-generic
6450         implementation based on math/w_log1p.c.
6451         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
6452         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
6454 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6456         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
6458 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6460         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6461         kernel version to 4.9.
6463 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
6465         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
6466         ($(inst_libdir)/libm.a): Fix rule to create the target only.
6468 2016-12-13  Andreas Schwab  <schwab@suse.de>
6470         * sysdeps/powerpc/dl-procinfo.c: Don't define
6471         _dl_powerpc_platforms.
6472         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
6473         constants instead of referencing _dl_powerpc_platforms.
6474         (_dl_platform_string): Remove.
6476 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6478         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
6480 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6482         * Rules (binaries-shared-tests, binaries-pie-tests)
6483         (binaries-static-tests): Link with $(link-extra-libs-tests).
6484         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
6485         Remove $(link-extra-libs-tests).
6487 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6489         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6490         (sysdep_routines): Add strncmp_power9.
6491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6492         (strncmp): Add __strncmp_power9 to list of strncmp functions.
6493         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
6494         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6495         (strncmp): Add __strncmp_power9 to ifunc list.
6496         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
6498 2016-12-12  Florian Weimer  <fweimer@redhat.com>
6500         [BZ #17252]
6501         Add getentropy, getrandom.
6502         * stdlib/sys/random.h: New file.
6503         (headers): Add it.
6504         * stdlib/Makefile (routines): Add getentropy, getrandom.
6505         (tests): Add tst-getrandom.
6506         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
6507         * stdlib/getentropy.c: New file.
6508         * stdlib/getrandom.c: Likewise.
6509         * stdlib/tst-getrandom.c: Likewise.
6510         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
6511         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
6512         * manual/crypt.texi (Unpredictable Bytes): New section.
6513         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
6514         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
6515         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6516         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6517         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6518         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6519         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6520         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6521         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6522         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6523         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6524         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6525         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6526         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6527         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6528         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6530         Likewise.
6531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6532         Likewise.
6533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6535         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6536         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6537         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6538         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6539         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6542         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6543         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6544         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6546 2016-12-10  Florian Weimer  <fweimer@redhat.com>
6548         [BZ #20956]
6549         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
6550         as additional compiler barriers.
6551         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
6552         (fn2, do_test): Declare with external linkage.
6553         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
6554         (do_test): Declare with external linkage.
6555         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
6556         (do_test): Declare with external linkage.
6557         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
6558         (do_test): Declare with external linkage.
6560 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
6562         * support/support_test_main.c (support_test_main): Use correct
6563         timeout.
6565 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
6566             Florian Weimer  <fweimer@redhat.com>
6568         [BZ #16421]
6569         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
6570         and __u6_addr32 members.
6571         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
6572         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
6573         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
6574         Use __u6_addr32.
6575         * inet/tst-checks.c: Use <support/test-driver.c>
6576         * inet/tst-checks-posix.c: New file.
6577         * inet/Makefile (tests): Add it.
6578         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
6580 2016-12-09  Florian Weimer  <fweimer@redhat.com>
6582         New subdirectory support for build and test infrastructure.
6583         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
6584         setting install-lib.
6585         * Makeconfig (link-extra-libs-tests): Define.
6586         (+link-pie-tests, +link-static-tests, +link-tests): Use
6587         link-extra-libs-tests.
6588         (rpath-dirs, all-subdirs): Add support.
6589         (built-modules): Add libsupport.
6590         (libsupport): Define.
6591         * support: New directory.
6592         * support/Makefile: New file.
6593         * support/check.c: Likewise.
6594         * support/check.h: Likewise.
6595         * support/delayed_exit.c: Likewise.
6596         * support/ignore_stderr.c: Likewise.
6597         * support/oom_error.c: Likewise.
6598         * support/set_fortify_handler.c: Likewise.
6599         * support/support.h: Likewise.
6600         * support/temp_file-internal.h: Likewise.
6601         * support/temp_file.c: Likewise.
6602         * support/test-driver.c: Likewise.
6603         * support/test-driver.h: Likewise.
6604         * support/test_main.c: Likewise.
6605         * support/write_message.c: Likewise.
6606         * support/xasprintf.c: Likewise.
6607         * support/xcalloc.c: Likewise.
6608         * support/xmalloc.c: Likewise.
6609         * support/xpthread_barrier_destroy.c: Likewise.
6610         * support/xpthread_barrier_init.c: Likewise.
6611         * support/xpthread_barrier_wait.c: Likewise.
6612         * support/xpthread_cancel.c: Likewise.
6613         * support/xpthread_check_return.c: Likewise.
6614         * support/xpthread_cond_wait.c: Likewise.
6615         * support/xpthread_create.c: Likewise.
6616         * support/xpthread_detach.c: Likewise.
6617         * support/xpthread_join.c: Likewise.
6618         * support/xpthread_mutex_lock.c: Likewise.
6619         * support/xpthread_mutex_unlock.c: Likewise.
6620         * support/xpthread_sigmask.c: Likewise.
6621         * support/xpthread_spin_lock.c: Likewise.
6622         * support/xpthread_spin_unlock.c: Likewise.
6623         * support/xrealloc.c: Likewise.
6624         * support/xsignal.h: Likewise.
6625         * support/xthread.h: Likewise.
6626         * support_tempfile.h: Likewise.
6627         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
6628         (TEST_DATA_LIMIT): Remove unused macro.
6629         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
6630         <support/check.h>.
6631         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
6632         (ignore_stderr, set_fortify_handler): Remove.  Now in
6633         <support/support.h>.
6634         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
6635         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
6636         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
6637         (xpthread_join): Remove.  Now in <support/xthread.h>.
6638         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
6639         Introduce legacy wrappers.
6640         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
6641         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
6642         (write_message): Remove.
6643         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
6644         test-skeleton.c.
6645         * io/test-open-tmpfile: Likewise.
6646         * io/tst-posix_fallocate-common.c: Likewise.
6647         * libio/tst-fseek.c: Likewise.
6648         * malloc/tst-malloc-backtrace.c: Likewise.
6649         * malloc/tst-malloc-fork-deadlock.c: Likewise.
6650         * malloc/tst-malloc-thread-exit.c: Likewise.
6651         * nptl/tst-cancel7.c: Likewise.
6652         * nptl/tst-cleanup0.c: Likewise.
6653         * posix/tst-posix_fadvise-common.c: Likewise.
6654         * rt/tst-shm.c: Likewise.
6655         * time/bug-getdate1.c: Likewise.
6656         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6657         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
6658         * elf/Makefile (tst-piemod1.so): Link against libsupport.
6660 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
6662         * Rules [$(run-built-tests) != no] (tests-expected): Add
6663         $(tests-printers).
6664         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
6666 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
6668         [BZ #20539]
6669         * math/Makefile (install-lib-ldscripts): Add libm.a.
6670         (install_subdir): Remove.
6671         (install-others): Add.
6672         ($(inst_libdir)/libm.a): Add rule for installation as
6673         linker script.
6674         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
6676 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
6678         * INSTALL: Regenerated.
6679         * Makeconfig: Add comments and whitespace to make the control flow
6680         clearer.
6681         (+link-printers-tests, +link-pie-printers-tests,
6682         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
6683         built-rtld-LDFLAGS, link-libc-rpath,
6684         link-libc-tests-after-rpath-link,
6685         link-libc-printers-tests): New.
6686         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
6687         link-libc-tests): Use the new variables as required.
6688         * Makerules ($(py-const)): New rule.
6689         generated: Add $(py-const).
6690         * README.pretty-printers: New file.
6691         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
6692         (others): Depend on $(py-const).
6693         (tests): Depend on $(tests-printers-programs) or
6694         $(tests-printers-out),
6695         as required.  Pass $(tests-printers) to merge-test-results.sh.
6696         * manual/install.texi: Add requirements for testing the pretty
6697         printers.
6698         * nptl/Makefile (gen-py-const-headers, pretty-printers,
6699         tests-printers, CFLAGS-test-mutexattr-printers.c
6700         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
6701         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
6702         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
6703         * nptl/nptl-printers.py: New file.
6704         * nptl/nptl_lock_constants.pysym: Likewise.
6705         * nptl/test-cond-printers.c: Likewise.
6706         * nptl/test-cond-printers.py: Likewise.
6707         * nptl/test-condattr-printers.c: Likewise.
6708         * nptl/test-condattr-printers.py: Likewise.
6709         * nptl/test-mutex-printers.c: Likewise.
6710         * nptl/test-mutex-printers.py: Likewise.
6711         * nptl/test-mutexattr-printers.c: Likewise.
6712         * nptl/test-mutexattr-printers.py: Likewise.
6713         * nptl/test-rwlock-printers.c: Likewise.
6714         * nptl/test-rwlock-printers.py: Likewise.
6715         * nptl/test-rwlockattr-printers.c: Likewise.
6716         * nptl/test-rwlockattr-printers.py: Likewise.
6717         * scripts/gen-py-const.awk: Likewise.
6718         * scripts/test_printers_common.py: Likewise.
6719         * scripts/test_printers_exceptions.py: Likewise.
6721 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
6723         * scripts/build-many-glibcs.py (Context.__init__): Take strip
6724         argument.
6725         (Glibc.build_glibc): Strip installed shared libraries if
6726         requested.
6727         (get_parser): Add --strip option.
6728         (main): Update Context call.
6730 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6731             Dominik Vogt  <vogt@linux.vnet.ibm.com>
6733         [BZ #20847]
6734         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6735         array bounds for else branch.
6736         (__execvpe): Style fixes.
6737         * posix/tst-vfork3.c (run_script): New function.
6738         (create_script): Likewise.
6739         (do_test): Use run_script internal function.
6740         (do_prepare): Use create_script internal function.
6742 2016-12-07  Andreas Schwab  <schwab@suse.de>
6744         * sysdeps/unix/sysv/linux/x86/elision-conf.h
6745         (__elision_available): Don't declare.
6746         * sysdeps/unix/sysv/linux/x86/elision-conf.c
6747         (__elision_available): Don't define.
6748         (elision_init): Don't set __elision_available.
6750 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
6752         [BZ #20940]
6753         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
6754         return Inf for arguments Inf and sNaN.
6755         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
6756         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6757         Likewise.
6758         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6759         Likewise.
6760         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6761         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
6762         for arguments Inf and sNaN.  When returning a NaN, compute it by
6763         arithmetic on the arguments.
6764         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
6765         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
6766         arguments.
6768 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
6770         [BZ #20916]
6771         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
6772         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
6773         to compute result.
6774         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6775         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
6777 2016-12-05  Torvald Riegel  <triegel@redhat.com>
6779         * include/atomic.h (__atomic_check_size_ls): New.
6780         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
6781         atomic_store_release): Use it.
6782         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
6783         (elision_adapt, ELIDE_LOCK): Use atomics.
6784         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
6785         atomics and improve code comments.
6786         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
6787         (__lll_trylock_elision): Likewise.
6789 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6791         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
6792         programs.
6794 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6796         [BZ #20916]
6797         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
6798         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
6799         arguments to compute result.
6800         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
6801         1 for arguments (sNaN, 0) or (1, sNaN).
6802         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6803         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6805         [BZ #20919]
6806         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
6807         NaN first argument when raised to power 0.
6808         * math/w_pow.c (__pow): Do not check for NaN or zero results from
6809         raising to power zero.
6810         * math/w_powf.c (__powf): Likewise.
6811         * math/w_powl.c (__powl): Likewise.
6812         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
6813         pow (0, 0) or pow (NaN, 0).
6815 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
6817         [BZ #20918]
6818         * configure.ac: Test for static NSS cryptographic libraries and set
6819         libc_cv_static_nss_crypt.
6820         * configure: Regenerate.
6821         * config.make.in (static-nss-crypt): Define.
6822         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
6823         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
6824         (CFLAGS-tst-linkall-static.c): Define.
6825         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
6826         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
6827         ($(objpfx)tst-linkall-static): Define.
6828         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
6829         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
6831 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6833         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
6834         (one-hundred, tst-tls-many-dynamic-modules): Define.
6835         (modules-names): Add $(tst-tls-many-dynamic-modules).
6836         (tst-tls-manydynamic%mod.os): Build with special preprocessor
6837         macros.
6838         (tst-tls-manydynamic): Link against libdl, libpthread.
6839         (tst-tls-manydynamic.out): The test needs the test modules at run
6840         time.
6841         * elf/tst-tls-manydynamic.c: New file.
6842         * elf/tst-tls-manydynamic.h: Likewise.
6843         * elf/tst-tls-manydynamicmod.c: Likewise.
6845 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6847         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
6848         (TLS_DTV_UNALLOCATED): Add.
6849         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
6850         offsets.
6852 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6854         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6856 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6858         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
6859         Add -fno-optimize-sibling-calls.
6861 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6863         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
6864         New declaration.
6865         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
6866         macro.
6867         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
6868         New macro.
6869         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
6870         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
6871         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
6872         (llogbf): Likewise.
6873         (llogbl): Likewise.
6874         * math/Makefile (gen-libm-calls): Add w_llogbF.
6875         (tests): Add test-fp-llogb-constants.
6876         * math/w_llogb_template.c: New file.  Based on
6877         math/w_ilogb_template.c.
6878         * math/libm-test.inc (llogb_test_data): New array.
6879         (llogb_test): New function.
6880         (main): Call llogb_test.
6881         * math/test-fp-llogb-constants.c: New file.  Based on
6882         math/test-fp-ilogb-constants.c.
6883         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
6884         (do_test): Call check_return_llogb.
6885         * math/test-tgmath.c (NCALLS): Increase to 126.
6886         (F(compile_test)): Call llogb.
6887         (F(llogb)): New function.
6888         * manual/math.texi (Exponents and Logarithms): Document llogb,
6889         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
6890         * manual/libm-err-tab.pl (@all_functions): Add llogb.
6891         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
6892         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
6893         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
6894         (CFLAGS-nldbl-llogb.c): New variable.
6895         * sysdeps/nacl/libm.abilist: Update.
6896         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6897         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6898         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6899         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6900         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6901         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6902         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6903         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6904         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6905         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6906         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6907         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6909         Likewise.
6910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6911         Likewise.
6912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6913         Likewise.
6914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6915         Likewise.
6916         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6917         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6918         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6919         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6920         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6922         Likewise.
6923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6924         Likewise.
6925         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6926         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6927         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6929 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6931         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
6932         _Float128 instead of long double.
6933         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
6935         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
6936         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
6937         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
6938         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
6939         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
6940         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
6941         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
6942         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
6943         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
6944         Likewise.
6946 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6948         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
6949         Remove redirection to __strrchr_ppc.
6951 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6953         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6954         (sysdep_routines): Add strcmp_power9.
6955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6956         (strcmp): Add __strcmp_power9 to list of strcmp functions.
6957         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
6958         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6959         (strcmp): Add __strcmp_power9 to ifunc list.
6960         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
6962 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6964         * bits/fp-logb.h: New file.
6965         * sysdeps/ia64/bits/fp-logb.h: Likewise.
6966         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
6967         * sysdeps/x86/bits/fp-logb.h: Likewise.
6968         * math/Makefile (headers): Add bits/fp-logb.h.
6969         * math/math.h: Include <bits/fp-logb.h>.
6970         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
6971         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
6972         * bits/mathdef.h (FP_ILOGB0): Remove.
6973         (FP_ILOGBNAN): Likewise.
6974         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
6975         (FP_ILOGBNAN): Likewise.
6976         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
6977         (FP_ILOGBNAN): Likewise.
6978         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
6979         (FP_ILOGBNAN): Likewise.
6980         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
6981         (FP_ILOGBNAN): Likewise.
6982         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
6983         (FP_ILOGBNAN): Likewise.
6984         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
6985         (FP_ILOGBNAN): Likewise.
6986         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
6987         (FP_ILOGBNAN): Likewise.
6988         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
6989         (FP_ILOGBNAN): Likewise.
6990         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
6991         (FP_ILOGBNAN): Likewise.
6993         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
6994         time module.
6995         (Context.__init__): Initialize self.logsdir_old.
6996         (Context.run_builds): Handle bot action.
6997         (Context.bot_cycle): Copy logs directory before running builds.
6998         (Context.bot_run_self): Take argument for whether to check
6999         subprocess result.  Flush stdout before running subprocess.
7000         (Context.bot): New function.
7001         (get_parser): Allow bot action.
7003 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
7005         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
7006         Import email.mime.text, email.utils and smtplib modules.
7007         (Context.__init__): Initialize self.bot_config_json.
7008         (Context.run_builds): Handle bot-cycle action.
7009         (Context.load_bot_config_json): New function.
7010         (Context.part_build_old): Likewise.
7011         (Context.bot_cycle): Likewise.
7012         (Context.bot_build_mail): Likewise.
7013         (Context.bot_run_self): Likewise.
7014         (get_parser): Allow bot-cycle action.
7016 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7018         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
7019         Remove redirection to __stpcpy_ppc.
7021 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7023         Remove __libc_memalign from ld.so because it is unused.
7024         * elf/dl-minimal.c: Update comment on the malloc implementation.
7025         (malloc): Renamed from __libc_memalign, replacing the original
7026         malloc implementation.  Replace the align parameter with
7027         MALLOC_ALIGNMENT.
7028         * elf/Versions (ld): Update comment and remove __libc_memalign.
7029         * sysdeps/nacl/ld.abilist: Likewise.
7030         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
7031         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
7032         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
7033         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
7034         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
7035         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
7036         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
7037         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
7038         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
7039         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
7040         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
7041         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
7042         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
7043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
7044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7046         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
7047         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
7048         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
7049         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
7050         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
7051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
7052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
7053         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
7054         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
7055         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
7056         * sysdeps/generic/localplt.data (ld.so): Likewise.
7057         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7058         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7059         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7060         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7061         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7062         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7063         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7064         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
7065         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7067         (ld.so): Likewise.
7068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7069         (ld.so): Likewise.
7070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7071         Likewise.
7072         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7073         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7074         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
7075         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
7076         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7078 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7080         [BZ #16628]
7081         Implement _dl_catch_error, _dl_signal_error in libc.so.
7082         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
7083         (catch_hook): Define as thread-local or regular variable,
7084         depending on DL_ERROR_BOOTSTRAP.
7085         (CATCH_HOOK): Remove.
7086         (dl_signal_error, _dl_catch_error): Use
7087         catch_hook.  Add hidden definition for libc.
7088         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
7089         for DL_ERROR_BOOTSTRAP only.
7090         * elf/dl-error.c: New file.
7091         * elf/dl-error-minimal.c: Likewise.
7092         * elf/tst-latepthread.c: Likewise.
7093         * elf/tst-latepthreadmod.c: Likewise.
7094         * elf/Makefile (routines): Add dl-error.
7095         (dl-routines): Remove dl-error.
7096         (rtld-routines): Add dl-error-minimal.
7097         [build-shared] (tests): Add tst-latepthread.
7098         (module-names): Add tst-latepthreadmod.
7099         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
7100         symbol.
7101         (tst-latepthreadmod.so): Link against libpthread.
7102         (tst-latepthread): Link against libdbl.
7103         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
7104         _dl_catch_error.
7105         [ld] (GLIBC_PRIVATE): Likewise.
7106         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
7107         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
7108         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
7109         directly.
7110         * elf/dl-tsd.c: Remove file.
7111         * elf/rtld.c (_rtld_global_ro): Remove initializers for
7112         _dl_catch_error, _dl_signal_error.
7113         (_dl_initial_error_catch_tsd): Remove definition.
7114         (do_preload): Remove initialization of dl_error_catch_tsd.
7115         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
7116         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
7117         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7118         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7119         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
7120         set dl_error_catch_tsd.
7121         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
7122         _dl_error_catch_tsd member.
7123         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
7124         members.
7125         (_dl_initial_error_catch_tsd): Remove declaration.
7126         (_dl_dprintf): Provide definition for use outside of ld.so.
7127         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
7128         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
7129         prototype for libc.
7130         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
7131         _dl_catch_error.
7132         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7133         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7134         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7135         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7136         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7137         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7138         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7139         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7140         Likewise.
7141         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7143         (ld.so): Likewise.
7144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7145         (ld.so): Likewise.
7146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7147         Likewise.
7148         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7149         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7150         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7151         Likewise.
7152         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7153         Likewise.
7154         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7156 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7158         [BZ #4099]
7159         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
7160         _IO_BUFSIZ (8192).
7162 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
7164         * PROJECTS: Remove file.
7166 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7168         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
7170 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
7171             Steve Ellcey  <sellcey@caviumnetworks.com>
7173         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
7174         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
7175         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
7176         fxstatat.
7177         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
7178         lxstat.
7179         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
7180         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
7181         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
7182         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
7183         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
7184         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
7185         __xstat.
7187 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7189         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
7190         Define.
7191         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
7192         definition.
7194 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7196         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
7197         version and turn into strong alias.  Remove compat symbol.
7199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7200         (__longjmp): Remove.
7202 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
7204         * bits/fp-fast.h: New file.
7205         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
7206         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
7207         * math/Makefile (headers): Add bits/fp-fast.h.
7208         * math/math.h: Include <bits/fp-fast.h>.
7209         * bits/mathdef.h (FP_FAST_FMA): Remove.
7210         (FP_FAST_FMAF): Likewise.
7211         (FP_FAST_FMAL): Likewise.
7212         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
7213         (FP_FAST_FMAF): Likewise.
7214         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
7215         (FP_FAST_FMAF): Likewise.
7216         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
7217         (FP_FAST_FMAF): Likewise.
7218         (FP_FAST_FMAL): Likewise.
7219         * sysdeps/arm/bits/mathdef.h: Remove file.
7220         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
7221         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7222         * sysdeps/tile/bits/mathdef.h: Likewise.
7224 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7226         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
7227         * math/w_ilogb.c: Remove.
7228         * math/w_ilogbf.c: Likewise.
7229         * math/w_ilogbl.c: Likewise.
7230         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
7231         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
7232         * math/Makefile (gen-libm-calls): Add w_ilogbF.
7233         (libm-calls): Remove w_ilogbF.
7234         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
7235         (LDOUBLE_ilogbl_libm_version): New macro.
7237         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
7239         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
7240         [!__STRICT_ANSI__ && !__cplusplus].
7242 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7244         [BZ #20750]
7245         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
7246         of PIC.
7248 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7249             Yury Norov  <ynorov@caviumnetworks.com>
7250             Steve Ellcey  <sellcey@caviumnetworks.com>
7252         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
7253         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
7254         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
7255         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
7256         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
7257         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
7258         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
7259         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
7260         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
7261         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
7262         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
7263         to get correct reg name for ILP32.
7264         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
7265         (RELA_SIZE): New Macro.
7266         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
7267         to support ILP32.
7268         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
7269         cast for ILP32 mode.
7270         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
7271         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
7272         * sysdeps/aarch64/memset.S (__memset): Ditto.
7273         * sysdeps/aarch64/strchr.S (strchr): Ditto.
7274         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
7275         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
7276         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
7277         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
7278         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
7279         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
7280         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
7281         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
7282         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
7283         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
7284         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
7285         change PTR_MANGLE call to use register numbers instead of names.
7286         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
7287         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
7288         ILP32 mode, change PTR_MANGLE calls to use register numbers.
7289         * sysdeps/aarch64/start.S (_start): Ditto.
7290         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
7291         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
7292         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
7293         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
7294         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
7295         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
7296         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
7297         Make defined values dependent on __ILP32__.
7298         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
7299         (sem_t): Change __align type.
7300         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
7301         PTR_SIZE): New Macros.
7302         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
7303         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
7304         Set when in ILP32 mode.
7305         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
7306         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
7307         Set elf flags for ILP32.
7308         (add_system_dir): Set ILP32 library directories.
7309         * sysdeps/unix/sysv/linux/aarch64/init-first.c
7310         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
7311         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
7312         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
7313         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
7314         New Macros.
7315         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
7317 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7319         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
7320         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
7321         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
7323 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7325         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
7326         <asm/cachectl.h>.
7328 2016-11-27  Zack Weinberg  <zackw@panix.com>
7330         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
7331         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
7333 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7335         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
7336         error_t to fix usage in C++ programs.
7338 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
7340         * scripts/build-many-glibcs.py: Import datetime module.
7341         (Context.__init__): Load JSON build state.  Initialize list of
7342         status logs.
7343         (Context.run_builds): Update saved build state.
7344         (Context.add_makefile_cmdlist): Update list of status logs.
7345         (Context.load_build_state_json): New function.
7346         (Context.store_build_state_json): Likewise.
7347         (Context.clear_last_build_state): Likewise.
7348         (Context.update_build_state): Likewise.
7349         (CommandList.status_logs): Likewise.
7351 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
7353         * scripts/build-many-glibcs.py (Context.__init__): Save text of
7354         script being executed.
7355         (Context.get_script_text): New function.
7356         (Context.exec_self): Likewise.
7357         (Context.checkout): Re-exec script if changed by checkout process.
7359 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7361         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7362         (setpayloadsig): New declaration.
7363         * math/Versions (setpayloadsig): New libm symbol at version
7364         GLIBC_2.25.
7365         (setpayloadsigf): Likewise.
7366         (setpayloadsigl): Likewise.
7367         * math/Makefile (libm-calls): Add s_setpayloadsigF.
7368         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
7369         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
7370         (setpayloadsig_test_data): New array.
7371         (setpayloadsig_test): New function.
7372         (main): Call setpayloadsig_test.
7373         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
7374         setpayloadsigf and setpayloadsigl.
7375         * manual/libm-err-tab.pl: Update comment on interfaces without
7376         ulps tabulated.
7377         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
7378         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
7379         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
7380         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
7381         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
7382         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
7383         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7384         setpayloadsig.
7385         (CFLAGS-nldbl-setpayloadsig.c): New variable.
7386         * sysdeps/nacl/libm.abilist: Update.
7387         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7388         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7389         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7390         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7391         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7392         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7393         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7394         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7395         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7396         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7397         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7398         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7400         Likewise.
7401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7402         Likewise.
7403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7404         Likewise.
7405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7406         Likewise.
7407         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7408         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7409         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7410         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7411         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7413         Likewise.
7414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7415         Likewise.
7416         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7417         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7418         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7420         * scripts/build-many-glibcs.py: Import json module.
7421         (Context.__init__): Take replace_sources argument.  Load
7422         versions.json.
7423         (Context.load_versions_json): New function.
7424         (Context.store_json): Likewise.
7425         (Context.store_versions_json): Likewise.
7426         (Context.set_component_version): Likewise.
7427         (Context.checkout): Update versions.json.  Check for and handle
7428         changes of version.  Prefer previously explicitly specified
7429         version to default version.
7430         (Context.checkout_vcs): Return a revision identifier.
7431         (Context.git_checkout): Likewise.
7432         (Context.gcc_checkout): Likewise.
7433         (get_parser): Add --replace-sources option.
7434         (main): Pass replace_sources argument to Context call.
7436 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7438         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
7439         * nptl/allocatestack.c (allocate_stack): Likewise.
7440         (__reclaim_stacks): Likewise.
7441         (setxid_signal_thread): Obtain pid through syscall.
7442         * nptl/nptl-init.c (sigcancel_handler): Likewise.
7443         (sighandle_setxid): Likewise.
7444         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
7445         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7446         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7447         Likewise.
7448         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7449         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
7450         comment.
7451         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
7452         * nptl/descr.h (struct pthread): Change comment about pid value.
7453         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
7454         pid assert.
7455         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
7456         Do not set pid value.
7457         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
7458         pid cache check.
7459         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
7460         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
7461         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
7462         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
7463         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
7464         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7465         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
7466         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
7467         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
7468         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
7469         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
7470         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7471         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
7472         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7473         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
7474         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
7475         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7476         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
7477         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
7478         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
7479         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
7480         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7481         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
7482         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
7483         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
7484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7486         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7487         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7488         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7489         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
7490         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7491         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
7492         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7493         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
7494         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7495         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
7496         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7497         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
7498         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
7499         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7500         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
7501         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
7502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7504         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7505         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7506         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7507         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7508         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7509         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
7510         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7511         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
7512         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
7513         struct access.
7514         (clone_test): Remove function.
7515         (do_test): Rewrite to take in consideration pid is not cached anymore.
7517 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7519         * bits/flt-eval-method.h: New file.
7520         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
7521         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
7522         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
7523         * math/Makefile (headers): Add bits/flt-eval-method.h.
7524         * math/math.h: Include <bits/flt-eval-method.h>.
7525         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
7526         [__USE_ISOC99] (double_t): Likewise.
7527         * bits/mathdef.h (float_t): Remove.
7528         (double_t): Likewise.
7529         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
7530         (double_t): Likewise.
7531         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
7532         (double_t): Likewise.
7533         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
7534         (double_t): Likewise.
7535         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
7536         (double_t): Likewise.
7537         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
7538         (double_t): Likewise.
7539         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
7540         (double_t): Likewise.
7541         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
7542         (double_t): Likewise.
7543         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
7544         (double_t): Likewise.
7545         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
7546         (double_t): Likewise.
7547         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
7548         (double_t): Likewise.
7549         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
7550         (double_t): Likewise.
7551         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
7552         (double_t): Likewise.
7553         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
7554         (double_t): Likewise.
7556 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
7558         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
7559         instead of PIC.
7561 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7563         [BZ #20859]
7564         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
7565         (-0x7fffffff) instead of 0x80000001.
7566         * math/test-fp-ilogb-constants.c: New file.
7567         * math/Makefile (tests): Add test-fp-ilogb-constants.
7569 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
7571         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
7572         (_init): Use it in place of hardcoded R_MIPS_JALR.
7573         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
7574         (_init): Use it in place of hardcoded R_MIPS_JALR.
7575         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
7576         (_init): Use it in place of hardcoded R_MIPS_JALR.
7578 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7580         [BZ #20787]
7581         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
7582         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
7583         (double_t): Do not define to double if [__x86_64__] when
7584         __FLT_EVAL_METHOD__ is nonzero.
7585         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
7586         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
7587         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7588         test-flt-eval-method-387 and test-flt-eval-method-sse.
7589         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
7590         variable.
7591         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
7593 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
7595         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
7596         use of -fno-isolate-erroneous-paths options for tilepro.
7598 2016-11-23  Florian Weimer  <fweimer@redhat.com>
7600         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
7601         structure initialization is no longer needed.
7603 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7605         [BZ #20855]
7606         * bits/mathdef.h (float_t): Define to float.
7607         * math/test-flt-eval-method.c: New file.
7608         * math/Makefile (tests): Add test-flt-eval-method.
7609         (CFLAGS-test-flt-eval-method.c): New variable.
7611 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
7613         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
7614         and __fstatfs.  Make them aliases of __fstatfs64 if
7615         STATFS_IS_STATFS64 is set to non-zero.
7616         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
7617         and __statfs64.
7618         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
7619         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
7620         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
7621         for __statfs and statfs.
7622         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
7623         to 0.
7624         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
7625         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
7626         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
7627         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
7628         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
7629         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
7630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
7631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
7632         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
7633         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
7634         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
7635         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
7637 2016-11-22  Andreas Schwab  <schwab@suse.de>
7639         * misc/mkstemp.c: Include <fcntl.h>.
7640         * misc/mkstemps.c: Likewise.
7641         * misc/mkostemp.c: Likewise.
7642         * misc/mkostemps.c: Likewise.
7644 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
7646         [BZ #20847]
7647         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7648         array bounds.
7649         (__execvpe): Likewise.
7651 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
7653         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
7654         -fno-isolate-erroneous-paths options for tilepro.
7656 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
7658         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
7659         to 0 when in 32 bit mode.
7660         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
7661         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
7662         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
7663         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
7664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
7665         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
7666         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
7667         XSTAT_IS_XSTAT64 test.
7668         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
7669         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
7670         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
7671         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
7672         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
7673         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
7674         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
7675         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
7676         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
7677         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
7678         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
7680 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
7682         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7683         (setpayload): New declaration.
7684         * math/Versions (setpayload): New libm symbol at version
7685         GLIBC_2.25.
7686         (setpayloadf): Likewise.
7687         (setpayloadl): Likewise.
7688         * math/Makefile (libm-calls): Add s_setpayloadF.
7689         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
7690         test_Ff_b1_data.
7691         (RUN_TEST_Ff_b1): New macro.
7692         (RUN_TEST_LOOP_Ff_b1): Likewise.
7693         (canonicalize_test_data): Update type.
7694         (setpayload_test_data): New array.
7695         (setpayload_test): New function.
7696         (main): Call setpayload_test.
7697         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
7698         setpayloadf and setpayloadl.
7699         * manual/libm-err-tab.pl: Update comment on interfaces without
7700         ulps tabulated.
7701         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
7702         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
7703         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
7704         Likewise.
7705         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
7706         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
7707         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
7708         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
7709         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
7710         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
7711         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
7712         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
7713         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
7714         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7715         setpayload.
7716         (CFLAGS-nldbl-setpayload.c): New variable.
7717         * sysdeps/nacl/libm.abilist: Update.
7718         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7719         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7720         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7721         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7722         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7723         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7724         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7725         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7726         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7727         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7728         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7729         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7731         Likewise.
7732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7733         Likewise.
7734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7735         Likewise.
7736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7737         Likewise.
7738         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7739         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7740         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7741         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7742         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7744         Likewise.
7745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7746         Likewise.
7747         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7748         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7749         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7751 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7753         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
7754         * include/unistd.h: Extend comment about __access_noerrno return
7755         semantics.
7756         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
7757         (access_common): Correct typo for EACCES.
7759 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
7761         * sysdeps/tile/math-tests.h: New file.
7763         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
7764         (__old_set_dataplane): Rename from set_dataplane and make a
7765         compatibility symbol.
7766         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
7767         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
7768         sys/dataplane.h.
7770 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
7772         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
7773         script quote words in command output to log suitably for input to
7774         the shell.
7776 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
7777             Maciej W. Rozycki  <macro@imgtec.com>
7779         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
7780         `.Lno_weak_fn' label.
7781         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
7782         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
7784 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7785             Yury Norov  <ynorov@caviumnetworks.com>
7787         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
7788         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
7789         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7790         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
7791         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7792         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
7793         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7794         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7795         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7796         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
7797         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7798         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
7799         (sysdep_routines): Remove oldgetrlimit64.
7800         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
7801         (sysdep_routines): Likewise.
7802         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
7803         (sysdep_routines): Likewise.
7804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7805         [$(subdir) = resource] (sysdep_routines): Likewise.
7806         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
7807         [$(subdir) = resource] (sysdep_routines): Likewise.
7808         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
7809         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
7810         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
7811         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
7812         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
7813         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7814         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7815         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
7816         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
7817         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
7818         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
7819         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
7820         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
7821         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
7822         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
7823         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
7824         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
7825         setrlimit and getrlimit.
7826         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7827         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7828         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
7829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
7831         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7832         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
7833         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7834         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7835         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
7836         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
7837         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
7838         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
7839         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
7840         (__old_getrlimit64): Add compatibility symbol.
7841         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
7843 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
7845         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
7846         newly built gmp, mpfr and mpc.
7848         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
7850 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7852         * conform/Makefile (linknamespace-libs): Rename to
7853         linknamespace-libs-thr.
7854         (linknamespace-libs-posix): New variable.
7855         (linknamespace-libs-xsi): Likewise.
7856         (linknamespace-libs-XPG3): Include libcrypt.a.
7857         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
7858         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
7859         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
7860         (linknamespace-libs-XOPEN2K): Likewise.
7861         (linknamespace-libs-XOPEN2K8): Likewise.
7862         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
7864         [BZ #20829]
7865         * stdio-common/Versions (__snprintf): Add to version
7866         GLIBC_PRIVATE.
7867         * include/stdio.h (__snprintf): Use libc_hidden_proto.
7868         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
7869         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
7870         of snprintf.
7871         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7873 2016-11-16  Zack Weinberg  <zackw@panix.com>
7875         * string/string.h: Remove obsolete comment stating that
7876         strcoll_l and strxfrm_l have not yet been standardized.
7878 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7880         * hurd/hurd.h (__hurd_fail_noerrno): New function.
7881         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
7882         __access_noerrno.
7883         * io/access.c (__access_noerrno): New function.
7884         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
7885         (hurd_fail_seterrno): Likewise.
7886         (access_common): Likewise.
7887         (__access_noerrno): Likewise.
7888         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
7889         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
7890         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
7891         macro.
7893 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7895         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
7896         Only declare fpregs if [__SH_FPU_ANY__].
7898 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
7900         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
7901         Make code unconditional.
7902         [!(__SH4__ || __SH4A__)]: Remove conditional code.
7904 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
7906         * manual/sysinfo.texi (S_APPEND): Delete.
7907         (S_IMMUTABLE): Likewise.
7909 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
7910             Magnus Granberg  <zorry@gentoo.org>
7911             Mike Frysinger  <vapier@gentoo.org>
7913         [BZ #20662]
7914         * configure.ac (libc_cv_predef_stack_protector): Also check for
7915         __stack_chk_fail_local symbols.
7916         * configure: Regenerated.
7918 2016-11-15  Florian Weimer  <fweimer@redhat.com>
7920         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7921         (libc_hidden_def): Remove redefinition.
7922         (__sigsetjmp): Add hidden definition.
7923         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7924         (libc_hidden_def): Remove redefinition.
7925         (__sigsetjmp): Add hidden definition.
7927 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
7929         * scripts/build-many-glibcs.py (os.path): Do not import.
7930         (Context): Inherit explicitly from object.  Remove blank line
7931         between class and docstring.
7932         (Config): Likewise.
7933         (Glibc): Likewise.
7934         (Command): Likewise.
7935         (CommandList): Likewise.
7936         (Context.write_files): Store chmod mode in a variable.
7938         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
7939         LIBC_SLIBDIR_RTLDDIR for tilegx32.
7940         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
7942 2016-11-14  Zack Weinberg  <zackw@panix.com>
7944         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
7945         creating or re-creating it.
7947         * string/bits/string2.h: Fix typo in comment.
7949 2016-11-14  Zack Weinberg  <zackw@panix.com>
7951         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
7952         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
7953         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
7954         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
7955         of redirected function names.
7957         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
7958         as well.  Document that MESSAGE must be a single string literal.
7960 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
7962         * scripts/build-many-glibcs.py: New file.
7964         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
7965         (do_test): Disable -Wmaybe-uninitialized around uses of
7966         except_mask.
7968         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
7970 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
7972         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
7973         (atomic_store_release): Provide tilepro-specific implementations.
7975 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
7977         * math/math.h (__MATH_TG): New macro.
7978         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
7979         [__USE_ISOC99] (signbit): Likewise.
7980         [__USE_ISOC99] (isfinite): Likewise.
7981         [__USE_ISOC99] (isnan): Likewise.
7982         [__USE_ISOC99] (isinf): Likewise.
7983         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
7984         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
7985         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
7986         __MATH_TG and __MATH_EVAL_FMT2.
7987         * sysdeps/generic/math_private.h (fabs_tg): Define using
7988         __MATH_TG.
7989         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7990         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
7991         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
7992         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
7993         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
7994         macro.
7995         (__iscanonical): Likewise.
7996         (iscanonical): Define using __MATH_TG.
7998 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8000         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
8001         guards.
8003         * sysdeps/unix/sysv/linux/access.c: New file.
8004         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
8006 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
8008         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
8009         and __WORDSIZE32_PTRDIFF_LONG.
8011 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8013         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8015 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8017         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
8018         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
8019         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
8020         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
8021         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
8022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
8023         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
8024         * sysdeps/unix/sysv/linux/truncate.c: New file.
8025         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
8026         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8027         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
8028         Remove.
8029         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
8030         Likewise.
8032         * posix/tst-truncate-common.c: New file.
8033         * posix/tst-truncate.c: Use tst-truncate-common.c.
8034         * posix/tst-truncate64.c: Likewise and add LFS tests.
8035         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
8036         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
8037         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
8038         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
8039         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
8040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
8041         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
8042         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
8043         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
8044         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8045         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
8046         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
8047         Remove.
8048         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
8049         Likewise.
8051 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
8053         [BZ #20790]
8054         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
8055         to MAXLINESIZE.
8056         * sunrpc/bug20790.x: New file.
8057         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
8058         variable.
8059         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
8060         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
8062         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
8064         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
8066         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
8067         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
8068         calloc, realloc, free, memalign and __libc_memalign rather than
8069         making them optional.
8071         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
8072         for libc.so.
8074 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8076         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
8077         ptw-lseek64.
8078         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
8079         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
8080         Likewise.
8081         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
8082         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
8083         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
8084         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
8085         * sysdeps/unix/sysv/linux/lseek.c: New file.
8086         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
8087         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
8088         __libc_lseek64 from auto-generation.
8089         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8090         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
8092 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8094         * nptl/tst-basic1.c (tf, do_test): Use write_message.
8095         * nptl/tst-cleanup1.c (do_test): Likewise.
8096         * nptl/tst-cleanup3.c (do_test): Likewise.
8097         * nptl/tst-key1.c (do_test): Likewise.
8098         * nptl/tst-key2.c (tf, do_test): Likewise.
8099         * nptl/tst-key3.c (tf, do_test): Likewise.
8100         * nptl/tst-stdio1.c (do_test): Likewise.
8101         * nptl/tst-stdio2.c (do_test): Likewise.
8103         * nptl/tst-kill3.c (handler): Use write_message in place of write.
8104         * nptl/tst-kill6.c (handler): Likewise.
8105         * nptl/tst-tls2.c (CB): Likewise.
8106         * nptl/tst-tls3.c (CB): Likewise.
8108 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
8110         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
8112 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
8113             Steve Ellcey  <sellcey@caviumnetworks.com>
8115         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
8116           __ASSUME_ST_INO_64_BIT as 0
8117         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
8118         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
8119           over the code where __ASSUME_ST_INO_64_BIT is used.
8120         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
8121         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
8122         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8124 2016-11-07  Florian Weimer  <fweimer@redhat.com>
8126         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8127         Document ABI exposure of the __kind offset.
8128         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8129         Mention reason for the __kind offset exposure in the ABI.
8130         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8131         Likewise.
8132         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8133         Likewise.
8134         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8135         Likewise.
8136         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
8137         (struct __pthread_mutex_s): Likewise.
8138         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8139         Likewise.
8140         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8141         Likewise.
8142         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8143         Likewise.
8144         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8145         Likewise.
8146         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8147         Likewise.
8148         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8149         Likewise.
8150         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8151         (struct __pthread_mutex_s): Likewise.
8152         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8153         (struct __pthread_mutex_s): Likewise.
8154         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
8155         Likewise.
8157 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
8159         * test-skeleton.c: Document do_test usage.
8161 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
8163         * iconv/gconv.h (__gconv_info): Define __data element using a
8164         zero-length array.
8166 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
8168         * math/test-tgmath2.c: Split up test function.
8170 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8172         * Rules (tests-expected): New variable, depending on
8173         $(run-built-tests).
8174         (tests): Pass $(tests-expected) to merge-test-results.sh, not
8175         $(tests).
8177         * Rules [$(run-built-tests) = no] (tests): Do not depend on
8178         $(tests-unsupported).
8180 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8182         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8183         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
8185 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8187         [BZ #20768]
8188         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
8189         __fegetenv instead of fegetenv.
8191         [BZ #14139]
8192         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
8193         (find_files): Obtain platform name from libm-test-ulps-name and
8194         store in %pplatforms.
8195         (canonicalize_platform): Remove.
8196         (print_platforms): Use $pplatforms directly.
8197         (by_platforms): Do not allow for platforms missing from
8198         %pplatforms.
8199         * sysdeps/aarch64/libm-test-ulps-name: New file.
8200         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
8201         * sysdeps/arm/libm-test-ulps-name: Likewise.
8202         * sysdeps/generic/libm-test-ulps-name: Likewise.
8203         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
8204         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
8205         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
8206         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
8207         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
8208         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
8209         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
8210         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
8211         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
8212         * sysdeps/nios2/libm-test-ulps-name: Likewise.
8213         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
8214         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
8215         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
8216         * sysdeps/sh/libm-test-ulps-name: Likewise.
8217         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
8218         * sysdeps/tile/libm-test-ulps-name: Likewise.
8219         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
8221         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
8223         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
8224         (test-xfail-check-execstack): New variable.
8226         * sysdeps/mips/localplt.data: New file.
8228 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
8229             Steve Ellcey  <sellcey@caviumnetworks.com>
8231         * bits/wordsize.h: Add documentation.
8232         * sysdeps/aarch64/bits/wordsize.h : New file
8233         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
8234         definitions.
8235         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
8236         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
8237         with #if instead of #ifdef.
8238         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
8239         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
8240         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
8241         Add or change defines.
8242         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
8243         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8244         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
8245         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
8246         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8247         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8248         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
8249         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
8250         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
8251         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8252         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
8253         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
8254         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
8255         * sysdeps/x86/bits/wordsize.h: Likewise.
8257 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
8258             Kevin Petit  <kevin.petit@arm.com>
8260         * sysdeps/aarch64/memchr.S (__memchr): New file.
8262 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8264         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
8266 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
8268         [BZ #19398]
8269         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
8270         $(linknamespace-symlists-tests).
8272 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
8274         * time/tst-strptime2.c: Ignore -Wformat-length warning.
8276 2016-11-02  Florian Weimer  <fweimer@redhat.com>
8277             Carlos O'Donell  <carlos@redhat.com>
8279         [Bug #20729]
8280         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
8281         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
8282         for -Os related change.
8284 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
8286         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
8288 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
8290         [BZ #19673]
8291         * manual/math.texi (Exponents and Logarithms): Correct description
8292         of clog10.
8294 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
8296         [Bz #20729]
8297         * locale/weight.h: Include libc-internal.h.
8298         * locale/weightwc.h: Likewise.
8299         * nptl/nptl_dbP.h: Likewise.
8301 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
8303         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
8304         when it is MACH_PORT_NULL.
8306 2016-10-31  Andreas Schwab  <schwab@suse.de>
8308         [BZ #20707]
8309         * posix/glob.c (glob): Initialize pglob before checking for
8310         GLOB_BRACE.  Don't call glob recursively if pattern contains no
8311         valid brace expression despite GLOB_BRACE.
8312         * posix/globtest.sh: Test it.
8314 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8316         [BZ #20729]
8317         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
8318         Define.
8319         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
8320         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
8321         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
8322         for seq2.back_us and seq1.back_us only for -Os compiles.
8323         * locale/weightwc.h (findix): Likewise.
8324         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
8325         DB_GET_FIELD_ADDRESS only for -Os compiles.
8326         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
8327         for slen only for -Os compiles.
8328         * string/strcoll_l.c (get_next_seq): Ignore
8329         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
8330         for -Os compiles.
8332         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
8333         * include/crypt.h: New file.
8335 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8337         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
8338         from test-skeleton.c.
8339         (statclass): Replace calls to write with calls to write_message.
8341 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8343         * math/math.h
8344         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
8345         New macro.
8346         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
8347         Likewise.
8348         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
8349         Likewise.
8350         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
8351         SNANL.
8352         * math/test-double.h (snan_value_MACRO): New macro.
8353         * math/test-float.h (snan_value_MACRO): Likewise.
8354         * math/test-ldouble.h (snan_value_MACRO): Likewise.
8355         * math/libm-test.inc (issignaling_test_data): Add tests of
8356         snan_value_MACRO.
8358 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8360         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
8361         behavior when eliding a lock not held by the current thread.
8362         * sysdeps/powerpc/nptl/elide.h: Likewise.
8364 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8366         [BZ #20728]
8367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
8368         branch to _exit() by a function call.
8370 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8372         * malloc/malloc.c: Update chunk layout comments.
8373         (chunk_main_arena): Update comment.
8375 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8377         * crypt/sha256.c, crypt/sha256-block.c,
8378         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
8379         sha256_process_block to __sha256_process_block.
8380         * crypt/sha512.c, crypt/sha512-block.c,
8381         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
8382         sha512_process_block to __sha512_process_block.
8384 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8386         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
8388         * math/test-nan-overflow.c: Include stdlib.h for malloc.
8390 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
8392         [BZ #20019]
8393         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
8394         definition in unrelocated shared library.
8395         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8397 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8399         [BZ #20729]
8400         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
8401         * sysdeps/unix/sysv/linux/i386/Makefile
8402         (uses-6-syscall-arguments): Define.
8403         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
8404         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
8405         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
8406         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
8407         Likewise.
8408         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
8409         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
8410         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
8411         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
8412         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
8413         (CFLAGS-fallocate64.os): Likewise.
8414         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
8415         (CFLAGS-pthread_rwlock_timedrdlock.os)
8416         (CFLAGS-pthread_rwlock_timedwrlock.o)
8417         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
8418         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
8419         (CFLAGS-sem_timedwait.os): Likewise.
8421 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8423         * elf/tst-linkall-static.c: New file.
8424         * elf/Makefile (tests-static): Add tst-linkall-static.
8425         (tst-linkall-static): Link against static libraries.
8427 2016-10-27  Florian Weimer  <fweimer@redhat.com>
8429         * malloc/malloc.c (sysmalloc): Initialize previous size field of
8430         mmaped chunks.
8432 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8434         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
8435         members to mchunk_prev_size, mchunk_size.
8436         (chunk_main_arena): Reverse sense and rename from
8437         chunk_non_main_arena.
8438         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
8439         mchunk_size instead of size.
8440         (set_non_main_arena): Define.
8441         (chunksize): Use chunksize_nomask instead of direct member access.
8442         (chunksize_nomask): Define.
8443         (next_chunk): Use chunksize instead of direct member access.
8444         (prev_size, set_prev_size): Define.
8445         (prev_chunk): Use prev_size instead of direct member access.
8446         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
8447         (inuse_bit_at_offset, set_inuse_bit_at_offset)
8448         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
8449         (mchunk_prev_size, mchunk_size): Poison tokens.
8450         (unlink): Use chunksize_nomask, prev_size accessors.
8451         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
8452         (do_check_free_chunk): Use prev_size accessor.
8453         (sysmalloc): Use set_prev_size, set_head accessors.
8454         (munmap_chunk, mremap_chunk): Use prev_size accessor.
8455         (__libc_free): Use chunksize_nomask accessor.
8456         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
8457         chunk_main_arena accessors.
8458         (_int_free): Use chunksize_nomask, prev_size accessors.
8459         (malloc_consolidate): Use chunksize, prev_size accessors.
8460         (_int_realloc): Use chunksize_nomask accessor.
8461         (_int_memalign): Use set_prev_size accessor.
8462         (__malloc_info): Use chunksize_nomask accessor.
8463         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
8464         accessors.
8465         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
8466         (heap_trim): Use chunksize_nomask, prev_size accessors.
8468 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8470         [BZ #19380]
8471         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
8472         for inexact results.
8473         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
8474         of inexact result where mpfr_subnormalize is the only inexact
8475         step.
8476         * stdlib/tst-strtod-round-data.h: Regenerated.
8477         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
8478         Define to 0.
8479         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
8481 2016-10-27  David S. Miller  <davem@davemloft.net>
8483         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
8485 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8487         * malloc/malloc.c (do_set_mallopt_check): New function.
8488         (do_set_mmap_threshold): Likewise.
8489         (do_set_mmaps_max): Likewise.
8490         (do_set_top_pad): Likewise.
8491         (do_set_perturb_byte): Likewise.
8492         (do_set_trim_threshold): Likewise.
8493         (do_set_arena_max): Likewise.
8494         (do_set_arena_test): Likewise.
8495         (__libc_mallopt): Use them.
8497 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
8499         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8500         (canonicalize): New declaration.
8501         * math/Versions (canonicalize): New libm symbol at version
8502         GLIBC_2.25.
8503         (canonicalizef): Likewise.
8504         (canonicalizel): Likewise.
8505         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
8506         * math/s_canonicalize_template.c: New file.
8507         * math/libm-test.inc: Update comment on functions tested and
8508         testing of NaN payloads.
8509         (TEST_NAN_PAYLOAD): New macro.
8510         (NO_TEST_INLINE): Update value.
8511         (XFAIL_TEST): Likewise.
8512         (ERRNO_UNCHANGED): Likewise.
8513         (ERRNO_EDOM): Likewise.
8514         (ERRNO_ERANGE): Likewise.
8515         (IGNORE_RESULT): Likewise.
8516         (NON_FINITE): Likewise.
8517         (TEST_SNAN): Likewise.
8518         (NO_TEST_MATHVEC): Likewise.
8519         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
8520         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
8521         (struct test_Ffp_b1_data): New type.
8522         (RUN_TEST_Ffp_b1): New macro.
8523         (RUN_TEST_LOOP_Ffp_b1): Likewise.
8524         (canonicalize_test_data): New array.
8525         (canonicalize_test): New function.
8526         (main): Call canonicalize_test.
8527         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
8528         canonicalizef and canonicalizel.
8529         * manual/libm-err-tab.pl: Update comment on interfaces without
8530         ulps tabulated.
8531         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
8532         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
8533         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8534         canonicalize.
8535         (CFLAGS-nldbl-canonicalize.c): New variable.
8536         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
8537         to ...
8538         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
8539         ... here.
8540         (do_test): Also test canonicalizel.
8541         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
8542         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
8543         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
8544         file.
8545         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
8546         Use libm_hidden_def.
8547         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
8548         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
8549         (do_test): Also test canonicalizel.
8550         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
8551         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
8552         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
8553         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
8554         libm_hidden_def.
8555         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
8556         macro.
8557         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
8558         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
8559         * sysdeps/nacl/libm.abilist: Update.
8560         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8561         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8562         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8563         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8564         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8565         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8566         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8567         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8568         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8569         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8570         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8571         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8573         Likewise.
8574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8575         Likewise.
8576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8577         Likewise.
8578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8579         Likewise.
8580         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8581         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8582         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8583         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8584         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8586         Likewise.
8587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8588         Likewise.
8589         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8590         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8591         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8593         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
8594         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8595         getpayload.
8596         (CFLAGS-nldbl-getpayload.c): New variable.
8598 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8600         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
8601         integer from the format string.
8603 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8605         [BZ #19473]
8606         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
8607         declarations.
8608         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
8609         weak aliases.
8610         * malloc/hooks.c (__malloc_get_state): Remove definition.
8611         (malloc_get_state): New stub implementation as
8612         compatibility symbol.
8613         (malloc_set_state): Rename from __malloc_set_state.  Turn into
8614         compat symbol.
8615         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
8616         malloc_set_state.
8617         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
8619 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8621         * iconvdata/iso646.c (enum variant): Drop illegal_var.
8622         (names): Turn into concatenation of strings.
8623         (gconv_init): Adapt iteration over names.
8625 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8627         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
8628         make const.
8629         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
8630         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
8631         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
8632         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
8633         character in sbconv.
8634         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
8635         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
8636         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
8638 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8640         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
8642         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
8643         (M_TRIM_THRESHOLD): Likewise.
8645         * manual/memory.texi (M_ARENA_TEST): Add documentation.
8646         (M_ARENA_MAX): Likewise.
8647         * malloc/malloc.c: Remove obsolete comment.
8649         * manual/memory.texi: Add environment variable alternatives to
8650         setting mallopt parameters.
8652 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
8654         * include/atomic.h
8655         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
8656         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
8658 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8660         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
8661         * stdlib/tst-strfrom.h: New file.
8662         * stdlib/tst-strfrom.c: New file.
8663         * stdlib/tst-strfrom-locale.c: New file.
8665         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
8666         * stdlib/bug-strtod2.c: Likewise.
8667         * stdlib/tst-strtod-round-skeleton.c: Likewise.
8668         * stdlib/tst-strtod6.c: Likewise.
8669         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
8671 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8673         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
8674         * manual/arith.texi: Document strfromd, strfromf, strfroml.
8675         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
8676         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
8677         * stdlib/stdlib.h (strfromd): New declaration.
8678         (strfromf): Likewise.
8679         (strfroml): Likewise.
8680         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
8681         strfrom.
8682         * stdlib/strfromd.c: New file.
8683         * stdlib/strfromf.c: Likewise.
8684         * stdlib/strfroml.c: Likewise.
8685         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
8686         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
8687         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
8688         * sysdeps/arm/nacl/libc.abilist: Update.
8689         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8690         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8691         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8692         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8693         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8694         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8695         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8696         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8697         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8698         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8699         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8700         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8701         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8702         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
8704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8707         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8708         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8709         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8710         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8711         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8714         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8715         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8716         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8718 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
8720         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
8721         instead of cmpli.
8722         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
8723         instead of cmpli.
8725 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
8727         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
8728         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
8729         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
8730         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8731         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8732         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8734 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8736         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
8737         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8738         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
8739         SYSCALL_LL64_PRW.
8740         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8741         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
8742         __ASSUME_PRW_DUMMY_ARG.
8743         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
8744         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8745         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8746         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8747         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
8748         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
8750 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
8752         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
8754 2016-10-22  Florian Weimer  <fweimer@redhat.com>
8756         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
8757         "C++", to override a potential extern "C" directive around the
8758         header file inclusion.
8760 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
8762         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
8764 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8766         * sysdeps/powerpc/fpu/fenv_private.h:
8767         (_FPU_MASK_ALL): Rename to...
8768         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
8769         XE FPSCR bits.
8771         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
8773         (_FPU_MASK_ROUNDING): Rename to...
8774         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
8775         NI bits.
8777         (_FPU_MASK_EXCEPT_ROUND): Rename to...
8778         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
8779         bits and rounding bits.
8781         (__libc_feholdbits_ppc): New inline function to mask, set,
8782         and pontentially clear FSPCR bits, and change MSR[FE] bits.
8783         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
8784         (libc_feholdexcept_setround_ppc): Likewise.
8786         (__libc_femergeenv_ppc): New function to dynamically mask both
8787         old and new FP environments and merge.
8788         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
8789         (libc_feresetround_ppc): Likewise.
8790         (libc_feupdateenv_test_ppc): Likewise.
8791         (libc_feupdateenv_ppc): Likewise.
8793         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
8794         of ISA RN bits, and update macro names.
8795         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
8796         effectively the same as the previously mentioned function.
8798         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
8799         usage with fe_resetround_ppc.
8801         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
8802         to be used.
8803         (libc_feholdexcept_setround_ctxf): Likewise.
8804         (libc_feholdexcept_setround_ctxl): Likewise.
8806 2016-10-21  Florian Weimer  <fweimer@redhat.com>
8808         [BZ #20715]
8809         * math/math.h [__cplusplus] (iszero): Define as function template.
8810         * math/Makefile [CXX] (tests): Add test-math-iszero.
8811         (CFLAGS-test-math-iszero.cc): Set.
8812         * math/test-math-iszero.cc: New file.
8814 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
8816         [BZ #20660]
8817         * sysdeps/arm/e_sqrt.c: New file.
8818         * sysdeps/arm/e_sqrtf.c: Likewise.
8820 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
8822         [BZ #20718]
8823         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
8824         not use floating-point comparisons to test sign.
8825         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
8826         Likewise.
8828         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8829         (getpayload): New declaration.
8830         * math/Versions (getpayload): New libm symbol at version
8831         GLIBC_2.25.
8832         (getpayloadf): Likewise.
8833         (getpayloadl): Likewise.
8834         * math/Makefile (libm-calls): Add s_getpayloadF.
8835         * math/libm-test.inc: Include <nan-high-order-bit.h>.
8836         (struct test_f_f_data): Add comment.
8837         (RUN_TEST_fp_f): New macro.
8838         (RUN_TEST_LOOP_fp_f): Likewise.
8839         (getpayload_test_data): New array.
8840         (getpayload_test): New function.
8841         (main): Call getpayload_test.
8842         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
8843         descriptor.
8844         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
8845         getpayloadf and getpayloadl.
8846         * manual/libm-err-tab.pl: Update comment on interfaces without
8847         ulps tabulated.
8848         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
8849         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
8850         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
8851         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
8852         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
8853         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
8854         * sysdeps/nacl/libm.abilist: Update.
8855         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8856         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8857         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8858         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8859         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8860         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8861         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8862         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8863         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8864         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8865         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8866         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8868         Likewise.
8869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8870         Likewise.
8871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8872         Likewise.
8873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8874         Likewise.
8875         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8876         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8877         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8878         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8879         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8881         Likewise.
8882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8883         Likewise.
8884         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8885         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8886         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8888 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8890         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
8891         tst-fallocate{64}.
8892         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
8893         on syscall return.
8895 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
8897         [BZ #20689]
8898         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
8899         usable.
8901 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
8903         * sysdeps/generic/nan-high-order-bit.h: New file.
8904         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
8905         * sysdeps/mips/nan-high-order-bit.h: Likewise.
8906         * sysdeps/hppa/math_private.h: Remove file.
8907         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
8908         not define here.
8909         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
8910         <nan-high-order-bit.h>.
8911         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8912         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8913         <nan-high-order-bit.h>.
8914         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8915         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8916         <nan-high-order-bit.h>.
8917         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8918         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
8919         <nan-high-order-bit.h>.
8920         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8921         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8922         <nan-high-order-bit.h>.
8923         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8924         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8925         <nan-high-order-bit.h>.
8926         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8927         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
8928         <nan-high-order-bit.h>.
8929         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8930         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
8931         <nan-high-order-bit.h>.
8932         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8933         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
8934         <nan-high-order-bit.h>.
8935         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8936         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
8937         <nan-high-order-bit.h>.
8938         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8939         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8940         <nan-high-order-bit.h>.
8941         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8942         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8943         <nan-high-order-bit.h>.
8944         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8945         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
8946         <nan-high-order-bit.h>.
8947         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8948         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
8949         <nan-high-order-bit.h>.
8950         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8951         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
8952         <nan-high-order-bit.h>.
8953         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8954         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
8955         <nan-high-order-bit.h>.
8956         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8957         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
8958         <nan-high-order-bit.h>.
8959         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8960         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
8961         <nan-high-order-bit.h>.
8962         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8964 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8966         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
8968 2016-09-22  John David Anglin  <dave.anglin@bell.net>
8970         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
8971         abort-instr.h.
8972         (EFAULT): Remove conditional define.
8973         (ENOSYS): Likewise.
8974         (atomic_compare_and_exchange_val_acq): Use instruction nullification
8975         instead of conditional branch instructions.
8977 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
8979         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8980         (totalordermag): New declaration.
8981         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
8982         New macro.
8983         * math/Versions (totalordermag): New libm symbol at version
8984         GLIBC_2.25.
8985         (totalordermagf): Likewise.
8986         (totalordermagl): Likewise.
8987         * math/Makefile (libm-calls): Add s_totalordermagF.
8988         * math/libm-test.inc (totalordermag_test_data): New array.
8989         (totalordermag_test): New function.
8990         (main): Call totalordermag_test.
8991         * math/test-tgmath.c (NCALLS): Increase to 125.
8992         (F(compile_test)): Call totalordermag.
8993         (F(totalordermag)): New function.
8994         * manual/arith.texi (FP Comparison Functions): Document
8995         totalordermag, totalordermagf and totalordermagl.
8996         * manual/libm-err-tab.pl: Update comment on interfaces without
8997         ulps tabulated.
8998         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
8999         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
9000         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
9001         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
9002         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
9003         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
9004         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
9005         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9006         totalordermag.
9007         (CFLAGS-nldbl-totalordermag.c): New variable.
9008         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
9009         (do_test): Also test totalordermagl.
9010         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
9011         Likewise.
9012         * sysdeps/nacl/libm.abilist: Update.
9013         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9014         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9015         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9016         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9017         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9018         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9019         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9020         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9021         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9022         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9023         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9024         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9026         Likewise.
9027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9028         Likewise.
9029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9030         Likewise.
9031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9032         Likewise.
9033         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9034         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9035         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9036         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9037         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9039         Likewise.
9040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9041         Likewise.
9042         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9043         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9044         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9046 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
9048         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
9049         boolean.
9051 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
9053         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
9054         raising FE_INVALID with feraisexcept in case where part of
9055         argument is infinite, subtract that part of argument from itself.
9056         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
9057         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
9058         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9060 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9062         * math/libm-test.inc (totalorder_test_data): Add more tests.
9064 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9066         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
9067         Undefine weak_alias and add a comment why mips64 require
9068         versioning.
9070 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
9072         [BZ #20647]
9073         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
9074         maximum CPUID level is less than 2.
9076 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9078         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9079         (totalorder): New declaration.
9080         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
9081         New macro.
9082         * math/Versions (totalorder): New libm symbol at version
9083         GLIBC_2.25.
9084         (totalorderf): Likewise.
9085         (totalorderl): Likewise.
9086         * math/Makefile (libm-calls): Add s_totalorderF.
9087         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
9088         string.
9089         * math/libm-test.inc (PAYLOAD_DIG): New macro.
9090         (qnan_value_pl): Likewise.
9091         (snan_value_pl): Likewise.
9092         (qnan_value): Define using qnan_value_pl.
9093         (snan_value): Define using snan_value_pl.
9094         (struct test_ff_i_data): Add comment about which tests use this
9095         structure.
9096         (RUN_TEST_ff_b): New macro.
9097         (RUN_TEST_LOOP_ff_b): Likewise.
9098         (totalorder_test_data): New array.
9099         (totalorder_test): New function.
9100         (main): Call totalorder_test.
9101         * math/test-tgmath.c (NCALLS): Increase to 122.
9102         (F(compile_test)): Call totalorder.
9103         (F(totalorder)): New function.
9104         * manual/arith.texi (FP Comparison Functions): Document
9105         totalorder, totalorderf and totalorderl.
9106         * manual/libm-err-tab.pl: Update comment on interfaces without
9107         ulps tabulated.
9108         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
9109         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
9110         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
9111         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
9112         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
9113         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
9114         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
9115         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9116         totalorder.
9117         (CFLAGS-nldbl-totalorder.c): New variable.
9118         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
9119         file.
9120         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9121         Add test-totalorderl-ldbl-128ibm.
9122         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
9123         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
9124         test-totalorderl-ldbl-96.
9125         * sysdeps/nacl/libm.abilist: Update.
9126         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9127         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9128         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9129         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9130         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9131         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9132         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9133         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9134         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9135         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9136         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9137         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9139         Likewise.
9140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9141         Likewise.
9142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9143         Likewise.
9144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9145         Likewise.
9146         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9147         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9148         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9149         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9150         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9152         Likewise.
9153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9154         Likewise.
9155         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9156         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9157         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9159 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9161         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
9162         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
9163         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
9164         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
9165         remove ENOSYS implementation.
9166         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
9167         Consolidate all Linux implementations.
9169 2016-10-11  Florian Weimer  <fweimer@redhat.com>
9171         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
9172         * resolv/herror.c (herror): Cast away const-ness.
9173         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
9174         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
9176 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
9178         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
9179         instead of M_NAN + M_NAN.
9180         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9182 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9184         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
9185         unused variable 'p'.
9187 2016-10-09  Alan Modra  <amodra@gmail.com>
9188             Andreas Schwab  <schwab@linux-m68k.org>
9190         [BZ #20554]
9191         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
9192         [PIC && !SHARED]: Set up PIC register for PLT call.
9194 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
9196         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
9197         conditional on value of [__FLT_EVAL_METHOD__].
9198         * math/test-iseqsig-excess-precision.c: New file.
9199         * math/Makefile (tests): Add test-iseqsig-excess-precision.
9201 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9203         * math/s_iseqsig_template.c: Include math-private.h.
9205         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
9206         * posix/tst-posix_fadvise.c: New file.
9207         * posix/tst-posix_fadvise64.c: Likewise.
9208         * posix/tst-posix_fadvise-common.c: Likewise.
9209         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9210         (__ASSUME_FADVISE64_64_6ARG): Define.
9211         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9212         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
9213         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9214         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
9215         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
9216         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
9217         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
9218         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9219         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
9220         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
9221         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
9222         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
9223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
9224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
9225         Likewise.
9226         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
9227         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
9228         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
9229         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9230         Alias to __posix_fadvise64_l32.
9231         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
9232         Add compat definition to posix_fadvise64.
9233         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9234         Add versioned definition to posix_fadvise64.
9235         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
9236         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
9237         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
9238         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
9239         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
9241         * io/Makefile (tests): Add tst-posix_fallocate and
9242         tst-posix_fallocate64.
9243         * io/tst-posix_fallocate-common.c: New file.
9244         * io/tst-posix_fallocate.c: Likewise.
9245         * io/tst-posix_fallocate64.c: Likewise.
9246         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
9247         file.
9248         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
9249         Likewise.
9250         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
9251         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
9252         Likewise.
9253         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
9254         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
9255         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
9256         SYSCALL_LL to pass both offset and len arguments.
9257         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
9258         Likewise.
9259         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
9260         __libc_pwrite64 alias used by posix_fallocate64.
9262         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9263         tst-fallocate64.
9264         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9265         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9266         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9267         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9268         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9269         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9270         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9271         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9272         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9273         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9274         macro on offset argument.
9275         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9276         SYSCALL_LL64 on offset argument.
9278         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9279         tst-fallocate64.
9280         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9281         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9282         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9283         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9284         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9285         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9286         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9287         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9288         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9289         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9290         macro on offset argument.
9291         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9292         SYSCALL_LL64 on offset argument.
9293         * test-skeleton.c (FAIL_RET): Add macro.
9294         (FAIL_EXIT): Likewise.
9295         (FAIL_EXIT1): Likewise.
9296         (_FAIL): Likewise.
9298 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9300         [BZ #20629]
9301         resolv: Remove RES_USEBSTRING and its implementation.
9302         * resolv/resolv.h (RES_USEBSTRING): Remove.
9303         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
9304         (digitvalue, encode_bitstring, decode_bitstring): Remove.
9305         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
9306         (labellen): Remove extended label types support.
9307         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
9308         * resolv/res_init.c (res_setoptions): Likewise.
9309         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9311 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9313         resolv: Remove RES_NOIP6DOTINT and its implementation.
9314         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
9315         (RES_NOIP6DOTINT): Remove.
9316         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
9317         handling.
9318         * resolv/res_debug.c (p_option): Likewise.
9319         * resolv/res_init.c (res_setoptions): Likewise.
9320         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9322 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9324         resolv: Deprecate unimplemented flags.
9325         * misc/sys/cdefs.h (__glibc_macro_warning1)
9326         (__glibc_macro_warning): Define.
9327         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
9328         (RES_KEEPTSIG): Mark as deprecated.
9329         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
9330         RES_NOCHECKNAME, RES_KEEPTSIG.
9331         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
9333 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9335         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
9336         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
9337         Use strong_alias to create symbols for glibc verison 2.19.
9339 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9341         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
9343 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9345         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
9347 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9349         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
9351 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9353         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9354         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
9355         in header for using it as type for ifunc function because __GI_* symbols
9356         for ppc32 do not target the ifunc symbols.
9357         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9359 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9361         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
9362         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
9363         libc_ifunc_hidden_def.
9364         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
9365         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
9366         Redirect ifunced function in header for using it as type of ifunc'ed
9367         function. Redefine libc_hidden_def to use fallback non ifunc'ed
9368         function for __GI_* symbol.
9369         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
9370         * include/libc-symbols.h
9371         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
9373 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9375         [BZ #20478]
9376         * sysdeps/s390/multiarch/ifunc-resolve.h
9377         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
9378         to create ifunc symbols.
9379         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
9380         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
9381         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
9382         for using it as type for ifunc function.
9383         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9384         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9385         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9386         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9387         * sysdeps/s390/multiarch/strcat.c: Likewise.
9388         * sysdeps/s390/multiarch/strchr.c: Likewise.
9389         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9390         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9391         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9392         * sysdeps/s390/multiarch/strlen.c: Likewise.
9393         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9394         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9395         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9396         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9397         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9398         * sysdeps/s390/multiarch/strspn.c: Likewise.
9399         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9400         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9401         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9402         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9403         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9404         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9405         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9406         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
9407         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
9408         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9409         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
9410         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
9412 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9414         * include/libc-symbols.h (__ifunc_resolver):
9415         New macro is used by __ifunc* macros.
9416         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
9417         depending on HAVE_GCC_IFUNC.
9418         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
9419         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
9420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9421         Redirect ifunced function in header for using as type for ifunc function.
9422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
9423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
9424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
9425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
9426         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9427         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9428         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9429         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9430         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9431         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9432         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9433         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9434         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9435         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
9438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
9440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9441         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9442         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9443         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9444         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9445         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9446         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9447         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9448         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9449         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9450         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9451         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9452         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9453         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
9454         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
9456         Add libc_hidden_def() and use libc_ifunc_hidden() macro
9457         instead of libc_ifunc() macro.
9458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
9459         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9461 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9463         * config.h.in (HAVE_GCC_IFUNC): New undef.
9464         * configure.ac: Add check if gcc supports attribute ifunc feature.
9465         * configure: Regenerated.
9466         * manual/install.texi: Add recommendation for gcc with
9467         indirect-function support.
9468         * INSTALL: Regenerated.
9470 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
9472         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
9473         macro.
9474         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9475         (__iseqsig): New declaration.
9476         * math/s_iseqsig_template.c: New file.
9477         * math/Versions (__iseqsigf): New libm symbol at version
9478         GLIBC_2.25.
9479         (__iseqsig): Likewise.
9480         (__iseqsigl): Likewise.
9481         * math/libm-test.inc (iseqsig_test_data): New array.
9482         (iseqsig_test): New function.
9483         (main): Call iseqsig_test.
9484         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
9485         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
9486         * manual/libm-err-tab.pl: Update comment on interfaces without
9487         ulps tabulated.
9488         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
9489         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
9490         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
9491         * sysdeps/nacl/libm.abilist: Update.
9492         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9493         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9494         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9495         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9496         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9497         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9498         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9499         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9500         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9501         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9502         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9503         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9505         Likewise.
9506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9507         Likewise.
9508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9509         Likewise.
9510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9511         Likewise.
9512         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9513         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9514         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9515         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9516         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9518         Likewise.
9519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9520         Likewise.
9521         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9522         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9523         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9525 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9527         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
9528         do_sincos_2, sloww, sloww1): Update comments.
9530         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
9531         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
9533         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
9534         K boolean and rename it.
9535         (__sin): Adjust.
9536         (__cos): Adjust.
9538 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9539             Siddhesh Poyarekar  <siddhesh@sourceware.org>
9541         * manual/nss.texi: Fix typos in the manual.
9543 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9545         * manual/contrib.texi: Fix typos in the manual.
9547         * manual/maint.texi: Fix typos in the manual.
9549         * manual/install.texi: Fix typos in the manual.
9550         * INSTALL: Regenerated.
9552         * manual/lang.texi: Fix typos in the manual.
9554         * manual/probes.texi: Fix typos in the manual.
9556         * manual/threads.texi: Fix typos in the manual.
9558         * manual/debug.texi: Fix typos in the manual.
9560         * manual/crypt.texi: Fix typos in the manual.
9562         * manual/conf.texi: Fix typos in the manual.
9564         * manual/sysinfo.texi: Fix typos in the manual.
9566         * manual/users.texi: Fix typos in the manual.
9568         * manual/job.texi: Fix typos in the manual.
9570         * manual/process.texi: Fix typos in the manual.
9572         * manual/argp.texi: Fix typos in the manual.
9573         * manual/getopt.texi: Likewise.
9574         * manual/startup.texi: Likewise.
9576         * manual/signal.texi: Fix typos in the manual.
9578         * manual/setjmp.texi: Fix typos in the manual.
9580         * manual/resource.texi: Fix typos in the manual.
9582         * manual/time.texi: Fix typos in the manual.
9584         * manual/arith.texi: Fix typos in the manual.
9586         * manual/math.texi: Fix typos in the manual.
9588         * manual/syslog.texi: Fix typos in the manual.
9590         * manual/terminal.texi: Fix typos in the manual.
9592         * manual/socket.texi: Fix typos in the manual.
9594         * manual/filesys.texi: Fix typos in the manual.
9596         * manual/llio.texi: Fix typos in the manual.
9598         * manual/stdio.text: Fix typos in the manual.
9600 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9602         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
9603         instead of K1.
9605         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
9606         SHIFT_QUADRANT and make it bool.
9607         (do_sincos_2): Likewise.
9608         (sloww): Likewise.
9609         (sloww1): Likewise.
9610         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
9611         (__cos): Likewise.
9613 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9615         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9617 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
9619         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
9620         Define to __WORDSIZE, not conditional on [LONG_MAX ==
9621         0x7fffffffL].
9622         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9624 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9626         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
9627         inline by __inline__.
9628         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
9629         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
9630         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
9631         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
9632         sigset_t from signal.h.
9633         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
9634         which is already required.
9636 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
9638         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9640 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
9642         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
9643         (struct tcp_repair_window): New type.
9645 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9647         * libio/tst-memstream3.c: Include string.h.
9649 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9651         [BZ #18241]
9652         [BZ #20181]
9653         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
9654         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
9655         write position is at the end the buffer.
9656         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
9657         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
9658         (_IO_str_seekoff): Set correct offset from negative displacement and
9659         set EINVAL for invalid ones.
9660         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
9661         buffer length.
9662         (_IO_wstr_switch_to_get_mode): New function.
9663         (_IO_wstr_seekoff): Set correct offset from negative displacement and
9664         set EINVAL for invalid ones.
9665         * libio/tst-memstream3.c: New file.
9666         * libio/tst-wmemstream3.c: Likewise.
9667         * manual/examples/memstrm.c: Remove warning when priting size_t.
9669 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
9671         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
9672         macro to use __builtin_fma.
9673         * sysdeps/x86_64/fpu/dla.h: Remove file.
9675         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
9676         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
9677         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
9679 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
9681         [BZ #20292]
9682         * elf/Makefile (routines): Add dl-addr-obj.
9683         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
9684         tst-_dl_addr_inside_object.
9685         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
9686         [ifeq (yesyes,$(have-fpie)$(build-shared))]
9687         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
9688         [ifeq (yesyes,$(have-fpie)$(build-shared))]
9689         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
9690         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
9691         * elf/dl-open.c: Likewise.
9692         * elf/dl-addr-obj.c: New file.
9693         * elf/tst-_dl_addr_inside_object.c: New file.
9695 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
9697         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
9698         <bits/iscanonical.h>.
9699         * bits/iscanonical.h: New file.
9700         * math/s_iscanonicall.c: Likewise.
9701         * math/Versions (__iscanonicall): New libm symbol at version
9702         GLIBC_2.25.
9703         * math/libm-test.inc (iscanonical_test_data): New array.
9704         (iscanonical_test): New function.
9705         (main): Call iscanonical_test.
9706         * math/Makefile (headers): Add bits/iscanonical.h.
9707         (type-ldouble-routines): Add s_iscanonicall.
9708         * manual/arith.texi (Floating Point Classes): Document
9709         iscanonical.
9710         * manual/libm-err-tab.pl: Update comment on interfaces without
9711         ulps tabulated.
9712         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
9713         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
9714         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
9715         Likewise.
9716         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9717         test-iscanonical-ldbl-128ibm.
9718         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
9719         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
9720         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
9721         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
9722         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9723         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9724         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9726         Likewise.
9727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9728         Likewise.
9729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9730         Likewise.
9731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9732         Likewise.
9733         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9734         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9736 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9738         * string/bits/string3.h: Remove C++ style comments.
9740 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9742         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
9743         instead of ternary condition.
9744         (do_sincos_2): Likewise.
9745         (__sin): Likewise.
9746         (__cos): Likewise.
9747         (slow): Likewise.
9748         (sloww): Likewise.
9749         (sloww1): Likewise.
9750         (bsloww): Likewise.
9751         (bsloww1): Likewise.
9753         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
9754         instead of ternary condition.
9755         (do_sin_slow): Likewise.
9756         (do_sincos_1): Likewise.
9757         (do_sincos_2): Likewise.
9758         (__cos): Likewise.
9759         (sloww): Likewise.
9760         (sloww1): Likewise.
9761         (sloww2): Likewise.
9762         (bsloww): Likewise.
9763         (bsloww1): Likewise.
9764         (bsloww2): Likewise.
9766         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
9767         check from here...
9768         (slow2): ... and here...
9769         (__sin): ... to here.
9771 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
9773         * math/math.h
9774         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
9775         Cast argument to its own type.
9776         * math/test-iszero-excess-precision.c: New file.
9777         * math/Makefile (tests): Add test-iszero-excess-precision.
9778         (CFLAGS-test-iszero-excess-precision.c): New variable.
9780 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
9782         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
9783         field, add err field.
9784         (__spawni_child): Report error through err member instead of pipe.
9785         (__spawnix): Likewise.
9787 2016-09-28  Zack Weinberg  <zackw@panix.com>
9789         * scripts/check-installed-headers.sh: Generalize treatment of
9790         sys/elf.h to all target architectures.
9792         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
9793         deleted typedef ucontext_t.
9795 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9797         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
9798         (__INTERNAL_SYSCALL1): Likewise.
9799         (__INTERNAL_SYSCALL2): Likewise.
9800         (__INTERNAL_SYSCALL3): Likewise.
9801         (__INTERNAL_SYSCALL4): Likewise.
9802         (__INTERNAL_SYSCALL5): Likewise.
9803         (__INTERNAL_SYSCALL6): Likewise.
9804         (__INTERNAL_SYSCALL7): Likewise.
9805         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
9806         (__INTERNAL_SYSCALL_NARGS): Likewise.
9807         (__INTERNAL_SYSCALL_DISP): Likewise.
9808         (INTERNAL_SYSCALL_CALL): Likewise.
9809         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
9810         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
9811         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
9812         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
9813         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
9814         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
9815         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
9816         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
9817         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
9818         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
9819         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
9820         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
9821         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
9823 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
9825         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
9826         macro.
9827         * math/libm-test.inc (iszero_test_data): New array.
9828         (iszero_test): New function.
9829         (main): Call iszero_test.
9830         * manual/arith.texi (Floating Point Classes): Document iszero.
9831         * manual/libm-err-tab.pl: Update comment on interfaces without
9832         ulps tabulated.
9834 2016-09-23  Zack Weinberg  <zackw@panix.com>
9836         * scripts/check-installed-headers.sh: New script.
9837         * Rules: In each directory that defines header files to be installed,
9838         run check-installed-headers.sh on them as a special test.
9839         * Makefile: Likewise for the headers installed at top level.
9841         * include/aliases.h, include/alloca.h, include/argz.h
9842         * include/arpa/nameser.h, include/arpa/nameser_compat.h
9843         * include/elf.h, include/envz.h, include/err.h
9844         * include/execinfo.h, include/fpu_control.h, include/getopt.h
9845         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
9846         * include/link.h, include/malloc.h, include/mcheck.h
9847         * include/mntent.h, include/netinet/ether.h
9848         * include/nss.h, include/obstack.h, include/printf.h
9849         * include/pty.h, include/resolv.h, include/rpc/auth.h
9850         * include/rpc/auth_des.h, include/rpc/auth_unix.h
9851         * include/rpc/clnt.h, include/rpc/des_crypt.h
9852         * include/rpc/key_prot.h, include/rpc/netdb.h
9853         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
9854         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
9855         * include/rpc/rpc_msg.h, include/rpc/svc.h
9856         * include/rpc/svc_auth.h, include/rpc/xdr.h
9857         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
9858         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
9859         * include/rpcsvc/ypupd.h, include/shadow.h
9860         * include/stdio_ext.h, include/sys/epoll.h
9861         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
9862         * include/sys/prctl.h, include/sys/profil.h
9863         * include/sys/statfs.h, include/sys/sysctl.h
9864         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
9865         * sysdeps/arm/nacl/include/bits/setjmp.h
9866         * sysdeps/mips/include/sys/asm.h
9867         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
9868         * sysdeps/unix/sysv/linux/include/sys/timex.h
9869         * sysdeps/x86/fpu/include/bits/fenv.h:
9870         Add #ifndef _ISOMAC guard around internal declarations.
9871         Add multiple-inclusion guard if not already present.
9873 2016-09-23  Zack Weinberg  <zackw@panix.com>
9875         * sysdeps/generic/sys/ucontext.h
9876         * sysdeps/arm/sys/ucontext.h
9877         * sysdeps/i386/sys/ucontext.h
9878         * sysdeps/m68k/sys/ucontext.h
9879         * sysdeps/mips/sys/ucontext.h
9880         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
9881         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
9882         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
9883         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
9884         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
9885         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
9886         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
9887         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
9888         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
9889         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
9890         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
9891         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
9892         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
9893         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
9894         Include both bits/sigcontext.h and bits/sigstack.h.
9895         Fix grammar error in comment, if present.
9897         * bits/sigstack.h
9898         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
9899         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
9900         * sysdeps/unix/sysv/linux/bits/sigstack.h
9901         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
9902         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
9903         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
9904         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
9905         * bits/sigcontext.h
9906         * sysdeps/mach/hurd/i386/bits/sigcontext.h
9907         * sysdeps/unix/sysv/linux/bits/sigcontext.h
9908         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
9909         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
9910         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
9911         as well as signal.h, if this was not already allowed.  Request
9912         definition of size_t if necessary.  Minimize semantically-null
9913         differences across files.
9915 2016-09-23  Zack Weinberg  <zackw@panix.com>
9917         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
9918         Remove all logic conditional on __need macros.  Move all the
9919         conditionally defined types to their own headers...
9920         * time/bits/types/clock_t.h: Define clock_t here.
9921         * time/bits/types/clockid_t.h: Define clockid_t here.
9922         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
9923         * time/bits/types/struct_timespec.h: Define struct timespec here.
9924         * time/bits/types/struct_timeval.h: Define struct timeval here.
9925         * time/bits/types/struct_tm.h: Define struct tm here.
9926         * time/bits/types/time_t.h: Define time_t here.
9927         * time/bits/types/timer_t.h: Define timer_t here.
9928         * time/Makefile: Install the new headers.
9930         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
9931         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
9932         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
9933         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
9934         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
9935         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
9936         * sysdeps/unix/sysv/linux/bits/resource.h
9937         * sysdeps/unix/sysv/linux/bits/timex.h
9938         * sysdeps/unix/sysv/linux/mips/bits/resource.h
9939         * sysdeps/unix/sysv/linux/net/ppp_defs.h
9940         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
9941         * sysdeps/unix/sysv/linux/sys/acct.h
9942         * sysdeps/unix/sysv/linux/sys/timerfd.h
9943         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
9944         * time/sys/time.h, time/sys/timeb.h
9945         Use the new bits/types headers.
9947         * include/time.h: Remove __need logic.
9948         * include/bits/time.h
9949         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
9950         * include/bits/types/time_t.h, include/bits/types/timer_t.h
9951         * include/bits/types/struct_itimerspec.h
9952         * include/bits/types/struct_timespec.h
9953         * include/bits/types/struct_timeval.h
9954         * include/bits/types/struct_tm.h:
9955         New wrapper headers.
9957 2016-09-23  Zack Weinberg  <zackw@panix.com>
9959         * sysdeps/mach/hurd/net/if_ppp.h
9960         * sysdeps/unix/sysv/linux/net/if_ppp.h:
9961         Only define struct ifpppstatsreq and struct ifpppcstatsreq
9962         if __USE_MISC is defined, to ensure struct ifreq is declared.
9964         * inet/netinet/ether.h: Condition all function prototypes
9965         on __USE_MISC, to ensure struct ether_addr is declared.
9967         * socket/bits/types/struct_osockaddr.h: New header.
9968         * include/bits/types/struct_osockaddr.h: New wrapper.
9969         * socket/Makefile: Install the new header.
9970         * socket/sys/socket.h, inet/protocols/talkd.h:
9971         Refer to bits/types/struct_osockaddr.h for the definition of
9972         struct osockaddr.
9974 2016-09-23  Zack Weinberg  <zackw@panix.com>
9976         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
9977         * inet/protocols/routed.h, inet/protocols/talkd.h
9978         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
9979         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
9980         * sysdeps/generic/netinet/if_ether.h
9981         * sysdeps/generic/netinet/in_systm.h
9982         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
9983         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9984         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
9985         * sysdeps/mach/hurd/net/if_arp.h
9986         * sysdeps/mach/hurd/net/if_ppp.h
9987         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
9988         * sysdeps/unix/sysv/linux/bits/in.h
9989         * sysdeps/unix/sysv/linux/net/ethernet.h
9990         * sysdeps/unix/sysv/linux/net/if_arp.h
9991         * sysdeps/unix/sysv/linux/net/if_ppp.h
9992         * sysdeps/unix/sysv/linux/net/if_shaper.h
9993         * sysdeps/unix/sysv/linux/net/route.h
9994         * sysdeps/unix/sysv/linux/netinet/if_ether.h
9995         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9996         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9997         * sysdeps/unix/sysv/linux/netipx/ipx.h
9998         * sysdeps/unix/sysv/linux/sys/acct.h
9999         * include/arpa/nameser.h, include/resolv.h:
10000         Change all uses of u_char to unsigned char,
10001         u_short and ushort to unsigned short, u_int and uint to unsigned int,
10002         u_long and ulong to unsigned long, u_int8_t to uint8_t,
10003         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
10004         and u_int64_t and u_quad_t to uint64_t.
10006         * mach/sys/reboot.h: Remove two casts of integer literals
10007         to the types they already have.
10009         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
10010         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10011         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
10012         from referring to 'unsigned char' to 'uint8_t' for consistency with
10013         the macro definition below.
10015         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
10016         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
10017         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
10018         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
10019         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
10020         * sysdeps/unix/sysv/linux/sys/acct.h
10021         * include/arpa/nameser.h, include/resolv.h:
10022         Fix indentation disrupted by mechanical edits.
10024         * inet/protocols/talkd.h, resolv/arpa/nameser.h
10025         * sysdeps/generic/netinet/in_systm.h
10026         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10027         * sysdeps/gnu/netinet/udp.h
10028         * sysdeps/unix/sysv/linux/net/ethernet.h
10029         * sysdeps/unix/sysv/linux/net/if_arp.h
10030         * sysdeps/unix/sysv/linux/net/if_ppp.h
10031         * sysdeps/unix/sysv/linux/net/if_shaper.h
10032         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10033         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10034         * sysdeps/unix/sysv/linux/netipx/ipx.h
10035         * sysdeps/unix/sysv/linux/sys/acct.h
10036         Include stdint.h for uintNN_t definitions.
10037         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
10039 2016-09-23  Zack Weinberg  <zackw@panix.com>
10041         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
10042         * sysdeps/unix/sysv/linux/netrose/rose.h:
10043         Include sys/socket.h and netax25/ax25.h.
10045         * inet/netinet/icmp6.h, inet/netinet/ip6.h
10046         * resolv/arpa/nameser_compat.h:
10047         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
10049         * sysdeps/unix/sysv/linux/sys/quota.h:
10050         Use __caddr_t instead of caddr_t.
10051         * sysdeps/unix/sysv/linux/sys/timerfd.h:
10052         Use __clockid_t instead of clockid_t.
10054         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
10056         * argp/argp.h: Check whether _LIBC is defined before expanding it.
10057         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
10058         expanding it.
10060         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
10061         Define __glibc_c99_flexarr_available to 1 when the compiler
10062         supports C99-compatible flexible array members, 0 otherwise.
10063         * sysdeps/unix/sysv/linux/bits/socket.h
10064         * sysdeps/mach/hurd/bits/socket.h
10065         * bits/socket.h: Use __glibc_c99_flexarr_available in
10066         definitions of struct cmsghdr and CMSG_DATA.
10068 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10070         * manual/nss.texi (NSS Modules Interface): Adjust function return
10071         type to enum nss_status.  Document errnop argument.  Clarify
10072         h_errnop semantics.  Fix cross-reference formatting.
10073         (NSS Module Function Internals): Mention that *errnop needs to be
10074         set on failure, but not to zero.
10076 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10078         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
10079         (get_random_name): New functions.
10080         (check_wrapper_flags_mode): Use linkat to give the new file a name
10081         determined by get_random_name.
10082         (do_test): Add calls to test open64 and openat64.
10084 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10086         * test-skeleton.c: Remove #include <stdarg.h>.
10088 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
10090         [BZ #19826]
10091         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
10092         initialization of static TLS entries.
10093         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
10094         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10096 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10098         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
10099         _hurd_malloc_fork_prepare.
10100         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
10101         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
10102         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
10103         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
10104         (_hurd_fork_child_hook): Drop malloc_fork_child.
10105         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
10106         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
10107         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
10108         after locking locks (notably hurd_dtable_lock). Call
10109         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
10110         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
10111         __malloc_fork_unlock_child.
10112         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
10114 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
10116         * soft-fp/extendhftf2.c: New.
10117         * soft-fp/fixhfti.c: Likewise.
10118         * soft-fp/fixunshfti.c: Likewise.
10119         * soft-fp/floattihf.c: Likewise.
10120         * soft-fp/floatuntihf.c: Likewise.
10121         * soft-fp/half.h: Likewise.
10122         * soft-fp/trunctfhf2.c: Likewise.
10124 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
10126         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
10127         macro.
10128         * math/libm-test.inc (issubnormal_test_data): New array.
10129         (issubnormal_test): New function.
10130         * manual/arith.texi (Floating Point Classes): Document
10131         issubnormal.
10132         * manual/libm-err-tab.pl: Update comment on interfaces without
10133         ulps tabulated.
10135         * sysdeps/generic/stdint.h: Define
10136         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10137         <bits/libc-header-start.h> instead of including <features.h>.
10138         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
10139         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
10140         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
10141         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
10142         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
10143         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
10144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
10145         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
10146         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
10147         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
10148         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
10149         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
10150         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
10151         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
10152         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
10153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
10154         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
10155         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
10156         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
10157         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
10158         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
10159         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
10160         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
10161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
10162         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
10163         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
10164         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
10165         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
10166         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
10167         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
10168         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
10169         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
10170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
10171         * manual/arith.texi (Integers): Document these macros for types
10172         specified by width properties.
10173         * manual/lang.texi (Width of Type): Document these macros for
10174         other standard typedefs.
10175         * stdlib/tst-width-stdint.c: New file.
10176         * stdlib/Makefile (tests): Add tst-width-stdint.
10178 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10180         [BZ #20016]
10181         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
10182         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
10183         Move ...
10184         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
10185         ... here, as compatibility symbols in a new file.
10186         * resolv/Makefile (libresolv-routines): Add compat-hooks.
10187         * resolv/res_init.c (__res_vinit): Adjust member names.
10188         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
10189         * resolv/resolv.h (res_sendhookact, res_send_qhook)
10190         (res_send_rhook): Remove.
10191         (struct __res_state): Rename qhook, rhook members.
10193 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10195         malloc: Use __libc_lock wrappers.
10196         * malloc/arena.c (list_lock, free_list_lock): Define using
10197         __libc_lock_define_initialized.
10198         (arena_lock): Adjust formatting.
10199         * malloc/malloc.c (struct malloc_state): Define mutex using
10200         __libc_lock_define.
10201         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
10202         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
10203         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
10204         (mutex_unlock, mutex_trylock): Remove.
10205         (__pthread_initialize): Remove unused macro.
10206         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
10207         (mutex_unlock, mutex_trylock): Remove.
10209 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10211         [BZ #20592]
10212         Remove RR type classification macros.
10213         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
10214         (ns_t_udp_p, ns_t_xfr_p): Remove.
10216 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10218         Remove misleading version information.
10219         * resolv/arpa/nameser.h (__NAMESER): Remove.
10220         * resolv/arpa/nameser_compat.h (__BIND): Remove.
10222 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10224         Remove the always-defined BIND_4_COMPAT macro.
10225         * resolv/arpa/nameser.h: Unconditionally include
10226         <arpa/nameser_compat.h>.
10227         (BIND_4_COMPAT): Remove.
10228         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
10230 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10232         [BZ #20591]
10233         Remove obsolete DNSSEC support.
10234         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
10235         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
10236         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
10237         (ns_verify_tcp, ns_verify_tcp_init): Remove.
10238         (ns_cert_types): Add comment.
10239         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
10240         separately.
10241         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
10242         (dst_s_dns_key_id): Remove.
10243         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
10244         variables.
10246 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10248         [BZ #20524]
10249         * manual/string.texi (String/Array Comparison): Clarify the
10250         strverscmp behavior.
10252 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10254         * test-skeleton.c (xasprintf): Add function.
10255         * io/tst-open-tmpfile.c: New test.
10256         * io/Makefile (tests): Add it.
10258 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10260         Avoid running $(CXX) during build to obtain header file paths.
10261         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
10262         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
10263         * Makerules (cstdlib, cmath): Remove variables.  Use
10264         $(c++-cstdlib-header), $(c++-cmath-header) instead.
10265         * configure: Regenerate.
10267 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10269         * Makeconfig (all-object-suffixes): Include .op only if
10270         $(build-profile).
10272 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10274         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
10275         conditionals.  Do not define PATH_MAX.
10277 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10279         * posix/Makefile (tests): Add tst-spawn3.
10280         * posix/tst-spawn3.c: New file.
10281         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
10282         if it is already opened for open action.
10284         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
10285         all signals when executing the clone vfork child.
10286         (SIGALL_SET): Remove macro.
10288         * nptl/Makefile (tests): Add tst-exec5.
10289         * nptl/tst-exec5.c: New file.
10290         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
10291         asynchronous cancellation.
10293 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10295         * hurd/exc2signal.c: #include <hurd/signal.h>
10296         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
10297         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
10298         accordingly.
10299         * mach/mach_error.c (mach_error): Fix old-style function definition.
10300         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
10302 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10304         * math/Makefile (libm-calls): Remove s_nanF.
10305         (gen-libm-calls): Add s_nanF.
10307         * math/s_nan.c: Refactor into ...
10308         * math/s_nan_template.c: New file.
10310         * math/s_nanf.c: Removed.
10311         * math/s_nanl.c: Removed.
10312         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
10313         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
10315         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10316         (LDOUBLE_nanl_libm_version): New macro.
10318         * sysdeps/generic/math-type-macros-double.h:
10319         (M_STRTO_NAN): New macro.
10320         * sysdeps/generic/math-type-macros-float.h: Likewise.
10321         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10323         * sysdeps/generic/math-type-macros.h: Document
10324         M_STRTO_NAN.
10326 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10328         * math/s_nanf.c: Remove __nanf undef.
10329         * math/s_nan.c: Remove __nan undef.
10330         * math/s_nanl.c: Remove __nanl undef.
10332         * sysdeps/generic/math_private.h (__nan): Remove macro
10333         override.
10334         (__nanf): Likewise.
10335         (__nanl): Likewise.
10337 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10339         * math/Makefile (gen-all-calls): New variable.
10340         (generated): Replace gen-libm-calls with gen-all-calls.
10341         (gen-libm-templates.stmp): Likewise.  Also, ensure
10342         the output directory exists or is created and add
10343         dependency on the Makefile.
10344         (calls): Move s_ldexpF into gen-calls.
10345         (gen-calls): New variable.
10347         * math/s_ldexpf.c: Removed.
10348         * math/s_ldexpl.c: Removed.
10349         * math/s_ldexp.c: Refactored into ...
10350         * math/s_ldexp_template.c: New file.
10352         * sysdeps/generic/math-type-macros-double.h: Remove
10353         redundant fall-through definition of declare_mgen_alias.
10354         (declare_mgen_alias_2): New macro.
10356         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
10357         New macro for function aliased to two exported symbols.
10359         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
10360         new template file.
10361         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10363 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10365         * Makeconfig (all-object-suffixes): Remove .og.
10366         * Makerules (elide-routines.og): Remove.
10367         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
10368         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
10369         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
10371 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10373         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
10374         .os objects.
10376 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10378         [BZ #20615]
10379         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
10380         fpu directory by non-fpu.
10381         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
10382         on non-fpu directory from a fpu directory.
10384 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
10386         * include/limits.h: Define
10387         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10388         <bits/libc-header-start.h> instead of including <features.h>.
10389         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
10390         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
10391         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
10392         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
10393         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
10394         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
10395         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
10396         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
10397         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10398         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
10399         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
10400         * manual/lang.texi (Width of Type): Document these macros.
10401         * stdlib/tst-width.c: New file.
10402         * stdlib/Makefile (tests): Add tst-width.
10404 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10406         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
10407         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
10409 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10411         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
10412         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10413         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10415 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10417         [BZ #18243]
10418         * rt/Makefile (test): Add tst-shm-cancel.
10419         * rt/tst-shm-cancel.c: New file.
10420         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
10422         [BZ #18243]
10423         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
10424         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
10425         definition.
10426         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
10427         uncontended case.
10428         * nptl/sem_wait.c (__new_sem_wait): Likewise.
10429         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
10430         (tf): Fix check for uncontended case.
10431         (do_test): Likewise.
10432         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
10433         (tf): Fix check for uncontended case.
10434         (do_test): Likewise.
10435         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
10436         (tf): Fix check for uncontended case.
10437         (do_test): Likewise.
10438         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
10439         (tf): Fix check for uncontended case.
10440         (do_test): Likewise.
10442         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
10443         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
10445         [BZ #15765]
10446         * nptl/Makefile (tests): Add tst-sem16.
10447         * nptl/tst-sem16.c: New file.
10448         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
10450         * nptl/sem_open.c (sem_open): Init pad value to 0.
10451         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10452         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10454 2016-09-15  Florian Weimer  <fweimer@redhat.com>
10456         [BZ #20611]
10457         * inet/Makefile (routines): Add inet6_scopeid_pton.
10458         (tests): Add tst-inet6_scopeid_pton.
10459         * inet/inet6_scopeid_pton.c: New file.
10460         * inet/net-internal.h: Likewise.
10461         * inet/tst-inet6_scopeid_pton.c: New test.
10462         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
10463         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
10464         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10466 2016-09-14  Florian Weimer  <fweimer@redhat.com>
10468         Remove support for compiling wrappers with PTW.
10469         * sysdeps/nptl/Makeconfig: Drop ptw- support.
10470         * nptl/Makefile (pthread-compat-wrappers): Define.
10471         (libpthread-routines): Use pthread-compat-wrappers.
10472         * sysdeps/unix/sysv/linux/alpha/Makefile
10473         (libpthread-routines, libpthread-shared-only-routines): Remove
10474         ptw- prefix.
10475         * sysdeps/s390/nptl/Makefile
10476         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10477         * sysdeps/ia64/nptl/Makefile
10478         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10479         * sysdeps/nacl/Makefile (libpthread-routines): Use
10480         pthread-compat-wrappers to filter the routines list instead of the
10481         ptw- prefix.
10483 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10485         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
10486         with L() and remove explicit suffix, convert real literals
10487         which can be equivalentally substituted with integers, and
10488         transform -L(x) to L(-x).
10490         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10491         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10492         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10493         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10494         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10495         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10496         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10497         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10498         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10499         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10500         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10501         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10502         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10503         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10504         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10505         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10506         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10507         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10508         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10509         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10510         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10511         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10512         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10513         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10514         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10515         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10516         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10517         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10518         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10519         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10520         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10521         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10522         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10523         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10524         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10525         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10526         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10527         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10528         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10529         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10530         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10531         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10532         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10533         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10534         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10535         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10536         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10537         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10538         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10539         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10541 2016-09-13  Florian Weimer  <fweimer@redhat.com>
10543         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
10545 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10547         * malloc/Makefile (tests): Remove individual static test names
10548         and just add all of tests-static.
10550         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
10552 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
10554         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
10555         file.
10557         * sysdeps/sparc/fpu/fegetmode.c: New file.
10558         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
10560         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
10561         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
10563         * sysdeps/s390/fpu/fegetmode.c: New file.
10564         * sysdeps/s390/fpu/fesetmode.c: Likewise.
10566         * sysdeps/powerpc/fpu/fegetmode.c: New file.
10567         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
10568         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
10569         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
10570         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
10571         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
10573         * sysdeps/mips/fpu/fegetmode.c: New file.
10574         * sysdeps/mips/fpu/fesetmode.c: Likewise.
10576         * sysdeps/m68k/fpu/fegetmode.c: New file.
10577         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
10579         * sysdeps/ia64/fpu/fegetmode.c: New file.
10580         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
10582         * sysdeps/hppa/fpu/fegetmode.c: New file.
10583         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
10585         * sysdeps/arm/fegetmode.c: New file.
10586         * sysdeps/arm/fesetmode.c: Likewise.
10588         * sysdeps/alpha/fpu/fegetmode.c: New file.
10589         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
10591         * sysdeps/aarch64/fpu/fegetmode.c: New file.
10592         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
10594         * math/fegetmode.c: New file.
10595         * math/fesetmode.c: Likewise.
10596         * sysdeps/i386/fpu/fegetmode.c: Likewise.
10597         * sysdeps/i386/fpu/fesetmode.c: Likewise.
10598         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
10599         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
10600         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
10601         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
10602         declaration.
10603         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
10604         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
10605         typedef.
10606         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10607         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10608         (femode_t): New typedef.
10609         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10610         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10611         (femode_t): New typedef.
10612         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10613         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10614         (femode_t): New typedef.
10615         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10616         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10617         (femode_t): New typedef.
10618         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10619         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10620         (femode_t): New typedef.
10621         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10622         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10623         (femode_t): New typedef.
10624         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10625         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10626         (femode_t): New typedef.
10627         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10628         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10629         (femode_t): New typedef.
10630         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10631         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10632         (femode_t): New typedef.
10633         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10634         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10635         (femode_t): New typedef.
10636         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
10637         declaration.
10638         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10639         * sysdeps/s390/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/sh/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/sparc/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/tile/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/x86/fpu/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         * manual/arith.texi (FE_DFL_MODE): Document macro.
10655         (fegetmode): Document function.
10656         (fesetmode): Likewise.
10657         * math/Versions (fegetmode): New libm symbol at version
10658         GLIBC_2.25.
10659         (fesetmode): Likewise.
10660         * math/Makefile (libm-support): Add fegetmode and fesetmode.
10661         (tests): Add test-femode and test-femode-traps.
10662         * math/test-femode-traps.c: New file.
10663         * math/test-femode.c: Likewise.
10664         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
10665         alias for __fe_dfl_env.
10666         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
10667         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
10668         (__fe_dfl_mode): Likewise.
10669         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
10670         version GLIBC_2.25.
10671         * sysdeps/nacl/libm.abilist: Update.
10672         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10673         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10674         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10675         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10676         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10677         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10678         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10679         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10680         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10681         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10682         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10683         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10685         Likewise.
10686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10687         Likewise.
10688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10689         Likewise.
10690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10691         Likewise.
10692         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10693         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10694         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10695         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10696         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10698         Likewise.
10699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10700         Likewise.
10701         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10702         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10703         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10705 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10707         [BZ #20495]
10708         [BZ #20508]
10709         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
10710         processors, set Use_dl_runtime_resolve_slow and set
10711         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
10712         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
10713         New.
10714         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
10715         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
10716         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
10717         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
10718         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
10719         if Use_dl_runtime_resolve_opt is set.  Use
10720         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
10721         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
10722         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
10723         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
10724         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
10725         New.
10726         (_dl_runtime_resolve_opt): Likewise.
10727         (_dl_runtime_profile): Define only if _dl_runtime_profile is
10728         defined.
10730 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10732         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
10733         __libc_memalign with "+ RELA R_390_GLOB_DAT".
10735 2016-09-06  Florian Weimer  <fweimer@redhat.com>
10737         Convert malloc to __libc_lock.  Automated part, using this Perl
10738         s/// command:
10739           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
10740             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
10741         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
10742         conversion.
10744 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
10746         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
10747         (linknamespace-symlists-tests): Likewise.
10748         (linknamespace-header-tests): Likewise.
10750 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
10752         [BZ #19810]
10753         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
10754         * elf/tst-noload.c: New test case.
10755         * elf/Makefile (tests): Add tst-noload.
10757 2016-09-02  Roland McGrath  <roland@hack.frob.com>
10759         * sysdeps/nacl/dup.c: Add libc_hidden_def.
10761         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
10762         not any more.
10764         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
10766 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10768         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
10769         (do_cos_slow): Likewise.
10770         (do_sin): Likewise.
10771         (do_sin_slow): Likewise.
10772         (slow): Likewise.
10773         (slow1): Likewise.
10774         (slow2): Likewise.
10775         (sloww): Likewise.
10776         (sloww1): Likewise.
10777         (sloww2): Likewise.
10778         (bsloww): Likewise.
10779         (bsloww1): Likewise.
10780         (bsloww2): Likewise.
10781         (cslow2): Likewise.
10783         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
10785         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
10786         arguments.  Consolidate input partitioning from callers here.
10787         (do_cos_slow): Likewise.
10788         (do_sin): Likewise.
10789         (do_sin_slow): Likewise.
10790         (do_sincos_1): Remove the no longer necessary input partitioning.
10791         (do_sincos_2): Likewise.
10792         (__sin): Likewise.
10793         (__cos): Likewise.
10794         (slow1): Likewise.
10795         (slow2): Likewise.
10796         (sloww1): Likewise.
10797         (sloww2): Likewise.
10798         (bsloww1): Likewise.
10799         (bsloww2): Likewise.
10800         (cslow2): Likewise.
10802 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10804         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
10805         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
10806         outside of allocated array.
10808 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10810         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
10811         instead of MB_CUR_MAX to avoid variable-length array.
10813 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10815         * math/Makefile (libm-calls): Remove k_rem_pio2F.
10816         (type-double-routines): Add k_rem_pio2.
10817         (type-float-routines): Add k_rem_pio2f.
10819         * sysdeps/generic/math_private.h:
10820         (__kernel_rem_pio2l): Removed.
10822         * math/k_rem_pio2l.c: Removed.
10823         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
10824         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
10825         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
10826         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
10828 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10830         * math/Makefile (gen-libm-calls): Add s_fmin
10831         (libm-calls): Remove above.
10833         * math/s_fmin.c: Refactor into ...
10834         * math/s_fmin_template.c: New file.
10836         * math/s_fminf.c: Removed.
10837         * math/s_fminl.c: Removed.
10838         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10839         (LDOUBLE_fmin_libm_version): New macro.
10841         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
10842         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
10844 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10846         * math/Makefile: (gen-libm-calls): Add s_fmax.
10847         (libm-calls): Remove above.
10849         * math/s_fmax.c: Refactor into ...
10850         * math/s_fmax_template.c: New file.
10851         * math/s_fmaxf.c: Removed.
10852         * math/s_fmaxl.c: Removed.
10854         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10855         (LDOUBLE_fmaxl_libm_version): New macro.
10857         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
10858         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
10860         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
10861         s_fmin.c to pick the aarch64 version of the file.
10862         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
10863         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
10865 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10867         * math/Makefile: (gen-libm-calls): Add s_nextdown.
10868         (libm-calls): Remove above.
10870         * math/s_nextdown.c: Refactor into ...
10871         * math/s_nextdown_template.c: New file.
10872         * math/s_nextdownf.c: Removed.
10873         * math/s_nextdownl.c: Removed.
10875         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
10877 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10879         * math/Makefile (gen-libm-calls): Add s_fdim.
10880         (libm-calls): Move to above.
10882         * math/s_fdim.c: Renamed and refactored into to ...
10883         * math/s_fdim_template.c: New file.
10884         * math/s_fdiml.c: Removed.
10885         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
10886         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
10888         * sysdeps/generic/math-type-macros-double.h:
10889         (declare_mgen_alias): Don't declare if already declared.
10890         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
10891         Likewise.
10893         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10894         (declare_mgen_alias): Don't declare if already declared.
10895         (M_LIBM_NEED_COMPAT): Likewise.
10896         (declare_mgen_libm_compat): Likewise.
10897         (LDOUBLE_fdiml_libm_version): New macro.
10899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10900         Include math/s_fdim.c now that ldbl-opt version is not needed.
10901         (declare_mgen_alias): New macro to disable aliasing.
10903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
10904         (declare_mgen_alias): Likewise.
10905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
10906         (declare_mgen_alias): Likewise.
10907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
10908         (declare_mgen_alias): Likewise.
10909         (M_LIBM_NEED_COMPAT): Likewise.
10911 2016-09-01  Florian Weimer  <fweimer@redhat.com>
10913         [BZ #20525]
10914         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
10915         Include <linux/quota.h>.
10916         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
10917         and btodb.
10918         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
10919         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
10920         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
10921         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
10922         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
10923         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
10924         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
10925         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
10926         types.
10927         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
10928         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
10930 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10932         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
10933         (gammal_positive): Fix spacing.
10934         (__ieee754_gammal_r): Likewise.
10936 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10938         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
10939         (_Float128): Define as long double, always.
10940         (L): Apply long double type suffix, always.
10942         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
10943         _Float128, excepting comments.
10945         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10946         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10947         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10948         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10949         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10950         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10951         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10952         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10953         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10954         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
10955         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10956         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10957         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10958         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10959         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10960         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10961         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10962         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10963         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10964         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10965         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10966         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10967         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10968         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10969         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10970         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10971         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10972         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10973         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10974         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10975         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10976         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10977         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10978         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10979         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10980         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10981         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10982         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10983         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10984         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10985         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10986         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10987         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10988         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10989         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10990         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10991         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10992         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10993         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10994         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10995         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10996         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10997         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10998         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10999         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11000         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11001         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11002         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11003         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11004         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11005         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11006         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11007         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11008         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11009         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11010         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11011         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11012         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11014         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
11015         _Float128, and include math_private.h.
11016         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11018         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
11019         long double semantics.
11020         (_Float128): Likewise.
11021         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
11022         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11023         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
11024         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
11026 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11028         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
11029         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
11030         * sysdeps/s390/configure: Regenerated.
11031         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
11032         instruction for raising over-/underflow if z196 zarch is supported
11033         by default.
11034         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
11036 2016-08-30  Svante Signell  <svante.signell@gmail.com>
11038         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
11039         it point to a dumb buffer for RPC to fill it.
11041 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11043         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
11044         instead of if/else.
11045         (do_sin_slow): Likewise.
11046         (do_sincos_1): Use fabs instead of if/else.
11047         (do_sincos_2): Likewise.
11048         (__sin): Likewise.
11049         (__cos): Likewise.
11050         (slow2): Likewise.
11051         (sloww): Likewise.
11052         (sloww1): Likewise.  Drop argument M.
11053         (sloww2): Use fabs instead of if/else.
11054         (bsloww): Likewise.
11055         (bsloww1): Likewise.
11056         (bsloww2): Likewise.
11058         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
11059         fall through comment.
11060         (do_sincos_1): Likewise.
11062         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
11063         Consolidate switch cases 0 and 2.
11065 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11067         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
11068         (libm-calls): Remove the above.
11070         * math/s_cexp_template.c: Update using type-generic macros.
11071         * math/s_clog10_template.c: Likewise.
11072         * math/s_cpow_template.c: Likewise.
11073         * math/s_clog_template.c: Likewise.
11074         * math/s_cproj_template.c: Likewise.
11075         * math/s_csqrt_template.c: Likewise.
11077         * math/s_cexp.c: Removed.
11078         * math/s_cexpf.c: Removed.
11079         * math/s_cexpl.c: Removed.
11080         * math/s_clog10.c: Removed.
11081         * math/s_clog10f.c: Removed.
11082         * math/s_clog10l.c: Removed.
11083         * math/s_cpow.c: Removed.
11084         * math/s_cpowf.c: Removed.
11085         * math/s_cpowl.c: Removed.
11086         * math/s_clog.c: Removed.
11087         * math/s_clogf.c: Removed.
11088         * math/s_clogl.c: Removed.
11089         * math/s_cproj.c: Removed.
11090         * math/s_cprojf.c: Removed.
11091         * math/s_cprojl.c: Removed.
11092         * math/s_csqrt.c: Removed.
11093         * math/s_csqrtf.c: Removed.
11094         * math/s_csqrtl.c: Removed.
11096         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
11097         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
11098         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
11099         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
11100         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
11101         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
11103         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
11104         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
11105         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
11106         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
11107         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
11108         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
11109         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
11110         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
11111         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
11112         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
11113         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
11115         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
11116         version.
11118         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
11119         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
11120         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
11121         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
11123 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11125         * s_cexp_template.c: Copy of s_cexp.c.
11126         * s_clog_template.c: Copy of s_clog.c.
11127         * s_clog10_template.c: Copy of s_clog10.c.
11128         * s_cpow_template.c: Copy of s_cpow.c.
11129         * s_cproj_template.c: Copy of s_cproj.c.
11130         * s_csqrt_template.c: Copy of s_csqrt.c.
11132 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11134         [BZ #20517]
11135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11136         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
11137         exported.
11139 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
11141         * math/fetestexceptflag.c: New file.
11142         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
11143         Stefan Liebler.
11144         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11145         (fetestexceptflag): New function declaration.
11146         * manual/arith.texi (fetestexceptflag): Document function.
11147         * math/Versions (fetestexceptflag): New libm symbol at version
11148         GLIBC_2.25.
11149         * math/Makefile (libm-support): Add fetestexceptflag.
11150         (tests): Add test-fetestexceptflag.
11151         * math/test-fetestexceptflag.c: New file.
11152         * sysdeps/nacl/libm.abilist: Update.
11153         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11154         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11155         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11156         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11157         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11158         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11159         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11160         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11161         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11162         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11163         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11164         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11166         Likewise.
11167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11168         Likewise.
11169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11170         Likewise.
11171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11172         Likewise.
11173         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11174         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11175         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11176         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11177         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11179         Likewise.
11180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11181         Likewise.
11182         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11183         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11184         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11186 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11188         [BZ #20432]
11189         Avoid strong references to malloc-internal symbols when linking
11190         statically, to support statically interposed mallocs.
11191         * include/libc-symbols.h (call_function_static_weak): New macro.
11192         * malloc/Makefile (tests): Add tst-interpose-nothread,
11193         tst-interpose-thread, tst-interpose-static-nothread,
11194         tst-interpose-static-thread.
11195         (tests-static): Add tst-interpose-static-nothread,
11196         tst-interpose-static-thread.
11197         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
11198         tst-interpose-aux-thread.o.
11199         (test-extras): Add tst-interpose-aux-nothread,
11200         tst-interpose-aux-thread.
11201         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
11202         tst-interpose-aux-nothread.o.
11203         (tst-interpose-thread, tst-interpose-static-thread): Link with
11204         tst-interpose-aux-thread.o and libthread.
11205         * malloc/tst-interpose-aux-nothread.c: New file.
11206         * malloc/tst-interpose-aux-thread.c: Likewise.
11207         * malloc/tst-interpose-aux.c: Likewise.
11208         * malloc/tst-interpose-aux.h: Likewise.
11209         * malloc/tst-interpose-nothread.c: Likewise.
11210         * malloc/tst-interpose-skeleton.c: Likewise.
11211         * malloc/tst-interpose-static-nothread.c: Likewise.
11212         * malloc/tst-interpose-static-thread.c: Likewise.
11213         * malloc/tst-interpose-thread.c: Likewise.
11214         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
11215         * sysdeps/mach/hurd/fork.c (__fork): Only call
11216         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11217         __malloc_fork_unlock_child if defined.
11218         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11220 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11222         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
11223         timespec C99 designated initialization.
11225 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11227         [BZ #19946]
11228         Avoid expected SIGALRM signals.
11229         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
11230         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
11231         (xpthread_create, xpthread_detach, xpthread_join)
11232         (delayed_exit_thread, delayed_exit): New functions.
11233         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
11234         (tf): Use xpthread_cond_wait.
11235         (do_test): Likewise.  Replace alarm with delayed_exit.
11236         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11237         (do_test): Call delayed_exit.  Report failure.
11238         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11239         (do_test): Call delayed_exit.
11240         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11241         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
11242         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11243         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
11244         error.
11245         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11246         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
11247         error.
11248         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
11249         (do_test): Call delayed_exit.
11250         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
11251         (do_test): Call delayed_exit.
11252         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
11253         (do_test): Call delayed_exit instead of alarm.  Use
11254         xpthread_mutex_lock.
11255         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
11256         (do_test): Call delayed_exit instead of alarm.  Use
11257         xpthread_mutex_lock.
11258         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
11259         (do_test): Call delayed_exit instead of alarm.
11260         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
11261         (do_test): Call delayed_exit instead of alarm.  Use
11262         xpthread_spin_lock.
11263         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
11264         (do_test): Call delayed_exit instead of alarm.  Use
11265         xpthread_join.
11267 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11269         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
11270         adjust CFA when allocating register save area on re-aligned
11271         stack.
11273 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11275         * string/tst-cmp.c: New test.
11276         * string/Makefile (tests): Add it.
11278 2016-08-25  Mark Wielaard  <mark@klomp.org>
11280         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
11281         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
11282         (check_tree_recurse): Use newly defined accessors.
11283         (check_tree): Likewise.
11284         (maybe_split_for_insert): Likewise.
11285         (__tfind): Likewise.
11286         (__tdelete): Likewise.
11287         (trecurse): Likewise.
11288         (tdestroy_recurse): Likewise.
11289         (__tsearch): Likewise. And add asserts for malloc alignment.
11290         (__twalk): Cast root to node in case CHECK_TREE is defined.
11292 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11294         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
11296 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11298         * math/Makefile (libm-gen-calls): Add
11299         catan, catanh, ctan, ctanh.
11300         (libm-calls): Remove the above.
11302         * math/s_catan_template.c: Update using type-generic macros.
11303         * math/s_catanh_template.c: Likewise.
11304         * math/s_ctan_template.c: Likewise.
11305         * math/s_ctanh_template.c: Likewise.
11307         * math/s_catanf.c: Removed.
11308         * math/s_catan.c: Removed.
11309         * math/s_catanl.c: Removed.
11310         * math/s_catanhf.c: Removed.
11311         * math/s_catanh.c: Removed.
11312         * math/s_catanhl.c: Removed.
11313         * math/s_ctanf.c: Removed.
11314         * math/s_ctan.c: Removed.
11315         * math/s_ctanl.c: Removed.
11316         * math/s_ctanhf.c: Removed.
11317         * math/s_ctanh.c: Removed.
11318         * math/s_ctanhl.c: Removed.
11320         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
11321         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
11322         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
11323         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
11324         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
11325         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
11327         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
11328         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
11329         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
11330         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
11332 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11334         * s_catan_template.c: Copy of s_catan.c.
11335         * s_catanh_template.c: Copy of s_catanh.c.
11336         * s_ctan_template.c: Copy of s_ctan.c.
11337         * s_ctanh_template.c: Copy of s_ctanh.c.
11339 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11341         * math/Makefile (gen-libm-calls): Move
11342         casin, casinh, csin, csinh here.
11343         (libm-calls): Remove the above.
11345         * math/s_casin_template.c: Update using type-generic macros.
11346         * math/s_casinh_template.c: Likewise.
11347         * math/s_csin_template.c: Likewise.
11348         * math/s_csinh_template.c: Likewise.
11349         * math/k_casinh_template.c: Likewise.
11351         * math/s_casinf.c: Removed.
11352         * math/s_casin.c: Removed.
11353         * math/s_casinl.c: Removed.
11354         * math/s_casinh.c: Removed.
11355         * math/s_casinhf.c: Removed.
11356         * math/s_casinhl.c: Removed.
11357         * math/s_csin.c: Removed.
11358         * math/s_csinf.c: Removed.
11359         * math/s_csinl.c: Removed.
11360         * math/s_csinh.c: Removed.
11361         * math/s_csinhf.c: Removed.
11362         * math/s_csinhl.c: Removed.
11363         * math/k_casinh.c: Removed.
11364         * math/k_casinhf.c: Removed.
11365         * math/k_casinhl.c: Removed.
11367         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
11368         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
11369         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
11370         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
11372         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
11373         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
11374         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
11375         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
11376         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
11377         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
11378         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
11379         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
11381         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
11382         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
11383         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
11384         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
11386         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
11387         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
11388         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
11389         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
11391 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11393         * s_casin_template.c: Copy of s_casin.c.
11394         * s_casinh_template.c: Copy of s_casinh.c.
11395         * s_csin_template.c: Copy of s_csin.c.
11396         * s_csinh_template.c: Copy of s_csinh.c.
11397         * k_casinh_template.c: Copy of k_casinh.c.
11399 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11401         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
11403 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11405         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
11406         (mul_split) Remove, rename as mul_splitl, remove
11407         redundant float.h include, and include via mul_splitl.h
11409         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11410         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11411         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11412         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11413         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11415         * math/mul_splitl.h: New file.
11417         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
11418         Move into mul_split.h, and remove redundant float.h include.
11420         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11421         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11422         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11423         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
11425         * math/mul_split.h: New file.
11427 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11429         * math/Makefile (libm-gen-calls): Move
11430         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
11431         (libm-calls): Remove above.
11433         * math/s_cacos_template.c: Update using type-generic macros.
11434         * math/s_cacosh_template.c: Likewise.
11435         * math/s_ccos_template.c: Likewise.
11436         * math/s_ccosh_template.c: Likewise.
11438         * math/s_cacosf.c: Removed.
11439         * math/s_cacos.c: Removed.
11440         * math/s_cacosl.c: Removed.
11441         * math/s_cacoshf.c: Removed.
11442         * math/s_cacosh.c: Removed.
11443         * math/s_cacoshl.c: Removed.
11444         * math/s_ccosf.c: Removed.
11445         * math/s_ccos.c: Removed.
11446         * math/s_ccosl.c: Removed.
11447         * math/s_ccoshf.c: Removed.
11448         * math/s_ccosh.c: Removed.
11449         * math/s_ccoshl.c: Removed.
11451         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
11452         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
11453         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
11454         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
11455         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
11456         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
11458         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
11459         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
11460         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
11461         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
11463         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
11464         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
11465         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
11466         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
11468 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11470         * s_cacos_template.c: Copy of s_cacos.c.
11471         * s_cacosh_template.c: Copy of s_cacosh.c.
11472         * s_ccos_template.c: Copy of s_ccos.c.
11473         * s_ccosh_template.c: Copy of s_ccosh.c.
11475 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11477         * stdlib/tst-strtod-round-skeleton.c:
11478         Refactored from tst-strtod-round.c.
11480         (L_): New macro to apply literal modifier.
11481         (FNPFX): New macro to select str or wcs prefix.
11482         (CHAR): New macro to choose wchar_t or char.
11483         (STRM): New macro to choose printf for tested character type.
11485         (STRTO): New macro to choose appropriate string -> real function.
11486         (FNPFXS): Stringitized version of FNPFX.
11487         (STR): Support for above macro.
11488         (STRX): Likewise.
11490         (TEST): Update with above macros.
11491         (test): Likewise.
11492         (GEN_ONE_TEST): Likewise.
11493         (test_in_one_mode): Likewise.
11495         * stdlib/tst-strtod-round.c: New file.
11496         * wcsmbs/tst-wcstod-round.c: New file.
11498         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
11499         (tst-wcstod-round): Add libm depencency for fesetround.
11501 2016-08-19  Zack Weinberg  <zackw@panix.com>
11503         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
11505 2016-08-18  Torvald Riegel  <triegel@redhat.com>
11507         [BZ #20477]
11508         * resolv/res_hconf.c (do_init): Use atomic access.
11509         * resolv/res_hconf.h: Add comments.
11510         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
11511         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
11512         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11514 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11516         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11517         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
11518         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11519         Likewise.
11521 2016-08-18  Florian Weimer  <fweimer@redhat.com>
11523         [BZ #16907]
11524         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
11525         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
11526         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
11527         (__attribute__): Remove definition.
11529 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11531         * sysdeps/ieee754/ldbl-128/e_asinl.c:
11532         Remove unused sqrtl declaration.
11534 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11536         * math/Makefile: (gen-libm-templates.stmp): New rule.
11537         (libm-calls): Move carg conj cimag and cabs into ...
11538         (gen-libm-calls): New variable.
11539         (generated): Inform Make objects from gen-libm-calls
11540         may be generated.
11542         * sysdeps/generic/math-type-macros.h: New file.
11543         * sysdeps/generic/math-type-macros-float.h: Likewise.
11544         * sysdeps/generic/math-type-macros-double.h: Likewise.
11545         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
11546         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
11547         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
11549         * math/cabs.c: Refactor into
11550         * math/cabs_template.c: new file.
11551         * math/cabsf.c: Removed.
11552         * math/cabsl.c: Removed.
11553         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
11554         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
11556         * math/carg.c: Refactor into
11557         * math/carg_template.c: new file.
11558         * math/cargf.c: Removed.
11559         * math/cargl.c: Removed.
11560         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
11561         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
11563         * math/conj.c: Refactor into
11564         * math/conj_template.c: new file.
11565         * math/conjf.c: Removed.
11566         * math/conjl.c: Removed.
11567         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
11568         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
11570         * math/cimag.c: Refactor into
11571         * math/cimag_template.c: new file.
11572         * math/cimagf.c: Removed.
11573         * math/cimagl.c: Removed.
11574         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11575         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11577         * math/cimag.c: Refactor into
11578         * math/cimag_template.c: new file.
11579         * math/cimagf.c: Removed.
11580         * math/cimagl.c: Removed.
11581         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11582         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11584 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11586         Reduce time to expected nptl/tst-once5 failure.
11587         * nptl/tst-once5.cc (TIMEOUT): Define.
11589 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11591         [BZ #20452]
11592         Avoid additional copies of objects in libc.a in static libraries.
11593         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
11594         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
11595         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
11596         rt-sysdep.
11597         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
11598         Add nptl-sysdep.
11599         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
11600         Add ptw-sysdep.
11601         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
11602         rt-sysdep.
11603         * sysdeps/unix/sysv/linux/alpha/Makefile
11604         (libpthread-shared-only-routines): Add ptw-sysdep,
11605         ptw-sigprocmask, ptw-rt_sigaction.
11606         * sysdeps/unix/sysv/linux/ia64/Makefile
11607         (librt-shared-only-routines): Add rt-sysdep.
11608         * sysdeps/unix/sysv/linux/i386/Makefile
11609         (libpthread-shared-only-routines): Add libc-do-syscall.
11610         * sysdeps/unix/sysv/linux/microblaze/Makefile
11611         (libpthread-shared-only-routines): Add sysdep.
11612         * sysdeps/unix/sysv/linux/powerpc/Makefile
11613         (librt-shared-only-routines): Add rt-sysdep.
11614         (libpthread-shared-only-routines): Add sysdep.
11615         * sysdeps/unix/sysv/linux/s390/Makefile
11616         (librt-shared-only-routines): Add rt-sysdep.
11617         * sysdeps/unix/sysv/linux/sparc/Makefile
11618         (librt-shared-only-routines): Add rt-sysdep.
11619         (libpthread-shared-only-routines): Add sysdep.
11620         * sysdeps/unix/sysv/linux/tile/Makefile
11621         (libpthread-shared-only-routines): Likewise.
11623 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
11625         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
11626         Mask implicit bit out of unpacked value.
11627         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
11628         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
11629         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
11631         * sysdeps/sparc/fpu/fesetexcept.c: New file.
11633         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
11635         * sysdeps/s390/fpu/fesetexcept.c: New file.
11637         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
11638         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
11639         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
11641         * sysdeps/mips/fpu/fesetexcept.c: New file.
11643         * sysdeps/m68k/fpu/fesetexcept.c: New file.
11645         * sysdeps/ia64/fpu/fesetexcept.c: New file.
11647         * sysdeps/hppa/fpu/fesetexcept.c: New file.
11649         * sysdeps/arm/fesetexcept.c: New file.
11651         * sysdeps/alpha/fpu/fesetexcept.c: New file.
11653         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
11655         * math/fesetexcept.c: New file.
11656         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
11657         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
11658         * math/fenv.h: Define
11659         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11660         <bits/libc-header-start.h> instead of including <features.h>.
11661         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
11662         declaration.
11663         * manual/arith.texi (fesetexcept): Document function.
11664         * math/Versions (fesetexcept): New libm symbol at version
11665         GLIBC_2.25.
11666         * math/Makefile (libm-support): Add fesetexcept.
11667         (tests): Add test-fesetexcept and test-fesetexcept-traps.
11668         * math/test-fesetexcept.c: New file.
11669         * math/test-fesetexcept-traps.c: Likewise.
11670         * sysdeps/nacl/libm.abilist: Update.
11671         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11672         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11673         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11674         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11675         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11676         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11677         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11678         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11679         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11680         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11681         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11682         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11684         Likewise.
11685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11686         Likewise.
11687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11688         Likewise.
11689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11690         Likewise.
11691         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11692         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11693         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11694         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11695         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11697         Likewise.
11698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11699         Likewise.
11700         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11701         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11702         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11704 2016-08-16  Florian Weimer  <fweimer@redhat.com>
11706         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
11707         New.
11708         (do_test): Apply default_stack_size_in_mb if not set.
11709         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
11711 2016-08-15  Andreas Schwab  <schwab@suse.de>
11713         [BZ #20435]
11714         CVE-2016-6323
11715         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
11716         as .cantunwind.
11718 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
11720         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
11721         comment from fraiseexcpt.c.
11723         * math/test-fexcept.c (feraiseexcept_exact): New function.
11724         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
11725         (test_except): Likewise.
11727 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
11729         [BZ #20455]
11730         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
11731         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
11732         to be restored.
11734         * math/test-fexcept-traps.c: New file.
11735         * math/test-fexcept.c: Likewise.
11736         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
11737         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
11738         macro.
11739         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
11740         (EXCEPTION_SET_FORCES_TRAP): Likewise.
11742 2016-08-09  Torvald Riegel  <triegel@redhat.com>
11744         * include/atomic.h (atomic_fetch_and_relaxed,
11745         atomic_fetch_and_release, atomic_fetch_or_release,
11746         atomic_fetch_xor_release): New.
11748 2016-08-06  Christian Seiler  <christian@iwakd.de>
11750         [BZ #20444]
11751         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
11752         MACH_PORT_NULL.
11754 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11756         * math/s_fdim.c: Avoid alias renamed.
11757         * math/s_fdimf.c: Likewise.
11758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11759         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11760         Add s_fdimf-vis3, s_fdim-vis3.
11761         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11762         (CFLAGS-s_fdim-vis3.c): Likewise.
11763         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
11764         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
11766 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11769         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11770         Remove s_fdimf-vis3, s_fdim-vis3.
11771         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
11772         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
11773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
11774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
11775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
11776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
11777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
11778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
11779         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
11780         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
11782 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11784         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
11785         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
11786         -Wa,-Av9a -mvis.
11788 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11790         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
11791         LIT() to individual constants in simple expressions
11792         after splitting on spaces.
11793         (_apply_lit): Rename replaced version, and use it to
11794         apply to what appears to be a token.
11796         * math/libm-test.inc: Fix many, many issues with
11797         spacing.
11799 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
11801         * math/math.h: Move comment about <bits/mathdef.h> definitions
11802         above inclusion of <bits/mathdef.h>.  Do not mention
11803         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
11805 2016-08-05  Torvald Riegel  <triegel@redhat.com>
11807         * include/atomic.h (atomic_exchange_relaxed): New.
11809 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
11811         * math/e_scalb.c: Do not include <fenv.h>.
11812         (invalid_fn): Do calculation resulting in NaN instead of raising
11813         FE_INVALID and returning a NaN explicitly.
11814         * math/e_scalbf.c: Do not include <fenv.h>.
11815         (invalid_fn): Do calculation resulting in NaN instead of raising
11816         FE_INVALID and returning a NaN explicitly.
11817         * math/e_scalbl.c: Do not include <fenv.h>.
11818         (invalid_fn): Do calculation resulting in NaN instead of raising
11819         FE_INVALID and returning a NaN explicitly.
11821 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
11823         * po/de.po: Updated from Translation Project.
11824         * po/fi.po: Likewise.
11825         * po/sv.po: Likewise.
11827 2016-08-04  Florian Weimer  <fweimer@redhat.com>
11829         [BZ #20452]
11830         Use sysdep.o from libc.a in static libraries.
11831         * sysdeps/unix/sysv/linux/i386/Makefile
11832         (libpthread-shared-only-routines): Add sysdep.
11833         (librt-shared-only-routines): Likewise.
11835 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11837         * math/tgmath.h (nextdown): Define if
11838         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
11839         (nextup): Likewise.
11841         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
11842         macro.
11843         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11844         Document.
11845         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11846         Document macro.
11847         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
11848         (exp10f): Likewise.
11849         (exp10l): Likewise.
11850         * math/bits/mathcalls.h (exp10): Declare if
11851         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
11853         * manual/arith.texi (nextup): Fix typo in last change.
11855 2016-08-03  Zack Weinberg  <zackw@panix.com>
11857         [BZ #19239]
11858         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
11859         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
11860         define major, minor, and makedev to issue deprecation warnings on use.
11861         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
11862         previously-activated deprecation warnings for these macros and prevent
11863         subsequent inclusions of this header from having any effect.
11864         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
11865         including <sys/sysmacros.h>, and undefine it again afterward.
11867 2016-08-03  Zack Weinberg  <zackw@panix.com>
11869         * sysdeps/generic/sys/sysmacros.h: Delete file.
11870         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
11871         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
11872         * bits/sysmacros.h: ... here; this encoding is now the generic
11873         encoding.  Now defines only the following macros:
11874         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
11875         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
11876         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
11878         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
11879         bits/sysmacros.h and the above new macros to generate the
11880         public implementations of major, minor, and makedev.
11881         * misc/tst-makedev.c: New test.
11882         * include/sys/sysmacros.h: New wrapper.
11884         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
11885         (routines): Add makedev.
11886         (tests): Add tst-makedev.
11887         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
11888         gnu_dev_makedev.
11889         * posix/Makefile (headers): Remove sys/sysmacros.h.
11890         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
11892         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
11893         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
11894         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11895         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11896         * sysdeps/unix/sysv/linux/arm/libc.abilist
11897         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11898         * sysdeps/unix/sysv/linux/i386/libc.abilist
11899         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11900         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11901         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11902         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11903         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11904         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11905         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11906         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11907         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11912         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11913         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11914         * sysdeps/unix/sysv/linux/sh/libc.abilist
11915         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11916         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11919         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11920         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11921         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11922         Add GLIBC_2.25.
11924         * include/features.h (__glibc_clang_prereq): New macro.
11925         * misc/sys/cdefs.h (__glibc_clang_has_extension)
11926         (__attribute_deprecated_msg__): New macros.
11928 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11930         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
11931         macro.
11932         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
11933         * manual/arith.texi (issignaling): Document as ISO from TS
11934         18661-1:2014.
11935         (nextup): Likewise.
11936         (nextupf): Likewise.
11937         (nextupl): Likewise.
11938         (nextdown): Likewise.
11939         (nextdownf): Likewise.
11940         (nextdownl): Likewise.
11941         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
11942         macro.
11943         * math/math.h: Define
11944         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11945         <bits/libc-header-start.h> instead of including <features.h>.
11946         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
11947         [__USE_GNU].
11948         * math/bits/mathcalls.h (nextdown): Declare if
11949         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
11950         (nextup): Likewise.
11951         (__issignaling): Likewise.
11953 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11955         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
11956         check, and remove __glibc_likely hint
11957         from FP_INFINITE check.
11958         * s_csinhf.c (__csinhf): Likewise.
11960         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
11961         hint from FP_INFINITE check.
11962         * s_csinhl.c (__csinhl): Likewise.
11964 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11966         * math/Makefile (libm-calls): Insert F placeholder into
11967         object names.  Move w_lgamma_compat* routines into
11968         (libm-compat-calls): New variable.
11969         (libm-compat-calls-ldouble-yes): New variable.
11970         (calls): Insert F placeholder.
11971         (generated): Redefine using new type-foreach macro call.
11972         (routines): Likewise.
11974         (types): New variable to hold a list of symbolic names
11975         for each type supported by the target machine.
11976         (libm-routines): Redefine using new types variable.
11977         (type-foreach): macro to replace fooF with the
11978         appropriately suffixed foo for each types.
11980         (type-ldouble-suffix): New variable.
11981         (type-ldouble-routines): Likewise.
11982         (type-ldouble-yes): Likewise.
11983         (type-double-suffix): Likewise.
11984         (type-double-routines): Likewise.
11985         (type-float-suffix): Likewise.
11986         (type-float-routines): Likewise.
11988         (dbl-only-routines): Remove.
11989         (long-c-yes): Likewise.
11990         (long-m-routines): Likewise.
11991         (long-m-support): Likewise.
11992         (long-m-yes): Likewise.
11993         (test-longdouble-yes): Likewise.
11995         (test-float.o): Simplify by increasing the scope of the
11996         recipe which adds libm-test.stmp to the vector types.
11997         (test-ifloat.o): Likewise.
11998         (test-float-finite.o): Likewise.
11999         (test-double.o): Likewise
12000         (test-idouble.o): Likewise.
12001         (test-double-finite.o): Likewise.
12002         (test-ldouble.o): Likewise
12003         (test-ildoubl.o): Likewise.
12004         (test-ldouble-finite.o): Likewise.
12006         (libm-tests): Redefine type tests using foreach and the
12007         list of types in types.
12009         (CPPFLAGS-test-ildoubl.c): Rename to
12010         (CPPFLAGS-test-ildouble.c): New variable
12012         * math/test-ildoubl.c: Rename to
12013         * math/test-ildouble.c: New file.
12015 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12017         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
12018         Use fabsl instead of fabs.
12019         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
12020         Likewise.
12021         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
12022         Add long double suffix to constant to ensure proper
12023         promotion to long double.
12025 2016-08-03  Tom Tromey  <tom@tromey.com>
12027         [BZ #20311]
12028         * nptl_db/Makefile (headers): Add proc_service.h.
12029         * nptl_db/proc_service.h: Add include guard.  Use
12030         __BEGIN/__END_DECLS.
12031         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
12032         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
12033         arguments.
12036 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12038         [BZ #17730]
12039         Avoid using memalign for TCB allocations.
12040         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
12041         (_dl_allocate_tls_storage): Use malloc and manual alignment.
12042         Avoid alignment gap in the TLS_DTV_AT_TP case.
12043         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
12044         determine the pointer to free.
12045         * nptl/tst-tls3-malloc.c: New test.
12046         * nptl/Makefile (tests): Add it.
12047         (tst-tls3-malloc): Link with libdl, libpthread.
12048         (LDFLAGS-tst-tls3-malloc): Set.
12049         (tst-tls3-malloc.out): Depend on DSO used in test.
12051 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12053         [BZ #17730]
12054         Avoid using memalign for TLS allocations.
12055         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
12056         is_static member with to_free member.
12057         (union dtv): Use struct dtv_pointer.
12058         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
12059         dtv_pointer instead of is_static.
12060         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
12061         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
12062         instead of val.
12063         (allocate_dtv_entry): New function.
12064         (allocate_and_init): Return struct dtv_pointer.  Call
12065         allocate_dtv_entry instead of __libc_memalign.
12066         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
12067         instead of val.
12068         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
12069         instead of is_static.  Adjust call to allocate_and_init.
12070         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
12071         struct dtv_pointer instead of val.
12073 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12075         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
12076         (MALLOC_ALIGN_MASK): Move ...
12077         * malloc/malloc-internal.h: ... to here.
12078         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
12080 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12082         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
12083         (UDP_ENCAP_GTP1U): Likewise.
12085         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
12086         (PF_MAX): Update value.
12087         (AF_QIPCRTR): New macro.
12089 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12091         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
12092         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12093         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12094         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
12095         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12096         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12097         s_truncf-vis3, s_trunc-vis3.
12098         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12099         (CFLAGS-s_ceil-vis3.c): Likewise.
12100         (CFLAGS-s_floorf-vis3.c): Likewise.
12101         (CFLAGS-s_floor-vis3.c): Likewise.
12102         (CFLAGS-s_truncf-vis3.c): Likewise.
12103         (CFLAGS-s_trunc-vis3.c): Likewise.
12104         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
12105         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12106         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
12107         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12108         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
12109         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12110         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
12111         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12112         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
12113         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12114         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
12115         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12117 2016-08-02  David S. Miller  <davem@davemloft.net>
12119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12120         (__nearbyint_vis3): Don't check for sNaN before float register is
12121         loaded with the incoming argument.
12122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12123         (__nearbyintf_vis3): Likewise.
12124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
12125         Likewise.
12126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
12127         Likewise.
12129         * string/test-strncmp.c (do_test_limit): Make sure the test data
12130         stream is aligned as required for the type "CHAR".
12131         (do_test): Likewise.
12133 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12135         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
12136         by beq instructions jumping to the end of the function.
12137         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
12138         clobber list. Use "i" constraint instead of "X".
12139         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
12140         of "X".
12142 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
12144         * bits/libc-header-start.h: New file.
12145         * Makefile (headers): Add bits/libc-header-start.h.
12146         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
12147         (__GLIBC_USE): New macro.
12148         * libio/stdio.h: Define
12149         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12150         <bits/libc-header-start.h> instead of including <features.h>.
12151         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
12152         (open_memstream): Likewise.
12153         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
12154         (__asprintf): Likewise.
12155         (asprintf): Likewise.
12156         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
12157         (getdelim): Likewise.
12158         (getline): Likewise.
12159         * string/string.h: Define
12160         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12161         <bits/libc-header-start.h> instead of including <features.h>.
12162         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
12163         (strndup): Likewise.
12164         * wcsmbs/wchar.h: Define
12165         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12166         <bits/libc-header-start.h> instead of including <features.h>.
12167         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
12168         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
12170 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12172         Support linking against compatibility symbols, for use in tests.
12173         * include/libc-symbols.h (symbol_version_reference): New macro.
12174         (symbol_version): Use it.
12175         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
12176         (compat_symbol): Use compat_symbol_reference.
12177         (compat_symbol_1, compat_symbol_2): Remove.
12178         (compat_symbol_reference, compat_symbol_reference_1)
12179         (compat_symbol_reference_2): New macro.  Use
12180         symbol_version_reference.
12182 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12184         [BZ #19469]
12185         * malloc/Makefile (CPPFLAGS): Compile tests with
12186         -DTEST_NO_MALLOPT.
12187         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
12189 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
12191         [BZ #20033]
12192         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
12193         finite version.
12194         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
12195         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
12196         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
12197         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
12198         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
12199         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
12200         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
12201         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
12202         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
12203         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
12204         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
12205         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
12206         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
12207         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
12208         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
12209         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
12210         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
12211         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
12212         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
12213         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
12214         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
12215         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
12216         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
12217         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
12218         in zero power.
12220 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12222         [BZ #20370]
12223         * malloc/arena.c (get_free_list): Update comment.  Assert that
12224         arenas on the free list have no attached threads.
12225         (remove_from_free_list): New function.
12226         (reused_arena): Call it.
12228 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
12230         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
12231         when it is a NaN.
12232         [_IEEE_FP_INEXACT] Remove.
12233         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
12234         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
12235         when it is a NaN.
12236         [_IEEE_FP_INEXACT] Remove.
12237         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
12238         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
12239         when it is a NaN.
12240         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
12241         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
12242         when its absolute value is greater than 0x1.0p52.
12243         [_IEEE_FP_INEXACT] Remove.
12244         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
12245         when its absolute value is greater than 0x1.0p23.
12246         [_IEEE_FP_INEXACT] Remove.
12248 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
12250         * version.h (RELEASE): Set to "development"
12251         (VERSION): Set to 2.24.90.
12252         * NEWS: Add 2.25 section.
12254         * version.h (RELEASE): Set to "stable"
12255         (VERSION): Set to 2.24.
12256         * include/features.h (__GLIBC_MINOR__): Set to 24.
12258         * NEWS: Add 2.24 fixed bugs.
12259         * po/libc.pot: Regenerate.
12261 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
12263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12264         [$(subdir) = math] (libm-sysdep_routines): Remove.
12265         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12266         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12267         s_truncf-vis3, s_trunc-vis3.
12268         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
12270         file.
12271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
12272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
12273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
12277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
12278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
12280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
12281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
12282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
12283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
12284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
12285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
12286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
12290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
12291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
12292         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
12293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12297         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12298         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
12299         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12300         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12301         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
12302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12303         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12304         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
12305         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
12306         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
12307         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
12308         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12309         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12310         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
12311         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
12312         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
12313         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
12315 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
12317         [BZ #20384]
12318         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
12319         test-double-libmvec-sincos-avx-main.o,
12320         test-double-libmvec-sincos-avx2-main.o,
12321         test-double-libmvec-sincos-main.o,
12322         test-float-libmvec-sincosf-avx-main.o,
12323         test-float-libmvec-sincosf-avx2-main.o and
12324         test-float-libmvec-sincosf-main.o.
12325         test-float-libmvec-sincosf-avx512-main.o.
12326         ($(objpfx)test-double-libmvec-sincos): Also link with
12327         $(objpfx)test-double-libmvec-sincos-main.o.
12328         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
12329         $(objpfx)test-double-libmvec-sincos-avx-main.o.
12330         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
12331         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
12332         ($(objpfx)test-float-libmvec-sincosf): Also link with
12333         $(objpfx)test-float-libmvec-sincosf-main.o.
12334         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
12335         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
12336         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
12337         test-double-libmvec-sincos-avx512-main.o and
12338         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
12339         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
12340         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
12341         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
12342         (CFLAGS-test-double-libmvec-sincos.c): Removed.
12343         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
12344         (CFLAGS-test-double-libmvec-sincos-main.c): New.
12345         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
12346         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
12347         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
12348         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
12349         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
12350         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
12351         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
12352         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
12353         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
12354         -DREQUIRE_AVX2.
12355         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
12356         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
12357         -DREQUIRE_AVX512F.
12358         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
12359         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
12360         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12361         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
12362         file.
12363         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
12364         Likewise.
12365         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
12366         Likewise.
12367         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
12368         Likewise.
12369         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
12370         Likewise.
12371         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
12372         Likewise.
12373         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
12374         Likewise.
12375         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
12376         Likewise.
12378 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
12380         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
12382 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
12384         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
12385         and typo in a comment about AT_HWCAP entry.
12387 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12389         * sysdeps/aarch64/libm-test-ulps: Updated.
12391 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12393         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
12394         of r13 as it is not restored in mvcle case.
12396 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
12398         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
12399         Rename "ret" to "__ret".
12400         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
12401         inline_syscall5, inline_syscall6): Likewise.
12403 2016-07-19   Will Newton  <will.newton@gmail.com>
12405         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
12406         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
12407         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
12408         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
12409         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
12411 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
12413         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
12414         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
12415         -mfpmath=387 with $(rtld-CFLAGS).
12416         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
12417         $(rtld-CFLAGS).
12419 2016-07-18   Ross Burton  <ross.burton@intel.com>
12420              Khem Raj  <raj.khem@gmail.com>
12422         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
12423         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
12424         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
12425         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
12426         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
12427         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
12428         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
12429         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
12430         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
12431         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
12432         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
12433         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
12434         R_METAG_TLS_DTPOFF): New.
12436 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12437             Matt Clay  <mclay@lycos.com>
12439         [BZ #20357]
12440         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
12441         to call __mpsin/__mpcos and to negate values.
12442         * math/auto-libm-test-in: Add test.
12443         * math/auto-libm-test-out: Regenerate.
12445 2016-07-18  Zack Weinberg  <zackw@panix.com>
12447         * grp/Makefile: Don't install the internal header grp-merge.h.
12449 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12451         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12453 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12455         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
12457 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12459         [BZ #15368]
12460         * sysdeps/unix/sysv/linux/nptl-signals.h
12461         (__nptl_clear_internal_signals): New function.
12462         (__libc_signal_block_all): Likewise.
12463         (__libc_signal_block_app): Likewise.
12464         (__libc_signal_restore_set): Likewise.
12465         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
12466         implementation.
12467         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
12468         the cached pid/tid value in pthread structure.
12470 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
12472         [BZ #20347]
12473         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12475 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12477         [BZ #20348]
12478         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
12479         preadv64, pwrite64 and pwritev64.
12481 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12483         [BZ #20350]
12484         * posix/tst-preadwrite.c: Renamed to ...
12485         * posix/tst-preadwrite-common.c: This.
12486         (PREAD): Removed.
12487         (PWRITE): Likewise.
12488         (STRINGIFY): Likewise.
12489         (STRINGIFY2): Likewise.
12490         (do_prepare): Make it static and remove function arguments.
12491         (do_test): Likewise.
12492         (PREPARE): Updated.
12493         (TEST_FUNCTION): New.
12494         (name): Make it static.
12495         (fd): Likewise.
12496         (do_prepare): Use create_temp_file.
12497         (do_test): Renamed to ...
12498         (do_test_with_offset): This.  Make it static and accept offset.
12499         Properly check return value of PWRITE and PREAD.  Return bytes
12500         read.  Don't close fd nor unlink name.
12501         * posix/tst-preadwrite.c: Rewrite.
12502         * posix/tst-preadwrite64.c: Likewise.
12504 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12506         [BZ #20309]
12507         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
12508         -mtls-dialect=gnu2 works.
12509         * configure: Regenerated.
12510         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
12511         (tests): Add tst-gnu2-tls1.
12512         (modules-names): Add tst-gnu2-tls1mod.
12513         ($(objpfx)tst-gnu2-tls1): New.
12514         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
12515         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
12516         * elf/tst-gnu2-tls1.c: New file.
12517         * elf/tst-gnu2-tls1mod.c: Likewise.
12518         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
12519         bytes for push in the PLT entry to align the stack.
12521 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12523         [BZ #20349]
12524         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
12526 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12528         [BZ #18707]
12529         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
12530         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
12532 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12534         * sysdeps/unix/sysv/linux/sysdep.h
12535         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
12536         guards.
12537         * misc/tst-preadvwritev-common.c: New file.
12538         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
12539         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
12540         a check for files larger than 2GB.
12542         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12543         (__ASSUME_OFF_DIFF_OFF64): Remove define.
12544         * sysdeps/unix/sysv/linux/pread.c
12545         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
12546         __OFF_T_MATCHES_OFF64_T.
12547         * sysdeps/unix/sysv/linux/pread64.c
12548         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
12549         * sysdeps/unix/sysv/linux/preadv.c
12550         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
12551         * sysdeps/unix/sysv/linux/preadv64.c
12552         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
12553         * sysdeps/unix/sysv/linux/pwrite.c
12554         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
12555         * sysdeps/unix/sysv/linux/pwrite64.c
12556         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
12557         * sysdeps/unix/sysv/linux/pwritev.c
12558         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
12559         * sysdeps/unix/sysv/linux/pwritev64.c
12560         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
12562 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
12564         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12565         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
12567 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12569         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
12571 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12573         [BZ #20240]
12574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
12575         (CFLAGS-s_modf-ppc32.c): New variable.
12576         (CFLAGS-s_modff-ppc32.c): Likewise.
12577         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12578         (CFLAGS-s_modf-ppc64.c): Likewise.
12579         (CFLAGS-s_modff-ppc64.c): Likewise.
12581 2016-07-07  Andreas Schwab  <schwab@suse.de>
12583         [BZ #20263]
12584         * nptl/tst-robust10.c: New test.
12585         * nptl/Makefile (tests): Add tst-robust10.
12587 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
12589         [BZ #20263]
12590         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
12592 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12594         * sysdeps/s390/linkmap.h (struct link_map_machine):
12595         Remove member gotplt and add member jmprel.
12596         * sysdeps/s390/s390-32/dl-machine.h
12597         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
12598         instead of gotplt with &got[3].
12599         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
12600         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12602 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
12604         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
12606 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12608         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
12609         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
12610         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12611         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
12612         * libio/vtables.c (_IO_vtable_check)
12613         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12614         * libio/libioP.h (IO_set_accept_foreign_vtables)
12615         [!PTR_MANGLE]: Do not call PTR_MANGLE.
12617 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
12619         [BZ #20314]
12620         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
12621         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
12622         $(common-objpfx)cmath.
12623         ($(common-objpfx)cstdlib): New target.
12624         ($(common-objpfx)cmath): Likewise.
12626 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
12628         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
12630 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12632         [BZ #20327]
12633         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
12634         are not part of the string.
12636 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12638         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
12639         * nptl/tst-cancel4-common.h (fifoname): New variable.
12640         (fifofd): Likewise.
12641         (cl_fifo): New function.
12642         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
12643         SIGINT.
12644         (tf_open): Add early cancel test.
12646 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
12648         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
12650 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
12652         * sysdeps/generic/ldsodefs.h
12653         (dl_symbol_visibility_binds_local_p): New inline function.
12654         * elf/dl-addr.c (determine_info): Treat hidden and internal
12655         symbols as local.
12656         * elf/dl-lookup.c (do_lookup_x): Likewise.
12657         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
12659 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
12661         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
12662         invalid exception for a sNaN input.
12663         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12664         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12665         (__nearbyint_vis3): Likewise
12666         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12667         (__nearbyintf_vis3): Likewise
12668         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
12669         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12670         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
12671         Likewise.
12672         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
12673         Likewise.
12675 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
12677         [BZ #20139]
12678         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
12679         (HAVE_AVX512DQ_ASM_SUPPORT): This.
12680         * sysdeps/x86_64/configure.ac: Require assembler from binutils
12681         2.24 or above.
12682         (HAVE_AVX512_ASM_SUPPORT): Removed.
12683         (HAVE_AVX512DQ_ASM_SUPPORT): New.
12684         * sysdeps/x86_64/configure: Regenerated.
12685         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
12686         check unconditional.
12687         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12688         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12689         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12690         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
12691         Likewise.
12692         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12693         Likewise.
12694         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12695         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12696         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12697         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12698         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12699         Likewise.
12700         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12701         Likewise.
12702         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12703         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12704         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
12705         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
12706         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
12707         Likewise.
12708         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
12709         Likewise.
12710         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
12711         Likewise.
12712         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
12713         Likewise.
12714         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
12715         Likewise.
12716         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
12717         Likewise.
12718         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
12719         Likewise.
12720         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
12721         Likewise.
12722         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
12723         Likewise.
12724         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
12725         Likewise.
12726         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
12727         Likewise.
12729 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
12731         [BZ #20024]
12732         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
12733         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
12734         of this implementation of vector function.
12735         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12736         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12737         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
12738         Likewise.
12739         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12740         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12741         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
12742         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
12743         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
12744         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
12745         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
12746         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
12747         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
12748         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
12749         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
12750         for testing vector sincos with fixed ABI.
12751         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12752         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12753         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12754         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12755         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12756         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12757         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12758         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
12759         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
12760         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
12761         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
12762         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
12763         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
12764         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
12765         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12766         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12768 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12770         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
12772 2016-06-30  Anton Blanchard  <anton@samba.org>
12774         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12775         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
12776         s_sinf-ppc64.
12777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
12778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12780         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12782 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12785         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12786         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
12787         e_expf-ppc64.
12788         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
12789         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
12790         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
12791         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
12793 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
12795         [BZ #20277]
12796         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
12797         when SHARED is defined.
12799 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
12801         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
12802         (index_arch_Prefer_ERMS): Likewise.
12803         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
12804         __memcpy_erms for Prefer_ERMS.
12805         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12806         (__memmove_erms): Enabled for libc.a.
12807         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
12808         __memmove_erms or Prefer_ERMS.
12809         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
12810         __mempcpy_erms for Prefer_ERMS.
12811         * sysdeps/x86_64/multiarch/memset.S (memset): Return
12812         __memset_erms for Prefer_ERMS.
12814 2016-06-30  Andreas Schwab  <schwab@suse.de>
12816         [BZ #20262]
12817         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
12818         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
12819         of memory.
12821 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
12823         [BZ #18645]
12824         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
12825         (test-extras): Add tst-cleanupx4aux.
12826         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
12827         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
12828         tst-cleanupx4aux.o.
12829         * nptl/tst-cleanupx4aux.c: New file.
12831 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12833         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12835 2016-06-29  Andreas Schwab  <schwab@suse.de>
12837         [BZ #20260]
12838         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
12839         address before the beginning of the string as an integer to avoid
12840         array-bounds warning.
12842 2016-06-28  Richard Henderson  <rth@redhat.com>
12844         * elf/elf.h (EM_BPF): New.
12845         (EM_NUM): Update.
12846         (R_BPF_NONE, R_BPF_MAP_FD): New.
12848         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
12849         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
12850         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
12851         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
12852         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
12853         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
12854         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
12855         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
12856         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
12857         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
12858         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
12859         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
12860         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
12861         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
12862         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
12863         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
12864         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
12865         (EM_NUM): Update.
12867 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
12869         [BZ #18960]
12870         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
12871         Set _nl_current_LC_CATEGORY_used to two instead of one.
12873 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
12875         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
12876         (do_test): ... this.
12877         (TEST_FUNCTION): New macro.
12878          Include test-skeleton.c.
12879         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
12880         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
12882 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
12884         [BZ #15479]
12885         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
12886         floating-point environment rather than just control word.
12887         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12888         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
12889         floating-point environment, with "invalid" exceptions merged in,
12890         rather than just control word.
12891         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
12892         * math/libm-test.inc (trunc_test_data): Do not allow spurious
12893         "inexact" exceptions.
12895         [BZ #15479]
12896         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
12897         floating-point environment rather than just control word.
12898         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12899         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
12900         floating-point environment, with "invalid" exceptions merged in,
12901         rather than just control word.
12902         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
12903         * math/libm-test.inc (floor_test_data): Do not allow spurious
12904         "inexact" exceptions.
12906         [BZ #15479]
12907         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
12908         floating-point environment rather than just control word.
12909         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12910         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
12911         floating-point environment, with "invalid" exceptions merged in,
12912         rather than just control word.
12913         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
12914         * math/libm-test.inc (ceil_test_data): Do not allow spurious
12915         "inexact" exceptions.
12917 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
12919         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
12920         __libc_vfork.
12921         (__vfork) [IS_IN (libc)]: Remove alias.
12922         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
12923         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12924         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12926 2016-06-24  Torvald Riegel  <triegel@redhat.com>
12928         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
12929         of atomic_compare_and_exchange_bool_rel.
12930         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12931         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
12932         catomic_compare_and_exchange_bool_rel): Remove.
12933         * sysdeps/aarch64/atomic-machine.h
12934         (atomic_compare_and_exchange_bool_rel): Likewise.
12935         * sysdeps/alpha/atomic-machine.h
12936         (atomic_compare_and_exchange_bool_rel): Likewise.
12937         * sysdeps/arm/atomic-machine.h
12938         (atomic_compare_and_exchange_bool_rel): Likewise.
12939         * sysdeps/mips/atomic-machine.h
12940         (atomic_compare_and_exchange_bool_rel): Likewise.
12941         * sysdeps/microblaze/atomic-machine.h
12942         ( __arch_compare_and_exchange_bool_8_rel,
12943         __arch_compare_and_exchange_bool_16_rel): Likewise.
12944         * sysdeps/powerpc/atomic-machine.h
12945         ( __arch_compare_and_exchange_bool_8_rel,
12946         __arch_compare_and_exchange_bool_16_rel): Likewise.
12947         * sysdeps/powerpc/powerpc32/atomic-machine.h
12948         ( __arch_compare_and_exchange_bool_32_rel,
12949         __arch_compare_and_exchange_bool_64_rel): Likewise.
12950         * sysdeps/powerpc/powerpc64/atomic-machine.h
12951         ( __arch_compare_and_exchange_bool_32_rel,
12952         __arch_compare_and_exchange_bool_64_rel): Likewise.
12953         * sysdeps/tile/atomic-machine.h
12954         (atomic_compare_and_exchange_bool_rel): Likewise.
12956 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
12958         [BZ #20296]
12959         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
12960         when either argument is a NaN.
12961         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12962         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
12964         * math/libm-test.inc (snan_value_ld): New macro.
12965         (isgreater_test_data): Add sNaN tests.
12966         (isgreaterequal_test_data): Likewise.
12967         (isless_test_data): Likewise.
12968         (islessequal_test_data): Likewise.
12969         (islessgreater_test_data): Likewise.
12970         (isunordered_test_data): Likewise.
12971         (nextafter_test_data): Likewise.
12972         (nexttoward_test_data): Likewise.
12973         (remainder_test_data): Likewise.
12974         (remquo_test_data): Likewise.
12975         (significand_test_data): Likewise.
12976         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
12978 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12980         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
12981         environment macros are defined.
12982         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
12984 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12986         [BZ #20191]
12987         Implement vtable verification in libio.
12988         * Makerules (shlib.lds): Place __libc_IO_vtables section.
12989         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
12990         * debug/vdprintf_chk.c (__vdprintf_chk): Call
12991         _IO_new_file_init_internal instead of _IO_file_init.
12992         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
12993         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
12994         * libio/Makefile (routines): Add vtables.
12995         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
12996         (_IO_init): Remove, not for internal use.
12997         (_IO_init_internal): Declare, internal replacement for _IO_init.
12998         (_IO_file_init): Remove, not for internal use.
12999         (_IO_new_file_init): Remove, not for internal use.
13000         (_IO_new_file_init_internal): Declare, internal replacement for
13001         _IO_new_file_init.
13002         (_IO_old_file_init): Remove, not for internal use.
13003         (_IO_old_file_init_internal): Declare, internal replacement for
13004         _IO_old_file_init.
13005         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
13006         internal use.
13007         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
13008         Declare.
13009         (libio_vtable): New macro.
13010         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
13011         functions.
13012         * libio/fileops.c (_IO_new_file_init_internal): Rename from
13013         _IO_new_file_init.
13014         (_IO_new_file_init): New externally visible wrapper which disables
13015         vtable verification.
13016         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
13017         Define as vtables.
13018         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
13019         (_IO_init): New externally visible wrapper which disables
13020         vtable verification.
13021         * libio/iofdopen.c (_IO_new_fdopen): Call
13022         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
13023         comment.
13024         * libio/iofopen.c (__fopen_internal): Call
13025         _IO_new_file_init_internal instead of _IO_file_init.
13026         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
13027         Define as vtables.
13028         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
13029         _IO_new_file_init_internal instead of _IO_file_init.
13030         * libio/iopopen.c (_IO_new_popen): Likewise.
13031         (_IO_proc_jumps): Define as vtable.
13032         * libio/iovdprintf.c (_IO_vdprintf): Call
13033         _IO_new_file_init_internal instead of _IO_file_init.
13034         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
13035         (__open_memstream): Call _IO_init_internal instead of _IO_init.
13036         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
13037         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
13038         _IO_old_file_init.
13039         (_IO_old_file_init): New externally visible wrapper which disables
13040         vtable verification.
13041         (_IO_old_file_jumps): Define as vtable.
13042         * libio/oldiofdopen.c (_IO_old_fdopen): Call
13043         _IO_old_file_init_internal instead of _IO_old_file_init.
13044         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13045         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13046         (_IO_old_proc_jumps): Define as vtable.
13047         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
13048         Define as vtables.
13049         * libio/vtables.c: New file.
13050         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
13051         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
13052         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
13053         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
13054         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
13055         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
13056         instead of _IO_init.
13058 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13060         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
13062 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13064         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
13065         potentially unused.
13067 2016-06-22  Florian Weimer  <fweimer@redhat.com>
13069         * test-skeleton.c (write_message): New function.
13070         * malloc/tst-mallocfork2.c (write_message): Remove.
13071         * debug/tst-longjmp_chk2.c (write_indented): New function.
13072         (write_message): Remove.
13073         (stackoverflow_handler): Call write_indented.
13075 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
13077         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
13078         "inexact" exceptions after fnstenv.
13079         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13080         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13081         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13083 2015-06-22  Zack Weinberg  <zackw@panix.com>
13085         * sysdeps/generic/bits/hwcap.h: Moved to ...
13086         * bits/hwcap.h: Here.
13088 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
13090         * sysdeps/aarch64/memcpy.S (memcpy):
13091         Further tuning for performance.
13093 2016-06-21  Florian Weimer  <fweimer@redhat.com>
13095         [BZ #20284]
13096         * malloc/arena.c (reused_arena): Do not return NULL if we start
13097         out with a non-corrupted arena.
13099 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13101         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
13102         * misc/tst-preadvwritev.c: New file.
13103         * misc/tst-preadvwritev64.c: Likewise.
13104         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
13105         usage.
13106         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
13107         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
13108         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
13109         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
13111 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
13113         [BZ #19654]
13114         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13115         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
13116         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
13117         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
13118         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
13119         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
13120         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
13121         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
13122         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
13123         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
13124         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
13125         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
13126         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
13127         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
13128         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
13129         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
13130         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
13131         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
13132         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
13133         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
13134         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
13135         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
13136         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
13137         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
13138         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
13139         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
13141 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13143         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
13144         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
13146 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13148         * sysdeps/aarch64/memcpy.S (memcpy):
13149         Rewrite of optimized memcpy and memmove.
13150         * sysdeps/aarch64/memmove.S (memmove): Remove
13151         memmove code (merged into memcpy.S).
13153 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13155         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
13156         * sysdeps/generic/dl-dtv.h: New file.
13157         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13158         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
13159         (dtv_t): Remove.
13160         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13161         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
13162         (dtv_t): Remove.
13163         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13164         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
13165         (dtv_t): Remove.
13166         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13167         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
13168         (dtv_t): Remove.
13169         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13170         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
13171         (dtv_t): Remove.
13172         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13173         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
13174         (dtv_t): Remove.
13175         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13176         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
13177         (dtv_t): Remove.
13178         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
13179         (dtv_t): Remove.
13180         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13181         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
13182         (dtv_t): Remove.
13183         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13184         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
13185         (dtv_t): Remove.
13186         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13187         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
13188         (dtv_t): Remove.
13189         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13190         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
13191         (dtv_t): Remove.
13192         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13193         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
13194         (dtv_t): Remove.
13195         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13196         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
13197         (dtv_t): Remove.
13198         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13199         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
13200         (dtv_t): Remove.
13201         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13202         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
13203         (dtv_t): Remove.
13205 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13207         Revert symbol poisoning of  __malloc_initialize_hook.
13208         * include/stdc-predef.h (__malloc_initialize_hook): Remove
13209         poisoning.
13210         * malloc/Makefile: Remove un-poisoning.
13211         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
13212         instead of old__malloc_initialize_hook.
13213         * malloc/malloc-hooks.h: Likewise.
13214         * malloc/malloc.c: Likewise.
13215         * malloc/mcheck-init.c: Likewise.
13217 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
13219         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
13221 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
13223         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
13224         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
13225         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13226         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13228 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13230         * NEWS: Mention addition of nextup and nextdown.
13231         * manual/arith.texi: Document nextup and nextdown.
13232         * manual/libm-err-tab.pl: Add nextup and nextdown.
13233         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
13234         * math/Versions (libm): Add GLIBC_2.24.
13235         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
13236         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13237         Add new test.
13238         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
13239         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
13240         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
13241         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
13242         (nextup_test_data): Likewise.
13243         (nextdown_test_data): Likewise.
13244         * math/s_nextdown.c: New file.
13245         * math/s_nextdownf.c: Likewise.
13246         * math/s_nextdownl.c: Likewise.
13247         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
13248         F(nextup): New function.
13249         F(nextdown): Likewise.
13250         * math/tgmath.h: Add nextup and nextdown.
13251         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
13252         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
13253         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13254         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13255         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13256         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
13257         Add nextup and nextdown.
13258         (CFLAGS-nldbl-nextup.c): New variable.
13259         (CFLAGS-nldbl-nextdown.c): Likewise.
13260         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
13261         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
13262         * sysdeps/nacl/libm.abilist: Update.
13263         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13264         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13265         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13266         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13267         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13268         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13269         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13270         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13271         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13272         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13273         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13274         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13277         Likewise.
13278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13280         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13281         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13282         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13283         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13284         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
13286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
13287         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13288         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13289         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13290         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13292 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13294         * manual/pattern.texi: Fix typos & grammar errors.
13296 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13298         * manual/search.texi: Fix typos & grammar errors.
13300 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13302         * manual/message.texi: Fix typos & grammar errors.
13304 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
13306         * manual/contrib.texi: Fix spelling typos.
13307         * manual/crypt.texi: Likewise.
13308         * manual/filesys.texi: Likewise.
13309         * manual/locale.texi: Likewise.
13310         * manual/message.texi: Likewise.
13311         * manual/nss.texi: Likewise.
13312         * manual/string.texi: Likewise.
13314 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13316         * manual/locale.texi: Fix typos & grammar errors.
13318 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13320         * manual/charset.texi: Fix typos & grammar errors.
13322 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13324         * manual/string.texi: Fix typos.
13326 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13328         * manual/ctype.texi: Fix typos.
13330 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13332         * manual/memory.texi: Fix various typos & grammar errors.
13334 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
13336         [BZ #20255]
13337         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
13338         * math/libm-test.inc (fdim_test_data): Add another test.
13340         [BZ #6796]
13341         [BZ #20255]
13342         [BZ #20256]
13343         * math/s_fdim.c: Include <math_private.h>.
13344         (__fdim): Use math_narrow_eval on result.
13345         * math/s_fdimf.c: Include <math_private.h>.
13346         (__fdimf): Use math_narrow_eval on result.
13347         * sysdeps/i386/fpu/s_fdim.S: Remove file.
13348         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
13349         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
13350         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
13351         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
13352         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
13353         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
13354         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
13355         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
13356         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
13357         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
13358         * math/libm-test.inc (fdim_test_data): Expect errno setting on
13359         overflow.  Add sNaN tests.
13361         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
13362         fpclassify.
13363         * math/s_fdimf.c (__fdimf): Likewise.
13364         * math/s_fdiml.c (__fdiml): Likewise.
13366 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13368         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13369         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
13370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13371         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13372         ifunc'ed strcasecmp/strncasecmp.
13373         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
13374         [EALIGN]: Removed.
13375         [END]: Likewise.
13376         [__strcasecmp]: Define instead of the above to control symbol name.
13377         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
13378         for __strcasecmp_power8.
13379         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
13380         for __strncasecmp_power8.
13381         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
13382         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
13383         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
13384         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
13385         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
13386         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
13388 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
13390         [BZ #20252]
13391         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
13392         arguments when second argument is a NaN.
13393         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
13394         qNaN tests.
13396         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
13397         (conj_test_data): Likewise.
13398         (copysign_test_data): Likewise.
13399         (creal_test_data): Likewise.
13400         (fma_test_data): Likewise.
13401         (fmod_test_data): Likewise.
13403         [BZ #20250]
13404         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
13405         itself.
13406         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
13407         zero input to itself.
13408         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
13409         Likewise.
13410         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
13411         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
13412         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13413         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
13414         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
13416 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13418         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
13419         * nptl/tst-cancel4-common.c: New file.
13420         * nptl/tst-cancel4-common.h: Likewise.
13421         * nptl/tst-cancel4.c: Move common definitions to
13422         tst-cancel4-common.{c,h} file.
13423         * nptl/tst-cancel4_1.c: New test.
13424         * nptl/tst-cancel4_2.c: New test.
13426 2016-06-13  Florian Weimer  <fweimer@redhat.com>
13428         [BZ #20248]
13429         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
13430         (write_message): New function.
13431         (stackoverflow_handler): Call it instead of printf, to avoid
13432         excessive stack usage by printf.
13433         (do_test): Restore SIGSEGV, SIGBUS default handlers.
13435 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13437         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
13438         (prio_inherit_missing): Remove define.
13439         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13440         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13441         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
13442         Likewise.
13443         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13444         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13445         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13446         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13447         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13448         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13450 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13452         [BZ #19670]
13453         [BZ #19672]
13455         * io/test-lfs.c (do_prepare): Use xmalloc.
13456         * io/tst-fcntl.c (do_prepare): Likewise.
13457         * libio/tst-fopenloc.c (do_bz17916): Likewise.
13458         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
13459         * login/tst-utmp.c (do_prepare): Likewise.
13460         * posix/tst-exec.c (do_prepare): Likewise.
13461         * posix/tst-pathconf.c (prepare): Likewise.
13462         * posix/tst-spawn.c (do_prepare): Likewise.
13463         * posix/tst-truncate.c (do_prepare): Likewise.
13464         * rt/tst-aio.c (do_prepare): Likewise.
13465         * rt/tst-aio64.c (do_prepare): Likewise.
13467 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13469         [BZ #20237]
13470         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
13471         (get*ent): Set entidx to NULL during initialization.  If entidx is
13472         NULL, start iteration from the beginning.
13474 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13476         * malloc/malloc.c (musable): Return correct size for dumped fake
13477         mmapped chunk.
13479 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13481         [BZ #20222]
13482         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
13483         (_IO_cookie_write): Likewise.
13484         (_IO_cookie_seek): Likewise.
13485         (_IO_cookie_close): Likewise.
13486         (_IO_old_cookie_seek): Likewise.
13487         (set_callbacks): New function.
13488         (_IO_cookie_init): Call set_callbacks to copy callbacks.
13490 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
13492         * locale/programs/localedef.c (oldstyle_tables): Remove.
13493         * locale/programs/localedef.h (oldstyle_tables): Likewise.
13495 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
13497         [BZ #20240]
13498         * math/Makefile (CFLAGS-s_modf.c): New variable.
13499         (CFLAGS-s_modff.c): Likewise.
13500         (CFLAGS-s_modfl.c): Likewise.
13501         * math/libm-test.inc (modf_test_data): Add sNaN tests.
13503 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
13505         [BZ #20215]
13506         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
13507         [!__GNUC_PREREQ (3,2)]: Likewise.
13509 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
13511         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
13512         (msghdr.msg_controllen): Likewise.
13513         (cmsghdr.cmsg_len): Likewise.
13514         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
13515         ptw-oldsendmsg.
13516         (CFLAGS-oldrecvmsg.c): Remove rule.
13517         (CFLAGS-oldsendmsg.c): Likewise.
13518         (CFLAGS-recvmsg.c): Add rule.
13519         (CFLAGS-sendmsg.c): Likewise.
13520         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
13521         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
13522         (CFLAGS-recvmsg.c): Remove rule.
13523         (CFLAGS-sendmsg.c): Likewise.
13524         (CFLAGS-oldrecvmsg.c): Likewise.
13525         (CFLAGS-oldsendmsg.c): Likewise.
13526         (CFLAGS-recvmmsg.c): Likewise.
13527         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
13528         to kernel defined interfaces.
13529         (msghdr.msg_controllen): Likewise.
13530         (cmsghdr.cmsg_len): Likewise.
13531         (msghdr.__glibc_reserved1): Remove member.
13532         (msghdr.__glibc_reserved2): Likewise.
13533         (cmsghdr.__glibc_reserved1): Likewise.
13534         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
13535         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
13536         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13537         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13538         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
13539         version.
13540         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13541         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
13542         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13543         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
13544         Remove recvmsg and sendmsg.
13545         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
13546         Likewise.
13547         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13548         Likewise.
13549         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13550         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13551         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13552         Likewise.
13553         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13554         Likewise.
13555         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
13556         [libc] (GLIBC_2.24): Likewise.
13557         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13558         Likewise.
13559         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13560         Likewise.
13561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13562         [libc] (GLIBC_2.24): Likewise.
13563         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13564         Likewise.
13565         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13566         Likewise.
13567         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13568         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13569         Likewise.
13570         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13571         Likewise.
13572         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13573         Likewise.
13574         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
13575         Likewise.
13576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
13577         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
13578         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
13579         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
13580         version for {recv,send,recm,sendm}msg.
13581         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13582         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13583         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13584         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13585         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13586         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13587         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13588         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13589         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13590         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13591         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13592         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13594         Likewise.
13595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13596         Likewise.
13597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13599         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13600         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13601         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13602         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13603         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13604         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13607         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13608         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13609         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13611 2016-06-10  Florian Weimer  <fweimer@redhat.com>
13613         [BZ #19564]
13614         Remove __malloc_initialize_hook from the API.
13615         * malloc/malloc.h (__malloc_initialize_hook): Remove.
13616         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
13617         #pragma GCC poison.
13618         * malloc/malloc-hooks.h: New file.
13619         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
13620         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
13621         (old__malloc_initialize_hook): Rename from
13622         __malloc_initialize_hook to evade poisoning.  Turn into compat
13623         symbol.
13624         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
13625         __malloc_initialize_hook.
13626         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
13627         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
13628         * manual/memory.texi (Hooks for Malloc): Remove
13629         __malloc_initialize_hook.  Adjust hook example.
13631 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
13633         [BZ #20235]
13634         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
13635         itself.
13636         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13637         * math/libm-test.inc (log2_test_data): Add sNaN tests.
13639         [BZ #20234]
13640         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
13641         infinity or NaN input to itself.
13643         [BZ #20233]
13644         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
13645         to itself.
13647         [BZ #20232]
13648         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
13649         itself.
13651 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
13653         * sysdeps/x86_64/start.S (_start): Always indirect branch to
13654         __libc_start_main via GOT.
13656 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
13658         * sysdeps/x86_64/memcopy.h: New file.
13659         * sysdeps/x86_64/wordcopy.c: Likewise.
13661 2016-06-09  Florian Weimer  <fweimer@redhat.com>
13663         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
13664         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
13665         <cstdlib>.
13666         (optimization_barrier): New.
13667         (do_test): Use it.  Call quick_exit in the global namespace.
13668         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
13669         instead of <cstdlib>, <thread>.
13670         (optimization_barrier): New.
13671         (non_main_thread): Adjust declaration.  Call optimization_barrier.
13672         Call quick_exit in the global namespace.
13673         (do_test): Call optimization_barrier.  Use pthread_create,
13674         pthread_join instead of std::thread.
13676 2016-06-09  Andreas Schwab  <schwab@suse.de>
13678         [BZ #19755]
13679         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
13680         new entries in auto-propagate mode.
13681         * nscd/grpcache.c (cache_addgr): Likewise.
13683 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13685         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
13686         New functions.
13687         (add_temp_file): Use them.
13689 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
13691         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
13693 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
13695         [BZ #20229]
13696         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
13697         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
13698         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
13700         [BZ #20228]
13701         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
13702         itself.
13703         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13704         * math/libm-test.inc (log10_test_data): Add sNaN tests.
13706         [BZ #20227]
13707         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
13708         itself.
13709         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13710         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13711         * math/libm-test.inc (log_test_data): Add sNaN tests.
13713         [BZ #20226]
13714         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
13715         itself.
13716         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13717         * math/libm-test.inc (exp_test_data): Add sNaN tests.
13718         (exp10_test_data): Likewise.
13719         (expm1_test_data): Likewise.
13721         [BZ #20225]
13722         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
13723         itself.
13724         * math/s_ldexpf.c (__ldexpf): Likewise.
13725         * math/s_ldexpl.c (__ldexpl): Likewise.
13726         * math/w_scalbln.c (__w_scalbln): Likewise.
13727         * math/w_scalblnf.c (__w_scalblnf): Likewise.
13728         * math/w_scalblnl.c (__w_scalblnl): Likewise.
13729         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
13730         (scalbln_test_data): Likewise.
13732         [BZ #20224]
13733         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
13734         argument to itself.
13735         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
13737 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13739         [BZ #19776]
13740         * sysdeps/x86_64/memcpy.S: Make it dummy.
13741         * sysdeps/x86_64/mempcpy.S: Likewise.
13742         * sysdeps/x86_64/memmove.S: New file.
13743         * sysdeps/x86_64/memmove_chk.S: Likewise.
13744         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13745         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13746         * sysdeps/x86_64/memmove.c: Removed.
13747         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13748         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13749         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
13750         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
13751         Likewise.
13752         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13753         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13754         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13755         memcpy-sse2-unaligned, memmove-avx-unaligned,
13756         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
13757         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13758         (__libc_ifunc_impl_list): Replace
13759         __memmove_chk_avx512_unaligned_2 with
13760         __memmove_chk_avx512_unaligned.  Remove
13761         __memmove_chk_avx_unaligned_2.  Replace
13762         __memmove_chk_sse2_unaligned_2 with
13763         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
13764         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
13765         with __memmove_avx512_unaligned.  Replace
13766         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
13767         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
13768         with __memcpy_chk_avx512_unaligned.  Remove
13769         __memcpy_chk_avx_unaligned_2.  Replace
13770         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
13771         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
13772         Replace __memcpy_avx512_unaligned_2 with
13773         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
13774         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
13775         with __mempcpy_chk_avx512_unaligned.  Remove
13776         __mempcpy_chk_avx_unaligned_2.  Replace
13777         __mempcpy_chk_sse2_unaligned_2 with
13778         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
13779         Replace __mempcpy_avx512_unaligned_2 with
13780         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
13781         Replace __mempcpy_sse2_unaligned_2 with
13782         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
13783         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
13784         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
13785         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
13786         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
13787         (ENTRY): Removed.
13788         (END): Likewise.
13789         (ENTRY_CHK): Likewise.
13790         (libc_hidden_builtin_def): Likewise.
13791         Don't include ../memcpy.S.
13792         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
13793         __memcpy_chk_avx512_unaligned_erms and
13794         __memcpy_chk_avx512_unaligned.  Use
13795         __memcpy_chk_avx_unaligned_erms and
13796         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13797         Default to __memcpy_chk_sse2_unaligned.
13798         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13799         Change function suffix from unaligned_2 to unaligned.
13800         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
13801         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
13802         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
13803         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
13804         (ENTRY): Removed.
13805         (END): Likewise.
13806         (ENTRY_CHK): Likewise.
13807         (libc_hidden_builtin_def): Likewise.
13808         Don't include ../mempcpy.S.
13809         (mempcpy): New.  Add a weak alias.
13810         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
13811         __mempcpy_chk_avx512_unaligned_erms and
13812         __mempcpy_chk_avx512_unaligned.  Use
13813         __mempcpy_chk_avx_unaligned_erms and
13814         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13815         Default to __mempcpy_chk_sse2_unaligned.
13817 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13819         [BZ #19881]
13820         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
13821         into ...
13822         * sysdeps/x86_64/memset.S: This.
13823         (__bzero): Removed.
13824         (__memset_tail): Likewise.
13825         (__memset_chk): Likewise.
13826         (memset): Likewise.
13827         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
13828         defined.
13829         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
13830         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
13831         (__memset_zero_constant_len_parameter): Check SHARED instead of
13832         PIC.
13833         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13834         memset-avx2 and memset-sse2-unaligned-erms.
13835         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13836         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
13837         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
13838         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13839         (__bzero): Enabled.
13840         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
13841         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
13842         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
13843         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
13844         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13845         (memset): Removed.
13846         (__memset_chk): Likewise.
13847         (MEMSET_SYMBOL): New.
13848         (libc_hidden_builtin_def): Replace __memset_sse2 with
13849         __memset_sse2_unaligned.
13850         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
13851         __memset_chk_sse2 and __memset_chk_avx2 with
13852         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
13853         Use __memset_chk_sse2_unaligned_erms or
13854         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
13855         __memset_chk_avx512_unaligned_erms and
13856         __memset_chk_avx512_unaligned.
13858 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13860         * math/gen-auto-libm-test.c (fp_format_desc): remove
13861         suffix member.
13862         (output_generic_value): Remove usage of suffix member,
13863         and the resulting unuse of the fp_format argument.
13864         (output_for_one_input_case): Remove unused fp_format
13865         parameter.
13867         * math/auto-libm-test-out: Regenerate.
13869         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
13870         usage with TEST_COND_ibm128.
13871         (TEST_COND_flt_32): Remove.
13872         (TEST_COND_dbl_64): Remove.
13873         (TEST_COND_ldbl_96_intel): Remove.
13874         (TEST_COND_ldbl_96_m68k): Remove.
13875         (TEST_COND_ldbl_128): Remove.
13877 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13879         * auto-libm-test-in:
13880         Replace flt-32 usage with binary32.
13881         Replace dbl-64 usage with binary64.
13882         Replace ldbl-intel-96 usage with intel96.
13883         Replace ldbl-m68k-96 usage with m68k96.
13884         Replace ldbl-128ibm usage with ibm128.
13885         Replace ldbl-128 usage with binary128.
13887         * auto-libm-test-out: Regenerate.
13889 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13891         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
13892         (parse_ulps): Dynamically generate type name matching
13893         string from all_floats.
13894         (get_ulps): Generate the ulps as an array instead.
13895         (output_ulps): Dynamically compose the type based
13896         on the number of supported formats, and print
13897         the indices as type specific helper macros.
13899         * math/libm-test.inc: Remove comment about CHOOSE.
13900         (ulp_data): Generate the type in libm-test-ulps.h.
13901         (ULP_IDX): New macro.
13902         (find_ulps): Update usage of max_ulp.
13904         * math/test-double-vlen2.h (CHOOSE): Remove.
13905         * math/test-double-vlen4.h (CHOOSE): Likewise.
13906         * math/test-double-vlen8.h (CHOOSE): Likewise.
13907         * math/test-float.c (CHOOSE): Likewise.
13908         * math/test-float-finite.c (CHOOSE): Likewise.
13909         * math/test-double.c (CHOOSE): Likewise.
13910         * math/test-double-finite.c (CHOOSE): Likewise.
13911         * math/test-idouble.c (CHOOSE): Likewise.
13912         * math/test-ifloat.c (CHOOSE): Likewise.
13913         * math/test-ildoubl.c (CHOOSE): Likewise.
13914         * math/test-ldouble-finite.c (CHOOSE): Likewise.
13915         * math/test-ldouble.c (CHOOSE): Likewise.
13917         * math/test-float.h (TEST_FLOAT): Remove.
13918         * math/test-double.h (TEST_DOUBLE): Likewise.
13919         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
13921 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13923         * math/gen-libm-test.pl: (apply_lit): New subroutine.
13924         (parse_args): Strip C suffix from floating point literals
13925         typed with 'f' and wrap them with LIT().
13927         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
13928         (test_ff_f_data_nexttoward): Rename to
13929         (test_fj_f_data): New struct.
13930         (nexttoward_test_data): Relabel tests as
13931         TEST_fj_f instead of TEST_ff_f.
13933 2016-06-08  Florian Weimer  <fweimer@redhat.com>
13935         Emacs bug 23726.
13936         * malloc/malloc.c (dumped_main_arena_start): Update comment.
13937         (__libc_realloc): Correct size computation for dumped fake mmapped
13938         chunks.
13940 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
13942         [BZ #20219]
13943         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
13944         to itself.
13945         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
13947         [BZ #20218]
13948         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
13949         to itself.
13950         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
13952 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
13954         [BZ #20195]
13955         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
13956         check to ...
13957         (init_cpu_features): Here.
13959 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
13961         [BZ #20214]
13962         * sysdeps/unix/sysv/linux/bits/in.h
13963         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13964          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
13965         Define to 1.
13966         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13967          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
13968         Define to 0.
13969         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
13970         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
13972 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
13974         [BZ #20198]
13975         * stdlib/Makefile (tests): Add tst-quick_exit, and
13976         tst-thread-quick_exit.
13977         [ifeq ($(have-cxx-thread_local),yes)]
13978         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
13979         (CFLAGS-tst-thread-quick_exit.o): Likewise.
13980         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
13981         (LDLIBS-tst-thread-quick_exit): Likewise.
13982         [ifneq ($(have-cxx-thread_local),yes)]
13983         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
13984         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
13985         If run_dtors is true call __call_tls_dtors.
13986         (exit): Call __run_exit_handlers with run_dtors set to true.
13987         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
13988         definition.
13989         * stdlib/quick_exit.c (quick_exit): Remove function.
13990         (__new_quick_exit): New function.
13991         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
13992         function.
13993         * stdlib/tst-quick_exit.cc: New file.
13994         * stdlib/tst-thread-quick_exit.cc: New file.
13995         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
13996         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
13997         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
13998         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
13999         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
14000         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
14001         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
14002         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
14003         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
14004         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
14005         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
14006         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
14007         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
14008         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
14009         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
14010         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
14012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
14013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
14014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
14015         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
14016         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
14017         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
14018         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
14019         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
14020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
14021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
14022         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
14023         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
14024         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
14026 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14028         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
14029         a typo in comments.
14031 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14033         [BZ #20213]
14034         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
14035         argument to itself.
14036         * math/libm-test.inc (asin_test_data): Add sNaN tests.
14038 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14040         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
14041         required flags.
14042         (CFLAGS-pwritev64.c): Likewise.
14043         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
14044         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14045         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
14046         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14047         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
14048         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
14049         syscall from auto-generation.
14050         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
14051         [WORDSIZE == 64] (pwritev64): Remove macro.
14052         [!PWRITEV] (PWRITEV): Likewise.
14053         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14054         [!PWRITEV] (PWRITE): Likewise.
14055         [!PWRITEV] (OFF_T): Likewise.
14056         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14057         (LO_HI_LONG): Remove macro.
14058         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
14059         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
14060         (PWRITEV): Remove macro.
14061         (PWRITEV_REPLACEMENTE): Likewise.
14062         (PWRITE): Likewise.
14063         (OFF_T): Likewise.
14064         (pwritev64): New function.
14065         * nptl/tst-cancel4.c (tf_writev): Add test.
14067         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
14068         required flags.
14069         (CFLAGS-preadv64.c): Likewise.
14070         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
14071         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14072         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
14073         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
14074         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
14075         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
14076         syscall from auto-generation.
14077         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
14078         [WORDSIZE == 64] (preadv64): Remove macro.
14079         [!PREADV] (PREADV): Likewise.
14080         [!PREADV] (PREADV_REPLACEMENT): Likewise.
14081         [!PREADV] (PREAD): Likewise.
14082         [!PREADV] (OFF_T): Likewise.
14083         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
14084         (LO_HI_LONG): Remove macro.
14085         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
14086         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
14087         (PREADV): Remove macro.
14088         (PREADV_REPLACEMENTE): Likewise.
14089         (PREAD): Likewise.
14090         (OFF_T): Likewise.
14091         (preadv64): New function.
14092         * nptl/tst-cancel4.c (tf_preadv): Add test.
14094 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14096         [BZ #20212]
14097         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
14098         argument to itself.
14099         * math/libm-test.inc (acos_test_data): Add sNaN tests.
14101 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14103         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
14104         New symbol defined as libc_hidden_def.
14105         (strcasestr): Became a weak alias to __strcasestr.
14106         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
14107         according to multi-arch support.  Move __stpncpy hidden
14108         definition from here to...
14109         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
14110         symbol stpncpy.
14111         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
14112         libc_hidden_builtin_def.
14113         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
14114         memset symbol to use when multi-arch support is available.
14116 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14118         * dlfcn/tst-rec-dlopen.c: Include string.h.
14120 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14122         * manual/install.texi: Remove mention of --without-tls
14123         * INSTALL: Regenerate.
14125 2016-06-05  Florian Weimer  <fweimer@redhat.com>
14127         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
14128         Remove.
14129         (call_function, interposed_malloc_called): New variables.
14130         (malloc): New function.
14131         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
14132         and clear call_function as needed.
14134 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
14136         * include/wchar.h (__wmemset): Use __typeof.
14138 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
14140         * include/wchar.h (__wmemset): Declare function without typeof.
14142 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
14144         [BZ #20205]
14145         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
14146         exponent when incrementing negative subnormal with low mantissa
14147         word zero.
14148         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14149         Add another test.
14151 2016-06-03  Florian Weimer  <fweimer@redhat.com>
14153         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
14154         __wmemset instead of wmemset.
14156 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
14158         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
14159         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
14160         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
14161         __USE_KERNEL_IPV6_DEFS to 0.
14162         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
14163         Update comment.
14165 2016-06-01  Florian Weimer  <fweimer@redhat.com>
14167         [BZ #19861]
14168         Do not use IFUNC resolver with potentially unrelocated symbol.
14169         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
14170         (DEFINE_FORK): Remove macro and inline definition.
14171         (fork_alias): Renamed from fork_ifunc.
14172         (__fork_alias): Renamed from __fork_ifunc.
14174 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
14176         [BZ 19653]
14177         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
14178         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
14180 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14182         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
14183         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
14184         i386-linux-gnu).
14185         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
14186         Set to no.
14187         * sysdeps/mach/hurd/configure: Refresh.
14189 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14191         [BZ #20178]
14192         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
14193         on failure instead of exit.
14195 2016-05-30  Roland McGrath  <roland@hack.frob.com>
14197         [BZ #3629]
14198         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
14199         of POSIX.1-2008.
14201 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14203         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
14204           Use PLT entry for calling _hurd_self_sigstate.
14206 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
14208         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
14209         available logical processors with SMT level type sharing L2
14210         cache for Intel processors.
14212 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14214         [BZ #20160]
14215         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
14216         argument to itself before returning the result.
14217         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14218         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14219         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14220         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
14221         Likewise.
14222         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
14223         Likewise.
14224         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
14225         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
14226         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
14227         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
14228         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14229         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14231         [BZ #20160]
14232         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
14233         argument to itself before returning the result.
14234         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14235         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14236         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14237         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
14238         Likewise.
14239         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14240         Likewise.
14241         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
14242         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
14243         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
14244         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
14245         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14246         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14248 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14250         * libm-test.inc: Replace usage of M_El with
14251         (lit_e): New macro.
14253 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14255         * libm-test.inc: Replace usage of M_PI_4l with
14256         (lit_pi_4_d): New macro.
14258 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14260         * libm-test.inc: Replace usage of M_PIl with
14261         (lit_pi): New macro.
14263 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14265         * libm-test.inc: Replace usage of M_PI2l with
14266         (lit_pi_2_d): New macro.
14268         * math/test-double.h (LITM): New macro.
14269         * math/test-float.h (LITM): Likewise.
14270         * math/test-ldouble.h (LITM): Likewise.
14272 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14274         * libm-test.inc (M_PI_34l): Rename to
14275         (lit_pi_3_m_4_d): New Macro.
14276         (M_PI_34_LOG10El): Rename to
14277         (lit_pi_3_m_4_ln10_m_d): New Macro.
14278         (M_PI2_LOG10El): Rename to
14279         (lit_pi_2_ln10_m_d):  New Macro.
14280         (M_PI4_LOG10El): Rename to
14281         (lit_pi_4_ln10_m_d):  New Macro.
14282         (M_PI_LOG10El): Rename to
14283         (lit_pi_ln10_d):  New Macro.
14285 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14287         [BZ #20157]
14288         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
14289         determine whether to negate low half if [_ARCH_PPCGR], and integer
14290         comparison otherwise.
14291         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
14292         determine whether to negate low half.
14294         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
14295         (NO_TEST_INLINE_DOUBLE): Likewise.
14296         (TEST_COND_x86_64): Likewise.
14297         (TEST_COND_x86): Likewise.
14298         (M_PI_6l): Likewise.
14300 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14302         * math/libm-test.inc:
14303         (TEST_FLOAT): Change usage to TEST_COND_binary32.
14304         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
14305         (TEST_LDOUBLE): Update usage to evaluate as true if
14306         the guarded tests match the property being tested.
14307         (LDBL_MAX_EXP): Change to MAX_EXP.
14308         (LDBL_MIN_EXP): Change to MIN_EXP.
14309         (LDBL_MANT_DIG): Change to MANT_DIG, except for
14310         nexttoward tests.
14312 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14314         * math/libm-test.inc:
14315         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
14316         (TYPE_MIN): Likewise.
14317         (TYPE_TRUE_MIN): Likewise.
14318         (TYPE_MAX): Likewise.
14319         (MIN_EXP): Likewise.
14320         (MAX_EXP): Likewise.
14321         (MANT_DIG): Likewise.
14323         (FSTR_MAX): New macro.
14324         (__CONCATX): Likewise.
14325         (QTYPE_STR): Likewise.
14326         (TEST_COND_binary32): Likewise.
14327         (TEST_COND_binary64): Likewise.
14328         (TEST_COND_binary128): Likewise.
14329         (TEST_COND_ibm128): Likewise.
14330         (TEST_COND_intel96): Likewise.
14331         (TEST_COND_m68k96): Likewise.
14333         (TEST_COND_flt_32): Redefine as equivalent format test macro.
14334         (TEST_COND_dbl_64): Likewise.
14335         (TEST_COND_ldbl_96_intel): Likewise.
14336         (TEST_COND_ldbl_96_m68k): Likewise.
14337         (TEST_COND_ldbl_128): Likewise.
14338         (TEST_COND_ldbl_128ibm): Likewise.
14340         (plus_zero): Redefine using LIT macro.
14341         (minus_zero): Likewise.
14342         (plus_infty): Redefine as (INF).
14343         (minux_infty): Redefine as (-INF).
14344         (max_value): Redefine as TYPE_MAX.
14345         (min_value): Redefine as TYPE_MIN.
14346         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
14348         (print_float): Refactor to use snprintf to convert FLOAT values
14349         to string. This brings it closer to dropin replacement of strtof
14350         for the TS 18661 defined types.
14351         (update_stats): Likewise.
14352         (print_complex_function_ulps): Likewise.
14353         (print_max_error): Likewise.
14354         (print_complex_max_error): Likewise.
14355         (check_float_internal): Likewise.
14357         * math/test-float.h (PREFIX): New macro.
14358         (LIT): Likewise.
14359         (TYPE_STR): Likewise.
14360         (FTOSTR): Likewise.
14362         * math/test-double.h (PREFIX): New macro.
14363         (LIT): Likewise.
14364         (TYPE_STR): Likewise.
14365         (FTOSTR): Likewise.
14367         * math/test-ldouble.h (PREFIX): New macro.
14368         (LIT): Likewise.
14369         (TYPE_STR): Likewise.
14370         (FTOSTR): Likewise.
14372 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14374         [BZ #20156]
14375         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
14376         to itself when zero or not finite.
14377         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
14378         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14379         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
14380         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
14382 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
14384         [BZ #20153]
14385         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
14386         x * x + x for infinities and NaNs.
14388         [BZ #20151]
14389         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
14390         argument to itself before returning result.
14391         (__ieee754_y0l): Likewise.
14392         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14393         (__ieee754_y1l).
14395         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
14396         (atan_test_data): Likewise.
14397         (ceil_test_data): Likewise.
14398         (cos_test_data): Likewise.
14399         (cosh_test_data): Likewise.
14400         (erf_test_data): Likewise.
14401         (exp2_test_data): Likewise.
14402         (fabs_test_data): Likewise.
14403         (floor_test_data): Likewise.
14404         (ilogb_test_data): Likewise.
14405         (j0_test_data): Likewise.
14406         (j1_test_data): Likewise.
14407         (jn_test_data): Likewise.
14408         (lgamma_test_data): Likewise.
14409         (lrint_test_data): Likewise.
14410         (llrint_test_data): Likewise.
14411         (logb_test_data): Likewise.
14412         (lround_test_data): Likewise.
14413         (llround_test_data): Likewise.
14414         (nearbyint_test_data): Likewise.
14415         (rint_test_data): Likewise.
14416         (round_test_data): Likewise.
14417         (sin_test_data): Likewise.
14418         (sincos_test_data): Likewise.
14419         (sinh_test_data): Likewise.
14420         (sqrt_test_data): Likewise.
14421         (tan_test_data): Likewise.
14422         (tanh_test_data): Likewise.
14423         (tgamma_test_data): Likewise.
14424         (trunc_test_data): Likewise.
14425         (y0_test_data): Likewise.
14426         (y1_test_data): Likewise.
14427         (yn_test_data): Likewise.
14429         * math/libm-test.inc: Update comment about NaN testing.
14430         (TEST_SNAN): New macro.
14431         (snan_value): Likewise.
14432         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
14433         (fpclassify_test_data): Add sNaN tests.
14434         (isfinite_test_data): Likewise.
14435         (isinf_test_data): Likewise.
14436         (isnan_test_data): Likewise.
14437         (isnormal_test_data): Likewise.
14438         (issignaling_test_data): Likewise.
14439         (signbit_test_data): Likewise.
14440         * math/gen-libm-test.pl (%beautify): Add snan_value.
14441         (show_exceptions): Add argument $test_snan.
14442         (parse_args): Handle snan_value as non-finite.  Update call to
14443         show_exceptions.
14444         * math/Makefile (libm-test-no-inline-cflags): Add
14445         -fsignaling-nans.
14447 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14449         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
14450         (CFLAGS-oldsendmsg.c): Add rule.
14451         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14452         Correct recvmsg symbol name.
14453         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
14454         Likewise.
14456 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14458         * sysdeps/unix/sysv/linux/Makefile
14459         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
14460         oldsendmmsg.
14461         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
14462         sendmmsg.
14463         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14464         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14465         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14466         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14468         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14469         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14471         Likewise.
14472         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14473         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
14474         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14475         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
14476         iovlen and controllen fields to adjust to POSIX specification.
14477         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14479         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
14480         and change to correct expected type.
14481         (msghdr.msg_controllen): Likewise.
14482         (cmsghdr.cmsg_len): Likewise.
14483         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
14484         expected POSIX assumption about the size.
14485         (msghdr.msg_controllen): Likewise.
14486         (msghdr.__glibc_reserved1): Likewise.
14487         (msghdr.__glibc_reserved2): Likewise.
14488         (cmsghdr.cmsg_len): Likewise.
14489         (cmsghdr.__glibc_reserved1): Likewise.
14490         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
14491         Add ptw-oldrecvmsg and ptw-oldsendmsg.
14492         (CFLAGS-sendmsg.c): Remove rule.
14493         (CFLAGS-recvmsg.c): Likewise.
14494         (CFLAGS-oldsendmsg.c): Add rule.
14495         (CFLAGS-oldrecvmsg.c): Likewise.
14496         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
14497         recvmsg and sendmsg.
14498         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
14499         Likewise.
14500         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
14501         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
14502         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14503         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
14504         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14505         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14506         Likewise.
14507         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14508         Likewise.
14509         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
14510         Likewise.
14511         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
14512         Likewise.
14513         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14514         Likewise.
14515         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14516         Likewise.
14517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
14518         (GLIBC_2.24): Likewise.
14519         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14520         Likewise.
14521         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14522         Likewise.
14523         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14524         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14525         Likewise.
14526         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14527         Likewise.
14528         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14529         Likewise.
14530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
14531         (GLIBC_2.24): Likewise.
14532         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
14533         Likewise.
14534         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
14535         Likewise.
14536         * sysdeps/unix/sysv/linux/Makefile
14537         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
14538         (CFLAGS-sendmsg.c): Add rule.
14539         (CFLAGS-recvmsg.c): Likewise.
14540         (CFLAGS-oldsendmsg.c): Likewise.
14541         (CFLAGS-oldrecvmsg.c): Likewise.
14542         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
14543         initialization.
14544         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
14545         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
14546         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
14547         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14548         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
14549         iovlen and controllen fields to adjust to POSIX specification.
14550         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
14551         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
14552         added recvmsg and sendmsg.
14553         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14554         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14555         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14556         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14557         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14558         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14559         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14560         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14561         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14562         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14563         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14564         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14566         Likewise.
14567         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
14568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14569         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14570         Likewise.
14571         Likewise.
14572         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14573         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14574         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14575         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14576         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14577         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14579         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14581         Likewise.
14582         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14583         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14585         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
14586         from auto-generation.
14587         (sendmsg): Likewise.
14588         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
14589         (sendmsg): Likewise.
14590         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
14591         (sendmsg): Likewise.
14592         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
14593         (sendmsg): Likewise.
14594         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
14595         (sendmsg): Likewise.
14596         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
14597         (sendmsg): Likewise.
14598         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
14599         Likewise.
14600         (sendmsg): Likewise.
14601         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
14602         (sendmsg): Likewise.
14603         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14604         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14605         Remove.
14606         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14607         Likewise.
14608         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14609         Undefine.
14610         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14611         Likewise.
14612         * sysdeps/unix/sysv/linux/kernel-features.h
14613         (__ASSUME_SENDMSG_SYSCALL): Define.
14614         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14615         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14616         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14617         Remove.
14618         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14619         Likewise.
14620         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14621         Undefine.
14622         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14623         Likewise.
14624         * sysdeps/unix/sysv/linux/s390/kernel-features.h
14625         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14626         Remove.
14627         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14628         Likewise.
14629         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14630         Undefine.
14631         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14632         Likewise.
14633         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14634         (__ASSUME_SENDMSG_SYSCALL): Undefine.
14635         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14636         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14637         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14638         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14639         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14640         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14641         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14643 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14645         * stdlib/gen-tst-strtod-round.c: Add backslash to
14646         compile command in comment.
14647         (printfp): Remove the literal suffix, and define an infinite
14648         value as INF to avoid expansion clash with INFINITY.
14649         (round_str): Remove the literal suffix.
14650         (round_for_all): Likewise, remove the now duplicate ldbl-64
14651         entry, and remove some magic constants.
14653         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
14654         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
14655         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
14656         (_CONCAT): New macro.
14657         (CONCAT): Likewise.
14658         (CHOOSE_ld): Likewise.
14659         (CHOOSE_f): Likewise.
14660         (CHOOSE_d): Likewise.
14661         (FTYPE_MEMBER): Likewise.
14662         (BOOL_MEMBER): Likewise.
14663         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
14664         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
14665         (_XNTRY): Likewise.
14666         (XNTRY): Likewise.
14667         (_ENTRY): Likewise.
14668         (ENTRY): Likewise.
14669         (test_exactness): Generate members via macro.
14670         (test_results): Likewise.
14671         (test): Update members.
14672         (TEST): Redefine using new macros.
14673         (INF): New macro.
14674         (fetestmodes): New structure.
14675         (do_test): Refactor to be type generic.
14676         (test_in_one_mode): Refactor duplicate code into
14677         (GEN_ONE_TEST): New macro.
14679         * stdlib/tst-strtod-round-data.h: Regenerate.
14681         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
14682         Extend to pass additional arbitrary parameters to
14683         generators.
14685 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
14687         [BZ #15479]
14688         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
14689         floating-point state after first floating-point operation on
14690         input.  Restore full floating-point state instead of just rounding
14691         mode.
14692         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14693         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14694         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14695         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14696         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14698         [BZ #15479]
14699         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
14700         floating-point state after first floating-point operation on
14701         input.  Restore full floating-point state instead of just rounding
14702         mode.
14703         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14704         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14705         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14706         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14707         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14709 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14711         [BZ #19727]
14712         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
14713         valid high surrogate.
14714         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
14715         of an utf16 surrogate.
14716         * iconv/gconv_simple.c (BODY): Likewise.
14717         * iconvdata/bug-iconv12.c: New file.
14718         * iconvdata/Makefile (tests): Add bug-iconv12.
14720 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14722         [BZ #19726]
14723         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
14724         outptrp in case of an illegal input.
14725         * iconv/tst-iconv6.c: New file.
14726         * iconv/Makefile (tests): Add tst-iconv6.
14728 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14730         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
14731         an error in case of a value in range of an utf16 low surrogate.
14733 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14735         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
14736         an error in case of a value in range of an utf16 low surrogate.
14738 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14740         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
14741         Move to ...
14742         * sysdeps/s390/Makefile: ... here.
14743         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
14744         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
14745         (BRANCH_ON_COUNT): New define.
14746         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
14747         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
14748         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
14749         run on s390-32, too.
14750         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
14751         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
14752         run on s390-32, too.
14753         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
14754         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
14755         run on s390-32, too.
14757 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14759         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
14760         etf3eh or new vector loop-variant.
14762 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14764         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
14765         etf3eh or new vector loop-variant.
14767 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14769         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
14770         or new vector loop-variant.
14772 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14774         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
14775         Rename to TR_LOOP and usage of tr instead of troo instruction.
14777 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14779         * sysdeps/s390/multiarch/gconv_simple.c: New File.
14780         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
14782 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14784         * sysdeps/s390/multiarch/8bit-generic.c: New File.
14785         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
14786         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
14787         New override define.
14788         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
14790 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14792         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
14793         * sysdeps/s390/configure.ac: Add test for S390 vector register
14794         support in gcc.
14795         * sysdeps/s390/configure: Regenerated.
14797 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14799         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
14800         Install file from $(objpfx)gconv-modules.
14801         ($(objpfx)gconv-modules): Concatenate architecture specific file
14802         in variable sysdeps-gconv-modules and gconv-modules in src dir.
14803         * sysdeps/s390/gconv-modules: New file.
14804         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
14805         Deleted.
14806         ($(objpfx)gconv-modules-s390): Deleted.
14807         (sysdeps-gconv-modules): New variable.
14809 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14811         [BZ #15479]
14812         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
14813         of immediate operand to rounding instruction.
14814         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
14815         Likewise.
14816         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
14817         Likewise.
14818         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
14819         Likewise.
14821 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14823         * math/libm-test.inc (MIN_EXP): Directly define as
14824         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
14826 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14828         * math/libm-test.inc (MANT_DIG): Directly define as
14829         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
14831 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14833         * stdlib/gen-tst-strtod-round.c (main):
14834           Change usage to more closely match the generated
14835           output.  Add usage and compilation instructions.
14836           (string_to_fp): Add and use FILE* parameter as
14837           output target.
14838           (print_fp): Likewise.
14839           (round_str): Likewise.
14840           (round_for_all): Likewise.
14841         * stdlib/tst-strtod-round.c (tests): Move into
14842         * stdlib/tst-strtod-round-data.h: New file.
14844 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14846         [BZ #15479]
14847         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
14848         (__round): Do not force "inexact" exception.
14849         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
14850         variable.
14851         (__round): Do not force "inexact" exception.
14852         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
14853         (__roundf): Do not force "inexact" exception.
14854         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
14855         (__roundl): Do not force "inexact" exception.
14856         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
14857         (__roundl): Do not force "inexact" exception.
14858         * math/libm-test.inc (round_test_data): Do not allow spurious
14859         "inexact" exceptions.
14861         [BZ #15479]
14862         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
14863         exception in comment.
14864         (huge): Remove variable.
14865         (__floor): Do not force "inexact" exception.
14866         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
14867         "inexact" exception in comment.
14868         (huge): Remove variable.
14869         (__floor): Do not force "inexact" exception.
14870         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
14871         exception in comment.
14872         (huge): Remove variable.
14873         (__floorf): Do not force "inexact" exception.
14874         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
14875         exception in comment.
14876         (huge): Remove variable.
14877         (__floorl): Do not force "inexact" exception.
14879         [BZ #15479]
14880         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
14881         exception in comment.
14882         (huge): Remove variable.
14883         (__ceil): Do not force "inexact" exception.
14884         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
14885         "inexact" exception in comment.
14886         (huge): Remove variable.
14887         (__ceil): Do not force "inexact" exception.
14888         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
14889         (__ceilf): Do not force "inexact" exception.
14890         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
14891         exception in comment.
14892         (huge): Remove variable.
14893         (__ceill): Do not force "inexact" exception.
14895 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
14897         * config.h.in (BIND_NOW): New.
14898         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
14899         * configure: Regenerated.
14900         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
14901         indirect branch via the GOT slot.
14903 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14905         [BZ #19765]
14906         * sysdeps/s390/mempcpy.S: New File.
14907         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14908         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
14909         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14910         Add mempcpy variants.
14911         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
14912         (memcpy): Adjust to be usable from mempcpy entry point.
14913         (__memcpy_mvcle): Likewise.
14914         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14915         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
14916         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
14917         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
14918         (__memcpy_z10): Likewise.
14919         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14921 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14923         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
14924         Remove __GI_ symbol.
14925         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
14926         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
14927         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
14928         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14929         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
14930         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
14932 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14934         * sysdeps/s390/s390-64/memcpy.S (memcpy):
14935         Use cghi instead of chi to compare 64bit value.
14937 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14939         * sysdeps/s390/s390-32/memcpy.S (memcpy):
14940         Jump to 1MB check before executing mvc-loop.
14942 2016-05-24  Florian Weimer  <fweimer@redhat.com>
14944         [BZ #6527]
14945         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
14946         unconditionally.
14947         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
14949 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14951         * stdlib/tst-strtod6.c (do_test): Use new type generic
14952         invocation of the test function.
14953         (test): Refactor into ...
14954         (TEST_STRTOD): New macro base function.
14956 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14958         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
14959         (TEST_STRTOD): New macro.
14960         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
14962 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14964         * stdlib/tst-strtod6.c (do_test): Use new type generic
14965         invocation of the test function.
14966         (test): Refactor into ...
14967         (TEST_STRTOD): New macro base function.
14969 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14971         CVE-2016-4429
14972         [BZ #20112]
14973         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
14974         payload.
14976 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14978         [BZ #20111]
14979         * bits/sockaddr.h (_SS_SIZE): Define.
14980         * bits/socket.h (_SS_SIZE): Remove.
14981         (_SS_PADSIZE): Adjust to account for all padding.
14982         (struct sockaddr_storage): Update comment.  Avoid implicit
14983         padding.
14984         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
14985         (_SS_PADSIZE): Adjust to account for all padding.
14986         (struct sockaddr_storage): Update comment.  Avoid implicit
14987         padding.
14988         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
14989         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
14990         (_SS_PADSIZE): Adjust to account for all padding.
14991         (struct sockaddr_storage): Update comment.  Avoid implicit
14992         padding.
14993         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
14994         __SS_SIZE is 126 in this version.
14995         * inet/tst-sockaddr.c: New file.
14996         * inet/Makefile (tests): Add tst-sockaddr.c
14997         (tst-sockaddr.c): Compile with non-strict aliasing.
14999 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
15001         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
15002         [XPG3 || XPG4].
15003         (NL_ARGMAX): Also expect for [XPG3].
15004         (NL_LANGMAX): Likewise.
15005         (NL_MSGMAX): Likewise.
15006         (NL_NMAX): Likewise.
15007         (NL_SETMAX): Likewise.
15008         (NL_TEXTMAX): Likewise.
15009         (NZERO): Likewise.
15010         (TMP_MAX): Likewise.
15011         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
15012         variable.
15014         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
15015         (PF_MAX): Update value.
15016         (AF_KCM): New macro.
15017         (SOL_NETBEUI): Likewise.
15018         (SOL_LLC): Likewise.
15019         (SOL_DCCP): Likewise.
15020         (SOL_NETLINK): Likewise.
15021         (SOL_TIPC): Likewise.
15022         (SOL_RXRPC): Likewise.
15023         (SOL_PPPOL2TP): Likewise.
15024         (SOL_BLUETOOTH): Likewise.
15025         (SOL_PNPIPE): Likewise.
15026         (SOL_RDS): Likewise.
15027         (SOL_IUCV): Likewise.
15028         (SOL_CAIF): Likewise.
15029         (SOL_ALG): Likewise.
15030         (SOL_NFC): Likewise.
15031         (SOL_KCM): Likewise.
15032         (MSG_BATCH): New enum value and macro.
15034 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
15036         [BZ #18185]
15037         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
15038         sharing L2 cache to 2 for Knights Landing.
15040 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
15042         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
15043         (FTW_DP): Do not expect for [XPG3 || XPG4].
15044         (FTW_SL): Do not expect for [XPG3].
15045         (FTW_SLN): Likewise.
15046         (FTW_PHYS): Likewise.
15047         (FTW_MOUNT): Likewise.
15048         (FTW_DEPTH): Likewise.
15049         (FTW_CHDIR): Likewise.
15050         (nftw): Likewise.
15051         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
15052         variable.
15054 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15056         * manual/errno.texi: Fix various typos & grammar errors.
15058 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15060         * manual/intro.texi: Fix duplicated typo.
15062 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15064         [BZ #13304]
15065         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
15066         <float.h>, <math_private.h> and <stdlib.h>.
15067         (add_split): New function.
15068         (mul_split): Likewise.
15069         (ext_val): New typedef.
15070         (store_ext_val): New function.
15071         (mul_ext_val): New function.
15072         (compare): New function.
15073         (add_split_ext): New function.
15074         (__fmal): After checking for Inf, NaN and zero, compute result as
15075         an exact sum of scaled double values in round-to-nearest before
15076         adding those up and adjusting for other rounding modes.
15077         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
15078         tests of fma.
15079         * math/auto-libm-test-out: Regenerated.
15081 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15083         [BZ #20119]
15084         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
15085         processor level type mask for CPUID with EAX == 11.
15087 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15089         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
15090         logical threads if the HTT bit is 0.
15091         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
15092         (index_cpu_HTT): Likewise.
15093         (reg_HTT): Likewise.
15095 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15097         [BZ #20115]
15098         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
15099         Remove alignments on jump targets.
15101 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15103         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
15104         (getpwent): Likewise.
15105         (setpwent): Likewise.
15106         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
15107         variable.
15109         * conform/data/search.h-data (insque): Do not expect for [XPG3].
15110         (remque): Likewise.
15111         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
15112         variable.
15114 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15116         * math/libm-test.inc: Update comment not to refer to signs of NaNs
15117         not being tested.
15119 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15121         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15122         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
15123         call.
15124         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15125         (__condvar_cleanup1): Likewise.
15127 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15129         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
15130         New
15131         (__pthread_unwind): Renamed to ...
15132         (PTHREAD_UNWIND): This.
15133         (__pthread_enable_asynccancel): Replace
15134         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
15136 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15138         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
15139         (CLONE_NEWCGROUP): New macro.
15141         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
15142         (Q_GETNEXTQUOTA): New macro.
15144 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15146         [BZ #19907]
15147         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
15148         buffer updated by the previous run.
15149         * string/test-memcpy.c (do_one_test): Likewise.
15150         * benchtests/bench-memmove.c (do_one_test): Add a comment.
15151         * string/test-memmove.c (do_one_test): Likewise.
15153 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
15155         [BZ #20094]
15156         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
15157         not [__USE_XOPEN].
15158         (unlockpt): Likewise.
15159         (ptsname): Likewise.
15160         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
15161         variable.
15163         [BZ #20076]
15164         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
15165         instead of [__USE_UNIX98].
15166         (S_ISSOCK): Likewise.
15167         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
15168         variable.
15170         [BZ #20074]
15171         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
15172         [__USE_POSIX].
15173         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
15174         variable.
15176         [BZ #20051]
15177         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
15178         (ttyslot): Do not declare.
15179         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
15180         (ttyslot): New prototype.
15181         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
15182         variable.
15183         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15185 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15187         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
15189 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15191         Fix race condition in tst-mallocfork2, use fewer resources.
15192         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
15193         to current process group.
15194         (signal_sender): Yield in the non-sleeping case.
15196 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
15198         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
15199         (ecvt): Likewise.
15200         (fcvt): Likewise.
15201         (gcvt): Likewise.
15202         (getsubopt): Likewise.
15203         (grantpt): Likewise.
15204         (initstate): Likewise.
15205         (l64a): Likewise.
15206         (mktemp): Likewise.
15207         (mkstemp): Likewise.
15208         (ptsname): Likewise.
15209         (random): Likewise.
15210         (realpath): Likewise.
15211         (setstate): Likewise.
15212         (srandom): Likewise.
15213         (ttyslot): Likewise.
15214         (unlockpt): Likewise.
15215         (valloc): Likewise.
15217         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
15218         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
15219         variable.
15221 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15223         [BZ #20072]
15224         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
15225         init_cpu_features only if SHARED is defined.
15226         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
15228 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15230         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
15231         non-inclusive caches on Intel processors.
15233 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15235         * malloc/malloc.c (dumped_main_arena_start)
15236         (dumped_main_arena_end): New variables.
15237         (DUMPED_MAIN_ARENA_CHUNK): New macro.
15238         (do_check_chunk): Skip dumped fake mmapped chunks.
15239         (munmap_chunk): Likewise.
15240         (__libc_free): Do not adjust statistics for fake mmapped chunks.
15241         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
15242         mmapped chunks.
15243         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
15244         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
15245         and dumped_main_arena_end to cover the dumped heap.
15247 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
15249         * conform/data/time.h-data (getdate_err): Do not expect for
15250         [XPG3].
15251         (getdate): Likewise.
15252         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
15253         variable.
15255         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
15256         (F_ULOCK): Likewise.
15257         (F_TEST): Likewise.
15258         (F_TLOCK): Likewise.
15259         (useconds_t): Likewise.
15260         (intptr_t): Do not expect for [XPG3] or [XPG4].
15261         (brk): Do not expect for [XPG3]
15262         (fchown): Likewise.
15263         (fchdir): Likewise.
15264         (ftruncate): Likewise.
15265         (getdtablesize): Likewise.
15266         (gethostid): Likewise.
15267         (getpagesize): Likewise.
15268         (getpgid): Likewise.
15269         (getsid): Likewise.
15270         (getwd): Likewise.
15271         (lchown): Likewise.
15272         (lockf): Likewise.
15273         (readlink): Likewise.
15274         (sbrk): Likewise.
15275         (setpgrp): Likewise.
15276         (setregid): Likewise.
15277         (setreuid): Likewise.
15278         (symlink): Likewise.
15279         (sync): Likewise.
15280         (truncate): Likewise.
15281         (ualarm): Likewise.
15282         (usleep): Likewise.
15283         (vfork): Likewise.
15284         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
15285         variable.
15287         [BZ #20054]
15288         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
15289         not [__USE_UNIX98].
15290         * conform/data/unistd.h-data (gethostname): Do not expect for
15291         [XPG3].
15293         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
15294         [!POSIX] (S_IFBLK): Likewise.
15295         [!POSIX] (S_IFCHR): Likewise.
15296         [!POSIX] (S_IFIFO): Likewise.
15297         [!POSIX] (S_IFREG): Likewise.
15298         [!POSIX] (S_IFDIR): Likewise.
15299         [!POSIX] (S_IFLNK): Likewise.
15300         [!POSIX] (S_IFSOCK): Likewise.
15301         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
15302         variable.
15303         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15305 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
15307         * sysdeps/aarch64/memset.S (__memset):
15308         Rewrite of optimized memset.
15310 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15312         [BZ #19703]
15313         Partially async-signal-safe fork for single-threaded processes.
15314         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
15315         variable.  Do not acquire and reset/release malloc and libio locks
15316         in single-threaded processes.
15317         * malloc/tst-mallocfork2.c: New file.
15318         * malloc/Makefile (tests): Add it.
15320 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15322         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
15323         argument.  Use scratch buffer instead of extend_alloca.
15324         (gethosts): Use scratch buffer instead of extend_alloca.
15325         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
15326         extend_alloca.
15327         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
15329 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
15331         [BZ #20055]
15332         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
15333         instead of [__USE_UNIX98].
15334         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
15335         [__USE_UNIX98].
15336         * conform/data/termios.h-data (tcgetsid): Do not expect for
15337         [XPG3].
15338         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
15339         variable.
15340         (test-xfail-XPG4/termios.h/conform): Likewise.
15342 2016-05-11  Florian Weimer  <fweimer@redhat.com>
15344         Do not use mcheck in localedef.
15345         * locale/programs/localedef.c (turn_on_mcheck)
15346         (__malloc_initialize_hook): Remove.
15348 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15350         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
15351         * sysdeps/s390/s390-64/Makefile: Likewise.
15353 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15355         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
15356         Remove ifunc-defines.sym.
15357         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
15358         Likewise.
15359         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
15360         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15361         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
15362         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
15363         rtld-global-offsets.sym.
15364         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
15365         * sysdeps/x86/cpu-features-offsets.sym: This.
15366         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
15367         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
15369 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
15371         [BZ #20073]
15372         * io/sys/stat.h (fchmod): Declare for
15373         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
15374         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
15375         variable.
15377         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
15378         [XPG3] (S_IFSOCK): Likewise.
15379         [XPG3] (S_ISVTX): Likewise.
15380         [XPG3] (S_ISLNK): Likewise.
15381         [XPG3] (S_ISSOCK): Likewise.
15382         [XPG3] (fchmod): Likewise.
15383         [XPG3] (lstat): Likewise.
15384         [XPG3] (mknod): Likewise.
15386         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
15387         [XPG3].  Expect type long and XFAIL for [XPG4].
15388         (st_blocks): Likewise.
15390         [BZ #20044]
15391         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
15392         (pthread_atfork): New prototype.
15393         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
15394         variable.
15396         [BZ #20043]
15397         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
15398         prototype.
15400 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15402         [BZ #20017]
15403         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
15404         gmtime.
15406 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15408         [BZ #19994]
15409         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
15410         flag in _res.options.
15412 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
15414         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
15415         [XPG3 || XPG4].
15416         (blksize_t): Likewise.
15417         (clockid_t): Likewise.
15418         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
15419         variable.
15420         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15422 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15424         * sysdeps/unix/sysv/linux/s390/init-first.c:
15425         Add VDSO_SYMBOL(getcpu).
15426         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
15427         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
15428         Add VDSO_SYMBOL(getcpu).
15429         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
15430         New define HAVE_GETCPU_VSYSCALL.
15431         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15433 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15435         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
15436         instead of <sysdeps/x86_64/cacheinfo.c>.
15437         * sysdeps/x86_64/cacheinfo.c: Moved to ...
15438         * sysdeps/x86/cacheinfo.c: Here.
15440 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15442         * malloc/malloc-internal.h: Adjust header file guard.
15444 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15446         [BZ #19787]
15447         * inet/getnameinfo.c (check_sprintf_result): New function.
15448         (CHECKED_SNPRINTF): New macro.
15449         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
15450         to the host buffer.
15451         (gni_host_local): Use checked_copy to copy the host name.
15452         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
15453         (gni_serv_local): Use checked_copy to copy the service name.
15454         (getnameinfo): Remove unnecessary truncation of result buffers.
15456 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15458         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
15459         in case of inet_ntop failure.
15461 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15463         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
15464         avoid long lines.
15465         (gni_host_inet_numeric): Likewise.  Reduce scope of local
15466         variables.
15467         (gni_host_inet, gni_host_local): Add comment.
15468         (gni_host): Add comment.  Use temporary to avoid long lines.
15470 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15472         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
15473         registers specifiers where general purpose registers specifiers should
15474         have been used.
15476 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15478         [BZ #19779]
15479         CVE-2016-1234
15480         Avoid copying names of directory entries.
15481         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
15482         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
15483         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
15484         (struct readdir_result): New type.
15485         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
15486         (GL_READDIR): New macros.
15487         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
15488         (convert_dirent, convert_dirent64): New functions.
15489         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
15490         convert_dirent64.  Adjust references to the readdir result.
15491         * sysdeps/unix/sysv/linux/i386/glob64.c:
15492         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
15493         * posix/bug-glob2.c (LONG_NAME): Define.
15494         (filesystem): Add LONG_NAME.
15495         (my_DIR): Increase the size of room_for_dirent.
15497 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
15499         [BZ #20041]
15500         * misc/sys/select.h (__need_timespec): Only define if
15501         [__USE_XOPEN2K].
15502         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
15503         variable.
15504         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15505         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15506         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15508 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15509             Segher Boessenkool  <segher@gcc.gnu.org>
15511         [BZ #20004]
15512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
15513         (__novec_swapcontext): Add missing load.
15515 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
15517         [BZ #20023]
15518         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
15519         <time.h>.
15520         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
15521         variable.
15522         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15524 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
15527         flags CLONE_VM compare.
15529 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15531         [BZ #20031]
15532         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
15533         completely empty.
15535 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15537         [BZ #19573]
15538         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
15539         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
15540         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
15541         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
15542         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
15543         (hesiod_free_list): Mark as hidden.
15544         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
15545         res_set, res_get.
15546         * hesiod/hesiod.c: Remove unnecessary forward declarations.
15547         (init, __hesiod_res_get, __hesiod_res_set): Remove.
15548         (hesiod_init): Remove obsolete res_ninit call.
15549         (hesiod_end): Do not free resolver state.  Do not invoke callback.
15550         (hesiod_bind): Do not call init.
15551         (get_txt_records): Use res_mkquery, res_send instead of
15552         res_nmkquery, res_nsend.
15553         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
15554         instead of _nss_hesiod_init.
15555         (_nss_hesiod_initgroups_dyn): Likewise.
15556         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
15557         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
15558         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
15560 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15562         * hesiod/hesiod_p.h (DEF_RHS): Remove.
15563         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
15565 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15567         * hesiod/hesiod.h: Remove RCS keyword.
15568         * hesiod/hesiod_p.h: Likewise.
15570         * hesiod/hesiod.c: Likewise.
15572 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
15574         [BZ #12450]
15575         * locale/iso-639.def: Add Samogitian/sgs.
15577 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
15579         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
15581         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
15583 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
15584             Carlos O'Donell  <carlos@redhat.com>
15586         [BZ #19072]
15587         * grp/Makefile (headers): Add grp-merge.h
15588         (routines): Add grp-merge.
15589         * grp/getgrgid_r.c: Include grp-merge.h.
15590         (DEEPCOPY_FN): Define.
15591         (MERGE_FN): Define.
15592         * grp/getgrname_r.c: Include grp-merge.h.
15593         (DEEPCOPY_FN): Define.
15594         (MERGE_FN): Define.
15595         * grp/grp-merge.c: New file.
15596         * grp/grp-merge.h: New file.
15597         * include/grp-merge.h: New file.
15598         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
15599         __copy_grp@GLIBC_PRIVATE.
15600         * manual/nss.texi (Actions in the NSS configuration): Describe
15601         return, continue, and merge.
15602         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
15603         (DEEPCOPY_FN): Define.
15604         (MERGE_FN): Define.
15605         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
15606         (DEEPCOPY_FN): Define.
15607         (MERGE_FN): Define.
15608         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
15609         [!MERGE_FN]: Define __merge_einval.
15610         (CHECK_MERGE): Define.
15611         (REENTRANT_NAME): Process merge if do_merge is true.
15612         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
15613         (__nss_getent_r): Likewise.
15614         * nss/nsswitch.c (nss_parse_service_list): Likewise.
15615         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
15617 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15619         [BZ #20012]
15620         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
15621         length to calculate the buffer to read.
15622         (fmemopen_write): Set the buffer position based on bytes written.
15623         (fmemopen_seek): Return EINVAL for invalid whence modes.
15625         [BZ #19957]
15626         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
15627         tst-getpid2.
15628         (test): Add tst-clone2.
15629         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
15630         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
15631         pid/tid fields for CLONE_VM.
15632         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
15633         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
15634         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
15635         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
15636         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
15637         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
15638         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
15639         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
15640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
15641         Likewise.
15642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15643         Likewise.
15644         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
15645         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
15646         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
15647         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
15648         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
15649         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
15650         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
15651         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
15653 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15655         [BZ #19642]
15656         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
15657         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
15658         (gni_serv_local, gni_serv): New functions extracted from
15659         getnameinfo.
15660         (getnameinfo): Call gni_host and gni_serv to perform the
15661         processing.  Always free scratch buffer.
15663 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15665         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
15666         remaining bytes in the dest string, with zeros.
15668 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15670         [BZ #20010]
15671         CVE-2016-3706
15672         * sysdeps/posix/getaddrinfo.c
15673         (convert_hostent_to_gaih_addrtuple): New function.
15674         (gethosts): Call convert_hostent_to_gaih_addrtuple.
15675         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
15676         AF_INET data.
15678 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15680         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
15681         callback function gl_readdir.
15682         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
15683         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
15684         (glob_in_dir): Remove len.  Use strdup instead of malloc and
15685         memcpy to copy the name.
15686         * manual/pattern.texi (Calling Glob): Document requirements for
15687         implementations of the gl_readdir callback function.
15688         * manual/examples/mkdirent.c: New example.
15689         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
15690         per the manual guidance.
15691         * posix/tst-gnuglob.c (my_readdir): Likewise.
15693 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
15695         [BZ #20014]
15696         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
15697         not [__USE_POSIX].
15698         (getchar_unlocked): Likewise.
15699         (putc_unlocked): Likewise.
15700         (putchar_unlocked): Likewise.
15701         (flockfile): Likewise.
15702         (ftrylockfile): Likewise.
15703         (funlockfile): Likewise.
15704         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
15705         variable.
15706         (test-xfail-XPG4/stdio.h/conform): Likewise.
15708         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
15709         Expect constant.
15710         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
15711         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
15712         variable.
15713         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15714         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15716         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
15717         [__USE_LARGEFILE64] (off64_t): Likewise.
15718         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
15719         variable.
15721 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15723         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
15725 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15727         * resolv/inet_addr.c: Reindent preprocessor conditionals.
15728         * resolv/res_init.c: Likewise.
15729         * resolv/res_mkquery.c: Likewise.
15731 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15733         * resolv/res_init.c (isascii): Do not define.  Use definition in
15734         <ctype.h>.
15735         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
15736         (LOG_AUTH): Remove.
15737         (SPRINTF): Remove, adjust caller.
15738         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
15740 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15742         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
15743         SUNSECURITY conditional.
15744         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
15746 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15748         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
15749         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
15750         Remove BSD-related preprocessor conditionals.
15751         * conf/portability.h: Remove.
15753 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15755         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
15756         * resolv/res_data.c: Likewise.
15758 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15760         * resolv/res_comp.c: Remove code conditional on __ultrix__.
15761         * resolv/res_data.c: Remove code conditional on ultrix.
15763 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15765         * resolv/res_init.c (RFC1535): Do not define.  Remove
15766         RFC1535 preprocessor conditionals.
15767         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
15768         because there configuration options which make the resolver
15769         behavior different.
15771 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15773         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
15774         RESOLVSORT preprocessor conditionals.
15775         * resolv/nss_dns/dns-host.c: Likewise.
15776         * resolv/res_init.c: Likewise.
15778 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15780         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
15781         is never defined.
15783 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15785         * inet/inet_lnaof.c: Remove SCSS keyword.
15786         * inet/inet_mkadr.c: Likewise.
15787         * inet/inet_net.c: Likewise.
15788         * inet/inet_netof.c: Likewise.
15789         * inet/rcmd.c: Likewise.
15790         * inet/rexec.c: Likewise.
15791         * inet/ruserpass.c: Likewise.
15793 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15795         * resolv/inet_addr.c: Remove _LIBC conditionals.
15796         * resolv/res_data.c: Likewise.
15797         * resolv/res_init.c: Likewise.
15798         * resolv/res_mkquery.c: Likewise.
15799         * resolv/res_libc.c: Update comment.
15800         * resolv/README: Update.
15802 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15804         * resolv/gethnamaddr.c: Remove SCSS keyword.
15805         * resolv/herror.c: Likewise.
15806         * resolv/inet_addr.c: Likewise.
15807         * resolv/inet_net_ntop.c: Likewise.
15808         * resolv/inet_net_pton.c: Likewise.
15809         * resolv/inet_neta.c: Likewise.
15810         * resolv/inet_ntop.c: Likewise.
15811         * resolv/inet_pton.c: Likewise.
15812         * resolv/ns_date.c: Remove RCS keyword.
15813         * resolv/ns_name.c: Likewise.
15814         * resolv/ns_netint.c: Likewise.
15815         * resolv/ns_parse.c: Likewise.
15816         * resolv/ns_print.c: Likewise.
15817         * resolv/ns_samedomain.c: Likewise.
15818         * resolv/ns_ttl.c: Likewise.
15819         * resolv/nsap_addr.c: Likewise.
15820         * resolv/res_comp.c: Remove SCSS and RCS keyword.
15821         * resolv/res_data.c: Remove RCS keyword.
15822         * resolv/res_debug.c: Remove SCSS and RCS keyword.
15823         * resolv/res_init.c: Likewise.
15824         * resolv/res_mkquery.c: Likewise.
15825         * resolv/res_query.c: Likewise.
15826         * resolv/res_send.c: Likewise.
15828 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15830         * conform/data/stdio.h-data (fdopen): Expect also for
15831         [XPG3 || XPG4].
15833         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
15834         (fseeko): Likewise.
15835         (ftello): Likewise.
15836         (ftrylockfile): Likewise.
15837         (funlockfile): Likewise.
15838         (getc_unlocked): Likewise.
15839         (getchar_unlocked): Likewise.
15840         (putc_unlocked): Likewise.
15841         (putchar_unlocked): Likewise.
15843 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15845         [BZ #19868]
15846         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
15847         DNS packet syntax checks (which were not needed before).  Skip
15848         over non-PTR records.
15850 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15852         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
15853         definition.  Include <stddef.h> instead.
15855 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15857         [BZ #19831]
15858         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
15859         function.
15860         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
15861         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
15863 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15865         [BZ #19862]
15866         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
15867         (getanswer_r): Do not call syslog.
15868         (gaih_getanswer_slice): Likewise.
15869         * resolv/gethnamaddr.c (AskedForGot): Remove.
15870         (getanswer): Do not call syslog.
15871         (gethostbyaddr): Likewise.
15873 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15875         * conform/data/signal.h-data (union sigval): Expect also if
15876         [XOPEN2K].
15877         (struct sigevent): Likewise.
15878         (SIGEV_NONE): Likewise.
15879         (SIGEV_SIGNAL): Likewise.
15880         (SIGEV_THREAD): Likewise.
15881         (SIGRTMIN): Likewise.
15882         (SIGRTMAX): Likewise.
15883         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
15884         variable.
15885         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15887 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15889         [BZ #19830]
15890         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
15891         (gaih_getanswer_slice): Likewise.
15892         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
15893         Also check for availability of RR metadata.
15895 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15897         [BZ #19825]
15898         * resolv/res_send.c (send_vc): Remove early *resplen2
15899         initialization.  Set *resplen2 on socket error.  Call
15900         close_and_return_error for other errors.
15902 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15904         * sysdeps/unix/sysv/linux/netiucv/iucv.h
15905         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
15906         (SCM_IUCV_TRGCLS): New define.
15908 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15910         [BZ #20005]
15911         * libio/fmemopen.c (fmemopen_write): Update internal position after
15912         write.
15913         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
15914         * stdio-common/tst-fmemopen4.c: New file..
15916 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
15918         [BZ #19996]
15919         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
15920         not [__USE_XOPEN2K].
15921         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
15922         variable.
15924         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
15925         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
15926         variable.
15928         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
15929         [__USE_XOPEN2K8].
15930         [__USE_LARGEFILE64] (off64_t): Likewise.
15931         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
15932         variable.
15934 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
15936         [BZ #19989]
15937         * libio/stdio.h (cuserid): Do not declare if
15938         [__USE_XOPEN2K && !__USE_GNU].
15939         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
15940         variable.
15942 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15944         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15945         (sysdep_routines): Add P8 and PPC64 strcspn targets.
15946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15947         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15948         ifunc'ed strcspn.
15949         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15950         [EALIGN]: Removed.
15951         [END]: Likewise
15952         [STRSPN]: Define instead of the above to control symbol name.
15953         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
15954         New file.
15955         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
15956         Likewise.
15957         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
15958         Likewise.
15959         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
15960         Likewise.
15961         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15962         [INITIAL_MASK]: New macro.
15963         [STRCSPN]: Likewise.
15964         [UPDATE_MASK]: Likewise.
15965         [USE_AS_STRCSPN]: Likewise.
15967 2016-04-25  Florian Weimer  <fweimer@redhat.com>
15969         [BZ #19931]
15970         * stdio-common/tst-vfprintf-width-prec.c: New file.
15971         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
15972         (tests-special): Add tst-vfprintf-width-prec-mem.out.
15973         (generated): Add mtrace-related files.
15974         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
15975         (tst-%-mem.out): New pattern rule, replaces
15976         tst-printf-bz18872-mem.out.
15977         * stdio-common/vfprintf.c (vfprintf): When handling a precision
15978         specifier, deallocate any previously allocated work buffer.
15980 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15982         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
15983         Add nop before __startcontext, add explaining comments.
15985 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
15987         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
15988         any more. Notably since IPV6_PKTINFO has been reintroduced with a
15989         completely different API.
15991         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
15992         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
15993         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
15994         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
15995         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
15996         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
15997         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
15998         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
15999         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
16000         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
16002 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
16004         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
16006 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
16008         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
16009         when it is the default of 0.
16011 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16013         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
16014         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16015         (sysdep_routines): Add new strcasestr targets.
16016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16017         (__libc_ifunc_impl_list): Likewise.
16018         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
16019         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
16020         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
16021         * sysdeps/powerpc/powerpc64/power8/Makefile:
16022         New file to add strcasestr-ppc64 to sysdep_routines.
16023         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
16024         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
16026 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
16028         * benchtests/Makefile (wcsmbs-benchset): Include only for
16029         native builds and runs.
16030         (LOCALES): Likewise.
16031         (bench-build): Build timing-type here instead of the bench
16032         target.  Generate locale only for native builds.
16033         * benchtests/README: Add note for cross-building.
16035         * benchtests/Makefile (bench-clean): Clean up extra-objs.
16037         * benchtests/README: Update README to include instructions on
16038         using bench-build.
16040         * Makefile.in (bench-build): New target.
16041         * Rules (PHONY): Add bench-build target.
16042         * benchtests/Makefile (bench): Depend on bench-build.
16043         (bench-build): New target.
16045 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16047         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
16048         profil_reply_port.
16049         (profile_waiter): Do not initialize profil_reply_port.
16050         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
16051         frequency instead of tick length in us.
16053 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
16055         [BZ #18712]
16056         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
16057         (__old_mempcpy_small): Likewise.
16058         (__old_strcpy_small): Likewise.
16059         (__old_stpcpy_small): Likewise.
16060         (__old_strpbrk_c2): Fix compat symbol name.
16061         (__old_strpbrk_c3): Likewise.
16062         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
16063         (__mempcpy_small): Remove.
16064         (__strcpy_small): Remove.
16065         (__stpcpy_small): Remove.
16067 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
16069         [BZ #19400]
16070         * locale/iso-639.def: Add the Talossan/tzl language.
16072 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16074         [BZ #16983]
16075         * locale/programs/ld-address.c (address_finish): Update postal_fmt
16076         comment.  Add "ln" to strchr check on postal_fmt.
16078 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16080         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
16081         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
16082         tel_dom_fmt.
16084 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16086         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16087         (sysdep_routines): Added __strlen_power8.
16088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
16089         __strlen_power8 entry.
16090         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
16091         Implementation for POWER8.
16092         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
16093         for __strlen_power8.
16094         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
16095         Implementation for POWER8.
16097 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
16099         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
16101 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
16103         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
16104         Goldmont and Airmont processors.
16106 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
16108         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
16109         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
16110         (__STRING2_SMALL_GET32): Remove.
16111         (memset): Remove.
16112         (__memset_1): Remove.
16113         (__memset_gc): Remove.
16114         (__mempcpy): Remove.
16115         (mempcpy): Remove.
16116         (__mempcpy_args): Remove.
16117         (strchr): Remove.
16118         (strcpy): Remove.
16119         (strcpy_args): Remove.
16120         (__stpcpy_args): Remove.
16121         (__strcmp_cc): Remove.
16122         (__strcmp_gc): Remove.
16123         (strstr): Remove.
16125 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
16127         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
16128         * nis/nis_call.c (nis_server_cache_add): Likewise.
16130 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16132         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
16134 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16136         * malloc/arena.c (__malloc_fork_lock_parent)
16137         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
16138         internal_function attribute.
16140 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
16142         * stdio-common/printf_fp.c (__printf_fp_l):
16143         Rename ___printf_fp_l to __printf_fp_l and
16144         remove strong alias. Use libc_hidden_def instead
16145         of ldbl_hidden_def macro.
16147 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16149         Remove malloc hooks from fork handler.  They are no longer needed
16150         because malloc runs right before fork, and no malloc calls from
16151         other fork handlers are not possible anymore.
16152         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
16153         declarations.
16154         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
16155         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
16156         (atfork_recursive_cntr): Remove.
16157         (__malloc_fork_lock_parent): Do not override malloc hooks and
16158         thread_arena.
16159         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
16160         thread_arena.
16161         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
16162         thread_arena instead of save_arena.
16164 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16166         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
16167         (thread_atfork, thread_atfork_static): Remove.
16168         * sysdeps/mach/hurd/malloc-machine.h:
16169         (thread_atfork, thread_atfork_static): Remove.
16171 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16173         [BZ #19431]
16174         Run the malloc fork handler as late as possible to avoid deadlocks.
16175         * malloc/malloc-internal.h: New file.
16176         * malloc/malloc.c: Include it.
16177         * malloc/arena.c (ATFORK_MEM): Remove.
16178         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
16179         Update comment.
16180         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
16181         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
16182         Remove outdated comment.
16183         (ptmalloc_init): Do not call thread_atfork.  Remove
16184         thread_atfork_static.
16185         * malloc/tst-malloc-fork-deadlock.c: New file.
16186         * Makefile (tests): Add tst-malloc-fork-deadlock.
16187         (tst-malloc-fork-deadlock): Link against libpthread.
16188         * manual/memory.texi (Aligned Memory Blocks): Update safety
16189         annotation comments.
16190         * sysdeps/nptl/fork.c (__libc_fork): Call
16191         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16192         __malloc_fork_unlock_child.
16193         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
16195 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16197         [BZ #19613]
16198         Remove union wait.
16199         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
16200         (w_stopsig, w_stopval): Remove.
16201         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
16202         stat_loc argument.
16203         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
16204         (__WAIT_STATUS_DEFN): Remove.
16205         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16206         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
16207         (wait, wait3, wait4): Use int * for the stat_loc argument.
16208         * posix/wait.c (__wait): Likewise.
16209         * posix/wait3.c (__wait3): Likewise.
16210         * posix/wait4.c (__wait4): Likewise.
16211         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
16212         (__WAIT_STATUS_DEFN): Remove.
16213         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16214         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
16215         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
16216         argument.
16217         * sysdeps/posix/wait.c (__libc_wait): Likewise.
16218         * sysdeps/posix/wait3.c (__wait3): Likewise.
16219         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
16220         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16221         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
16222         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
16223         stat_loc argument.
16224         * manual/process.texi (BSD Wait Functions): Remove union wait.
16226 2016-04-13  Andreas Schwab  <schwab@suse.de>
16228         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
16229         (test-extras): Add tst-tlsalign-vars.
16230         * math/Makefile: Wrap long lines.
16231         (libm-vec-test-wrappers): Define.
16232         (test-extras): Add $(libm-vec-test-wrappers).
16233         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
16234         * nss/Makefile (extra-test-objs): Add nss_test1.os.
16235         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
16236         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
16237         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
16238         (extra-test-objs): Add corresponding objects.
16240 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
16242         [BZ #19928]
16243         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
16244         New.
16245         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
16246         times of shared cache size.
16247         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
16248         (VMOVNT): New.
16249         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
16250         (VMOVNT): Likewise.
16251         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
16252         (VMOVNT): Likewise.
16253         (VMOVU): Changed to movups for smaller code sizes.
16254         (VMOVA): Changed to movaps for smaller code sizes.
16255         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
16256         comments.
16257         (PREFETCH): New.
16258         (PREFETCH_SIZE): Likewise.
16259         (PREFETCHED_LOAD_SIZE): Likewise.
16260         (PREFETCH_ONE_SET): Likewise.
16261         Rewrite to use forward and backward loops, which move 4 vector
16262         registers at a time, to support overlapping addresses and use
16263         non temporal store if size is above the threshold and there is
16264         no overlap between destination and source.
16266 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
16268         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
16269         Include dl-vdso.
16270         * sysdeps/unix/sysv/linux/mips/Versions: Add
16271         __vdso_clock_gettime.
16272         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
16273         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
16274         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
16275         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
16276         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
16277         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
16278         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16279         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16280         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16282 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16284         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
16285         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
16286         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16287         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16288         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16289         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16292         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
16293         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
16294         syscalls generation.
16295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16296         [__NR_pwrite64] (__NR_write): Remove define.
16297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16298         [__NR_pwrite64] (__NR_write): Remove define.
16299         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
16300         Remove define.
16301         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
16302         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
16303         Remove define.
16304         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
16305         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
16306         Linux implementation as base.
16307         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16309         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
16310         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
16311         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16312         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
16314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16315         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
16316         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
16317         syscall generation.
16318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16319         [__NR_pread64] (__NR_pread): Remove define.
16320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16321         [__NR_pread64] (__NR_pread): Likewise.
16322         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
16323         define.
16324         (__libc_pread): Use SYSCALL_LL macro on offset argument.
16325         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
16326         Remove define.
16327         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
16328         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
16329         Linux implementation as base.
16330         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16331         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16332         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16334         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
16335         definition.
16336         (__ALIGNMENT_COUNT): Likewise.
16337         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
16338         (__ALIGNMENT_COUNT): Likewise.
16339         (SYSCALL_LL): New define.
16340         (SYSCALL_LL64): Likewise.
16341         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
16342         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
16343         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
16344         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
16346         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16347         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
16348         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16349         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16350         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16351         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16353 2016-04-11  Florian Weimer  <fweimer@redhat.com>
16355         [BZ #19865]
16356         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
16357         original buffer before retry.
16359 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16361         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
16362         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
16363         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
16364         GLRO(dl_auxv) list.
16365         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
16366         including <ldsodefs.h>.
16367         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
16369 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
16371         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
16372         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
16373         $(CPPFLAGS).
16375 2016-04-09  Khem Raj  <raj.khem@gmail.com>
16377         [BZ #17950]
16378         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
16379         Add -mfpmath=387.
16381 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
16383         * sysdeps/i386/configure.ac: Change == to = when calling test.
16384         * sysdeps/x86_64/configure.ac: Likewise.
16385         * sysdeps/i386/configure: Regenerated.
16386         * sysdeps/x86_64/configure: Likewise.
16388 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
16390         [BZ #16137]
16391         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
16392         * benchtests/bench-strcoll.c (input_files): Likewise.
16393         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16394         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
16395         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
16397 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
16399         [BZ #19929]
16400         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
16401         [__USE_XOPEN2K8 && !__USE_GNU].
16402         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
16403         variable.
16405         [BZ #19925]
16406         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
16407         define if [!__USE_MISC && __USE_XOPEN2K].
16408         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
16409         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
16410         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
16411         Likewise.
16412         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
16413         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
16414         variable.
16415         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16417 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16419         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16420         (sysdep_routines): Add new strspn targets.
16421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16422         (__libc_ifunc_impl_list): Add strspn.
16423         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16424         New file.
16425         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
16426         Likewise.
16427         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
16428         Likewise.
16429         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16430         Likewise.
16432 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16434         * misc/hsearch_r.c: Include <limits.h>.
16436 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16438         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
16440 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16442         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16443         (MEMCPY_SYMBOL): New.
16444         (MEMPCPY_SYMBOL): Likewise.
16445         (MEMMOVE_CHK_SYMBOL): Likewise.
16446         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
16447         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
16448         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
16449         Provide alias for memcpy in libc.a and ld.so.
16451 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16453         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16454         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
16455         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
16456         Disabled fro now.
16457         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
16458         symbols.  Properly check USE_MULTIARCH on __memset symbols.
16460 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16462         * benchtests/Makefile (string-benchset): Add memcpy-large,
16463         memmove-large and memset-large.
16464         * benchtests/bench-memcpy-large.c: New file.
16465         * benchtests/bench-memmove-large.c: Likewise.
16466         * benchtests/bench-memmove-large.c: Likewise.
16467         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
16469 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16471         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
16472         32-bit displacement to avoid long nop between instructions.
16474 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16476         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
16477         a comment on VMOVU and VMOVA.
16479 2016-04-04  Florian Weimer  <fweimer@redhat.com>
16481         [BZ #19633]
16482         Use specified locale for number formatting in strfmon_l.
16483         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
16484         (__nl_lookup_word): New inline functions.
16485         * include/printf.h (__print_fp_l): Declare.
16486         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
16487         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
16488         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
16489         (___printf_fp): New function.
16490         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
16491         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
16492         * stdlib/tst-strfmon_l.c (do_test): New test.
16493         * stdlib/Makefile (tests): Add kt.
16494         (LOCALES): Build additional locales.
16495         (tst-strfmon_l.out): Require locales.
16497 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16499         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
16500         if not in libc.
16501         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16502         Likewise.
16503         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
16504         Likewise.
16505         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16506         Likewise.
16508 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16510         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16511         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
16512         with unaligned_erms.
16513         (__memmove_erms): Skip if source == destination.
16514         (__memmove_unaligned_erms): Don't check source == destination
16515         first.
16517 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16519         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
16520         bit_arch_Fast_Copy_Backward for Intel Core proessors.
16522 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16524         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
16525         * string/strspn.c (strspn): Likewise.
16527 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16529         * benchtests/bench-memset.c (do_test): Support 64-byte
16530         alignment.
16531         (test_main): Test 64-byte alignment.
16533 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16535         * benchtests/bench-memmove.c (test_main): Test 64-byte
16536         alignment.
16538 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16540         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
16542 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16544         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
16545         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
16546         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
16548         * string/strpbrk.c (strpbrk): Rewrite function.
16549         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
16550         (__strpbrk_c2): Likewise.
16551         (__strpbrk_c3): Likewise.
16552         * string/string-inlines.c
16553         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
16554         Likewise.
16555         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
16556         Likewise.
16558         * string/strspn.c (strcspn): Rewrite function.
16559         * string/bits/string2.h (strspn): Use __builtin_strcspn.
16560         (__strspn_c1): Remove inline function.
16561         (__strspn_c2): Likewise.
16562         (__strspn_c3): Likewise.
16563         * string/string-inlines.c
16564         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
16565         compatibility symbol.
16566         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
16567         Likewise.
16568         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
16569         Likewise.
16570         * string/string-inlines.c: Include generic version.
16572 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
16573             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16575         * string/Version (libc): Add GLIBC_2.24.
16576         * string/strcspn.c (strcspn): Rewrite function.
16577         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
16578         (__strcspn_c1): Remove inline function.
16579         (__strcspn_c2): Likewise.
16580         (__strcspn_c3): Likewise.
16581         * string/string-inline.c
16582         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
16583         compatibility symbol.
16584         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
16585         Likewise.
16586         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
16587         Likewise.
16588         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
16590 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16592         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
16593         Use ahi instead of aghi to adjust stack pointer.
16595 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16597         [BZ #19853]
16598         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
16599         TEST to take significant digits as second parameter.
16600         [TEST]: Redefine in terms of TEST_N taking 30
16601         significant digits.
16602         (do_test): Add test case to demonstrate precision
16603         failure in the ldbl-128ibm printf.
16604         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
16605         (__mpn_extract_long_double): Carry 7 extra intermediate
16606         bits of precision to aide computing difference when
16607         signs differ.
16609 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16611         [BZ #19881]
16612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16613         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
16614         memset-avx512-unaligned-erms.
16615         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16616         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
16617         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
16618         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
16619         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
16620         __memset_sse2_unaligned_erms, __memset_erms,
16621         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
16622         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16623         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
16624         file.
16625         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16626         Likewise.
16627         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
16628         Likewise.
16629         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
16630         Likewise.
16632 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16634         [BZ #19776]
16635         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16636         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
16637         memmove-avx512-unaligned-erms.
16638         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16639         (__libc_ifunc_impl_list): Test
16640         __memmove_chk_avx512_unaligned_2,
16641         __memmove_chk_avx512_unaligned_erms,
16642         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
16643         __memmove_chk_sse2_unaligned_2,
16644         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
16645         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
16646         __memmove_avx512_unaligned_erms, __memmove_erms,
16647         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
16648         __memcpy_chk_avx512_unaligned_2,
16649         __memcpy_chk_avx512_unaligned_erms,
16650         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
16651         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
16652         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
16653         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
16654         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
16655         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
16656         __mempcpy_chk_avx512_unaligned_erms,
16657         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
16658         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
16659         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
16660         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
16661         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
16662         __mempcpy_erms.
16663         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
16664         file.
16665         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16666         Likewise.
16667         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16668         Likewise.
16669         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16670         Likewise.
16672 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16674         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
16675         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
16676         (La_s390_64_regs): Likewise.
16677         (La_s390_32_retval): Append vector register lrv_v24.
16678         (La_s390_64_retval): Likeweise.
16679         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
16680         Handle extended structs La_s390_32_regs and La_s390_32_retval.
16681         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
16682         Handle extended structs La_s390_64_regs and La_s390_64_retval.
16684 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16686         [BZ #19916]
16687         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
16688         to create a non-vector/vector version for _dl_runtime_resolve and
16689         _dl_runtime_profile. Move implementation to ...
16690         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
16691         (_dl_runtime_resolve) Save and restore fpr/vrs.
16692         (_dl_runtime_profile) Save and restore vrs and fix some issues
16693         if _dl_call_pltexit is called.
16694         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
16695         Choose the correct resolver function if running on a machine with vx.
16696         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
16697         to create a non-vector/vector version for _dl_runtime_resolve and
16698         _dl_runtime_profile. Move implementation to ...
16699         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
16700         (_dl_runtime_resolve) Save and restore fpr/vrs.
16701         (_dl_runtime_profile) Save and restore vrs and fix some issues
16702         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
16703         Choose the correct resolver function if running on a machine with vx.
16705 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16707         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
16709 2016-03-31  Florian Weimer  <fweimer@redhat.com>
16711         [BZ #19509]
16712         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
16713         skip_map != NULL.
16714         * elf/tst-dlsym-error.c: New file.
16715         * elf/Makefile (tests): Add tst-dlsym-error.
16716         (tst-dlsym-error): Link against libdl.
16718 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
16720         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16721         (__ASSUME_FUTIMESAT): Remove macro.
16722         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
16724 2016-03-29  Florian Weimer  <fweimer@redhat.com>
16726         [BZ #19879]
16727         CVE-2016-3075
16728         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
16729         copy name.
16731 2016-03-29  Florian Weimer  <fweimer@redhat.com>
16733         [BZ #19837]
16734         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
16735         error if parse_line fails.
16737 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16739         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
16740         (index_cpu_ERMS): Likewise.
16741         (reg_ERMS): Likewise.
16743 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
16745         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
16746         PER_LINUX_FDPIC): Add.
16748 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16751         memcpy-avx512-no-vzeroupper.
16752         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
16753         to ...
16754         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
16755         (MEMCPY): Don't define.
16756         (MEMCPY_CHK): Likewise.
16757         (MEMPCPY): Likewise.
16758         (MEMPCPY_CHK): Likewise.
16759         (MEMPCPY_CHK): Renamed to ...
16760         (__mempcpy_chk_avx512_no_vzeroupper): This.
16761         (MEMPCPY_CHK): Renamed to ...
16762         (__mempcpy_chk_avx512_no_vzeroupper): This.
16763         (MEMCPY_CHK): Renamed to ...
16764         (__memmove_chk_avx512_no_vzeroupper): This.
16765         (MEMCPY): Renamed to ...
16766         (__memmove_avx512_no_vzeroupper): This.
16767         (__memcpy_avx512_no_vzeroupper): New alias.
16768         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
16770 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16772         [BZ #18858]
16773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16774         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
16775         and mempcpy-avx512-no-vzeroupper.
16776         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
16777         New.
16778         (MEMPCPY): Likewise.
16779         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
16780         (MEMPCPY_CHK): New.
16781         (MEMPCPY): Likewise.
16782         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
16783         (MEMPCPY): Likewise.
16784         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
16785         (MEMPCPY): Likewise.
16786         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
16787         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
16788         Likewise.
16789         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
16790         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
16792 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16793              Amit Pawar  <Amit.Pawar@amd.com>
16795         [BZ #19583]
16796         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16797         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
16798         processors.  Set Fast_Copy_Backward for AMD Excavator
16799         processors.
16800         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
16801         New.
16802         (index_arch_Fast_Unaligned_Copy): Likewise.
16803         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
16804         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
16806 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16808         [BZ #19791]
16809         * resolv/res_send.c (close_and_return_error): New function.
16810         (send_dg): Initialize *resplen2 after reopen failure.  Call
16811         close_and_return_error for error returns.  On error paths without
16812         __res_iclose, initialze *resplen2 explicitly.  Update comment for
16813         successful return.
16815 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16817         [BZ #19860]
16818         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
16819         zero if the compiler does not provide the AVX512F bit.
16821 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
16823         [BZ #19848]
16824         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
16825         from 8 to 4.
16826         (__ieee754_powl): Compare integer exponent against 4 not 8.
16827         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
16828         from 8 to 4.
16829         (__ieee754_powl): Compare integer exponent against 4 not 8.
16830         * math/auto-libm-test-in: Add more tests of pow.
16831         * math/auto-libm-test-out: Regenerated.
16832         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16835 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16837         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
16838         Make code unconditional.
16839         [!__NR_utimensat]: Remove conditional code.
16840         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
16841         Make code unconditional.
16842         [!__NR_utimensat]: Remove conditional code.
16843         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
16844         Make code unconditional.
16845         [!__NR_utimensat]: Remove conditional code.
16847 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16849         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
16850         Make code unconditional.
16852 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
16854         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
16855         call-clobbered %eax on retry path.
16856         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16858 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16860         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
16861         Don't set %rcx twice before "rep movsb".
16863 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16865         [BZ #19583]
16866         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
16867         inline.  Check family before setting family, model and
16868         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
16869         bits here.
16870         (init_cpu_features): Replace HAS_CPU_FEATURE and
16871         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
16872         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
16873         for Intel processors with usable AVX2.  Call get_common_indeces
16874         for other processors with family == NULL.
16875         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
16876         (CPU_FEATURES_ARCH_P): Likewise.
16877         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
16878         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
16880 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16882         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
16883         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
16884         $(shared-thread-library) instead of hardcoding the path to libpthread.
16886 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
16888         * sysdeps/unix/sysv/linux/kernel-features.h
16889         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
16890         * sysdeps/unix/sysv/linux/getdents.c
16891         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
16892         [!have_no_getdents64_defined]: Likewise.
16893         (__GETDENTS): Remove __have_no_getdents64 conditional.
16895 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
16897         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
16898         Remove macro.
16899         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
16900         <kernel-features.h>.
16901         (signalfd) [__NR_signalfd4]: Make code unconditional.
16902         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
16904 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16906         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
16907         style.
16909 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16911         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
16912         (__pthread_enable_asynccancel): Use JUMPTARGET to call
16913         __pthread_unwind.
16914         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16915         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
16916         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16917         (__condvar_cleanup1): Likewise.
16919 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
16921         [BZ #19822]
16922         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
16923         move it to the final $@ location.
16925 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16927         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
16928         access where posix_spawn success and pid argument is null.
16929         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
16930         success case.
16932 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
16934         * sysdeps/mach/hurd/i386/c++-types.data: New file.
16936         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
16938         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
16939         and __fcntl.
16940         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
16941         __fcntl only.
16942         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
16943         adding attribute_hidden to __open and __fcntl.
16945         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
16946         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
16947         depend on libc-modules.h,
16948         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
16950 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
16952         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
16953         Remove macro.
16954         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
16955         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
16956         entry.
16958         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
16959         Remove macro.
16960         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
16961         include <kernel-features.h>.
16962         [!__ASSUME_FALLOCATE]: Remove conditional code.
16963         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
16965 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16967         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
16968         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
16969         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
16970         (_ZGVdN4v_cos_avx2): Likewise.
16971         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
16972         (_ZGVdN4v_cos): Likewise.
16973         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
16974         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
16975         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
16976         (_ZGVdN4v_exp_avx2): Likewise.
16977         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
16978         (_ZGVdN4v_exp): Likewise.
16979         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
16980         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
16981         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
16982         (_ZGVdN4v_log_avx2): Likewise.
16983         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
16984         (_ZGVdN4v_log): Likewise.
16985         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
16986         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
16987         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
16988         (_ZGVdN4vv_pow_avx2): Likewise.
16989         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
16990         (_ZGVdN4vv_pow): Likewise.
16991         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
16992         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
16993         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
16994         (_ZGVdN4v_sin_avx2): Likewise.
16995         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
16996         (_ZGVdN4v_sin): Likewise.
16997         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
16998         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
16999         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
17000         (_ZGVdN4vvv_sincos_avx2): Likewise.
17001         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
17002         (_ZGVdN4vvv_sincos): Likewise.
17003         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
17004         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
17005         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
17006         (_ZGVbN4v_cosf_sse4): Likewise.
17007         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
17008         (_ZGVdN8v_cosf_avx2): Likewise.
17009         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
17010         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
17011         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
17012         (_ZGVbN4v_expf_sse4): Likewise.
17013         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
17014         (_ZGVdN8v_expf_avx2): Likewise.
17015         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
17016         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
17017         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
17018         (_ZGVbN4v_logf_sse4): Likewise.
17019         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
17020         (_ZGVdN8v_logf_avx2): Likewise.
17021         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
17022         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
17023         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
17024         (_ZGVbN4vv_powf_sse4): Likewise.
17025         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
17026         (_ZGVdN8vv_powf_avx2): Likewise.
17027         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17028         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
17029         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17030         (_ZGVbN4vvv_sincosf_sse4): Likewise.
17031         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17032         (_ZGVdN8vvv_sincosf_avx2): Likewise.
17033         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
17034         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
17035         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
17036         (_ZGVbN4v_sinf_sse4): Likewise.
17037         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
17038         (_ZGVdN8v_sinf_avx2): Likewise.
17039         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17040         Use JUMPTARGET to call callee.
17041         (WRAPPER_IMPL_SSE2_ff): Likewise.
17042         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17043         (WRAPPER_IMPL_AVX): Likewise.
17044         (WRAPPER_IMPL_AVX_ff): Likewise.
17045         (WRAPPER_IMPL_AVX_fFF): Likewise.
17046         (WRAPPER_IMPL_AVX512): Likewise.
17047         (WRAPPER_IMPL_AVX512_ff): Likewise.
17048         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17049         Likewise.
17050         (WRAPPER_IMPL_SSE2_ff): Likewise.
17051         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17052         (WRAPPER_IMPL_AVX): Likewise.
17053         (WRAPPER_IMPL_AVX_ff): Likewise.
17054         (WRAPPER_IMPL_AVX_fFF): Likewise.
17055         (WRAPPER_IMPL_AVX512): Likewise.
17056         (WRAPPER_IMPL_AVX512_ff): Likewise.
17057         (WRAPPER_IMPL_AVX512_fFF): Likewise.
17059 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17061         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
17062         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
17063         qualifier.
17064         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
17065         internal_function qualifiers.
17067 2016-03-15  Carlos O'Donell <carlos@redhat.com>
17069         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
17070         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
17071         * math/atest-exp.c (exp_mpn): Mark chk unused.
17072         * math/atest-exp2.c (exp_mpn): Likewise.
17073         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
17074         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
17076 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
17078         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
17079         Remove macro.
17080         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
17081         <kernel-features.h>.
17082         [__NR_ppoll]: Make code unconditional.
17083         [!__ASSUME_PPOLL]: Remove conditional code.
17085         * sysdeps/unix/sysv/linux/kernel-features.h
17086         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
17087         (__ASSUME_ACCEPT4): Likewise.
17088         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17089         Define.
17090         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
17091         Likewise.
17092         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17093         Likewise.
17094         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
17095         Likewise.
17096         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
17097         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
17098         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17099         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17100         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17101         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17102         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17103         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17104         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17105         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17106         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17107         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17108         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17109         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17110         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17111         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17112         Likewise.
17113         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17114         Likewise.
17115         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17116         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17117         0x040300].
17118         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17119         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17120         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17121         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17122         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17123         0x030300].
17124         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
17125         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17126         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17127         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17128         0x040300].
17129         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17130         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17131         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17132         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17133         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17134         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17135         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17136         0x030300].
17137         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17138         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17139         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17140         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17141         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17142         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17143         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17144         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17145         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17146         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17147         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17148         0x040300].
17149         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17150         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17151         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17152         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17153         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17154         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17155         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17156         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17157         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17158         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17159         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17160         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17161         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17162         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17163         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
17164         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17165         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17166         Likewise.
17167         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17168         Likewise.
17170 2016-03-15  Andreas Schwab  <schwab@suse.de>
17172         [BZ #19257]
17173         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
17174         statp->_u._ext.nscount as loop count.
17176 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17178         * math/test-signgam-finite-c99.c: Also #undef
17179         __LIBC_INTERNAL_MATH_INLINES.
17180         * math/test-signgam-main.c: Likewise.
17182 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
17184         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
17185         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17186         (MADV_FREE): Likewise.
17187         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
17188         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
17189         EPOLLEXCLUSIVE.
17191 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
17193         * timezone/README: Remove mention of checktab.awk. Mention wiki
17194         SharedSourceFiles.
17196 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
17198         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
17199         WUNTRACED.
17201 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17203         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
17204         order to match the type of p when calling atomic_exchange_acq().
17206 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17208         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
17209         cfi_offset calls.
17210         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
17211         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
17212         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
17213         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
17214         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
17216 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
17218         * timezone/checktab.awk: Removed.
17220 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
17222         * manual/math.texi (Errors in Math Functions): Document relaxed
17223         accuracy goals for IBM long double.
17224         * math/libm-test.inc (test_exceptions): Always allow spurious
17225         "underflow" and "inexact" exceptions for IBM long double.
17227 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
17229         [BZ #19762]
17230         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17231         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
17232         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
17233         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
17234         (bit_arch_*): This for feature array.
17235         (bit_*): Renamed to ...
17236         (bit_cpu_*): This for cpu array.
17237         (index_*): Renamed to ...
17238         (index_arch_*): This for feature array.
17239         (index_*): Renamed to ...
17240         (index_cpu_*): This for cpu array.
17241         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
17242         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
17243         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
17244         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
17245         bit_##name with index_cpu_##name and bit_cpu_##name.
17246         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
17247         bit_##name with index_arch_##name and bit_arch_##name.
17249 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
17251         [BZ #19792]
17252         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
17253         Terminate FDE before return label.
17255 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
17257         [BZ #19790]
17258         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
17259         (rintl): Define as macro.
17260         [USE_AS_NEARBYINTL] (__rintl): Likewise.
17261         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
17262         of fesetround.  Ensure results are evaluated before end of scope.
17263         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
17264         USE_AS_NEARBYINTL and include s_rintl.c.
17265         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
17266         Disable exception traps in new environment.
17267         (libc_feholdsetround_ppc_ctx): Likewise.
17269 2016-03-08  Roland McGrath  <roland@hack.frob.com>
17271         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
17272         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
17273         (tst_audit10_aux) [__AVX512F__]: ... here.
17275 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
17277         * include/sys/auxv.h: New file.
17279 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17281         [BZ #19759]
17282         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
17284 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17286         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
17287         operand modifier.
17288         (feclearexcept): Likewise.
17290 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17292         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
17293         to reflect the entire 32-bit HWCAP.
17294         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
17295         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
17297 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17299         [BZ #19783]
17300         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
17301         $(test-via-rtld-prefix).
17302         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
17304 2016-03-08  Florian Weimer  <fweimer@redhat.com>
17306         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
17307         union wait.  Report any non-zero exit status as error.
17309 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17311         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
17312         configured with --enable-hardcoded-path-in-tests.
17314 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
17316         [BZ #19677]
17317         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17318         (__ieee754_remainderl): Put zero low parts in canonical form.
17319         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
17320         file.  Based on
17321         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
17322         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
17323         with wrapper round test-fmodrem-ldbl-128ibm.c.
17324         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
17325         file.
17326         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
17327         Likewise.
17328         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
17329         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
17331 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17333         [BZ #19610]
17334         * elf/ldconfig.c (opt_link): Update comment.
17335         (options): Update help string for option -X.
17336         (search_dir): Unlink stale symbolic link only if updating symbolic
17337         links.
17338         * elf/tst-ldconfig-X.sh: New file.
17339         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
17340         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
17342 2016-03-07  Andreas Schwab  <schwab@suse.de>
17344         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
17345         needed arguments.
17347 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
17349         [BZ #15333]
17350         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
17351         to lstat64.
17353 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17355         * libio/filedoalloc.c (isatty): Remove.
17356         (local_isatty): Add comment.  Call __isatty directly.
17357         (_IO_file_doallocate): Update comment.  Assume _LIBC.
17358         * libio/wfiledoalloc.c (isatty): Remove.
17359         (_IO_wfile_doallocate): Update comment.
17361 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17363         [BZ #19269]
17364         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
17365         tst-audit4-aux.o.
17366         (tst-audit10): Depend on tst-audit10-aux.o.
17367         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
17368         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
17369         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
17370         instead of inline AVX code.
17371         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
17372         instead of inline AVX512 code.
17373         * sysdeps/x86_64/tst-audit4-aux.c: New file
17374         * sysdeps/x86_64/tst-audit10-aux.c: New file
17376         [BZ #19648]
17377         * test-skeleton.c (main): Do not set RLIMIT_DATA.
17379 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17381         [BZ #14750]
17382         [BZ #10354]
17383         [BZ #18433]
17384         * include/sched.h (__clone): Add hidden prototype.
17385         (__clone2): Likewise.
17386         * include/unistd.h (__dup): Likewise.
17387         * posix/Makefile (tests): Add tst-spawn2.
17388         * posix/tst-spawn2.c: New file.
17389         * sysdeps/posix/dup.c (__dup): Add hidden definition.
17390         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
17391         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17392         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17393         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17394         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17395         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
17396         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17397         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
17398         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17399         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17401         Likewise.
17402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17403         Likewise.
17404         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17405         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17406         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17407         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17408         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17409         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17410         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17411         * sysdeps/unix/sysv/linux/nptl-signals.h
17412         (____nptl_is_internal_signal): New function.
17413         * sysdeps/unix/sysv/linux/spawni.c: New file.
17415         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
17416         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
17417         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
17418         * posix/tst-execvp2.c (do_test): Likewise.
17419         * posix/tst-execvp3.c (do_test): Likewise.
17420         * posix/tst-execvp4.c (do_test): Likewise.
17421         * posix/tst-execvpe1.c: New file.
17422         * posix/tst-execvpe2.c: Likewise.
17423         * posix/tst-execvpe3.c: Likewise.
17424         * posix/tst-execvpe4.c: Likewise.
17425         * posix/tst-execvpe5.c: Likewise.
17426         * posix/tst-execvpe6.c: Likewise.
17428         [BZ #19534]
17429         * posix/execl.c (execl): Remove dynamic memory allocation.
17430         * posix/execle.c (execle): Likewise.
17431         * posix/execlp.c (execlp): Likewise.
17433 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17435         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
17436         Replace .text with .text.avx512.
17437         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17438         Likewise.
17440 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
17442         * sysdeps/generic/libnsl.abilist: New file.
17443         * sysdeps/generic/libutil.abilist: New file.
17445 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17447         [BZ #19762]
17448         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
17449         HAS_ARCH_FEATURE with Fast_Rep_String.
17450         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
17451         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
17452         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
17453         Likewise.
17454         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
17455         Likewise.
17456         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
17457         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
17458         Likewise.
17459         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
17460         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
17461         Likewise.
17463 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17465         [BZ #19745]
17466         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17467         with *%rax in call.
17469 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17471         [BZ #19745]
17472         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
17473         with *__libc_start_main@GOTPCREL(%rip) in call.
17475 2016-03-04  Roland McGrath  <roland@hack.frob.com>
17477         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
17478         inside conditional for nonempty $(CXX).
17480         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
17481         nonempty.
17483         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
17484         to test for empty $(CXX) rather than $(CXX) of "no".
17486 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17488         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
17490 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
17491             H.J. Lu  <hongjiu.lu@intel.com>
17493         [BZ #18880]
17494         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
17495         instead of Slow_BSF, and also check for Fast_Copy_Backward to
17496         enable __memcpy_ssse3_back.
17498 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17500         [BZ #19758]
17501         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17502         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
17504 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17506         [BZ #19490]
17507         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
17508         (__fentry__): Likewise.
17510 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17512         * gmon/Makefile (noprof): Add $(sysdep_noprof).
17513         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
17515 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17517         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
17518         __mcount_internal directly.
17519         (C_LABEL(__fentry__)): Likewise.
17520         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
17521         directly.
17523 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17525         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17526         (__start_context): Call __setcontext directly.
17528 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
17530         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17531         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17532         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
17533         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17534         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17535         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17536         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
17537         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17538         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17539         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
17540         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17541         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17542         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17543         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17544         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17545         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17546         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
17547         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17548         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17549         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17550         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
17551         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17552         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17553         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17554         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
17555         Remove conditional code.
17556         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17557         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
17558         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17559         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17560         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
17561         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17562         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17563         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17564         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17565         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17566         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17567         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17569 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
17571         * NEWS (2.23): Fix typo in bug 19048 text.
17573 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
17575         [BZ #14259]
17576         * Makeconfig: Rename msgcatdir to localedir.
17577         Rename inst_msgcatdir to inst_localedir.
17578         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
17579         * config.make.in: Add localedir.
17580         * elf/Makefile ($(objpfx)sotruss): Use localedir.
17581         (ldd-rewrite): Likewise.
17582         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
17583         (install-others): Use inst_localedir.
17584         (CPPFLAGS): Use localedir.
17585         * locale/Makefile (locale-CPPFLAGS): Likewise.
17586         * po/Makefile (mo-installed): Use inst_localedir.
17588         [BZ #19575]
17589         * localedata/charmaps/GB18030: Update comments regarding PAU to
17590         non-PUA mappings.
17592 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
17594         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
17595         test for header.
17596         * sysdeps/unix/sysv/linux/configure: Regenerated.
17597         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
17598         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
17599         Remove conditional code.
17600         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
17602         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17603         Define to 3.2.0.
17604         (arch_minimum_kernel): Likewise.
17605         * sysdeps/unix/sysv/linux/configure: Regenerated.
17606         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
17607         Define to 2.6.32.
17608         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
17609         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
17610         (arch_minimum_kernel): Define to 2.6.32.
17611         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
17612         * README: Document Linux 3.2 requirement.
17613         * manual/install.texi (Linux): Document Linux 3.2 headers
17614         requirement.
17615         * INSTALL: Regenerated.
17617 2016-02-24  Andreas Schwab  <schwab@suse.de>
17619         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
17620         if !NO_LONG_DOUBLE.
17622 2016-02-22  Roland McGrath  <roland@hack.frob.com>
17624         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
17625         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
17627 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
17629         [BZ #19512]
17630         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
17632 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17634         * posix/tst-dir.c: Include libc-internal.h.
17636 2016-02-20  Florian Weimer  <fweimer@redhat.com>
17638         [BZ #19056]
17639         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
17640         * manual/filesys.texi (Reading/Closing Directory): Mention
17641         deprecaion.
17642         * posix/tst-dir.c (main): Disable deprecation warning in test.
17644 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
17646         [BZ #19679]
17647         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
17648         Renamed to ...
17649         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
17650         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17651         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
17652         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17653         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
17654         * sysdeps/x86_64/dl-trampoline.h
17655         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17656         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
17658 2016-02-19  Mark Wielaard  <mjw@redhat.com>
17660         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
17662 2016-02-19  Mark Wielaard  <mjw@redhat.com>
17664         * elf/elf.h (R_386_GOT32X): New.
17665         (R_386_NUM): Update.
17666         (R_X86_64_GOTPCRELX: New.
17667         (R_X86_64_REX_GOTPCRELX): New.
17668         (R_X86_64_NUM): Update.
17670 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
17672         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
17674 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
17676         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
17677         assign attr->stackaddr to it, and adjust it down when
17678         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
17679         [_STACK_GROWS_UP]: Delete assert.
17680         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
17681         Implement stack grows up logic.
17682         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
17683         stack grows up logic.
17685 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17687         * NEWS: Update with 2.24 template.
17689 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
17691         [BZ #19678]
17692         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17693         Ensure +0.0 is returned when taking the next value below the least
17694         positive value.
17696 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17698         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
17699         available.  Do not define NO_THREADS.
17700         * malloc/malloc.c: Do not check NO_THREADS.
17701         * malloc/arena.c: Likewise.
17703 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17705         * malloc/malloc.c (__libc_mallinfo): Update comment.
17706         (struct malloc_par): Remove max_total_mem member, it was always 0.
17707         (int_mallinfo): Store 0 into usmblks (no functional change).
17708         * malloc/hooks.c (struct malloc_state): Document that
17709         max_total_mem is always 0.
17710         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
17711         always 0.
17712         * manual/memory.texi (Statistics of Malloc): Likewise.
17714 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17716         * malloc/malloc.c (sysmalloc): Do not update arena_max.
17717         * malloc/arena.c (arena_max): Remove.
17718         (heap_trim, _int_new_arena): Do not update arena_max.
17720 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17722         * resolv/res_init.c (res_ninit): Update comment.
17724 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17726         [BZ #19505]
17727         * posix/spawn_int.h: Add headers and include guard.
17728         (__spawn_valid_fd): New function.
17729         * posix/spawn_faction_addopen.c
17730         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
17731         * posix/spawn_faction_addclose.c
17732         (posix_spawn_file_actions_addclose): Likewise.
17733         * posix/spawn_faction_adddup2.c
17734         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
17735         second file descriptor.
17736         * posix/spawn_valid_fd.c: New file.
17737         * posix/tst-posix_spawn-fd.c: New file.
17738         * posix/Makefile (routines): Add spawn_valid_fd.
17739         (tests): Add tst-posix_spawn-fd.
17741 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17743         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
17744         (do_test): Limit the number of arenas, so that we can use fewer
17745         outer threads.  Limit timeout to 3 seconds, in preparation for a
17746         larger TIMEOUT value.
17748 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
17750         [BZ #19674]
17751         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
17752         sign in overflowing and underflowing results when overflow or
17753         underflow is detected early.  Include sign in result before rather
17754         than after scaling.
17756         [BZ #19603]
17757         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17758         (__ieee754_remainderl): Adjust sign of integer version of low part
17759         when taking absolute value of high part.
17760         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17761         * math/libm-test.inc (remainder_test_data): Add another test.
17762         (remquo_test_data): Likewise.
17764 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
17766         [BZ #19602]
17767         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
17768         equal high parts and both low parts zero specially.
17769         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
17770         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
17771         Add test-fmodl-ldbl-128ibm.
17773         [BZ #19595]
17774         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
17775         common logic for all cases of shifting subnormal results.  Do not
17776         insert sign bit in shifted mantissa.  Always pass -1023 as biased
17777         exponent to ldbl_insert_mantissa in subnormal case.
17779         [BZ #19594]
17780         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
17781         on high and low parts then adjust result and use
17782         ldbl_canonicalize_int if needed.
17784         [BZ #19593]
17785         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
17786         on high part and __floor or __ceil on low part then use
17787         ldbl_canonicalize_int if needed.
17789         [BZ #19592]
17790         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
17791         high and low parts then use ldbl_canonicalize_int if needed.
17793         [BZ #17899]
17794         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
17795         New function.
17796         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
17797         on high and low parts then use ldbl_canonicalize_int if needed.
17799 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17801         * configure: Regenerated.
17803         * po/libc.pot: Regenerated.
17805         * po/be.po: Updated translation.
17806         * po/bg.po: Likewise.
17807         * po/ca.po: Likewise.
17808         * po/cs.po: Likewise.
17809         * po/da.po: Likewise.
17810         * po/el.po: Likewise.
17811         * po/eo.po: Likewise.
17812         * po/es.po: Likewise.
17813         * po/fi.po: Likewise.
17814         * po/fr.po: Likewise.
17815         * po/gl.po: Likewise.
17816         * po/hr.po: Likewise.
17817         * po/hu.po: Likewise.
17818         * po/ia.po: Likewise.
17819         * po/id.po: Likewise.
17820         * po/it.po: Likewise.
17821         * po/ja.po: Likewise.
17822         * po/lt.po: Likewise.
17823         * po/nb.po: Likewise.
17824         * po/nl.po: Likewise.
17825         * po/pt_BR.po: Likewise.
17826         * po/rw.po: Likewise.
17827         * po/sk.po: Likewise.
17828         * po/sl.po: Likewise.
17829         * po/sv.po: Likewise.
17830         * po/tr.po: Likewise.
17831         * po/zh_CN.po: Likewise.
17832         * po/zh_TW.po: Likewise.
17834         * version.h (RELEAES): Set to "development".
17835         (VERSION): Set to 2.23.90.
17837         * version.h (RELEASE): Set to "stable".
17838         (VERSION): Set to 2.23.
17839         * include/feature.h (__GLIBC_MINOR__): Set to 23.
17841         * NEWS: Updated fixed bugs.
17843 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
17844             Wilco Dijkstra  <wdijkstr@arm.com>
17846         [BZ #19462]
17847         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
17848         (_STRING_INLINE_unaligned): This.
17849         * include/string.h: Include <string_private.h>.
17850         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
17851         _STRING_INLINE_unaligned.
17852         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
17853         (_STRING_INLINE_unaligned): New.
17854         * sysdeps/aarch64/string_private.h: New file.
17855         * sysdeps/generic/string_private.h: Likewise.
17856         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
17857         * sysdeps/s390/string_private.h: Likewise.
17858         * sysdeps/x86/string_private.h: Likewise.
17859         * sysdeps/m68k/m680x0/m68020/bits/string.h
17860         (_STRING_ARCH_unaligned): Renamed to ...
17861         (_STRING_INLINE_unaligned): This.
17862         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
17863         to ...
17864         (_STRING_INLINE_unaligned): This.
17865         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
17866         to ...
17867         (_STRING_INLINE_unaligned): This.
17868         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
17869         to ...
17870         (_STRING_INLINE_unaligned): This.
17872 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17873             H.J. Lu  <hongjiu.lu@intel.com>
17875         [BZ #19590]
17876         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
17877         relocation.
17879 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
17881         [BZ #18665]
17882         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
17883         *herrno_p.
17884         (gaih_getanswer): Document functional behviour. Return tryagain
17885         if any result is tryagain.
17886         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
17887         when freed.
17888         * resolv/res_send.c: Add copyright text.
17889         (__libc_res_nsend): Document that MAXPACKET is expected.
17890         (send_vc): Document. Remove buffer reuse.
17891         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
17892         size of the buffer. Add Dprint for truncated UDP buffer.
17894 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
17896         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
17897         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
17898         * INSTALL: Regenerate.
17900 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
17901             Jonathan Wakely  <jwakely@redhat.com>
17902             Carlos O'Donell  <carlos@redhat.com>
17904         [BZ 19439]
17905         * math/Makefile (tests): Add test-math-isinff.
17906         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
17907         * math/bits/mathcalls.h [__USE_MISC]: Use
17908         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
17909         functions not in C++11 and which don't conflict e.g. isinff,
17910         isinfl etc.
17911         * math/test-math-isinff.cc: New file.
17913 2016-02-12  Florian Weimer  <fweimer@redhat.com>
17915         * misc/bug18240.c (do_test): Set RLIMIT_AS.
17917 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17919         [BZ #19529]
17920         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
17922 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17924         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17926 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
17928         [BZ #19550]
17929         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
17930         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
17931         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
17932         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
17933         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
17934         New syscall entry.
17935         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
17936         New syscall entry.
17937         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
17938         syscall entry.
17940 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
17942         [BZ #18240]
17943         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
17944         unsigned int wraparound.
17946 2016-01-27  Florian Weimer  <fweimer@redhat.com>
17948         [BZ #18240]
17949         * misc/bug18240.c: New test.
17950         * misc/Makefile (tests): Add it.
17952 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
17953             Joseph Myers  <joseph@codesourcery.com>
17955         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
17956         load in branch delay slot when less than a word of input left.
17958 2016-01-27  Andreas Schwab  <schwab@suse.de>
17960         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
17961         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
17962         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
17963         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
17965 2016-01-26  David S. Miller  <davem@davemloft.net>
17967         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
17969 2016-01-25  David S. Miller  <davem@davemloft.net>
17971         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
17972         __sqrtl_finite.
17973         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
17974         instead using versioned_symbol.
17975         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
17976         of entries.
17978         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
17979         __sqrtl_finite to GLIBC_2.23
17981 2016-01-25  Ricchard Henderson  <rth@redhat.com>
17983         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17985 2016-01-25  Andreas Schwab  <schwab@suse.de>
17987         [BZ #17514]
17988         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
17989         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
17990         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
17991         * nptl/tst-mutex-errorcheck.c: New file.
17993 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17995         [BZ #18560]
17996         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
17997         (IPCOP_semop): Likewise.
17998         (IPCOP_semget): Likewise.
17999         (IPCOP_semctl): Likewise.
18000         (IPCOP_msgsnd): Likewise.
18001         (IPCOP_msgrcv): Likewise.
18002         (IPCOP_msgget): Likewise.
18003         (IPCOP_msgctl): Likewise.
18004         (IPCOP_shmat): Likewise.
18005         (IPCOP_shmdt): Likewise.
18006         (IPCOP_shmget): Likewise.
18007         (IPCOP_shmctl): Likewise.
18009 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18011         * string/tst-endian.c: Include <libc-internal.h>.
18012         (do_test): Ignore tautological-compare warnings around
18013         "htobeXX (beXXtoh (i)) != i" and
18014         "htoleXX (leXXtoh (i)) != i" if-statements.
18016 2016-01-24  David S. Miller  <davem@davemloft.net>
18018         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
18019         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
18020         alias.
18021         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
18022         __sqrtl_finite.
18024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18026 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
18028         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
18029         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
18030         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18032 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18034         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
18035         (thread_func): Use new function to simplify barrier check.
18036         (do_test): Use new function to simplify checking barrier exit
18037         code, and actually join the child thread.
18039 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18041         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
18042         semicolon.
18043         (__libc_tend): Likewise.
18044         (__libc_tabort): Likewise.
18046 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
18048         * sysdeps/nios2/libm-test-ulps: Update.
18049         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
18050         (__gtsf2): Likewise.
18051         (__unorddf2): Likewise.
18052         (__unordsf2): Likewise.
18053         (__ledf2): Likewise.
18055 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
18057         * nis/nis_table.c (__follow_path): Disable diagnostic for
18058         uninitialized variable that is a false positive for gcc 4.7.
18059         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
18061 2016-01-20  Roland McGrath  <roland@hack.frob.com>
18063         * sysdeps/nacl/lowlevellock-futex.h
18064         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
18065         Always evaluate PRIVATE argument.
18067 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
18069         [BZ #19490]
18070         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
18071         (pthread_cond_broadcast): Use ENTRY/END
18072         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
18073         (pthread_cond_signal): Likewise.
18074         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
18075         Likewise.
18076         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
18077         Likewise.
18078         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
18079         Likewise.
18081 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
18083         * sysdeps/ieee754/dbl-64/s_finite.c
18084         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
18085         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
18086         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
18087         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
18088         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
18090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
18091         (__gtsf2): Add as optional for libc.so.
18092         (__unordsf2): Likewise.
18093         (__signbit): Remove for libc.so.
18094         (__signbitl): Likewise.
18096 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18098         * iconvdata/bug-iconv11.c (test_ibm93x):
18099         Use %zu printf format specifier for size_t argument.
18101 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
18103         * math/gen-libm-test.pl (parse_ulps): Do not reduce
18104         already-recorded ulps.
18105         * sysdeps/arm/libm-test-ulps: Regenerated.
18106         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18107         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18108         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18110 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18111             Paul Pluzhnikov  <ppluzhnikov@google.com>
18113         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
18114         assembler not supporting AVX-512.
18116 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18118         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18120 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
18122         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18123         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18125         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18127         * sysdeps/arm/libm-test-ulps: Regenerated.
18129 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18131         [BZ #19451]
18132         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
18134 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18136         [BZ #19486]
18137         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
18138         * sysdeps/generic/fix-fp-int-convert-overflow.h
18139         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
18140         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
18141         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
18142         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
18143         Likewise.
18144         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
18145         Avoid conversions to long int where inexact exceptions
18146         could be raised.
18147         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
18148         Likewise.
18149         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
18150         Avoid conversions to long long int where inexact exceptions
18151         could be raised.
18152         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
18153         Likewise.
18155 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
18157         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
18158         * configure: Regenerated.
18160 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18162         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
18164 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
18166         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
18167         outside of comment.
18169 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18171         * nptl/tst-barrier1.c: Add description on first line.
18172         * nptl/tst-barrier2.c: Likewise.
18173         * nptl/tst-barrier3.c: Likewise.
18174         * nptl/tst-barrier4.c: Likewise.
18175         * nptl/tst-barrier5.c: Likewise.
18177 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18179         [BZ #18868]
18180         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
18182 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18184         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
18185         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18186         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
18187         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
18188         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
18189         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
18190         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18191         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18192         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18193         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18194         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18196 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18198         [BZ #13065]
18199         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
18200         new implementation.
18201         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
18202         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
18203         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
18204         (BARRIER_IN_THRESHOLD): New macro.
18205         * nptl/pthread_barrierattr_setpshared.c
18206         (pthread_barrierattr_setpshared): Clean up.
18207         * nptl/tst-barrier4.c: Correct comment.
18208         * nptl/tst-barrier5.c: New file.
18209         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
18210         (gen-as-const-headers): Remove lowlevelbarrier.sym.
18211         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
18212         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
18213         * nptl/lowlevelbarrier.sym: Remove.
18214         * nptl/DESIGN-barrier.txt: Remove.
18215         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
18216         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
18217         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
18218         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
18219         error.
18220         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
18221         implementation.
18223 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18225         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
18226         (do_child): Mask SIGRTMIN while thr is running.
18228 2016-01-15  Martin Sebor  <msebor@redhat.com>
18230         [BZ #19432]
18231         * iconvdata/Makefile: Add bug-iconv11.
18232         * iconvdata/bug-iconv11.c: New test.
18233         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
18234         * iconvdata/ibm933.c: Same.
18235         * iconvdata/ibm935.c: Same.
18236         * iconvdata/ibm937.c: Same.
18237         * iconvdata/ibm939.c: Same.
18239 2016-01-15  Martin Sebor  <msebor@redhat.com>
18241         [BZ #19443]
18242         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
18243         [DEBUG] (_ufc_set_bits): Declare used.
18244         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
18245         [DEBUG] (print_all): Declare used.
18246         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
18247         operands of the ternary ?: expression to target type.
18248         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
18249         calling the undeclared abort.
18250         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
18252 2016-01-15  Martin Sebor  <msebor@redhat.com>
18254         [BZ #18755]
18255         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
18256         warnings.
18257         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
18258         (__gai_create_helper_thread): Same.
18259         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
18260         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
18261         to suppress -Wmaybe-uninitialized warnings.
18263 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
18265         [BZ #19465]
18266         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
18267         inside if.
18268         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18269         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18270         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18272 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
18274         [BZ #19466]
18275         * time/tst-mktime2.c (time_t_max): Removed.
18276         (time_t_min): Likewise.
18277         (TYPE_SIGNED): New.
18278         (TYPE_MINIMUM): Likewise.
18279         (TYPE_MAXIMUM): Likewise.
18280         (TIME_T_MIN): Likewise.
18281         (TIME_T_MAX): Likewise.
18282         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
18283         and TIME_T_MIN.
18284         (do_test): Likewise.
18286 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
18288         [BZ #19467]
18289         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18290         index_Fast_Unaligned_Load flag for Excavator family CPUs.
18292 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
18294         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
18296 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
18298         * benchtests/Makefile (PYTHON): Define.
18299         (bench-func): Use $(PYTHON) to run python scripts.
18300         ($(objpfx)bench-%.c): Likewise.
18302 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
18304         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
18305         leading slash when `file_name' is "/".
18307 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
18309         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
18310         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
18311         Likewise.
18312         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
18313         Likewise.
18314         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
18315         Likewise.
18316         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
18317         enum constant and macro.
18318         (PTRACE_SETSIGMASK): Likewise.
18319         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18320         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18321         (PTRACE_GETSIGMASK): Likewise.
18322         (PTRACE_SETSIGMASK): Likewise.
18323         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18324         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
18325         Likewise.
18326         (PTRACE_SETSIGMASK): Likewise.
18327         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18328         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18329         (PTRACE_GETSIGMASK): Likewise.
18330         (PTRACE_SETSIGMASK): Likewise.
18331         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18332         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
18333         Likewise.
18334         (PTRACE_SETSIGMASK): Likewise.
18335         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18336         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
18337         Likewise.
18338         (PTRACE_SETSIGMASK): Likewise.
18339         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18340         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
18341         Likewise.
18342         (PTRACE_SETSIGMASK): Likewise.
18343         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18345 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
18346             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18348         [BZ #19439]
18349         * math/bits/mathcalls.h
18350         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
18351         prototype.
18352         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
18354 2016-01-11  Andreas Schwab  <schwab@suse.de>
18356         [BZ #19253]
18357         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
18358         cache when TZDEFRULES was used.
18359         * time/tst-tzname.c: New file.
18360         * time/Makefile (test): Add tst-tzname.
18361         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
18362         * timezone/Makefile (test-zones): Add $(posixrules-file).
18363         ($(testdata)/$(posixrules-file)): New rule.
18365 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
18367         Fix doc quoting problems with Texinfo 5
18368         Without this change, in the info file output, Texinfo 5 quotes code
18369         in text with undirected single quotes 'like this' and generates
18370         code examples that with many PDF readers cannot be cut out of PDFs
18371         and pasted into code.
18372         * manual/libc.texinfo: Configure the libc manual like the GNU
18373         Emacs manual, by using @documentencoding and setting
18374         txicodequoteundirected and txicodequotebacktick.  This way,
18375         Texinfo 5 quotes code in text with directed single quotes ‘like
18376         this’ and produces examples that can be cut out of PDFs.  This
18377         change causes Texinfo 5 to generate info files that contain UTF-8
18378         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
18379         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
18381 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18383         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
18384         __libc_tabort, __libc_tend): New wrappers that enforce compiler
18385         barriers to their respective compiler built-ins.
18386         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
18387         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
18388         * sysdeps/powerpc/sysdep.h: Likewise.
18389         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
18390         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
18391         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
18393 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
18395         * scripts/config.guess: Revert previous shebang change.
18396         * scripts/config.sub: Likewise.
18397         * scripts/mkinstalldirs: Likewise.
18399 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18401         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
18402         PPC_FEATURE2_HAS_IEEE128.
18403         * sysdeps/powerpc/dl-procinfo.c:
18404         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
18406 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
18408         [BZ #19415]
18409         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
18410         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
18411         (_dl_lookup_address): Rewrite using function resolver trampoline.
18412         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
18413         two bits in address.
18415 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18417         * longlong.h: Change !__SHMEDIA__ to
18418         (!defined (__SHMEDIA__) || !__SHMEDIA__).
18419         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
18421 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
18422             Joseph Myers  <joseph@codesourcery.com>
18423             Mark Shinwell  <shinwell@codesourcery.com>
18424             Andrew Stubbs  <ams@codesourcery.com>
18425             Rich Felker <dalias@libc.org>
18427         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
18429 2016-01-07  Richard Henderson  <rth@redhat.com>
18431         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
18433 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18435         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
18436         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
18437         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18438         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18439         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
18441 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
18442             Joseph Myers  <joseph@codesourcery.com>
18444         * timezone/private.h: Update from tzcode 2015g.
18445         * timezone/tzfile.h: Likewise.
18446         * timezone/tzselect.ksh: Likewise.
18447         * timezone/zdump.c: Likewise.
18448         * timezone/zic.c: Likewise.
18449         * timezone/ialloc.c: Remove file.
18450         * timezone/scheck.c: Likewise.
18451         * timezone/Makefile (extra-objs): Remove variable.
18452         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
18453         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
18454         -Wno-maybe-uninitialized.
18455         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
18456         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
18457         (CFLAGS-ialloc.c): Remove variable.
18458         (CFLAGS-scheck.c): Likewise.
18459         * timezone/README: Update list of files from tzcode.
18461 2016-01-07  Khem Raj  <raj.khem@gmail.com>
18463         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
18464         instead of __fxprintf when _LIBC is undefined.
18466 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
18468         * catgets/test-gencat.sh: Remove space after shebang.
18469         * conform/GlibcConform.pm: Likewise.
18470         * conform/check-header-lists.sh: Likewise.
18471         * conform/conformtest.pl: Likewise.
18472         * conform/linknamespace.pl: Likewise.
18473         * conform/list-header-symbols.pl: Likewise.
18474         * debug/catchsegv.sh: Likewise.
18475         * elf/genrtldtbl.awk: Likewise.
18476         * elf/tst-pathopt.sh: Likewise.
18477         * elf/tst-rtld-load-self.sh: Likewise.
18478         * grp/tst_fgetgrent.sh: Likewise.
18479         * iconvdata/gen-8bit-gap-1.sh: Likewise.
18480         * iconvdata/gen-8bit-gap.sh: Likewise.
18481         * iconvdata/gen-8bit.sh: Likewise.
18482         * iconvdata/run-iconv-test.sh: Likewise.
18483         * intl/tst-gettext.sh: Likewise.
18484         * intl/tst-gettext2.sh: Likewise.
18485         * intl/tst-gettext4.sh: Likewise.
18486         * intl/tst-gettext6.sh: Likewise.
18487         * intl/tst-translit.sh: Likewise.
18488         * io/ftwtest-sh: Likewise.
18489         * libio/test-freopen.sh: Likewise.
18490         * locale/gen-translit.pl: Likewise.
18491         * malloc/tst-mtrace.sh: Likewise.
18492         * manual/check-safety.sh: Likewise.
18493         * manual/libc-texinfo.sh: Likewise.
18494         * manual/tsort.awk: Likewise.
18495         * manual/xtract-typefun.awk: Likewise.
18496         * nptl/tst-cancel-wrappers.sh: Likewise.
18497         * nptl/tst-tls6.sh: Likewise.
18498         * posix/globtest.sh: Likewise.
18499         * posix/tst-getconf.sh: Likewise.
18500         * posix/wordexp-tst.sh: Likewise.
18501         * scripts/check-c++-types.sh: Likewise.
18502         * scripts/check-local-headers.sh: Likewise.
18503         * scripts/config.guess: Likewise.
18504         * scripts/config.sub: Likewise.
18505         * scripts/cpp: Likewise.
18506         * scripts/cross-test-ssh.sh: Likewise.
18507         * scripts/documented.sh: Likewise.
18508         * scripts/evaluate-test.sh: Likewise.
18509         * scripts/gen-libc-abis: Likewise.
18510         * scripts/gen-sorted.awk: Likewise.
18511         * scripts/list-fixed-bugs.py: Likewise.
18512         * scripts/merge-test-results.sh: Likewise.
18513         * scripts/mkinstalldirs: Likewise.
18514         * scripts/rellns-sh: Likewise.
18515         * scripts/test-installation.pl: Likewise.
18516         * scripts/update-copyrights: Likewise.
18517         * stdio-common/tst-printf.sh: Likewise.
18518         * stdio-common/tst-unbputc.sh: Likewise.
18519         * stdlib/tst-fmtmsg.sh: Likewise.
18520         * stdlib/tst-setcontext3.sh: Likewise.
18521         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
18522         * sysdeps/unix/make-syscalls.sh: Likewise.
18524 2016-01-06  John David Anglin  <dave.anglin@bell.net>
18526         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
18527         asm stw with atomic_exchange_rel.  Add explanatory comment.
18528         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18529         Likewise.
18531 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18533         [BZ #19122]
18534         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
18535         * sysdeps/generic/dl-unistd.h: New file.
18536         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
18538 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18540          [BZ #19122]
18541          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
18542          * sysdeps/generic/dl-mman.h: New file.
18543          * sysdeps/mach/hurd/dl-mman.h: Likewise.
18545 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
18547         * manual/texinfo.tex: Update to version 2016-01-04.21 with
18548         trailing whitespace removed.
18549         * scripts/config.guess: Update to version 2016-01-01.
18550         * scripts/config.sub: Update to version 2016-01-01.
18551         * scripts/move-if-change: Update from gnulib.
18553 2016-01-04  Anton Blanchard  <anton@samba.org>
18555         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
18556         for array indices.
18557         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
18559 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
18561         * NEWS: Update copyright dates.
18562         * catgets/gencat.c (print_version): Likewise.
18563         * csu/version.c (banner): Likewise.
18564         * debug/catchsegv.sh: Likewise.
18565         * debug/pcprofiledump.c (print_version): Likewise.
18566         * debug/xtrace.sh (do_version): Likewise.
18567         * elf/ldconfig.c (print_version): Likewise.
18568         * elf/ldd.bash.in: Likewise.
18569         * elf/pldd.c (print_version): Likewise.
18570         * elf/sotruss.sh: Likewise.
18571         * elf/sprof.c (print_version): Likewise.
18572         * iconv/iconv_prog.c (print_version): Likewise.
18573         * iconv/iconvconfig.c (print_version): Likewise.
18574         * locale/programs/locale.c (print_version): Likewise.
18575         * locale/programs/localedef.c (print_version): Likewise.
18576         * login/programs/pt_chown.c (print_version): Likewise.
18577         * malloc/memusage.sh (do_version): Likewise.
18578         * malloc/memusagestat.c (print_version): Likewise.
18579         * malloc/mtrace.pl: Likewise.
18580         * manual/libc.texinfo: Likewise.
18581         * nptl/version.c (banner): Likewise.
18582         * nscd/nscd.c (print_version): Likewise.
18583         * nss/getent.c (print_version): Likewise.
18584         * nss/makedb.c (print_version): Likewise.
18585         * posix/getconf.c (main): Likewise.
18586         * scripts/test-installation.pl: Likewise.
18587         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18589         * All files with FSF copyright notices: Update copyright dates
18590         using scripts/update-copyrights.
18591         * intl/plural.c: Regenerated.
18592         * locale/programs/charmap-kw.h: Likewise.
18593         * locale/programs/locfile-kw.h: Likewise.
18595 2016-01-02  Helge Deller  <deller@gmx.de>
18597         [BZ #19285]
18598         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
18599         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
18600         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
18601         (MADV_xxK_PAGES): Remove.
18603 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
18605         [BZ #15421]
18606         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
18607         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
18608         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
18609         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
18611 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
18613         [BZ #19408]
18614         * sysdeps/unix/sysv/linux/personality.c: New file.
18615         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
18616         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
18617         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
18618         (sysdep_routines): Add personality.
18619         (tests): Add tst-personality.
18620         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
18621         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
18622         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
18623         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
18624         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
18625         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
18626         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
18627         Likewise.
18628         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
18629         Likewise.
18630         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
18631         Likewise.
18632         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
18633         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
18634         Likewise.
18636 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
18638         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
18639         (PATH_ARM_SYSTYPE): Remove.
18640         (PATH_CPUINFO): Likewise.
18641         (IO_BASE_FOOTBRIDGE): Likewise.
18642         (IO_SHIFT_FOOTBRIDGE): Likewise.
18643         (struct platform): Likewise.
18644         (init_iosys): Remove compatibility code for 2.4 kernels.
18645         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
18647 2015-12-29  Florian Weimer  <fweimer@redhat.com>
18649         * malloc/tst-malloc-thread-fail.c: New file.
18650         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
18651         (tst-malloc-thread-fail): Link against libpthread.
18653 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
18655         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
18656         (get_parser): New function.
18657         (main): New function.
18659 2015-12-29  Rob Wu  <rob@robwu.nl>
18661         [BZ #19369]
18662         * resolv/res_init.c (__res_vinit): Reset defdname before use.
18664 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
18666         [BZ #19270]
18667         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18669 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
18671         [BZ #15421]
18672         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
18674 2015-12-23  Torvald Riegel  <triegel@redhat.com>
18676         [BZ #13690]
18677         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
18678         after releasing it.
18679         (__lll_robust_unlock): Likewise.
18680         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18681         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
18682         (lll_robust_unlock): Likewise.
18683         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
18684         Prevent warnings in callers.
18686 2015-12-23  Florian Weimer  <fweimer@redhat.com>
18688         * malloc/arena.c (list_lock): Update comment.
18690 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18692         * sysdeps/powerpc/hwcapinfo.c: Export symbol
18693         __parse_hwcap_and_convert_at_platform to libc.a.
18695 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18697         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
18698         platform and feature support for POWER9.
18699         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18700         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
18701         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
18702         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
18703         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
18704         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18705         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18706         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18708 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18710         Harmonize generic stdio-lock support with nptl
18712         This fixes build when _IO_funlockfile is a macro, fixes build where
18713         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
18714         stack unwind.
18716         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
18717         _IO_release_lock ): Use cleanup attribute on new
18718         _IO_acquire_lock_file variable instead of assuming that
18719         _IO_release_lock will be called.
18720         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
18721         _IO_acquire_lock_needs_exceptions_enabled.
18722         (_IO_acquire_lock_clear_flags2): New macro.
18724 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18726         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18728 2015-12-21  Florian Weimer  <fweimer@redhat.com>
18730         [BZ #19182]
18731         * malloc/arena.c (list_lock): Document lock ordering requirements.
18732         (free_list_lock): New lock.
18733         (ptmalloc_lock_all): Comment on free_list_lock.
18734         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
18735         (detach_arena): Update comment.  free_list_lock is now needed.
18736         (_int_new_arena): Use free_list_lock around detach_arena call.
18737         Acquire arena lock after list_lock.  Add comment, including FIXME
18738         about incorrect synchronization.
18739         (get_free_list): Switch to free_list_lock.
18740         (reused_arena): Acquire free_list_lock around detach_arena call
18741         and attached threads counter update.  Add two FIXMEs about
18742         incorrect synchronization.
18743         (arena_thread_freeres): Switch to free_list_lock.
18744         * malloc/malloc.c (struct malloc_state): Update comments to
18745         mention free_list_lock.
18747 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
18749         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
18750         Remove functions.
18751         (sloww, sloww1): Accept argument to offset quadrant.
18752         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
18753         quadrant.
18754         (__sin, __cos): Consolidate common code into new functions.
18755         (reduce_sincos_1, do_sincos_1): New functions.
18756         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18758         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
18759         code to new functions.
18760         (reduce_sincos_2, do_sincos_2): New functions.
18761         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18763         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
18764         common code for sincos.
18765         (__cos) [!IN_SINCOS]: Likewise.
18766         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
18767         New function.
18768         (__sincos): Use it.
18770 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
18772         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
18773         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
18774         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18776 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18778         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
18779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
18780         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18781         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
18782         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18783         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
18784         index_Prefer_No_VZEROUPPER): New feature.
18785         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
18786         Prefer_No_VZEROUPPER for Knights Landing.
18788 015-12-18  Torvald Riegel  <triegel@redhat.com>
18790         * math/atest-exp2.c (mp_exp_m1): Remove.
18792 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18794         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
18795         syscalls.
18796         (__SYSCALL0): New macro.
18797         (__SYSCALL1): Likewise.
18798         (__SYSCALL2): Likewise.
18799         (__SYSCALL3): Likewise.
18800         (__SYSCALL4): Likewise.
18801         (__SYSCALL5): Likewise.
18802         (__SYSCALL6): Likewise.
18803         (__SYSCALL_CONCAT_X): Likewise.
18804         (__SYSCALL_CONCAT): Likewise.
18805         (__SYSCALL_DIST): Likewise.
18806         (__SYSCALL_CALL): Likewise.
18808 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
18810         [BZ #19363]
18811         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
18813 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18815         [BZ #19375]
18816         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
18817         negative subnormals.
18819 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
18821         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18822         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
18823         (INTERNAL_SYSCALL_NCS): Use it.
18824         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18826 2015-12-16  Florian Weimer  <fweimer@redhat.com>
18828         [BZ #19243]
18829         * malloc/arena.c (get_free_list): Remove assert and adjust
18830         reference count handling.  Add comment about reused_arena
18831         interaction.
18832         (reused_arena): Add comments abount get_free_list interaction.
18833         * malloc/tst-malloc-thread-exit.c: New file.
18834         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
18835         (tst-malloc-thread-exit): Link against libpthread.
18837 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18839         [BZ #19367]
18840         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
18841         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
18842         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
18843         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
18844         (index_Prefer_MAP_32BIT_EXEC): Likewise.
18846 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18848         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
18849         Silvermont optimizations for Knights Landing.
18851 2015-12-15  Andreas Schwab  <schwab@suse.de>
18853         [BZ #17197]
18854         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
18855         immediately after emitting SI.
18856         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
18857         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
18858         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
18859         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
18860         * iconvdata/bug-iconv10.c: New file.
18861         * iconvdata/Makefile (tests): Add bug-iconv10.
18862         ($(objpfx)bug-iconv10.out): New rule.
18864 2015-12-15  Florian Weimer  <fweimer@redhat.com>
18866         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
18867         aliasing violation.
18869 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
18871         [BZ #18472]
18872         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
18873         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
18874         conditionals for them.
18875         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
18876         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
18877         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
18878         sys/kdaemon.h.
18879         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
18880         compat-only syscall, obsoleted in glibc 2.23.
18881         (create_module): Likewise.
18882         (get_kernel_syms): Likewise.
18883         (query_module): Likewise.
18884         (uselib): Likewise.
18885         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
18887 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
18889         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
18890         <linux/version.h>.
18891         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
18892         conditional code.
18893         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
18894         and ioshift_name initialization.
18896 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18898         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18899         Fix indentation.
18901 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18903         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
18905 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18907         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
18909 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
18910             Jakub Wilk  <jwilk@debian.org>
18912         [BZ #19347]
18913         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
18914         to change the group of the device to the tty group.
18916 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
18918         Split large string section; add truncation advice
18919         * manual/examples/strncat.c: Remove.
18920         This example was misleading, as the code would have undefined
18921         behavior if "hello" was longer than SIZE.  Anyway, the manual
18922         shouldn't encourage strncpy+strncat for this sort of thing.
18923         * manual/string.texi (Copying Strings and Arrays): Split into
18924         three sections Copying Strings and Arrays, Concatenating Strings,
18925         and Truncating Strings, as this section was way too long.  All
18926         cross-referenced changed.  Add advice about string-truncation
18927         functions.  Remove misleading strncat example.
18929 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
18931         * manual/nss.texi (NSS Modules Interface): Document
18932         NSS_STATUS_NOTFOUND and SUCCESS.
18934 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18936         [BZ 18568]
18937         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18938         201505L, for Unicode 8.
18940 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
18942         * locale/C-translit.h: Regenerate.
18944 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18946         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
18947         and U+0153.
18949 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
18951         [BZ #19351]
18952         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
18953         expanding log(1+z), compare z rather than its square with epsilon
18954         to determine when to avoid evaluating the expansion.
18956         [BZ #19350]
18957         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18958         Increase overflow threshold.
18960         [BZ #19349]
18961         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
18962         when small.
18964         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18965         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18966         New macro.
18967         [__LINUX_KERNEL_VERSION >= 0x040300]
18968         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18969         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18970         Likewise.
18971         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18972         Likewise.
18973         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18974         Likewise.
18975         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18976         Likewise.
18977         [__LINUX_KERNEL_VERSION >= 0x040300]
18978         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18979         [__LINUX_KERNEL_VERSION >= 0x040300]
18980         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18981         [__LINUX_KERNEL_VERSION >= 0x040300]
18982         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18983         [__LINUX_KERNEL_VERSION >= 0x040300]
18984         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18985         [__LINUX_KERNEL_VERSION >= 0x040300]
18986         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18987         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18988         Likewise.
18989         [__LINUX_KERNEL_VERSION >= 0x040300]
18990         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18991         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18992         Likewise.
18993         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18994         Likewise.
18995         [__LINUX_KERNEL_VERSION >= 0x040300]
18996         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18997         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18998         Likewise.
18999         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19000         Likewise.
19001         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19002         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
19003         Likewise.
19004         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
19005         Likewise.
19006         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19007         Likewise.
19008         [__LINUX_KERNEL_VERSION >= 0x040300]
19009         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19010         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19011         Likewise.
19012         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19013         Likewise.
19014         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19015         Likewise.
19016         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19017         Likewise.
19018         [__LINUX_KERNEL_VERSION >= 0x040300]
19019         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19020         [__LINUX_KERNEL_VERSION >= 0x040300]
19021         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19022         [__LINUX_KERNEL_VERSION >= 0x040300]
19023         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19024         [__LINUX_KERNEL_VERSION >= 0x040300]
19025         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19026         [__LINUX_KERNEL_VERSION >= 0x040300]
19027         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19028         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19029         Likewise.
19030         [__LINUX_KERNEL_VERSION >= 0x040300]
19031         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19032         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19033         Likewise.
19034         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19035         Likewise.
19036         [__LINUX_KERNEL_VERSION >= 0x040300]
19037         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19038         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19039         Likewise.
19040         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19041         Likewise.
19042         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19043         (__ASSUME_SOCKET_SYSCALL): Likewise.
19044         (__ASSUME_BIND_SYSCALL): Likewise.
19045         (__ASSUME_CONNECT_SYSCALL): Likewise.
19046         (__ASSUME_LISTEN_SYSCALL): Likewise.
19047         (__ASSUME_ACCEPT_SYSCALL): Likewise.
19048         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19049         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19050         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19051         (__ASSUME_SEND_SYSCALL): Likewise.
19052         (__ASSUME_SENDTO_SYSCALL): Likewise.
19053         (__ASSUME_RECV_SYSCALL): Likewise.
19054         (__ASSUME_RECVFROM_SYSCALL): Likewise.
19055         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
19056         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19057         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19058         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19059         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19060         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19061         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
19062         Likewise.
19063         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
19064         Likewise.
19065         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
19066         Likewise.
19067         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
19068         Likewise.
19069         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
19070         Likewise.
19071         [__LINUX_KERNEL_VERSION >= 0x020625]
19072         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19073         [__LINUX_KERNEL_VERSION >= 0x020625]
19074         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19075         [__LINUX_KERNEL_VERSION >= 0x020625]
19076         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19077         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
19078         Likewise.
19079         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
19080         Likewise.
19081         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
19082         Likewise.
19083         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
19084         Likewise.
19085         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
19086         Likewise.
19087         [__LINUX_KERNEL_VERSION >= 0x020625]
19088         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19089         [__LINUX_KERNEL_VERSION >= 0x020625]
19090         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19091         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
19092         Likewise.
19093         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
19094         Likewise.
19096 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19098         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
19099         record the current if the current ABI and CPU support the FP64
19100         extension.
19101         (has-modd-spreg): Define to record the current if the current ABI and
19102         CPU support 32-bit floating point values in odd FPU registers.
19103         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19104         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
19105         $(has-modd-spreg) equals yes.
19106         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
19107         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
19108         $(has-modd-spreg) equal yes.
19110 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19112         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
19113         basename.
19115 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
19117         * benchtests/Makefile (bench-math): Move ffs and ffsll...
19118         (bench-string): ... here.
19119         (bench): Add bench-string.
19120         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
19121         to *-benchset to reflect what they are.
19122         (benchset): Adjust.
19124         * benchtests/sincos-inputs: Add inputs from sin-inputs and
19125         cos-inputs.
19127 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
19129         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
19130         __attribute__ ((__simd__)) for vector math function declarations.
19132 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19134         Fix typo in strncat, wcsncat manual entries
19135         * manual/string.texi (Copying and Concatenation): Fix typos in
19136         sample implementations of strncat and wcsncat, by having them use
19137         the old value of the destination length, not the new one.
19139 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
19141         [BZ #16961]
19142         [BZ #16962]
19143         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
19144         string on the stack for strtod.
19145         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
19146         a string on the stack for strtof.
19147         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
19148         constructing a string on the stack for strtold.
19149         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
19150         __strtold_nan to GLIBC_PRIVATE.
19151         * math/test-nan-overflow.c: New file.
19152         * math/test-nan-payload.c: Likewise.
19153         * math/Makefile (tests): Add test-nan-overflow and
19154         test-nan-payload.
19156 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19158         Consistency about byte vs character in string.texi
19159         * manual/string.texi (String and Array Utilities):
19160         Distinguish more carefully among bytes, multibyte characters,
19161         and wide characters.  Use "byte" when talking about C 'char',
19162         to distinguish it more clearly from multibyte characters.
19163         Say "wide character" or "multibyte character" instead of
19164         "character", when a wide or multibyte character is intended.
19165         Similarly for "multibyte string" versus "string".
19166         Define these terms more carefully.
19168 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
19170         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
19171         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
19172         Likewise.
19173         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19174         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19175         * sysdeps/sh/math_private.h: New file.
19176         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
19177         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
19178         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
19179         long double function name.
19180         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19181         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19182         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19183         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19184         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19186         Remove __finitel, __isinfl, and __isnanl.
19187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19188         Likewise.
19189         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19191         Remove __finitel.
19192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19193         Likewise.
19194         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19196 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
19198         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
19199         installed libmvec_nonshared.a.
19201 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19203         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
19204         (sysdep_routines): Likewise.
19205         (sysdep-rtld-routines): Likewise.
19206         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
19207         [$(subdir) = nptl](tests-static): test-get_hwcap-static
19208         * sysdeps/powerpc/Versions: Added new
19209         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
19210         * sysdeps/powerpc/hwcapinfo.c: New file.
19211         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
19212         and parse hwcap, hwcap2 and platform number information.
19213         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
19214         to store HWCAP+HWCAP2 and platform number.
19215         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
19216         for HWCAP+HWCAP2 and platform number in the TCB.
19217         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
19218         the HWCAP, HWCAP2 and platform number in the TCB.
19219         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
19220         (TLS_INIT_TP): Included calls to add the hwcap and
19221         at_platform values in the TCB in TP initialization.
19222         (TLS_DEFINE_INIT_TP): Likewise.
19223         (THREAD_GET_HWCAP): New macro.
19224         (THREAD_SET_HWCAP): Likewise.
19225         (THREAD_GET_AT_PLATFORM): Likewise.
19226         (THREAD_SET_AT_PLATFORM): Likewise.
19227         * sysdeps/powerpc/powerpc32/dl-machine.h:
19228         (dl_platform_init): New function that calls
19229         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
19230         powerpc32.
19231         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
19232         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
19233         this functionality, static linking case.
19234         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
19235         linking case.
19236         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
19237         __parse_hwcap_and_convert_at_platform for the static linking case.
19238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
19239         Included the new __parse_hwcap_and_convert_at_platform symbol in the
19240         ABI list for GLIBC 2.23.
19241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
19242         Likewise.
19243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
19244         Likewise.
19246 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
19248         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
19249         * configure: Regenerate.
19250         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
19251         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
19253 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
19255         * iconvdata/ibm930.c: Add comment explaining encoding uses.
19256         * iconvdata/ibm933.c: Likewise.
19257         * iconvdata/ibm935.c: Likewise.
19258         * iconvdata/ibm937.c: Likewise.
19259         * iconvdata/ibm939.c: Likewise.
19261 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19263         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
19264         pthread_join.
19265         * nptl/tst-cancel21.c (tf): Likewise.
19267 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
19269         [BZ #19313]
19270         * bits/typesizes.h (__CPU_MASK_TYPE): New.
19271         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19272         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19273         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
19274         Likewise.
19275         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
19276         Likewise.
19277         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
19278         Likewise.
19279         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
19280         Likewise.
19281         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
19282         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
19283         unsigned long int with __CPU_MASK_TYPE.
19285 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19287         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19289 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
19291         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
19292         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
19293         t512.x.
19294         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
19296 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
19298         [BZ #19214]
19299         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
19300         argument to return extended model.  Update family and model
19301         with extended family and model when family == 0x0f.
19302         (init_cpu_features): Updated.
19304 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19306         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
19307         signed off_t, so 32bit bigger than 2GiB values are fine actually.
19309         * sysdeps/mach/hurd/mmap64.c: New file.
19311 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
19313         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
19314         rights for its main user thread in NEWTASK.
19316 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
19318         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
19319         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
19321 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
19323         [BZ #14259]
19324         * Makeconfig: Rename localedir to complocaledir.
19325         Rename inst_localedir to inst_complocaledir.
19326         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
19327         * config.make.in: Use complocaledir and libc_cv_complocaledir.
19328         * configure.ac: Use libc_cv_complocaledir.
19329         * configure: Regenerate.
19330         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
19331         -DCOMPLOCALEDIR.
19332         * locale/findlocale.c: Use COMPLOCALEDIR.
19333         * locale/loadarchive.c: Likewise.
19334         * locale/programs/locale.c: Likewise.
19335         * locale/programs/localedef.c: Likewise.
19336         * locale/programs/locarchive.c: Likewise.
19337         * localedata/Makefile: Use inst_complocaledir.
19338         * sysdeps/gnu/configure: Regenerate.
19339         * sysdeps/hppa/configure: Regenerate.
19340         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19341         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19343         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19344         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19345         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19346         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19348 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
19350         [BZ #19058]
19351         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
19352         AS_NEEDED.
19353         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
19354         workaround.
19355         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
19356         libmvec-static-only-routines): Added new file.
19357         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
19359 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19361         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
19362         of interrupted RPC instead of restoring it.
19364         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
19365         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
19366         libc_hidden_def.
19367         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
19368         into initialized data instead of common. Define rtld_hidden_data_def.
19369         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
19370         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
19371         libc_hidden_def.
19372         (if_freenameindex): Add libc_hidden_weak.
19373         (if_nameindex): Add libc_hidden_weak.
19374         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
19375         __open64.
19376         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
19377         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
19378         * sysdeps/mach/nanosleep.c: Include <time.h>
19379         (__nanosleep): Rename to __libc_nanosleep.
19380         (__nanosleep): Add weak_alias.
19381         (nanosleep): Update alias.
19383 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
19385         * stdlib/strtod_nan.c: New file.
19386         * stdlib/strtod_nan_double.h: Likewise.
19387         * stdlib/strtod_nan_float.h: Likewise.
19388         * stdlib/strtod_nan_main.c: Likewise.
19389         * stdlib/strtod_nan_narrow.h: Likewise.
19390         * stdlib/strtod_nan_wide.h: Likewise.
19391         * stdlib/strtof_nan.c: Likewise.
19392         * stdlib/strtold_nan.c: Likewise.
19393         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
19394         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
19395         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
19396         * wcsmbs/wcstod_nan.c: Likewise.
19397         * wcsmbs/wcstof_nan.c: Likewise.
19398         * wcsmbs/wcstold_nan.c: Likewise.
19399         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
19400         strtold_nan.
19401         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
19402         wcstof_nan.
19403         * include/stdlib.h (__strtof_nan): Declare and use
19404         libc_hidden_proto.
19405         (__strtod_nan): Likewise.
19406         (__strtold_nan): Likewise.
19407         (__wcstof_nan): Likewise.
19408         (__wcstod_nan): Likewise.
19409         (__wcstold_nan): Likewise.
19410         * include/wchar.h (____wcstoull_l_internal): Declare.
19411         * stdlib/strtod_l.c: Do not include <ieee754.h>.
19412         (____strtoull_l_internal): Remove declaration.
19413         (STRTOF_NAN): Define macro.
19414         (SET_MANTISSA): Remove macro.
19415         (STRTOULL): Likewise.
19416         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
19417         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
19418         (STRTOF_NAN): Define macro.
19419         (SET_MANTISSA): Remove macro.
19420         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
19421         (SET_MANTISSA): Remove macro.
19422         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
19423         macro.
19424         (SET_MANTISSA): Remove macro.
19425         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
19426         macro.
19427         (SET_MANTISSA): Remove macro.
19428         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
19429         (SET_MANTISSA): Remove macro.
19430         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
19431         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
19432         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
19434         [BZ #19266]
19435         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
19436         upper case and lower case letters inside NAN(), not using TOLOWER.
19437         * stdlib/tst-strtod-nan-locale-main.c: New file.
19438         * stdlib/tst-strtod-nan-locale.c: Likewise.
19439         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
19440         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
19441         Depend on $(gen-locales).
19442         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
19443         * wcsmbs/tst-wcstod-nan-locale.c: New file.
19444         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
19445         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
19446         Depend on $(gen-locales).
19447         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
19449 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
19451         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
19453         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
19455         __finitel, __isinfl, and __isnanl.
19456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19457         Likewise.
19458         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
19460         __finitel.
19461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19462         Likewise.
19463         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19465 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19467         * malloc/memusage.c (me): Remove redundant getenv call.
19469 2015-10-24  Florian Weimer  <fweimer@redhat.com>
19471         [BZ #19143]
19472         [BZ #19164]
19473         * nptl/check-cpuset.h: Remove.
19474         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
19475         Remove CPU set size check.
19476         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
19477         Likewise.
19478         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
19479         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19480         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
19481         (__pthread_setaffinity_new): Remove CPU set size check.
19482         * sysdeps/unix/sysv/linux/sched_setaffinity.c
19483         (__kernel_cpumask_size): Remove.
19484         (__sched_setaffinity_new): Remove CPU set size check.
19485         * manual/threads.texi (Default Thread Attributes): Remove stale
19486         reference to check_cpuset_attr, determine_cpumask_size in comment.
19487         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
19488         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
19489         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
19490         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
19491         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
19492         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
19493         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
19494         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
19495         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
19496         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
19497         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
19498         skeleton test file.
19499         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
19500         tst-affinity-pid.
19502 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19504         * scripts/update-abilist.sh: New file.
19505         * Makefile (+subdir_targets): Add subdir_update-all-abi.
19506         * Makerules (update-all-abi-%, update-all-abi)
19507         (subdir_update-all-abi): New targets.
19508         * elf/Makefile (update-all-abi): New target.
19510 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19512         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
19513         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
19514         (__libc_lock_define_initialized): Use it.
19515         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
19516         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
19517         * malloc/malloc.c (main_arena): Likewise.
19518         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19519         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19521 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
19523         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19524         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
19525         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19526         (PTRACE_O_MASK): Update value.
19527         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
19528         New value in enum __ptrace_setoptions.
19529         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19530         (PTRACE_O_MASK): Update value.
19531         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19532         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19533         (PTRACE_O_MASK): Update value.
19534         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
19535         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19536         (PTRACE_O_MASK): Update value.
19537         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
19538         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19539         (PTRACE_O_MASK): Update value.
19540         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
19541         New value in enum __ptrace_setoptions.
19542         (PTRACE_O_MASK): Update value.
19543         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
19544         New value in enum __ptrace_setoptions.
19545         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19546         (PTRACE_O_MASK): Update value.
19548         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
19549         New macro.
19550         (PACKET_AUXDATA): Likewise.
19551         (PACKET_ORIGDEV): Likewise.
19552         (PACKET_VERSION): Likewise.
19553         (PACKET_HDRLEN): Likewise.
19554         (PACKET_RESERVE): Likewise.
19555         (PACKET_TX_RING): Likewise.
19556         (PACKET_LOSS): Likewise.
19557         (PACKET_VNET_HDR): Likewise.
19558         (PACKET_TX_TIMESTAMP): Likewise.
19559         (PACKET_TIMESTAMP): Likewise.
19560         (PACKET_FANOUT): Likewise.
19561         (PACKET_TX_HAS_OFF): Likewise.
19562         (PACKET_QDISC_BYPASS): Likewise.
19563         (PACKET_ROLLOVER_STATS): Likewise.
19564         (PACKET_FANOUT_DATA): Likewise.
19565         (PACKET_MR_UNICAST): Likewise.
19567         [BZ #19242]
19568         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
19569         (TOUPPER): Likewise.
19570         * stdlib/tst-strtol-locale-main.c: New file.
19571         * stdlib/tst-strtol-locale.c: Likewise.
19572         * stdlib/Makefile (tests): Add tst-strtol-locale.
19573         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
19574         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
19575         Depend on $(gen-locales).
19576         * wcsmbs/tst-wcstol-locale.c: New file.
19577         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
19578         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
19579         tr_TR.ISO-8859-9.
19580         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
19581         Depend on $(gen-locales).
19583 2015-11-20  Roland McGrath  <roland@hack.frob.com>
19585         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
19586         __glibc_likely instead of __builtin_expect.  After falling back to
19587         dyncode_create in a non-ET_DYN case, use the allocate_code_data
19588         system interface to register the code pages as occupied.
19590 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
19592         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19593         [!ARM_MATH_PRIVATE_H].
19594         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
19595         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19596         [!HPPA_MATH_PRIVATE_H].
19597         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
19598         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
19599         to [!I386_MATH_PRIVATE_H].
19600         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
19601         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
19602         Change guard to [!M68K_MATH_PRIVATE_H].
19603         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
19604         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
19605         guard to [!MICROBLAZE_MATH_PRIVATE_H].
19606         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
19607         macro.
19608         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19609         [!MIPS_MATH_PRIVATE_H].
19610         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
19611         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19612         [!NIO2_MATH_PRIVATE_H].
19613         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
19614         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19615         [!TILE_MATH_PRIVATE_H].
19616         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
19618         [BZ #15421]
19619         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
19620         initialize with 0 and define as weak alias of __signgam.
19621         * include/math.h [!_ISOMAC] (__signgam): Declare.
19622         * math/Makefile (libm-calls): Add w_lgamma_compat.
19623         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
19624         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
19625         test-signgam-ullong-init.
19626         (tests-static): Add test-signgam-uchar-static,
19627         test-signgam-uchar-init-static, test-signgam-uint-static,
19628         test-signgam-uint-init-static, test-signgam-ullong-static and
19629         test-signgam-ullong-init-static.
19630         (CFLAGS-test-signgam-uchar.c): New variable.
19631         (CFLAGS-test-signgam-uchar-init.c): Likewise.
19632         (CFLAGS-test-signgam-uchar-static.c): Likewise.
19633         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19634         (CFLAGS-test-signgam-uint.c): Likewise.
19635         (CFLAGS-test-signgam-uint-init.c): Likewise.
19636         (CFLAGS-test-signgam-uint-static.c): Likewise.
19637         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19638         (CFLAGS-test-signgam-ullong.c): Likewise.
19639         (CFLAGS-test-signgam-ullong-init.c): Likewise.
19640         (CFLAGS-test-signgam-ullong-static.c): Likewise.
19641         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19642         * math/Versions (libm): Add GLIBC_2.23.
19643         * math/lgamma-compat.h: New file.
19644         * math/test-signgam-main.c: Likewise.
19645         * math/test-signgam-uchar-init-static.c: Likewise.
19646         * math/test-signgam-uchar-init.c: Likewise.
19647         * math/test-signgam-uchar-static.c: Likewise.
19648         * math/test-signgam-uchar.c: Likewise.
19649         * math/test-signgam-uint-init-static.c: Likewise.
19650         * math/test-signgam-uint-init.c: Likewise.
19651         * math/test-signgam-uint-static.c: Likewise.
19652         * math/test-signgam-uint.c: Likewise.
19653         * math/test-signgam-ullong-init-static.c: Likewise.
19654         * math/test-signgam-ullong-init.c: Likewise.
19655         * math/test-signgam-ullong-static.c: Likewise.
19656         * math/test-signgam-ullong.c: Likewise.
19657         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
19658         wrapper of w_lgamma_main.c.
19659         * math/w_lgamma_compat.c: New file.
19660         * math/w_lgamma_compatf.c: Likewise.
19661         * math/w_lgamma_compatl.c: Likewise.
19662         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
19663         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19664         defining compatibility symbols.
19665         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
19666         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
19667         wrapper of w_lgammaf_main.c.
19668         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
19669         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19670         defining compatibility symbols.
19671         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
19672         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
19673         wrapper of w_lgammal_main.c.
19674         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
19675         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19676         defining compatibility symbols.
19677         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
19678         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
19679         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
19680         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
19681         <lgamma-compat.h>.
19682         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
19683         (__ieee754_gamma): Define as alias.
19684         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
19685         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
19686         <lgamma-compat.h>.
19687         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
19688         (__ieee754_gammaf): Define as alias.
19689         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
19690         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
19691         <lgamma-compat.h>.
19692         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
19693         (__ieee754_gammal): Define as alias.
19694         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
19695         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
19696         <math/w_lgamma_compat.c>.
19697         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
19698         Define as alias of __lgamma_compat and use in defining lgammal.
19699         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
19700         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
19701         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
19702         (USE_AS_COMPAT): New macro.
19703         (LGAMMA_OLD_VER): Undefine and redefine.
19704         (lgammal): Do not define here.
19705         (gammal): Only define here if [GAMMA_ALIAS].
19706         * conform/linknamespace.pl (@whitelist): Remove signgam.
19707         * sysdeps/nacl/libm.abilist: Update.
19708         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19709         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19710         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19711         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19712         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19713         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19714         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19715         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19716         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19717         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19718         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19719         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19721         Likewise.
19722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19723         Likewise.
19724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19725         Likewise.
19726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19727         Likewise.
19728         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19729         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19730         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19731         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19732         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19734         Likewise.
19735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19736         Likewise.
19737         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19738         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19739         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19741 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19743         [BZ #16364]
19744         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
19745         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
19747 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19749         * sysdeps/s390/fpu/bits/mathinline.h:
19750         Use __asm__ [__volatile__] instead of asm [volatile].
19751         * sysdeps/s390/abort-instr.h: Likewise.
19752         * sysdeps/s390/atomic-machine.h: Likewise.
19753         * sysdeps/s390/bits/string.h: Likewise.
19754         * sysdeps/s390/dl-tls.h: Likewise.
19755         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19756         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19757         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19758         * sysdeps/s390/fpu/fesetround.c: Likewise.
19759         * sysdeps/s390/fpu/fpu_control.h: Likewise.
19760         * sysdeps/s390/fpu/s_fma.c: Likewise.
19761         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
19762         * sysdeps/s390/memusage.h: Likewise.
19763         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
19764         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
19765         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
19766         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
19767         * sysdeps/s390/nptl/tls.h: Likewise.
19768         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
19769         * sysdeps/s390/s390-32/backtrace.c: Likewise.
19770         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19771         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
19772         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19773         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19774         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
19775         * sysdeps/s390/s390-64/backtrace.c: Likewise.
19776         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19777         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
19778         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
19779         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19780         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19781         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
19782         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19783         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19784         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
19785         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19786         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
19787         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19788         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
19789         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19790         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
19792 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19793             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19795         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19796         Add lwarx hint, and use macro for acquire instruction.
19797         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19798         Likewise.
19799         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
19800         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
19801         update to use new atomic macros.
19803 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19805         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19806         (__lll_trylock_elision): Fix setting of adapt_count.
19807         * sysdeps/unix/sysv/linux/powerpc/htm.h
19808         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
19809         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
19810         (_ABORT_SYSCALL): Renumber, and clarify definition.
19811         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
19813 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19815         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
19816         after system headers to prevent MIN/MAX redefinition.  Define
19817         HAVE_ALLOCA to preserve builtin alloca usage.
19819 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19821         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
19822         static and don't set or restore rounding.
19823         (__cos)[IN_SINCOS]: Likewise.
19824         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
19825         (__sincos): Set and restore rounding mode.  Remove check for infinite
19826         or NaN input.
19828         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
19830         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
19831         as used.
19833 2015-11-16  Florian Weimer  <fweimer@redhat.com>
19835         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
19837 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19839         * config.make.in (have-glob-dat-reloc): New.
19840         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
19841         target supports GLOB_DAT relocaton. AC_SUBST.
19842         * configure: Regenerated.
19843         * elf/Makefile (tests): Add tst-prelink.
19844         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19845         (tst-prelink-ENV): New.
19846         ($(objpfx)tst-prelink-conflict.out): Likewise.
19847         ($(objpfx)tst-prelink-cmp.out): Likewise.
19848         * sysdeps/x86/tst-prelink.c: Moved to ...
19849         * elf/tst-prelink.c: Here.
19850         * sysdeps/x86/tst-prelink.exp: Moved to ...
19851         * elf/tst-prelink.exp: Here.
19852         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
19853         (tst-prelink-ENV): Removed.
19854         ($(objpfx)tst-prelink-conflict.out): Likewise.
19855         ($(objpfx)tst-prelink-cmp.out): Likewise.
19856         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
19858 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
19860         [BZ #14551]
19861         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
19862         (__mpn_construct_long_double): If high part overflows to infinity,
19863         set errno and recompute overflowed result of the correct sign.
19864         * sysdeps/ieee754/ldbl-128ibm/Makefile
19865         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
19866         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
19867         $(libm).
19868         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
19870 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
19872         [BZ #15479]
19873         [BZ #19238]
19874         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
19875         floating-point state after first operation on input.  Restore full
19876         state rather than just rounding mode.
19877         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19878         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19879         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19881         [BZ #19235]
19882         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
19883         add 0.5 to integer arguments.
19884         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
19885         Likewise.
19886         (.LC2): New object.
19888 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
19890         * scripts/pylintrc (reports): Set to no.
19892 2015-11-10  Roland McGrath  <roland@hack.frob.com>
19894         * elf/dl-load.c (open_verify): Take new argument FD.
19895         Skip __open call if passed FD is not -1.
19896         (_dl_map_object, open_path): Update callers.
19897         * elf/dl-sysdep-open.h: New file.
19898         * elf/dl-load.c: Include it.
19899         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
19900         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
19901         * sysdeps/nacl/dl-sysdep-open.h: New file.
19902         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
19903         from libc to rtld.
19905 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19907         [BZ #19228]
19908         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
19909         and restore full floating-point state.
19910         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19911         Likewise.
19912         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19913         Likewise.
19914         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19915         Likewise.
19916         * math/test-nearbyint-except-2.c: New file.
19917         * math/Makefile (tests): Add test-nearbyint-except-2.
19919 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
19921         [BZ #19178]
19922         * sysdeps/x86/Makefile (tests): Add tst-prelink.
19923         (tst-prelink-ENV): New.
19924         ($(objpfx)tst-prelink-conflict.out): Likewise.
19925         ($(objpfx)tst-prelink-cmp.out): Likewise.
19926         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19927         * sysdeps/x86/tst-prelink.c: New file.
19928         * sysdeps/x86/tst-prelink.exp: Likewise.
19930 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19932         * math/auto-libm-test-in: Add another test of pow.
19933         * math/auto-libm-test-out: Regenerated.
19934         * math/libm-test.inc (pow_test_data): Add another test.
19936 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19938         [BZ #19219]
19939         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
19940         weak_alias to nearbyintl.
19942 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19944         * sysdeps/aarch64/bits/string.h: New file.
19945         (_STRING_ARCH_unaligned): Define.
19947 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19949         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
19950         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19951         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19952         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
19953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
19955 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
19957         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
19958         for original name of the DSO.  Add it to the name list of the DSO
19959         if it is actually given.
19960         (_dl_map_object): Keep track of whether an audit module rewrote
19961         the file name.  If yes, pass the original name to
19962         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
19963         debugging is enabled, log the change of the file name.
19964         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
19965         _dl_map_object_from_fd.
19966         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
19967         * elf/tst-audit11.c: New file
19968         * elf/tst-auditmod11.c: New file.
19969         * elf/tst-audit11mod1.c: New file.
19970         * elf/tst-audit11mod2.c: New file.
19971         * elf/tst-audit11mod2.map: New file.
19972         * elf/tst-audit12.c: New file
19973         * elf/tst-auditmod12.c: New file.
19974         * elf/tst-audit12mod1.c: New file.
19975         * elf/tst-audit12mod2.c: New file.
19976         * elf/tst-audit12mod2.map: New file.
19977         * elf/tst-audit12mod3.c: New file.
19979 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19981         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
19982         Don't create weak aliases,
19983         because versioned symbols are created later.
19984         * sysdeps/s390/s390-32/setjmp.S
19985         (setjmp, _setjmp): Remove weak and rename to an unique name
19986         in SHARED case due to existing versioned symbols.
19987         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19988         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
19989         (getcontext): Create weak alias only in non SHARED case.
19990         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19992 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19994         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
19995         (__ASSUME_*_SYSCALL) Define new macros.
19996         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
19997         Remove socketcall syscalls.
19998         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
19999         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
20000         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
20001         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
20002         * sysdeps/unix/sysv/linux/send.c (__libc_send):
20003         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
20005 2015-11-09  Florian Weimer  <fweimer@redhat.com>
20007         [BZ #12926]
20008         Terminate process on invalid netlink response.
20009         * sysdeps/unix/sysv/linux/netlinkaccess.h
20010         (__netlink_assert_response): Declare.
20011         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
20012         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
20013         (sysdep_routines): Add netlink_assert_response.
20014         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
20015         __netlink_assert_response.
20016         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20017         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20018         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
20019         __netlink_assert_response.
20021 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20023         [BZ #19178]
20024         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
20025         (RTYPE_CLASS_PLT): Likewise.
20026         (RTYPE_CLASS_COPY): Likewise.
20027         (RTYPE_CLASS_TLS): Likewise.
20028         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
20029         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
20030         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
20031         DL_DEBUG_PRELINK.
20033 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
20035         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
20036         calls with argument -0.5.
20037         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
20039         * configure.ac (libc_cv_z_nodelete): Remove configure test.
20040         (libc_cv_z_nodlopen): Likewise.
20041         (libc_cv_z_initfirst): Likewise.
20042         * configure: Regenerated.
20044 2015-11-06  Florian Weimer  <fweimer@redhat.com>
20046         Simplify abilist format to be line-based.
20047         * scripts/abilist.awk: Collect descriptors in the descs variable.
20048         (emit): Write descs variable and sort it
20049         externally, with sort.
20050         * sysdeps/**/*.abilist: Convert to new format.
20052 2015-11-06  Mark Wielaard  <mjw@redhat.com>
20054         [BZ #11460]
20055         * io/Makefile (routines): Add fts64.
20056         (tests): Add tst-fts and tst-fts-lfs.
20057         (CFLAGS-fts64.c): New.
20058         * io/Versions (GLIBC_2.23): New.
20059         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
20060         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
20061         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
20062         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
20063         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
20064         (FTSENT64): Likewise.
20065         (fts64_children): Likewise.
20066         (fts64_close): Likewise.
20067         (fts64_open): Likewise.
20068         (fts64_read): Likewise.
20069         (fts64_set): Likewise.
20070         * io/fts64.c: New file.
20071         * io/tst-fts.c: New test.
20072         * io/tst-fts-lfs.c: Likewise.
20073         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
20074         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
20075         fts64_set.
20076         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20077         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20078         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20079         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20080         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20081         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20082         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20083         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20084         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20085         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20086         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20087         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20088         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20090         Likewise.
20091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20092         Likewise.
20093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20095         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20096         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20097         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20098         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20099         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20102         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20103         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20104         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20105         * sysdeps/wordsize-64/fts.c: New file.
20106         * sysdeps/wordsize-64/fts64.c: Likewise.
20107         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
20108         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
20109         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
20110         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
20112 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20114         * math/libm-test.inc (NON_FINITE): New macro.
20115         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
20116         * math/gen-libm-test.pl (show_exceptions): Add argument
20117         $non_finite.
20118         (parse_args): Update call to show_exceptions.
20119         * math/test-math-finite.h: New file.
20120         * math/test-math-no-finite.h: Likewise.
20121         * math/test-double-finite.c: Likewise.
20122         * math/test-float-finite.c: Likewise.
20123         * math/test-ldouble-finite.c: Likewise.
20124         * math/test-double.c: Include "test-math-no-finite.h".
20125         * math/test-float.c: Include "test-math-no-finite.h".
20126         * math/test-ldouble.c: Include "test-math-no-finite.h".
20127         * math/test-math-inline.h (TEST_FINITE): New macro.
20128         * math/test-math-vector.h (TEST_FINITE): Likewise.
20129         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
20130         (libm-tests): Add test-float-finite and test-double-finite.
20131         ($(objpfx)test-float-finite.o): New dependency on
20132         $(objpfx)libm-test.stmp.
20133         ($(objpfx)test-double-finite.o): Likewise.
20134         ($(objpfx)test-ldouble-finite.o): Likewise.
20135         (libm-test-no-inline-cflags): New variable.
20136         (libm-test-finite-cflags): Likewise.
20137         (CFLAGS-test-float-finite.c): Likewise.
20138         (CFLAGS-test-double-finite.c): Likewise.
20139         (CFLAGS-test-ldouble-finite.c): Likewise.
20140         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
20141         (CFLAGS-test-double.c): Likewise.
20142         (CFLAGS-test-ldouble.c): Likewise.
20144 2015-11-05  Roland McGrath  <roland@hack.frob.com>
20146         * io/fcntl.c (__fcntl): Add ... to prototype.
20147         * misc/ioctl.c (__ioctl): Likewise.
20148         * misc/syscall.c (syscall): Likewise.
20150 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20152         * scripts/list-fixed-bugs.py: New file.
20154         [BZ #19213]
20155         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
20156         returned for argument 1.
20157         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
20158         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
20159         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
20160         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
20161         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
20162         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
20164         [BZ #19211]
20165         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
20166         __USE_XOPEN], not if [!__USE_ISOC99].
20167         (lgammaf): Likewise.
20168         (lgammal): Likewise.
20169         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
20170         (gammaf): Likewise.
20171         (gammal): Likewise.
20172         * math/test-signgam-finite-c11.c: New file.
20173         * math/test-signgam-finite-c99.c: Likewise.
20174         * math/test-signgam-finite.c: Likewise.
20175         * math/Makefile (tests): Add test-signgam-finite,
20176         test-signgam-finite-c99 and test-signgam-finite-c11.
20177         (CFLAGS-test-signgam-finite.c): New variable.
20178         (CFLAGS-test-signgam-finite-c99.c): Likewise.
20179         (CFLAGS-test-signgam-finite-c11.c): Likewise.
20181         [BZ #19212]
20182         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
20183         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
20184         500].
20185         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
20186         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
20187         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
20188         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
20189         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
20190         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
20191         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
20192         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
20193         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
20194         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
20196         [BZ #19209]
20197         * math/bits/math-finite.h (ldexp): Remove declaration.
20198         (ldexpf): Likewise.
20199         (ldexpl): Likewise.
20201         [BZ #19205]
20202         * math/bits/math-finite.h (acosf): Condition declaration on
20203         [__USE_ISOC99].
20204         (acosl): Likewise.
20205         (acoshf): Likewise.
20206         (acoshl): Likewise.
20207         (asinf): Likewise.
20208         (asinl): Likewise.
20209         (atan2f): Likewise.
20210         (atan2l): Likewise.
20211         (atanhf): Likewise.
20212         (atanhl): Likewise.
20213         (coshf): Likewise.
20214         (coshl): Likewise.
20215         (expf): Likewise.
20216         (expl): Likewise.
20217         (fmodf): Likewise.
20218         (fmodl): Likewise.
20219         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
20220         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
20221         (j0l): Likewise.
20222         (y0f): Likewise.
20223         (y0l): Likewise.
20224         (j1f): Likewise.
20225         (j1l): Likewise.
20226         (y1f): Likewise.
20227         (y1l): Likewise.
20228         (jnf): Likewise.
20229         (jnl): Likewise.
20230         (ynf): Likewise.
20231         (ynl): Likewise.
20232         (lgammaf_r): Condition declaration on [__USE_ISOC99].
20233         (lgammal_r): Likewise.
20234         (__lgamma_r_finite): New declaration.
20235         (__lgammaf_r_finite): Likewise.
20236         (__lgammal_r_finite): Likewise.
20237         (lgamma): Use __lgamma_r_finite.
20238         (lgammaf): Condition definition on [__USE_ISOC99].  Use
20239         __lgammaf_r_finite.
20240         (lgammal): Condition definition on [__USE_ISOC99].  Use
20241         __lgammal_r_finite.
20242         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
20243         __lgamma_r_finite.
20244         (gammaf): Condition definition on [__USE_ISOC99].  Use
20245         __lgammaf_r_finite.
20246         (gammal): Condition definition on [__USE_ISOC99].  Use
20247         __lgammal_r_finite.
20248         (logf): Condition declaration on [__USE_ISOC99].
20249         (logl): Likewise.
20250         (log10f): Likewise.
20251         (log10l): Likewise.
20252         (ldexpf): Likewise.
20253         (ldexpl): Likewise.
20254         (powf): Likewise.
20255         (powl): Likewise.
20256         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
20257         __USE_ISOC99].
20258         (remainderf): Condition declaration on [__USE_ISOC99].
20259         (remainderl): Likewise.
20260         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
20261         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
20262         (scalbl): Likewise.
20263         (sinhf): Condition declaration on [__USE_ISOC99].
20264         (sinhl): Likewise.
20265         (sqrtf): Likewise.
20266         (sqrtl): Likewise.
20268 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20270         * sysdeps/arm/atomic-machine.h
20271         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20272         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20273         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
20274         Remove conditional code.
20275         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20276         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20277         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
20278         Change conditional to [__ASSEMBLER__].
20279         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20280         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
20281         [!__ASSEMBLER__].
20282         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
20283         code.
20284         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
20285         conditional macro definitions.
20286         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
20287         (__arch_compare_and_exchange_val_16_acq): Likewise.
20288         (__arch_compare_and_exchange_val_32_acq): Likewise.
20289         (atomic_exchange_and_add): Likewise.
20290         (atomic_add): Likewise.
20291         (atomic_add_negative): Likewise.
20292         (atomic_add_zero): Likewise.
20293         (atomic_bit_set): Likewise.
20294         (atomic_bit_test_set): Likewise.
20295         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
20296         code unconditional.
20297         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20299         * math/test-math-errno.h: New file.
20300         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
20301         empty.
20302         (TEST_ERRNO): New macro.
20303         (TEST_EXCEPTIONS): Likewise.
20304         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
20305         (TEST_EXCEPTIONS): Likewise.
20306         * math/test-math-vector.h (TEST_ERRNO): Likewise.
20307         * math/test-double.c: Include "test-math-errno.h".
20308         * math/test-float.c: Likewise.
20309         * math/test-ldouble.c: Likewise.
20310         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
20311         code unconditional.
20312         (test_exceptions): Only run code if TEST_EXCEPTIONS.
20313         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
20314         unconditional.
20315         (test_errno): Only run code if TEST_ERRNO.
20316         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
20318 2015-11-04  Florian Weimer  <fweimer@redhat.com>
20320         * nptl/tst-once5.cc: Remove attribution.
20322 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20324         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
20325         sqrt, tan, tanh, y0, y1 and yn.
20326         * math/auto-libm-test-out: Regenerated.
20327         * math/libm-test.inc (scalb_test_data): Add more tests.
20328         (scalbn_test_data): Likewise.
20329         (scalbln_test_data): Likewise.
20330         (signbit_test_data): Likewise.
20331         (sin_test_data): Likewise.
20332         (sincos_test_data): Likewise.
20333         (sinh_test_data): Likewise.
20334         (sqrt_test_data): Likewise.
20335         (tan_test_data): Likewise.
20336         (tanh_test_data): Likewise.
20337         (tgamma_test_data): Likewise.
20338         (y0_test_data): Likewise.
20339         (y1_test_data): Likewise.
20340         (yn_test_data): Likewise.
20341         (significand_test_data): Likewise.
20342         * sysdeps/i386/fpu/libm-test-ulps: Update.
20344 2015-11-03  David Kastrup  <dak@gnu.org>
20346         [BZ #18604]
20347         * assert/assert.h (assert): Don't macro-expand failed assertion
20348         expression in error message.
20349         * malloc/malloc.c (assert): Likewise.
20351 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
20353         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
20354         test.
20355         * configure: Regenerated.
20357 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
20359         * math/libm-test.inc (modf_test_data): Add more tests.
20360         (nearbyint_test_data): Likewise.
20361         (nextafter_test_data): Likewise.
20362         (nexttoward_test_data): Likewise.
20363         (pow_test_data): Likewise.
20364         (remainder_test_data): Likewise.
20365         (remquo_test_data): Likewise.
20366         (rint_test_data): Likewise.
20368         [BZ #19201]
20369         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20370         Check for zero remainder in case of large exponents and ensure
20371         correct sign of result in that case.
20372         * math/libm-test.inc (remainder_test_data): Add more tests.
20374         [BZ #6799]
20375         * math/s_nextafter.c: Include <errno.h>.
20376         (__nextafter): Set errno on overflow and underflow.
20377         * math/s_nexttowardf.c: Include <errno.h>.
20378         (__nexttowardf): Set errno on overflow and underflow.
20379         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
20380         (__nextafterl): Set errno on overflow and underflow.
20381         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
20382         (__nexttoward): Set errno on overflow and underflow.
20383         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
20384         (__nexttowardf): Set errno on overflow and underflow.
20385         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
20386         (__nextafterf): Set errno on overflow and underflow.
20387         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
20388         (__nextafterl): Set errno on overflow and underflow.
20389         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
20390         (__nexttoward): Set errno on overflow and underflow.
20391         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
20392         (__nexttowardf): Set errno on overflow and underflow.
20393         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
20394         (__nextafterl): Set errno on overflow and underflow.
20395         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
20396         (__nexttoward): Set errno on overflow and underflow.
20397         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
20398         (__nexttowardf): Set errno on overflow and underflow.
20399         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
20400         (__nexttoward): Set errno on overflow and underflow.
20401         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
20402         (__nexttowardf): Set errno on overflow and underflow.
20403         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
20404         (__nldbl_nexttowardf): Set errno on overflow and underflow.
20405         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
20406         (__nextafterl): Set errno on overflow and underflow.
20407         * math/libm-test.inc (nextafter_test_data): Do not allow errno
20408         setting to be missing on overflow.  Add more tests.
20409         (nexttoward_test_data): Likewise.
20411         * configure.ac (libc_cv_initfini_array): Remove configure test.
20412         * configure: Regenerated.
20414 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
20416         [BZ #19189]
20417         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
20418         non-finite argument handle arguments with negative sign.
20420         * math/libm-test.inc (j0_test_data): Do not test sign of zero
20421         result from infinite argument.
20422         (j1_test_data): Likewise.
20423         (jn_test_data): Likewise.
20424         (y0_test_data): Likewise.
20425         (y1_test_data): Likewise.
20426         (yn_test_data): Likewise.
20428         [BZ #16171]
20429         * math/w_remainder.c (drem): Define as weak alias of __remainder.
20430         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
20431         * math/w_remainderf.c (dremf): Define as weak alias of
20432         __remainderf.
20433         * math/w_remainderl.c (dreml): Define as weak alias of
20434         __remainderl.
20435         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
20436         __remainder.
20437         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
20438         __remainderf.
20439         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
20440         __remainderl.
20441         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
20442         weak alias of remainderl.
20443         * sysdeps/ieee754/ldbl-opt/w_remainder.c
20444         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
20445         alias of __remainder.
20446         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
20447         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
20448         strong alias of __remainderl.
20449         (dreml): Use long_double_symbol.
20450         * math/Makefile (libm-calls): Remove w_drem.
20451         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
20452         (CFLAGS-nldbl-drem.c): Remove variable.
20453         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
20454         * math/w_drem.c: Remove file.
20455         * math/w_dremf.c: Likewise.
20456         * math/w_dreml.c: Likewise.
20457         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
20458         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
20459         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
20461         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
20462         * sysdeps/i386/configure: Regenerated.
20463         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
20464         * sysdeps/x86_64/configure: Regenerated.
20466         * configure.ac (libc_cv_asm_protected_directive): Remove configure
20467         test.
20468         (libc_cv_visibility_attribute): Likewise.
20469         (libc_cv_protected_data): Test unconditionally.
20470         (libc_cv_broken_visibility_attribute): Remove configure test.
20471         (libc_cv_have_sdata_section): Test unconditionally.
20472         * configure: Regenerated.
20474         * include/libc-internal.h (libc_max_align_t): Remove typedef.
20475         * include/scratch_buffer.h: Include <stddef.h> instead of
20476         <libc-internal.h>.
20477         (struct scratch_buffer): Use max_align_t instead of
20478         libc_max_align_t.
20480 2015-10-29  Florian Weimer  <fweimer@redhat.com>
20482         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
20483         instead of extend_alloca.  Change control flow to avoid a goto.
20484         Remove assert which is trivially always true.
20486 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20488         [BZ #16068]
20489         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
20490         (FE_ALL_EXCEPT_X86): New macro.
20491         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20492         FE_ALL_EXCEPT.  Ensure precision control is included in
20493         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20494         handle "denormal operand exception" and clear FZ and DAZ bits.
20495         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
20496         (FE_ALL_EXCEPT_X86): New macro.
20497         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20498         FE_ALL_EXCEPT.  Ensure precision control is included in
20499         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20500         handle "denormal operand exception" and clear FZ and DAZ bits.
20501         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
20502         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
20503         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20504         test-fenv-x87 and test-fenv-sse-2.
20505         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
20507         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
20508         * math/test-double.h (BUILD_COMPLEX): New macro.
20509         * math/test-float.h (BUILD_COMPLEX): Likewise.
20510         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
20512         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
20513         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
20514         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
20515         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
20516         instead of DBL_DENORM_MIN in comment.
20517         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
20518         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20519         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
20520         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
20521         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
20522         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20524 2015-10-28  Florian Weimer  <fweimer@redhat.com>
20526         [BZ #19048]
20527         * malloc/malloc.c (struct malloc_state): Update comment.  Add
20528         attached_threads member.
20529         (main_arena): Initialize attached_threads.
20530         * malloc/arena.c (list_lock): Update comment.
20531         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
20532         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
20533         (deattach_arena): New function.
20534         (_int_new_arena): Initialize arena reference count and deattach
20535         replaced arena.
20536         (get_free_list, reused_arena): Update reference count and deattach
20537         replaced arena.
20538         (arena_thread_freeres): Update arena reference count and only put
20539         unreferenced arenas on the free list.
20541 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20543         [BZ #19181]
20544         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
20545         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
20546         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
20547         * math/test-fenv-clear-main.c: New file.
20548         * math/test-fenv-clear.c: Likewise.
20549         * math/Makefile (tests): Add test-fenv-clear.
20550         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
20551         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20552         test-fenv-clear-sse.
20553         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
20555         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
20556         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
20557         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
20559 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20561         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
20562         static libc.
20564 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20566         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
20567         test.
20568         * sysdeps/i386/configure: Regenerated.
20569         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
20570         test.
20571         * sysdeps/x86_64/configure: Regenerated.
20572         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
20573         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20574         memset-avx2 unconditionally instead of conditionally on
20575         [$(config-cflags-avx2) = yes].
20576         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20577         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
20578         unconditional.
20579         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
20580         * sysdeps/x86_64/multiarch/memset_chk.S
20581         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
20582         to [IS_IN (libc) && SHARED].
20584 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20586         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
20587         configure test.
20588         * sysdeps/arm/configure: Regenerated.
20589         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
20590         Define variable if not already defined.
20592         [BZ #17404]
20593         * sysdeps/mips/atomic-machine.h
20594         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
20595         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
20596         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20598         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
20599         unconditional.
20600         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
20601         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20602         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
20603         unconditional.
20604         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20605         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
20606         unconditional.
20607         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20608         * stdlib/setenv.c
20609         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
20610         code unconditional.
20611         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
20612         Remove conditional code.
20613         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
20614         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
20615         unconditional.
20616         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20617         code.
20618         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
20619         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
20620         unconditional.
20621         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20622         code.
20623         * sysdeps/ieee754/ldbl-128/k_tanl.c
20624         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20625         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20626         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
20627         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20628         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20629         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
20630         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
20631         unconditional.
20632         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20633         code.
20634         * sysdeps/ieee754/ldbl-96/k_tanl.c
20635         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20636         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20638         * nptl/tst-initializers1-c11.c: New file.
20639         * nptl/tst-initializers1-gnu11.c: Likewise.
20640         * nptl/Makefile (tests): Add these new tests.
20641         (CFLAGS-tst-initializers1-c11.c): New variable.
20642         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20644         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
20645         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
20646         instead of -std=gnu99.
20647         * configure.ac (systemtap): Test with -std=gnu11 instead of
20648         -std=gnu99.
20649         * configure: Regenerated.
20650         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
20651         in compilation command in comment.
20653         * sysdeps/nptl/configure.ac: Remove file.
20654         * sysdeps/nptl/configure: Remove generated file.
20655         * configure.ac (libc_cv_forced_unwind): Do not substitute.
20656         * configure: Regenerated.
20657         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
20658         * config.make.in (have-forced-unwind): Remove variable.
20659         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
20660         unconditional.
20661         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
20662         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
20663         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
20664         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
20665         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
20666         unconditional.
20668 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20670         [BZ #19174]
20671         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
20672         .skip_lock_out_of_tbegin_retries.
20673         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20674         (__lll_lock_elision): Likewise, and respect a value of
20675         try_tbegin <= 0.
20677 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20679         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
20680         statement.
20682 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20684         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
20685         variable.
20686         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20687         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20689         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
20690         of -std=c1x -D_ISOC11_SOURCE.
20692         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
20693         * configure: Regenerated.
20694         * manual/install.texi (Tools for Compilation): Document
20695         requirement for GCC 4.7 or later.
20696         * INSTALL: Regenerated.
20698 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
20700         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
20701         on CNT to a conditional jump to 'puntdata'.
20703 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20705         * configure.ac (libc_cv_gcc___thread): Remove configure test.
20706         (libc_cv_gcc_tls_model_attr): Likewise.
20707         * configure: Regenerated.
20709         * configure.ac (libc_cv_need_minus_P): Remove configure test.
20710         * configure: Regenerated.
20711         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
20713 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
20715         * configure.ac (old_glibc_headers): Remove configure test.
20716         * configure: Regenerated.
20717         * config.make.in (old-glibc-headers): Remove variable.
20718         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
20719         (install): Remove dependency on remove-old-headers.
20720         (headers2_0): Remove variable.
20721         (remove-old-headers): Remove rule.
20723         * configure.ac (libc_cv_dot_text): Remove configure test.
20724         (libc_cv_asm_set_directive): Use .text instead of
20725         ${libc_cv_dot_text} in configure test.
20726         * configure: Regenerated.
20728 2015-10-26  Florian Weimer  <fweimer@redhat.com>
20730         [BZ #19168]
20731         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20733 2015-10-26  Florian Weimer  <fweimer@redhat.com>
20735         * configure.ac (CXX): Clear the variable if the C++ toolchain does
20736         not support static linking.
20737         * configure: Regenerate.
20739 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
20741         * math/libm-test.inc (check_float_internal): Do not special-case
20742         errors up to 0.5 ulp.
20744         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20745         log2.
20746         * math/auto-libm-test-out: Regenerated.
20747         * math/libm-test.inc (MAX_EXP): New macro.
20748         (ilogb_test_data): Add more tests.
20749         (isfinite_test_data): Likewise.
20750         (isgreater_test_data): Likewise.
20751         (isgreaterequal_test_data): Likewise.
20752         (isinf_test_data): Likewise.
20753         (isless_test_data): Likewise.
20754         (islessequal_test_data): Likewise.
20755         (islessgreater_test_data): Likewise.
20756         (isnan_test_data): Likewise.
20757         (isnormal_test_data): Likewise.
20758         (issignaling_test_data): Likewise.
20759         (isunordered_test_data): Likewise.
20760         (j0_test_data): Likewise.
20761         (j1_test_data): Likewise.
20762         (jn_test_data): Likewise.
20763         (lgamma_test_data): Likewise.
20764         (log_test_data): Likewise.
20765         (log10_test_data): Likewise.
20766         (log1p_test_data): Likewise.
20767         (log2_test_data): Likewise.
20768         (logb_test_data): Likewise.
20769         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20771         [BZ #18611]
20772         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
20773         avoid excess range and precision on underflow.
20774         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20775         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20776         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20777         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
20778         underflow.
20779         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20780         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20781         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20782         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20783         * math/auto-libm-test-in: Do not allow missing errno setting for
20784         tests of j1 and jn.
20785         * math/auto-libm-test-out: Regenerated.
20787 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
20789         [BZ #15491]
20790         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
20791         floating-point environment instead of clearing all exceptions.
20792         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
20793         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
20794         merging in "invalid" exceptions from frndint.
20795         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
20796         * math/test-nearbyint-except.c: New file.
20797         * math/Makefile (tests): Add test-nearbyint-except.
20799 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
20801         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
20803         * sysdeps/tile/libm-test-ulps: Regenerated.
20805 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
20808         (__NR_sync_file_range2): Assume it is always defined.
20809         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20810         (__NR_sync_file_range): Assume it is always defined.
20812 2015-10-22  Andreas Schwab  <schwab@suse.de>
20814         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20815         INTERNAL_SYSCALL_ERRNO.
20816         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20817         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20818         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20819         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20820         Likewise.
20821         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20823 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20825         * io/tst-fcntl.c (fd): New static variable.
20826         (do_prepare): Open temporary file here....
20827         (do_test): ...not here.
20829         * io/ftwtest-sh: Also trap on exit to remove temporary files.
20831 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20833         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
20834         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20835         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20836         Moved before "#ifdef __ASSEMBLER__".
20838 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20840         [BZ #19156]
20841         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
20842         arguments very close to 0.
20844 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
20846         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
20847         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
20849 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20851         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20852         New.  Defined for GCC 5 and above when not compiling for
20853         profiling.
20854         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20856         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20857         Renamed to ...
20858         (CFLAGS-epoll_pwait.o): This.
20859         (CFLAGS-mmap.c): Renamed to ...
20860         (CFLAGS-mmap.o): This.
20861         (CFLAGS-mmap64.c): Renamed to ...
20862         (CFLAGS-mmap64.o): This.
20863         (CFLAGS-epoll_pwait.os): New.
20864         (CFLAGS-mmap.os): Likewise.
20865         (CFLAGS-mmap64.os): Likewise.
20866         (CFLAGS-semtimedop.os): Likewise.
20867         (CFLAGS-semtimedop.c): Renamed to ...
20868         (CFLAGS-semtimedop.o): This.
20870 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20872         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
20873         warning message.
20875 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20877         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
20878         * Makefile ($(objpfx)c++-types-check.out): Filter out
20879         $(+gccwarn-c) instead of -Wstrict-prototypes.
20881         * io/fts.c (fts_open): Convert to prototype-style function
20882         definition.
20883         * malloc/mcheck.c (mcheck): Likewise.
20884         (mcheck_pedantic): Likewise.
20885         * posix/regexec.c (re_search_2_stub): Likewise.  Use
20886         internal_function.
20887         (re_search_internal): Likewise.
20888         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
20889         prototype-style function definition.
20890         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20891         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
20892         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
20893         (xdr_utmpptr): Likewise.
20894         (xdr_utmparr): Likewise.
20895         (xdr_utmpidle): Likewise.
20896         (xdr_utmpidleptr): Likewise.
20897         (xdr_utmpidlearr): Likewise.
20899         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
20900         log, log10 and log2.
20901         * math/auto-libm-test-out: Regenerated.
20902         * math/libm-test.inc (fmod_test_data): Add more tests.
20903         (fpclassify_test_data): Likewise.
20904         (frexp_test_data): Likewise.
20905         (hypot_test_data): Likewise.
20906         (ilogb_test_data): Likewise.
20908 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
20910         * debug/fortify_fail.c (__fortify_fail): Convert to
20911         prototype-style function definition.  Use internal_function.
20912         * libio/genops.c (save_for_backup): Convert to prototype-style
20913         function definition.
20914         * libio/wgenops.c (save_for_wbackup): Likewise.
20915         * login/grantpt.c (grantpt): Likewise.
20916         * login/ptsname.c (ptsname): Likewise.
20917         (__ptsname_r): Likewise.
20918         * login/unlockpt.c (unlockpt): Likewise.
20919         * mach/msgserver.c (__mach_msg_server): Likewise.
20920         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
20921         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
20922         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
20923         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
20924         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
20925         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
20926         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
20927         Likewise.
20928         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
20929         internal_function.
20930         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
20931         prototype-style function definition.
20932         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
20933         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
20934         (__pthread_create_2_0): Likewise.
20935         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
20936         * nptl/register-atfork.c (__register_atfork): Likewise.
20937         * posix/glob.c (glob): Likewise.
20938         * posix/regcomp.c (re_comp): Likewise.
20939         * posix/regexec.c (re_exec): Likewise.
20940         * stdlib/add_n.c [__STDC__]: Make code unconditional.
20941         [!__STDC__]: Remove conditional code.
20942         * stdlib/cmp.c [__STDC__]: Make code unconditional.
20943         [!__STDC__]: Remove conditional code.
20944         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
20945         [!__STDC__]: Remove conditional code.
20946         * stdlib/divrem.c [__STDC__]: Make code unconditional.
20947         [!__STDC__]: Remove conditional code.
20948         * stdlib/lshift.c [__STDC__]: Make code unconditional.
20949         [!__STDC__]: Remove conditional code.
20950         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
20951         [!__STDC__]: Remove conditional code.
20952         * stdlib/mul.c [__STDC__]: Make code unconditional.
20953         [!__STDC__]: Remove conditional code.
20954         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
20955         [!__STDC__]: Remove conditional code.
20956         * stdlib/rshift.c [__STDC__]: Make code unconditional.
20957         [!__STDC__]: Remove conditional code.
20958         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
20959         function definition.
20960         (STRTOF): Likewise.
20961         * stdlib/strtod_l.c (__STRTOF): Likewise.
20962         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
20963         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
20964         (__strtol_l): Likewise.
20965         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
20966         [!__STDC__]: Remove conditional code.
20967         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
20968         definition.
20969         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20970         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20971         type.
20972         (__strcasecmp): Convert to prototype-style function definition.
20973         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
20974         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20975         type.
20976         (__strncasecmp): Convert to prototype-style function definition.
20977         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
20978         * sunrpc/xdr.c (xdr_union): Likewise.
20979         * sunrpc/xdr_array.c (xdr_array): Likewise.
20980         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
20981         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
20982         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
20983         Likewise.
20984         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
20985         Likewise.
20986         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
20987         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20988         Likewise.
20989         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
20990         (LOCALE_PARAM_PROTO): Likewise.
20991         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
20992         argument type.
20993         (ut_argument_spec): Remove macro.
20994         (ut_argument_spec_iso): Rename to ut_argument_spec.
20995         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
20996         prototype-style function definition.
20997         (memcpy_uppcase): Likewise.
20998         (__strftime_internal): Likewise.
20999         (my_strftime): Likewise.
21000         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
21001         (LOCALE_PARAM_DECL): Likewise.
21002         [_LIBC] (LOCALE_PARAM): Include argument type.
21003         (__strptime_internal): Convert to prototype-style function
21004         definition.
21005         (strptime): Likewise.
21006         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21007         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21008         type.
21009         (__wcscasecmp): Convert to prototype-style function definition.
21010         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
21011         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21012         type.
21013         (__wcsncasecmp): Convert to prototype-style function definition.
21015         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
21016         function definition.
21017         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21018         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21019         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
21020         * elf/dl-minimal.c (_itoa): Likewise.
21021         * hurd/hurdmalloc.c (malloc): Likewise.
21022         (free): Likewise.
21023         (realloc): Likewise.
21024         * inet/inet6_option.c (inet6_option_space): Likewise.
21025         (inet6_option_init): Likewise.
21026         (inet6_option_append): Likewise.
21027         (inet6_option_alloc): Likewise.
21028         (inet6_option_next): Likewise.
21029         (inet6_option_find): Likewise.
21030         * io/ftw.c (FTW_NAME): Likewise.
21031         (NFTW_NAME): Likewise.
21032         (NFTW_NEW_NAME): Likewise.
21033         (NFTW_OLD_NAME): Likewise.
21034         * libio/iofwide.c (_IO_fwide): Likewise.
21035         * libio/strops.c (_IO_str_init_static_internal): Likewise.
21036         (_IO_str_init_static): Likewise.
21037         (_IO_str_init_readonly): Likewise.
21038         (_IO_str_overflow): Likewise.
21039         (_IO_str_underflow): Likewise.
21040         (_IO_str_count): Likewise.
21041         (_IO_str_seekoff): Likewise.
21042         (_IO_str_pbackfail): Likewise.
21043         (_IO_str_finish): Likewise.
21044         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
21045         (_IO_wstr_overflow): Likewise.
21046         (_IO_wstr_underflow): Likewise.
21047         (_IO_wstr_count): Likewise.
21048         (_IO_wstr_seekoff): Likewise.
21049         (_IO_wstr_pbackfail): Likewise.
21050         (_IO_wstr_finish): Likewise.
21051         * locale/programs/localedef.c (normalize_codeset): Likewise.
21052         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21053         (add_locales_to_archive): Likewise.
21054         (delete_locales_from_archive): Likewise.
21055         * malloc/malloc.c (__libc_mallinfo): Likewise.
21056         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
21057         * misc/tsearch.c (__tfind): Likewise.
21058         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
21059         * nptl/pthread_attr_getdetachstate.c
21060         (__pthread_attr_getdetachstate): Likewise.
21061         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21062         Likewise.
21063         * nptl/pthread_attr_getinheritsched.c
21064         (__pthread_attr_getinheritsched): Likewise.
21065         * nptl/pthread_attr_getschedparam.c
21066         (__pthread_attr_getschedparam): Likewise.
21067         * nptl/pthread_attr_getschedpolicy.c
21068         (__pthread_attr_getschedpolicy): Likewise.
21069         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
21070         Likewise.
21071         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
21072         Likewise.
21073         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21074         Likewise.
21075         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21076         Likewise.
21077         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
21078         (__pthread_attr_init_2_0): Likewise.
21079         * nptl/pthread_attr_setdetachstate.c
21080         (__pthread_attr_setdetachstate): Likewise.
21081         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21082         Likewise.
21083         * nptl/pthread_attr_setinheritsched.c
21084         (__pthread_attr_setinheritsched): Likewise.
21085         * nptl/pthread_attr_setschedparam.c
21086         (__pthread_attr_setschedparam): Likewise.
21087         * nptl/pthread_attr_setschedpolicy.c
21088         (__pthread_attr_setschedpolicy): Likewise.
21089         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
21090         Likewise.
21091         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
21092         Likewise.
21093         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21094         Likewise.
21095         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21096         Likewise.
21097         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
21098         Likewise.
21099         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
21100         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21101         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
21102         use internal_function.
21103         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
21104         prototype-style function definition.
21105         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21106         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
21107         internal_function.
21108         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
21109         Convert to prototype-style function definition.
21110         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21111         Likewise.
21112         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
21113         Likewise.
21114         (__pthread_mutex_unlock): Likewise.
21115         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
21116         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
21117         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
21118         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
21119         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
21120         * nss/makedb.c (process_input): Likewise.
21121         * posix/fnmatch.c (__strchrnul): Likewise.
21122         (__wcschrnul): Likewise.
21123         (fnmatch): Likewise.
21124         * posix/fnmatch_loop.c (FCT): Likewise.
21125         * posix/glob.c (globfree): Likewise.
21126         (__glob_pattern_type): Likewise.
21127         (__glob_pattern_p): Likewise.
21128         * posix/regcomp.c (re_compile_pattern): Likewise.
21129         (re_set_syntax): Likewise.
21130         (re_compile_fastmap): Likewise.
21131         (regcomp): Likewise.
21132         (regerror): Likewise.
21133         (regfree): Likewise.
21134         * posix/regexec.c (regexec): Likewise.
21135         (re_match): Likewise.
21136         (re_search): Likewise.
21137         (re_match_2): Likewise.
21138         (re_search_2): Likewise.
21139         (re_search_stub): Likewise.  Use internal_function
21140         (re_copy_regs): Likewise.
21141         (re_set_registers): Convert to prototype-style function
21142         definition.
21143         (prune_impossible_nodes): Likewise.  Use internal_function.
21144         * resolv/inet_net_pton.c (inet_net_pton): Convert to
21145         prototype-style function definition.
21146         (inet_net_pton_ipv4): Likewise.
21147         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21148         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
21149         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
21150         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
21151         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21152         Make variadic.
21153         * time/strptime_l.c (localtime_r): Convert to prototype-style
21154         function definition.
21155         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21156         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21157         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21158         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21160         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
21161         definition.
21162         (_ufc_doit_r): Likewise.
21163         * crypt/crypt_util.c (_ufc_copymem): Likewise.
21164         (_ufc_output_conversion_r): Likewise.
21165         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
21166         * inet/rcmd.c (rcmd_af): Likewise.
21167         (rcmd): Likewise.
21168         (ruserok_af): Likewise.
21169         (ruserok): Likewise.
21170         (ruserok2_sa): Likewise.
21171         (ruserok_sa): Likewise.
21172         (iruserok_af): Likewise.
21173         (iruserok): Likewise.
21174         (__ivaliduser): Likewise.
21175         (__validuser2_sa): Likewise.
21176         * inet/rexec.c (rexec_af): Likewise.
21177         (rexec): Likewise.
21178         * inet/ruserpass.c (ruserpass): Likewise.
21179         * locale/programs/xmalloc.c (xcalloc): Likewise.
21180         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
21181         * math/w_drem.c (__drem): Likewise.
21182         * math/w_dremf.c (__dremf): Likewise.
21183         * math/w_dreml.c (__dreml): Likewise.
21184         * misc/daemon.c (daemon): Likewise.
21185         * resolv/res_debug.c (p_fqnname): Likewise.
21186         * stdlib/div.c (div): Likewise.
21187         * string/memcmp.c (memcmp_bytes): Likewise.
21188         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
21189         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
21191         * crypt/cert.c (main): Convert to prototype-style function
21192         definition.
21193         * io/pipe.c (__pipe): Likewise.
21194         * io/pipe2.c (__pipe2): Likewise.
21195         * misc/futimesat.c (futimesat): Likewise.
21196         * misc/utimes.c (__utimes): Likewise.
21197         * posix/execve.c (__execve): Likewise.
21198         * posix/execvp.c (execvp): Likewise.
21199         * posix/execvpe.c (__execvpe): Likewise.
21200         * posix/fexecve.c (fexecve): Likewise.
21201         * socket/socketpair.c (socketpair): Likewise.
21202         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21203         * stdlib/erand48.c (erand48): Likewise.
21204         * stdlib/erand48_r.c (__erand48_r): Likewise.
21205         * stdlib/jrand48.c (jrand48): Likewise.
21206         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
21207         * stdlib/lcong48.c (lcong48): Likewise.
21208         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
21209         * stdlib/nrand48.c (nrand48): Likewise.
21210         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
21211         * stdlib/seed48.c (seed48): Likewise.
21212         * stdlib/seed48_r.c (__seed48_r): Likewise.
21213         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
21214         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
21215         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
21217 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21219         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
21220         * configure: Regenerated.
21221         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
21222         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
21223         unconditional.
21224         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21225         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21226         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21227         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
21228         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
21229         unconditional.
21230         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21232         * posix/Makefile (CFLAGS-regex.c): Remove variable.
21233         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
21235         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
21236         function definition.
21237         * crypt/crypt_util.c (__encrypt_r): Likewise.
21238         * libio/genops.c (_IO_no_init): Likewise.
21239         * libio/iofopncook.c (_IO_fopencookie): Likewise.
21240         (_IO_old_fopencookie): Likewise.
21241         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21242         * libio/iogetline.c (_IO_getline): Likewise.
21243         (_IO_getline_info): Likewise.
21244         * libio/iogetwline.c (_IO_getwline): Likewise.
21245         (_IO_getwline_info): Likewise.
21246         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
21247         * libio/vswprintf.c (_IO_vswprintf): Likewise.
21248         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
21249         (find_entry): Likewise.
21250         (iterate_table): Likewise.
21251         (lookup): Likewise.
21252         * login/forkpty.c (forkpty): Likewise.
21253         * misc/hsearch_r.c (__hsearch_r): Likewise.
21254         * misc/select.c (__select): Likewise.
21255         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
21256         Likewise.
21257         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
21258         Likewise.
21259         * nptl/old_pthread_cond_timedwait.c
21260         (__pthread_cond_timedwait_2_0): Likewise.
21261         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21262         * nptl/pthread_barrierattr_getpshared.c
21263         (pthread_barrierattr_getpshared): Likewise.
21264         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
21265         Likewise.
21266         * nptl/pthread_mutex_setprioceiling.c
21267         (pthread_mutex_setprioceiling): Likewise.
21268         * nptl/pthread_mutexattr_getprioceiling.c
21269         (pthread_mutexattr_getprioceiling): Likewise.
21270         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21271         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21272         Likewise.
21273         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21274         Likewise.
21275         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
21276         Likewise.
21277         * socket/recvfrom.c (__recvfrom): Likewise.
21278         * socket/sendto.c (__sendto): Likewise.
21279         * socket/setsockopt.c (__setsockopt): Likewise.
21280         * stdio-common/_itoa.c (_itoa): Likewise.
21281         * stdio-common/_itowa.c (_itowa): Likewise.
21282         * stdio-common/reg-printf.c (__register_printf_specifier):
21283         Likewise.
21284         (__register_printf_function): Likewise.
21285         * stdio-common/tempname.c (__path_search): Likewise.
21286         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
21287         * stdlib/mul_1.c (mpn_mul_1): Likewise.
21288         * stdlib/random_r.c (__initstate_r): Likewise.
21289         * stdlib/setenv.c (__add_to_environ): Likewise.
21290         * stdlib/submul_1.c (mpn_submul_1): Likewise.
21291         * streams/getpmsg.c (getpmsg): Likewise.
21292         * streams/putmsg.c (putmsg): Likewise.
21293         * streams/putpmsg.c (putpmsg): Likewise.
21294         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
21295         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
21296         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
21297         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
21298         * sunrpc/pm_getport.c (pmap_getport): Likewise.
21299         * sunrpc/svc_udp.c (cache_get): Likewise.
21300         * sunrpc/xdr_array.c (xdr_vector): Likewise.
21301         * sysdeps/mach/hurd/getcwd.c
21302         (__canonicalize_directory_name_internal): Likewise.
21303         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
21304         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
21305         * sysdeps/mach/hurd/select.c (__select): Likewise.
21306         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
21307         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
21308         * sysdeps/sparc/nptl/pthread_barrier_init.c
21309         (__pthread_barrier_init): Likewise.
21310         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
21311         (__pthread_cond_timedwait): Likewise.
21312         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
21313         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
21314         Likewise.
21315         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
21316         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
21317         Likewise.
21318         * sysvipc/semtimedop.c (semtimedop): Likewise.
21319         * time/setitimer.c (__setitimer): Likewise.
21320         * time/strftime_l.c (emacs_strftime): Likewise.
21322 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21324         * config.make.in (have-ssp): Delete.
21325         (stack-protector): New variable.
21326         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
21327         cache test for -fstack-protector-strong.  Export stack_protector to
21328         the best ssp flag.
21329         * configure: Regenerated.
21330         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
21331         * nscd/Makefile (CFLAGS-nscd): Likewise.
21332         * resolv/Makefile (CFLAGS-libresolv): Likewise.
21334 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
21336         [BZ #19122]
21337         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
21338         attribute_hidden.
21340 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21342         [BZ #18743]
21343         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
21344         code to...
21345         (ELIDE_LOCK): ...here.
21346         (__get_new_count): New function with part of the code from
21347         __elide_lock that updates the value of adapt_count after a
21348         transaction abort.
21349         (__elided_trylock): Moved this code to...
21350         (ELIDE_TRYLOCK): ...here.
21352 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21354         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
21355         * configure: Regenerate.
21356         * INSTALL: Regenerate.
21357         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
21358         and tweak grammar.
21360 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
21362         * login/programs/pt_chown.c: Include signal.h
21363         (main): Clear any signal mask from the parent process.
21365 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21367         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
21368         * configure: Regenerated.
21369         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
21370         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
21371         $(gnu89-inline-CFLAGS).
21373         * configure.ac (libc_cv_asm_weak_directive): Remove configure
21374         test.
21375         (libc_cv_asm_weakext_directive): Likewise.
21376         * configure: Regenerated.
21377         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
21378         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
21379         * include/libc-symbols.h
21380         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
21381         #error.
21382         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
21383         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
21385         * sysdeps/arm/backtrace.c (__backtrace): Convert to
21386         prototype-style function definition.
21387         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21388         * sysdeps/i386/ffs.c (__ffs): Likewise.
21389         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21390         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
21391         Likewise.
21392         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21393         Likewise.
21394         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
21395         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21396         Likewise.
21397         * sysdeps/m68k/ffs.c (__ffs): Likewise.
21398         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
21399         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
21400         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
21401         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
21402         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
21403         * sysdeps/mach/hurd/access.c (__access): Likewise.
21404         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
21405         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
21406         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
21407         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
21408         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
21409         (cthread_getspecific): Likewise.
21410         (cthread_setspecific): Likewise.
21411         (__libc_getspecific): Likewise.
21412         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
21413         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
21414         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
21415         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
21416         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
21417         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
21418         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
21419         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
21420         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
21421         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
21422         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
21423         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
21424         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
21425         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
21426         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
21427         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
21428         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
21429         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
21430         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
21431         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
21432         * sysdeps/mach/hurd/link.c (__link): Likewise.
21433         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
21434         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
21435         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
21436         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
21437         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21438         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
21439         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
21440         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
21441         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21442         * sysdeps/mach/hurd/rename.c (rename): Likewise.
21443         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
21444         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
21445         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
21446         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
21447         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
21448         * sysdeps/mach/hurd/send.c (__send): Likewise.
21449         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
21450         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
21451         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
21452         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
21453         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
21454         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
21455         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
21456         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
21457         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
21458         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
21459         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
21460         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
21461         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
21462         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
21463         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
21464         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
21465         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
21466         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
21467         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
21468         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21469         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
21470         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
21471         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
21472         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
21473         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
21474         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
21475         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
21476         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
21477         * sysdeps/posix/alarm.c (alarm): Likewise.
21478         * sysdeps/posix/cuserid.c (cuserid): Likewise.
21479         * sysdeps/posix/dirfd.c (dirfd): Likewise.
21480         * sysdeps/posix/dup.c (__dup): Likewise.
21481         * sysdeps/posix/dup2.c (__dup2): Likewise.
21482         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
21483         (main): Likewise.
21484         * sysdeps/posix/flock.c (__flock): Likewise.
21485         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
21486         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
21487         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
21488         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
21489         * sysdeps/posix/isatty.c (__isatty): Likewise.
21490         * sysdeps/posix/killpg.c (killpg): Likewise.
21491         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21492         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
21493         * sysdeps/posix/raise.c (raise): Likewise.
21494         * sysdeps/posix/remove.c (remove): Likewise.
21495         * sysdeps/posix/rename.c (rename): Likewise.
21496         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
21497         * sysdeps/posix/seekdir.c (seekdir): Likewise.
21498         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
21499         * sysdeps/posix/sigignore.c (sigignore): Likewise.
21500         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
21501         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
21502         * sysdeps/posix/sigset.c (sigset): Likewise.
21503         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
21504         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
21505         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
21506         * sysdeps/posix/time.c (time): Likewise.
21507         * sysdeps/posix/ttyname.c (getttyname): Likewise.
21508         (ttyname): Likewise.
21509         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
21510         * sysdeps/posix/utime.c (utime): Likewise.
21511         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
21512         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
21513         Likewise.
21514         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
21515         (pthread_spin_trylock): Likewise.
21516         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
21517         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
21518         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
21519         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
21520         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
21521         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
21522         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
21523         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
21524         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
21525         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
21526         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
21527         * sysdeps/s390/ffs.c (__ffs): Likewise.
21528         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
21529         Likewise.
21530         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21531         Likewise.
21532         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
21533         Likewise.
21534         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
21535         (pthread_barrier_destroy): Likewise.
21536         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21537         (__pthread_barrier_wait): Likewise.
21538         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
21539         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21540         (__pthread_barrier_wait): Likewise.
21541         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
21542         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
21543         (memcmp_not_common_alignment): Likewise.
21544         (MEMCMP): Likewise.
21545         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
21546         (_wordcopy_fwd_dest_aligned): Likewise.
21547         (_wordcopy_bwd_aligned): Likewise.
21548         (_wordcopy_bwd_dest_aligned): Likewise.
21549         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
21550         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
21551         * sysdeps/unix/bsd/stty.c (stty): Likewise.
21552         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
21553         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
21554         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
21555         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
21556         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
21557         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
21558         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
21559         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
21560         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21561         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
21562         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
21563         * sysdeps/unix/stime.c (stime): Likewise.
21564         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
21565         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
21566         Likewise.  Use internal_function.
21567         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
21568         Convert to prototype-style function definition.
21569         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21570         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21571         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
21572         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21573         Likewise.  Use internal_function.
21574         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
21575         prototype-style function definition
21576         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21577         Likewise.
21578         (__getlogin_r): Likewise.
21579         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
21580         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
21581         (__pthread_cond_broadcast): Likewise.
21582         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
21583         (__pthread_cond_destroy): Likewise.
21584         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
21585         (__pthread_cond_init): Likewise.
21586         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
21587         (__pthread_cond_signal): Likewise.
21588         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
21589         (__pthread_cond_wait): Likewise.
21590         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
21591         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
21592         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
21593         Likewise.
21594         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
21595         Likewise.
21596         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
21597         Likewise.
21598         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
21599         Likewise.
21600         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
21601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
21602         (__ftruncate64): Likewise.
21603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
21604         (truncate64): Likewise.
21605         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
21606         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
21607         (pthread_getcpuclockid): Likewise.
21608         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
21609         Likewise.
21610         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
21611         Likewise.
21612         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
21613         Likewise.
21614         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
21615         Likewise.
21616         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
21617         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
21618         (__libc_sigaction): Likewise.
21619         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
21620         Likewise.
21621         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
21622         (__sigprocmask): Likewise.
21623         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
21624         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
21625         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
21626         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
21627         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21628         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
21629         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21630         Likewise.
21631         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
21632         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
21633         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21634         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
21635         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
21636         Likewise.
21637         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
21638         (__sigprocmask): Likewise.
21639         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
21640         (cfgetispeed): Likewise.
21641         (cfsetospeed): Likewise.
21642         (cfsetispeed): Likewise.
21643         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
21644         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
21645         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21646         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
21647         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
21648         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
21649         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
21650         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
21651         Likewise.
21652         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
21653         Likewise.
21654         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
21655         Likewise.
21656         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
21657         Likewise.
21658         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21660 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21662         sunrpc: Rewrite with explicit TLS access using __thread.
21663         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
21664         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
21665         directly.
21666         (__rpc_thread_variables): Access thread_rpc_vars directly.
21667         Eliminate redundant assignment of the tvp variable.
21669 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21671         malloc: Rewrite with explicit TLS access using __thread.
21672         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
21673         (tsd_setspecific, tsd_getspecific): Remove.
21674         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
21675         (tsd_setspecific, tsd_getspecific): Likewise.
21676         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
21677         (tsd_setspecific, tsd_getspecific): Likewise.
21678         * malloc/arena.c (thread_arena): New TLS variable.
21679         (arena_key): Remove variable.
21680         (arena_get): Use thread_arena.
21681         (arena_lookup): Remove macro.
21682         (malloc_atfork, free_atfork, ptmalloc_lock_all)
21683         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
21684         (_int_new_arena, get_free_list, reused_arena)
21685         (arena_thread_freeres): Use thread_arena.
21686         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
21687         tsd_getspecific, tsd_setspecific from safety annotations.
21688         (Allocating Cleared Space): Remove arena_lookup from safety
21689         annotations.
21691 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21693         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
21694         struct scratch_buffer instead of extend_alloca.
21696 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21698         * sysdeps/unix/sysv/linux/kernel-features.h
21699         (__ASSUME_SOCK_CLOEXEC): Remove.
21700         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
21701         (__have_paccept): Remove unused macro.
21702         * include/unistd.h (__have_sock_cloexec): Remove declaration.
21703         * misc/syslog.c (openlog_internal): Remove fallback code for
21704         !__ASSUME_SOCK_CLOEXEC.
21705         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
21706         missing SOCK_CLOEXEC.
21707         * nscd/connections.c (have_sock_cloexec): Remove definition.
21708         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21709         * nscd/nscd_helper.c (open_socket): Remove fallback code for
21710         !__ASSUME_SOCK_CLOEXEC.
21711         * resolv/res_send.c (__have_o_nonblock): Remove definition.
21712         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21713         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
21714         definition.
21715         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
21716         code for !__ASSUME_SOCK_CLOEXEC.
21718 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21720         [BZ #18982]
21721         * manual/stdio.texi (Variable Arguments Output): Add portability
21722         note, explaining that vfprintf clobbers the va_list pointer.
21724 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
21726         * math/libm-test.inc (fabs_test_data): Add more tests.
21727         (fdim_test_data): Likewise.
21728         (fma_test_data): Likewise.
21729         (fmax_test_data): Likewise.
21730         (fmin_test_data): Likewise.
21731         (fmod_test_data): Likewise.
21733 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
21735         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
21736         data.
21738 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
21740         * math/libm-test.inc (ceil_test_data): Add more tests and more
21741         expectations for "inexact".
21742         (floor_test_data): Add more tests.
21743         (round_test_data): Likewise.
21744         (trunc_test_data): Likewise.
21746         * crypt/cert.c (good_bye): Convert to prototype-style function
21747         definition.
21748         (get8): Likewise.
21749         (put8): Likewise.
21750         * crypt/crypt-entry.c (crypt): Likewise.
21751         (__fcrypt): Likewise.
21752         * crypt/crypt_util.c (_ufc_prbits): Likewise.
21753         (_ufc_set_bits): Likewise.
21754         (_ufc_clearmem): Likewise.
21755         (__init_des_r): Likewise.
21756         (shuffle_sb): Likewise.
21757         (shuffle_sb): Likewise.
21758         (_ufc_setup_salt_r): Likewise.
21759         (_ufc_mk_keytab_r): Likewise.
21760         (_ufc_dofinalperm_r): Likewise.
21761         (encrypt): Likewise.
21762         (__setkey_r): Likewise.
21763         (setkey): Likewise.
21764         * crypt/md5.c (md5_init_ctx): Likewise.
21765         (md5_read_ctx): Likewise.
21766         (md5_finish_ctx): Likewise.
21767         (md5_stream): Likewise.
21768         (md5_buffer): Likewise.
21769         (md5_process_bytes): Likewise.
21770         * crypt/sha256.c (__sha256_init_ctx): Likewise.
21771         (__sha256_finish_ctx): Likewise.
21772         (__sha256_process_bytes): Likewise.
21773         * crypt/sha512.c (__sha512_init_ctx): Likewise.
21774         (__sha512_finish_ctx): Likewise.
21775         (__sha512_process_bytes): Likewise.
21776         * ctype/isctype.c (__isctype): Likewise.
21777         * debug/backtrace.c (__backtrace): Likewise.
21778         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
21779         * debug/fgets_chk.c (__fgets_chk): Likewise.
21780         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
21781         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
21782         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21783         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21784         * debug/memset_chk.c (__memset_chk): Likewise.
21785         * debug/strcat_chk.c (__strcat_chk): Likewise.
21786         * debug/strncat_chk.c (__strncat_chk): Likewise.
21787         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
21788         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
21789         * dirent/dirfd.c (dirfd): Likewise.
21790         * dirent/getdents.c (__getdirentries): Likewise.
21791         * dirent/getdents64.c (getdirentries64): Likewise.
21792         * dirent/rewinddir.c (__rewinddir): Likewise.
21793         * dirent/seekdir.c (seekdir): Likewise.
21794         * dirent/telldir.c (telldir): Likewise.
21795         * elf/sln.c (makesymlinks): Likewise.
21796         (makesymlink): Likewise.
21797         * gmon/gmon.c (__moncontrol): Likewise.
21798         (__monstartup): Likewise.
21799         (write_hist): Likewise.
21800         (write_call_graph): Likewise.
21801         (write_bb_counts): Likewise.
21802         * grp/setgroups.c (setgroups): Likewise.
21803         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21804         * inet/inet_net.c (inet_network): Likewise.
21805         * inet/inet_netof.c (inet_netof): Likewise.
21806         * inet/rcmd.c (rresvport_af): Likewise.
21807         (rresvport): Likewise.
21808         * io/access.c (__access): Likewise.
21809         * io/chdir.c (__chdir): Likewise.
21810         * io/chmod.c (__chmod): Likewise.
21811         * io/chown.c (__chown): Likewise.
21812         * io/close.c (__close): Likewise.
21813         * io/creat.c (creat): Likewise.
21814         * io/creat64.c (creat64): Likewise.
21815         * io/dup.c (__dup): Likewise.
21816         * io/dup2.c (__dup2): Likewise.
21817         * io/dup3.c (__dup3): Likewise.
21818         * io/euidaccess.c (__euidaccess): Likewise.
21819         * io/faccessat.c (faccessat): Likewise.
21820         * io/fchmod.c (__fchmod): Likewise.
21821         * io/fchmodat.c (fchmodat): Likewise.
21822         * io/fchown.c (__fchown): Likewise.
21823         * io/fchownat.c (fchownat): Likewise.
21824         * io/fcntl.c (__fcntl): Likewise.
21825         * io/flock.c (__flock): Likewise.
21826         * io/fts.c (fts_load): Likewise.
21827         (fts_close): Likewise.
21828         (fts_read): Likewise.
21829         (fts_set): Likewise.
21830         (fts_children): Likewise.
21831         (fts_build): Likewise.
21832         (fts_stat): Likewise.
21833         (fts_sort): Likewise.
21834         (fts_alloc): Likewise.
21835         (fts_lfree): Likewise.
21836         (fts_palloc): Likewise.
21837         (fts_padjust): Likewise.
21838         (fts_maxarglen): Likewise.
21839         (fts_safe_changedir): Likewise.
21840         * io/getwd.c (getwd): Likewise.
21841         * io/isatty.c (__isatty): Likewise.
21842         * io/lchown.c (__lchown): Likewise.
21843         * io/link.c (__link): Likewise.
21844         * io/linkat.c (linkat): Likewise.
21845         * io/lseek.c (__libc_lseek): Likewise.
21846         * io/mkdir.c (__mkdir): Likewise.
21847         * io/mkdirat.c (mkdirat): Likewise.
21848         * io/mkfifo.c (mkfifo): Likewise.
21849         * io/mkfifoat.c (mkfifoat): Likewise.
21850         * io/open.c (__libc_open): Likewise.
21851         * io/open64.c (__libc_open64): Likewise.
21852         * io/readlink.c (__readlink): Likewise.
21853         * io/readlinkat.c (readlinkat): Likewise.
21854         * io/rmdir.c (__rmdir): Likewise.
21855         * io/symlink.c (__symlink): Likewise.
21856         * io/symlinkat.c (symlinkat): Likewise.
21857         * io/ttyname.c (ttyname): Likewise.
21858         * io/ttyname_r.c (__ttyname_r): Likewise.
21859         * io/umask.c (__umask): Likewise.
21860         * io/unlink.c (__unlink): Likewise.
21861         * io/unlinkat.c (unlinkat): Likewise.
21862         * io/utime.c (utime): Likewise.
21863         * libio/clearerr.c (clearerr): Likewise.
21864         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
21865         * libio/feof.c (_IO_feof): Likewise.
21866         * libio/feof_u.c (feof_unlocked): Likewise.
21867         * libio/ferror.c (_IO_ferror): Likewise.
21868         * libio/ferror_u.c (ferror_unlocked): Likewise.
21869         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21870         * libio/fileno.c (__fileno): Likewise.
21871         * libio/fputc.c (fputc): Likewise.
21872         * libio/fputc_u.c (fputc_unlocked): Likewise.
21873         * libio/fputwc.c (fputwc): Likewise.
21874         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
21875         * libio/freopen.c (freopen): Likewise.
21876         * libio/freopen64.c (freopen64): Likewise.
21877         * libio/fseek.c (fseek): Likewise.
21878         * libio/fseeko.c (fseeko): Likewise.
21879         * libio/fseeko64.c (fseeko64): Likewise.
21880         * libio/ftello.c (__ftello): Likewise.
21881         * libio/ftello64.c (ftello64): Likewise.
21882         * libio/fwide.c (fwide): Likewise.
21883         * libio/genops.c (_IO_un_link): Likewise.
21884         (_IO_link_in): Likewise.
21885         (_IO_least_marker): Likewise.
21886         (_IO_switch_to_main_get_area): Likewise.
21887         (_IO_switch_to_backup_area): Likewise.
21888         (_IO_switch_to_get_mode): Likewise.
21889         (_IO_free_backup_area): Likewise.
21890         (_IO_switch_to_put_mode): Likewise.
21891         (__overflow): Likewise.
21892         (__underflow): Likewise.
21893         (__uflow): Likewise.
21894         (_IO_setb): Likewise.
21895         (_IO_doallocbuf): Likewise.
21896         (_IO_default_underflow): Likewise.
21897         (_IO_default_uflow): Likewise.
21898         (_IO_default_xsputn): Likewise.
21899         (_IO_sgetn): Likewise.
21900         (_IO_default_xsgetn): Likewise.
21901         (_IO_sync): Likewise.
21902         (_IO_default_setbuf): Likewise.
21903         (_IO_default_seekpos): Likewise.
21904         (_IO_default_doallocate): Likewise.
21905         (_IO_init): Likewise.
21906         (_IO_old_init): Likewise.
21907         (_IO_default_sync): Likewise.
21908         (_IO_default_finish): Likewise.
21909         (_IO_default_seekoff): Likewise.
21910         (_IO_sputbackc): Likewise.
21911         (_IO_sungetc): Likewise.
21912         (_IO_set_column): Likewise.
21913         (_IO_set_column): Likewise.
21914         (_IO_adjust_column): Likewise.
21915         (_IO_get_column): Likewise.
21916         (_IO_init_marker): Likewise.
21917         (_IO_remove_marker): Likewise.
21918         (_IO_marker_difference): Likewise.
21919         (_IO_marker_delta): Likewise.
21920         (_IO_seekmark): Likewise.
21921         (_IO_unsave_markers): Likewise.
21922         (_IO_nobackup_pbackfail): Likewise.
21923         (_IO_default_pbackfail): Likewise.
21924         (_IO_default_seek): Likewise.
21925         (_IO_default_stat): Likewise.
21926         (_IO_default_read): Likewise.
21927         (_IO_default_write): Likewise.
21928         (_IO_default_showmanyc): Likewise.
21929         (_IO_default_imbue): Likewise.
21930         (_IO_iter_next): Likewise.
21931         (_IO_iter_file): Likewise.
21932         * libio/getc.c (_IO_getc): Likewise.
21933         * libio/getwc.c (_IO_getwc): Likewise.
21934         * libio/iofclose.c (_IO_new_fclose): Likewise.
21935         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21936         * libio/iofflush.c (_IO_fflush): Likewise.
21937         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
21938         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
21939         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
21940         * libio/iofgets.c (_IO_fgets): Likewise.
21941         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
21942         * libio/iofgetws.c (fgetws): Likewise.
21943         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21944         * libio/iofopen64.c (_IO_fopen64): Likewise.
21945         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21946         (_IO_cookie_write): Likewise.
21947         (_IO_cookie_seek): Likewise.
21948         (_IO_cookie_close): Likewise.
21949         (_IO_cookie_seekoff): Likewise.
21950         (_IO_old_cookie_seek): Likewise.
21951         * libio/iofputs.c (_IO_fputs): Likewise.
21952         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
21953         * libio/iofputws.c (fputws): Likewise.
21954         * libio/iofputws_u.c (fputws_unlocked): Likewise.
21955         * libio/iofread.c (_IO_fread): Likewise.
21956         * libio/iofread_u.c (__fread_unlocked): Likewise.
21957         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
21958         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
21959         * libio/ioftell.c (_IO_ftell): Likewise.
21960         * libio/iofwrite.c (_IO_fwrite): Likewise.
21961         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21962         * libio/iogets.c (_IO_gets): Likewise.
21963         * libio/iopadn.c (_IO_padn): Likewise.
21964         * libio/iopopen.c (_IO_new_proc_open): Likewise.
21965         (_IO_new_popen): Likewise.
21966         (_IO_new_proc_close): Likewise.
21967         * libio/ioputs.c (_IO_puts): Likewise.
21968         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
21969         (_IO_seekoff): Likewise.
21970         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
21971         (_IO_seekpos): Likewise.
21972         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
21973         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
21974         * libio/ioungetc.c (_IO_ungetc): Likewise.
21975         * libio/ioungetwc.c (ungetwc): Likewise.
21976         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21977         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
21978         * libio/iowpadn.c (_IO_wpadn): Likewise.
21979         * libio/libc_fatal.c (__libc_fatal): Likewise.
21980         * libio/memstream.c (__open_memstream): Likewise.
21981         (_IO_mem_sync): Likewise.
21982         (_IO_mem_finish): Likewise.
21983         * libio/oldfileops.c (_IO_old_file_init): Likewise.
21984         (_IO_old_file_close_it): Likewise.
21985         (_IO_old_file_finish): Likewise.
21986         (_IO_old_file_fopen): Likewise.
21987         (_IO_old_file_attach): Likewise.
21988         (_IO_old_file_setbuf): Likewise.
21989         (_IO_old_do_write): Likewise.
21990         (old_do_write): Likewise.
21991         (_IO_old_file_underflow): Likewise.
21992         (_IO_old_file_overflow): Likewise.
21993         (_IO_old_file_sync): Likewise.
21994         (_IO_old_file_seekoff): Likewise.
21995         (_IO_old_file_write): Likewise.
21996         (_IO_old_file_xsputn): Likewise.
21997         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
21998         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21999         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
22000         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
22001         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22002         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
22003         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
22004         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
22005         (_IO_old_popen): Likewise.
22006         (_IO_old_proc_close): Likewise.
22007         * libio/oldpclose.c (__old_pclose): Likewise.
22008         * libio/pclose.c (__new_pclose): Likewise.
22009         * libio/peekc.c (_IO_peekc_locked): Likewise.
22010         * libio/putc.c (_IO_putc): Likewise.
22011         * libio/putc_u.c (putc_unlocked): Likewise.
22012         * libio/putchar.c (putchar): Likewise.
22013         * libio/putchar_u.c (putchar_unlocked): Likewise.
22014         * libio/putwc.c (putwc): Likewise.
22015         * libio/putwc_u.c (putwc_unlocked): Likewise.
22016         * libio/putwchar.c (putwchar): Likewise.
22017         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
22018         * libio/rewind.c (rewind): Likewise.
22019         * libio/setbuf.c (setbuf): Likewise.
22020         * libio/setlinebuf.c (setlinebuf): Likewise.
22021         * libio/vasprintf.c (_IO_vasprintf): Likewise.
22022         * libio/vscanf.c (_IO_vscanf): Likewise.
22023         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
22024         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
22025         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22026         * libio/wgenops.c (_IO_least_wmarker): Likewise.
22027         (_IO_switch_to_main_wget_area): Likewise.
22028         (_IO_switch_to_wbackup_area): Likewise.
22029         (_IO_wsetb): Likewise.
22030         (_IO_wdefault_pbackfail): Likewise.
22031         (_IO_wdefault_finish): Likewise.
22032         (_IO_wdefault_uflow): Likewise.
22033         (__woverflow): Likewise.
22034         (__wuflow): Likewise.
22035         (__wunderflow): Likewise.
22036         (_IO_wdefault_xsputn): Likewise.
22037         (_IO_wdefault_xsgetn): Likewise.
22038         (_IO_wdoallocbuf): Likewise.
22039         (_IO_wdefault_doallocate): Likewise.
22040         (_IO_switch_to_wget_mode): Likewise.
22041         (_IO_free_wbackup_area): Likewise.
22042         (_IO_switch_to_wput_mode): Likewise.
22043         (_IO_sputbackwc): Likewise.
22044         (_IO_sungetwc): Likewise.
22045         (_IO_adjust_wcolumn): Likewise.
22046         (_IO_init_wmarker): Likewise.
22047         (_IO_wmarker_delta): Likewise.
22048         (_IO_seekwmark): Likewise.
22049         (_IO_unsave_wmarkers): Likewise.
22050         * libio/wmemstream.c (open_wmemstream): Likewise.
22051         (_IO_wmem_sync): Likewise.
22052         (_IO_wmem_finish): Likewise.
22053         * locale/nl_langinfo.c (nl_langinfo): Likewise.
22054         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
22055         * locale/programs/simple-hash.c (init_hash): Likewise.
22056         (delete_hash): Likewise.
22057         (insert_entry): Likewise.
22058         (set_entry): Likewise.
22059         (next_prime): Likewise.
22060         (is_prime): Likewise.
22061         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
22062         (xmalloc): Likewise.
22063         (xrealloc): Likewise.
22064         * locale/programs/xstrdup.c (xstrdup): Likewise.
22065         * localedata/collate-test.c (xstrcoll): Likewise.
22066         * localedata/xfrm-test.c (xstrcmp): Likewise.
22067         * login/getlogin_r.c (__getlogin_r): Likewise.
22068         * login/getpt.c (__posix_openpt): Likewise.
22069         * login/login_tty.c (login_tty): Likewise.
22070         * login/setlogin.c (setlogin): Likewise.
22071         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
22072         (mach_msg_destroy_port): Likewise.
22073         (mach_msg_destroy_memory): Likewise.
22074         * malloc/mcheck.c (flood): Likewise.
22075         * misc/acct.c (acct): Likewise.
22076         * misc/brk.c (__brk): Likewise.
22077         * misc/chflags.c (chflags): Likewise.
22078         * misc/chroot.c (chroot): Likewise.
22079         * misc/fchflags.c (fchflags): Likewise.
22080         * misc/fstab.c (getfsspec): Likewise.
22081         (getfsfile): Likewise.
22082         * misc/fsync.c (fsync): Likewise.
22083         * misc/ftruncate.c (__ftruncate): Likewise.
22084         * misc/ftruncate64.c (__ftruncate64): Likewise.
22085         * misc/getdomain.c (getdomainname): Likewise.
22086         (getdomainname): Likewise.
22087         * misc/gethostname.c (__gethostname): Likewise.
22088         * misc/getpass.c (getpass): Likewise.
22089         * misc/getttyent.c (skip): Likewise.
22090         (value): Likewise.
22091         * misc/gtty.c (gtty): Likewise.
22092         * misc/hsearch.c (hsearch): Likewise.
22093         (hcreate): Likewise.
22094         * misc/hsearch_r.c (__hcreate_r): Likewise.
22095         (__hdestroy_r): Likewise.
22096         * misc/ioctl.c (__ioctl): Likewise.
22097         * misc/mkdtemp.c (mkdtemp): Likewise.
22098         * misc/mkostemp.c (mkostemp): Likewise.
22099         * misc/mkostemp64.c (mkostemp64): Likewise.
22100         * misc/mkostemps.c (mkostemps): Likewise.
22101         * misc/mkostemps64.c (mkostemps64): Likewise.
22102         * misc/mkstemp.c (mkstemp): Likewise.
22103         * misc/mkstemp64.c (mkstemp64): Likewise.
22104         * misc/mkstemps.c (mkstemps): Likewise.
22105         * misc/mkstemps64.c (mkstemps64): Likewise.
22106         * misc/mktemp.c (__mktemp): Likewise.
22107         * misc/preadv.c (preadv): Likewise.
22108         * misc/preadv64.c (preadv64): Likewise.
22109         * misc/pwritev.c (pwritev): Likewise.
22110         * misc/pwritev64.c (pwritev64): Likewise.
22111         * misc/readv.c (__readv): Likewise.
22112         * misc/revoke.c (revoke): Likewise.
22113         * misc/setdomain.c (setdomainname): Likewise.
22114         * misc/setegid.c (setegid): Likewise.
22115         * misc/seteuid.c (seteuid): Likewise.
22116         * misc/sethostid.c (sethostid): Likewise.
22117         * misc/sethostname.c (sethostname): Likewise.
22118         * misc/setregid.c (__setregid): Likewise.
22119         * misc/setreuid.c (__setreuid): Likewise.
22120         * misc/sstk.c (sstk): Likewise.
22121         * misc/stty.c (stty): Likewise.
22122         * misc/syscall.c (syscall): Likewise.
22123         * misc/syslog.c (setlogmask): Likewise.
22124         * misc/truncate.c (__truncate): Likewise.
22125         * misc/truncate64.c (truncate64): Likewise.
22126         * misc/ualarm.c (ualarm): Likewise.
22127         * misc/usleep.c (usleep): Likewise.
22128         * misc/ustat.c (ustat): Likewise.
22129         * misc/writev.c (__writev): Likewise.
22130         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
22131         * nptl/old_pthread_cond_broadcast.c
22132         (__pthread_cond_broadcast_2_0): Likewise.
22133         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
22134         Likewise.
22135         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
22136         Likewise.
22137         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
22138         Likewise.
22139         * nptl/pt-raise.c (raise): Likewise.
22140         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
22141         Likewise.
22142         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
22143         * nptl/pthread_barrierattr_destroy.c
22144         (pthread_barrierattr_destroy): Likewise.
22145         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22146         Likewise.
22147         * nptl/pthread_barrierattr_setpshared.c
22148         (pthread_barrierattr_setpshared): Likewise.
22149         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22150         Likewise.
22151         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
22152         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22153         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
22154         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
22155         Likewise.
22156         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
22157         Likewise.
22158         * nptl/pthread_condattr_getpshared.c
22159         (pthread_condattr_getpshared): Likewise.
22160         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
22161         Likewise.
22162         * nptl/pthread_condattr_setpshared.c
22163         (pthread_condattr_setpshared): Likewise.
22164         * nptl/pthread_detach.c (pthread_detach): Likewise.
22165         * nptl/pthread_equal.c (__pthread_equal): Likewise.
22166         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
22167         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
22168         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
22169         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
22170         Likewise.
22171         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
22172         Likewise.
22173         * nptl/pthread_mutex_getprioceiling.c
22174         (pthread_mutex_getprioceiling): Likewise.
22175         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
22176         Likewise.
22177         * nptl/pthread_mutexattr_getprotocol.c
22178         (pthread_mutexattr_getprotocol): Likewise.
22179         * nptl/pthread_mutexattr_getpshared.c
22180         (pthread_mutexattr_getpshared): Likewise.
22181         * nptl/pthread_mutexattr_getrobust.c
22182         (pthread_mutexattr_getrobust): Likewise.
22183         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22184         Likewise.
22185         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
22186         Likewise.
22187         * nptl/pthread_mutexattr_setprioceiling.c
22188         (pthread_mutexattr_setprioceiling): Likewise.
22189         * nptl/pthread_mutexattr_setprotocol.c
22190         (pthread_mutexattr_setprotocol): Likewise.
22191         * nptl/pthread_mutexattr_setpshared.c
22192         (pthread_mutexattr_setpshared): Likewise.
22193         * nptl/pthread_mutexattr_setrobust.c
22194         (pthread_mutexattr_setrobust): Likewise.
22195         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
22196         Likewise.
22197         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
22198         Likewise.
22199         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
22200         Likewise.
22201         * nptl/pthread_rwlockattr_getkind_np.c
22202         (pthread_rwlockattr_getkind_np): Likewise.
22203         * nptl/pthread_rwlockattr_getpshared.c
22204         (pthread_rwlockattr_getpshared): Likewise.
22205         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
22206         Likewise.
22207         * nptl/pthread_rwlockattr_setkind_np.c
22208         (pthread_rwlockattr_setkind_np): Likewise.
22209         * nptl/pthread_rwlockattr_setpshared.c
22210         (pthread_rwlockattr_setpshared): Likewise.
22211         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
22212         Likewise.
22213         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
22214         Likewise.
22215         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
22216         Likewise.
22217         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
22218         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
22219         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
22220         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
22221         * nptl/sem_close.c (sem_close): Likewise.
22222         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
22223         * nptl/sem_init.c (__old_sem_init): Likewise.
22224         * nptl/sigaction.c (__sigaction): Likewise.
22225         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22226         * posix/_exit.c (_exit): Likewise.
22227         * posix/alarm.c (alarm): Likewise.
22228         * posix/confstr.c (confstr): Likewise.
22229         * posix/fpathconf.c (__fpathconf): Likewise.
22230         * posix/getgroups.c (__getgroups): Likewise.
22231         * posix/getpgid.c (__getpgid): Likewise.
22232         * posix/group_member.c (__group_member): Likewise.
22233         * posix/pathconf.c (__pathconf): Likewise.
22234         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
22235         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
22236         * posix/setgid.c (__setgid): Likewise.
22237         * posix/setpgid.c (__setpgid): Likewise.
22238         * posix/setuid.c (__setuid): Likewise.
22239         * posix/sleep.c (__sleep): Likewise.
22240         * posix/sysconf.c (__sysconf): Likewise.
22241         * posix/times.c (__times): Likewise.
22242         * posix/uname.c (__uname): Likewise.
22243         * posix/waitid.c (__waitid): Likewise.
22244         * pwd/getpw.c (__getpw): Likewise.
22245         * resolv/base64.c (b64_pton): Likewise.
22246         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
22247         * resolv/gethnamaddr.c (Dprintf): Likewise.
22248         (gethostbyname): Likewise.
22249         (gethostbyname2): Likewise.
22250         (gethostbyaddr): Likewise.
22251         (_sethtent): Likewise.
22252         (_gethtbyname): Likewise.
22253         (_gethtbyname2): Likewise.
22254         (_gethtbyaddr): Likewise.
22255         (map_v4v6_address): Likewise.
22256         (map_v4v6_hostent): Likewise.
22257         (addrsort): Likewise.
22258         (ht_sethostent): Likewise.
22259         (ht_gethostbyname): Likewise.
22260         (ht_gethostbyaddr): Likewise.
22261         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
22262         (inet_net_ntop_ipv4): Likewise.
22263         * resolv/inet_neta.c (inet_neta): Likewise.
22264         * resolv/inet_ntop.c (inet_ntop): Likewise.
22265         (inet_ntop4): Likewise.
22266         (inet_ntop6): Likewise.
22267         * resolv/inet_pton.c (__inet_pton): Likewise.
22268         (inet_pton4): Likewise.
22269         (inet_pton6): Likewise.
22270         * resolv/res_debug.c (loc_aton): Likewise.
22271         (loc_ntoa): Likewise.
22272         * resource/getpriority.c (__getpriority): Likewise.
22273         * resource/getrusage.c (__getrusage): Likewise.
22274         * resource/nice.c (nice): Likewise.
22275         * resource/setpriority.c (__setpriority): Likewise.
22276         * resource/setrlimit64.c (setrlimit64): Likewise.
22277         * resource/vlimit.c (vlimit): Likewise.
22278         * resource/vtimes.c (vtimes): Likewise.
22279         * rt/aio_error.c (aio_error): Likewise.
22280         * rt/aio_return.c (aio_return): Likewise.
22281         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
22282         * signal/kill.c (__kill): Likewise.
22283         * signal/killpg.c (killpg): Likewise.
22284         * signal/raise.c (raise): Likewise.
22285         * signal/sigaction.c (__sigaction): Likewise.
22286         * signal/sigaddset.c (sigaddset): Likewise.
22287         * signal/sigaltstack.c (sigaltstack): Likewise.
22288         * signal/sigandset.c (sigandset): Likewise.
22289         * signal/sigblock.c (__sigblock): Likewise.
22290         * signal/sigdelset.c (sigdelset): Likewise.
22291         * signal/sigempty.c (sigemptyset): Likewise.
22292         * signal/sigfillset.c (sigfillset): Likewise.
22293         * signal/sighold.c (sighold): Likewise.
22294         * signal/sigignore.c (sigignore): Likewise.
22295         * signal/sigintr.c (siginterrupt): Likewise.
22296         * signal/sigisempty.c (sigisemptyset): Likewise.
22297         * signal/sigismem.c (sigismember): Likewise.
22298         * signal/signal.c (signal): Likewise.
22299         * signal/sigorset.c (sigorset): Likewise.
22300         * signal/sigpause.c (__sigpause): Likewise.
22301         * signal/sigpending.c (sigpending): Likewise.
22302         * signal/sigprocmask.c (__sigprocmask): Likewise.
22303         * signal/sigrelse.c (sigrelse): Likewise.
22304         * signal/sigreturn.c (__sigreturn): Likewise.
22305         * signal/sigset.c (sigset): Likewise.
22306         * signal/sigsetmask.c (__sigsetmask): Likewise.
22307         * signal/sigstack.c (sigstack): Likewise.
22308         * signal/sigsuspend.c (__sigsuspend): Likewise.
22309         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
22310         * signal/sysv_signal.c (__sysv_signal): Likewise.
22311         * socket/accept.c (accept): Likewise.
22312         * socket/accept4.c (__libc_accept4): Likewise.
22313         * socket/bind.c (__bind): Likewise.
22314         * socket/connect.c (__connect): Likewise.
22315         * socket/getpeername.c (getpeername): Likewise.
22316         * socket/getsockname.c (__getsockname): Likewise.
22317         * socket/getsockopt.c (getsockopt): Likewise.
22318         * socket/listen.c (__listen): Likewise.
22319         * socket/recv.c (__recv): Likewise.
22320         * socket/recvmsg.c (__recvmsg): Likewise.
22321         * socket/send.c (__send): Likewise.
22322         * socket/sendmsg.c (__sendmsg): Likewise.
22323         * socket/shutdown.c (shutdown): Likewise.
22324         * socket/sockatmark.c (sockatmark): Likewise.
22325         * socket/socket.c (__socket): Likewise.
22326         * stdio-common/ctermid.c (ctermid): Likewise.
22327         * stdio-common/cuserid.c (cuserid): Likewise.
22328         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
22329         * stdio-common/remove.c (remove): Likewise.
22330         * stdio-common/rename.c (rename): Likewise.
22331         * stdio-common/renameat.c (renameat): Likewise.
22332         * stdio-common/tempname.c (__gen_tempname): Likewise.
22333         * stdio-common/xbug.c (InitBuffer): Likewise.
22334         (AppendToBuffer): Likewise.
22335         (ReadFile): Likewise.
22336         * stdlib/a64l.c (a64l): Likewise.
22337         * stdlib/drand48_r.c (drand48_r): Likewise.
22338         * stdlib/getcontext.c (getcontext): Likewise.
22339         * stdlib/getenv.c (getenv): Likewise.
22340         * stdlib/l64a.c (l64a): Likewise.
22341         * stdlib/llabs.c (llabs): Likewise.
22342         * stdlib/lldiv.c (lldiv): Likewise.
22343         * stdlib/lrand48_r.c (lrand48_r): Likewise.
22344         * stdlib/mrand48_r.c (mrand48_r): Likewise.
22345         * stdlib/putenv.c (putenv): Likewise.
22346         * stdlib/random.c (__srandom): Likewise.
22347         (__initstate): Likewise.
22348         (__setstate): Likewise.
22349         * stdlib/random_r.c (__srandom_r): Likewise.
22350         (__setstate_r): Likewise.
22351         (__random_r): Likewise.
22352         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
22353         * stdlib/setcontext.c (setcontext): Likewise.
22354         * stdlib/setenv.c (setenv): Likewise.
22355         (unsetenv): Likewise.
22356         * stdlib/srand48.c (srand48): Likewise.
22357         * stdlib/srand48_r.c (__srand48_r): Likewise.
22358         * stdlib/swapcontext.c (swapcontext): Likewise.
22359         * stdlib/system.c (__libc_system): Likewise.
22360         * stdlib/tst-strtod.c (expand): Likewise.
22361         * stdlib/tst-strtol.c (expand): Likewise.
22362         * stdlib/tst-strtoll.c (expand): Likewise.
22363         * streams/fattach.c (fattach): Likewise.
22364         * streams/fdetach.c (fdetach): Likewise.
22365         * streams/getmsg.c (getmsg): Likewise.
22366         * streams/isastream.c (isastream): Likewise.
22367         * string/ffs.c (__ffs): Likewise.
22368         * string/ffsll.c (ffsll): Likewise.
22369         * string/memcmp.c (memcmp_common_alignment): Likewise.
22370         (memcmp_not_common_alignment): Likewise.
22371         (MEMCMP): Likewise.
22372         * string/memcpy.c (memcpy): Likewise.
22373         * string/memmove.c (MEMMOVE): Likewise.
22374         * string/memset.c (memset): Likewise.
22375         * string/rawmemchr.c (RAWMEMCHR): Likewise.
22376         * string/strchrnul.c (STRCHRNUL): Likewise.
22377         * string/strerror.c (strerror): Likewise.
22378         * string/strndup.c (__strndup): Likewise.
22379         * string/strverscmp.c (__strverscmp): Likewise.
22380         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
22381         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
22382         (clnttcp_freeres): Likewise.
22383         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
22384         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
22385         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
22386         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
22387         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
22388         (xdr_callhdr): Likewise.
22389         * sunrpc/rpcinfo.c (udpping): Likewise.
22390         (tcpping): Likewise.
22391         (pstatus): Likewise.
22392         (pmapdump): Likewise.
22393         (brdcst): Likewise.
22394         (deletereg): Likewise.
22395         (getprognum): Likewise.
22396         (getvers): Likewise.
22397         (get_inet_address): Likewise.
22398         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
22399         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22400         (svcudp_stat): Likewise.
22401         (svcudp_recv): Likewise.
22402         (svcudp_reply): Likewise.
22403         (svcudp_getargs): Likewise.
22404         (svcudp_freeargs): Likewise.
22405         (svcudp_destroy): Likewise.
22406         * sunrpc/xdr.c (xdr_bytes): Likewise.
22407         (xdr_netobj): Likewise.
22408         (xdr_string): Likewise.
22409         (xdr_wrapstring): Likewise.
22410         * sunrpc/xdr_float.c (xdr_float): Likewise.
22411         (xdr_double): Likewise.
22412         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
22413         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
22414         * sysvipc/ftok.c (ftok): Likewise.
22415         * sysvipc/msgctl.c (msgctl): Likewise.
22416         * sysvipc/msgget.c (msgget): Likewise.
22417         * sysvipc/msgrcv.c (msgrcv): Likewise.
22418         * sysvipc/msgsnd.c (msgsnd): Likewise.
22419         * sysvipc/semget.c (semget): Likewise.
22420         * sysvipc/semop.c (semop): Likewise.
22421         * sysvipc/shmat.c (shmat): Likewise.
22422         * sysvipc/shmctl.c (shmctl): Likewise.
22423         * sysvipc/shmdt.c (shmdt): Likewise.
22424         * sysvipc/shmget.c (shmget): Likewise.
22425         * termios/cfmakeraw.c (cfmakeraw): Likewise.
22426         * termios/speed.c (cfgetospeed): Likewise.
22427         (cfgetispeed): Likewise.
22428         (cfsetospeed): Likewise.
22429         (cfsetispeed): Likewise.
22430         * termios/tcflow.c (tcflow): Likewise.
22431         * termios/tcflush.c (tcflush): Likewise.
22432         * termios/tcgetattr.c (__tcgetattr): Likewise.
22433         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
22434         * termios/tcgetsid.c (tcgetsid): Likewise.
22435         * termios/tcsendbrk.c (tcsendbreak): Likewise.
22436         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
22437         * time/adjtime.c (__adjtime): Likewise.
22438         * time/dysize.c (dysize): Likewise.
22439         * time/ftime.c (ftime): Likewise.
22440         * time/getitimer.c (__getitimer): Likewise.
22441         * time/gettimeofday.c (__gettimeofday): Likewise.
22442         * time/gmtime.c (__gmtime_r): Likewise.
22443         (gmtime): Likewise.
22444         * time/localtime.c (__localtime_r): Likewise.
22445         (localtime): Likewise.
22446         * time/offtime.c (__offtime): Likewise.
22447         * time/settimeofday.c (__settimeofday): Likewise.
22448         * time/stime.c (stime): Likewise.
22449         * time/strftime_l.c (tm_diff): Likewise.
22450         (iso_week_days): Likewise.
22451         * time/strptime.c (strptime): Likewise.
22452         * time/time.c (time): Likewise.
22453         * time/timespec_get.c (timespec_get): Likewise.
22454         * time/tzset.c (tzset_internal): Likewise.
22455         (compute_change): Likewise.
22456         (__tz_compute): Likewise.
22457         * wcsmbs/btowc.c (__btowc): Likewise.
22458         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
22459         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
22460         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
22461         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
22462         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
22463         * wcsmbs/wcscat.c (__wcscat): Likewise.
22464         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22465         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
22466         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
22467         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22468         * wcsmbs/wcsdup.c (wcsdup): Likewise.
22469         * wcsmbs/wcslen.c (__wcslen): Likewise.
22470         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
22471         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
22472         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
22473         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
22474         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22475         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
22476         * wcsmbs/wcsspn.c (wcsspn): Likewise.
22477         * wcsmbs/wcsstr.c (wcsstr): Likewise.
22478         * wcsmbs/wcstok.c (wcstok): Likewise.
22479         * wcsmbs/wctob.c (wctob): Likewise.
22480         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
22481         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22482         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
22483         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
22484         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
22485         * wcsmbs/wmemset.c (__wmemset): Likewise.
22486         * wctype/wcfuncs.c (__towlower): Likewise.
22487         (__towupper): Likewise.
22489         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
22490         (lll_unlock_elision): Add adapt_count parameter.
22492 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22494         * sysdeps/nptl/configure.ac: Do not give errors based on the
22495         results of top-level configure tests.
22496         * sysdeps/nptl/configure: Regenerated.
22498         * configure.ac (libc_cv_Bgroup): Remove configure test.
22499         * configure: Regenerated.
22500         * config.make.in (have-Bgroup): Remove variable.
22502         * configure.ac (sizeof_long_double): Remove configure test.
22503         * configure: Regenerated.
22504         * config.make.in (sizeof-long-double): Remove variable.
22506         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
22507         * configure: Regenerated.
22508         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
22509         variable.
22510         (exceptions): Likewise.
22511         * sysdeps/arm/configure: Regenerated.
22512         * config.make.in (exceptions): Remove variable.
22513         * Makeconfig (uses-callbacks): Use -fexceptions instead of
22514         $(exceptions).
22515         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
22516         (CFLAGS-vdprintf_chk.c): Likewise.
22517         (CFLAGS-printf_chk.c): Likewise.
22518         (CFLAGS-fprintf_chk.c): Likewise.
22519         (CFLAGS-vprintf_chk.c): Likewise.
22520         (CFLAGS-vfprintf_chk.c): Likewise.
22521         (CFLAGS-gets_chk.c): Likewise.
22522         (CFLAGS-fgets_chk.c): Likewise.
22523         (CFLAGS-fgets_u_chk.c): Likewise.
22524         (CFLAGS-fread_chk.c): Likewise.
22525         (CFLAGS-fread_u_chk.c): Likewise.
22526         (CFLAGS-wprintf_chk.c): Likewise.
22527         (CFLAGS-fwprintf_chk.c): Likewise.
22528         (CFLAGS-vwprintf_chk.c): Likewise.
22529         (CFLAGS-vfwprintf_chk.c): Likewise.
22530         (CFLAGS-fgetws_chk.c): Likewise.
22531         (CFLAGS-fgetws_u_chk.c): Likewise.
22532         * libio/Makefile (CFLAGS-fileops.c): Likewise.
22533         (CFLAGS-fputc.c): Likewise.
22534         (CFLAGS-fputwc.c): Likewise.
22535         (CFLAGS-freopen64.c): Likewise.
22536         (CFLAGS-freopen.c): Likewise.
22537         (CFLAGS-fseek.c): Likewise.
22538         (CFLAGS-fseeko64.c): Likewise.
22539         (CFLAGS-fseeko.c): Likewise.
22540         (CFLAGS-ftello64.c): Likewise.
22541         (CFLAGS-ftello.c): Likewise.
22542         (CFLAGS-fwide.c): Likewise.
22543         (CFLAGS-genops.c): Likewise.
22544         (CFLAGS-getc.c): Likewise.
22545         (CFLAGS-getchar.c): Likewise.
22546         (CFLAGS-getwc.c): Likewise.
22547         (CFLAGS-getwchar.c): Likewise.
22548         (CFLAGS-iofclose.c): Likewise.
22549         (CFLAGS-iofflush.c): Likewise.
22550         (CFLAGS-iofgetpos64.c): Likewise.
22551         (CFLAGS-iofgetpos.c): Likewise.
22552         (CFLAGS-iofgets.c): Likewise.
22553         (CFLAGS-iofgetws.c): Likewise.
22554         (CFLAGS-iofputs.c): Likewise.
22555         (CFLAGS-iofputws.c): Likewise.
22556         (CFLAGS-iofread.c): Likewise.
22557         (CFLAGS-iofsetpos64.c): Likewise.
22558         (CFLAGS-iofsetpos.c): Likewise.
22559         (CFLAGS-ioftell.c): Likewise.
22560         (CFLAGS-iofwrite.c): Likewise.
22561         (CFLAGS-iogetdelim.c): Likewise.
22562         (CFLAGS-iogetline.c): Likewise.
22563         (CFLAGS-iogets.c): Likewise.
22564         (CFLAGS-iogetwline.c): Likewise.
22565         (CFLAGS-ioputs.c): Likewise.
22566         (CFLAGS-ioseekoff.c): Likewise.
22567         (CFLAGS-ioseekpos.c): Likewise.
22568         (CFLAGS-iosetbuffer.c): Likewise.
22569         (CFLAGS-iosetvbuf.c): Likewise.
22570         (CFLAGS-ioungetc.c): Likewise.
22571         (CFLAGS-ioungetwc.c): Likewise.
22572         (CFLAGS-oldfileops.c): Likewise.
22573         (CFLAGS-oldiofclose.c): Likewise.
22574         (CFLAGS-oldiofgetpos64.c): Likewise.
22575         (CFLAGS-oldiofgetpos.c): Likewise.
22576         (CFLAGS-oldiofsetpos64.c): Likewise.
22577         (CFLAGS-oldiofsetpos.c): Likewise.
22578         (CFLAGS-peekc.c): Likewise.
22579         (CFLAGS-putc.c): Likewise.
22580         (CFLAGS-putchar.c): Likewise.
22581         (CFLAGS-putwc.c): Likewise.
22582         (CFLAGS-putwchar.c): Likewise.
22583         (CFLAGS-rewind.c): Likewise.
22584         (CFLAGS-wfileops.c): Likewise.
22585         (CFLAGS-wgenops.c): Likewise.
22586         (CFLAGS-oldiofopen.c): Likewise.
22587         (CFLAGS-iofopen.c): Likewise.
22588         (CFLAGS-iofopen64.c): Likewise.
22589         (CFLAGS-oldtmpfile.c): Likewise.
22590         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22591         (CFLAGS-fprintf.c): Likewise.
22592         (CFLAGS-printf.c): Likewise.
22593         (CFLAGS-vfwprintf.c): Likewise.
22594         (CFLAGS-vfscanf.c): Likewise.
22595         (CFLAGS-vfwscanf.c): Likewise.
22596         (CFLAGS-fscanf.c): Likewise.
22597         (CFLAGS-scanf.c): Likewise.
22598         (CFLAGS-isoc99_vfscanf.c): Likewise.
22599         (CFLAGS-isoc99_vscanf.c): Likewise.
22600         (CFLAGS-isoc99_fscanf.c): Likewise.
22601         (CFLAGS-isoc99_scanf.c): Likewise.
22602         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
22603         (CFLAGS-isoc99_fwscanf.c): Likewise.
22604         (CFLAGS-isoc99_vwscanf.c): Likewise.
22605         (CFLAGS-isoc99_vfwscanf.c): Likewise.
22607         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
22608         after mkstemp64.
22609         * login/tst-utmp.c (do_prepare): Likewise.
22610         * rt/tst-aio.c (do_prepare): Likewise.
22611         * rt/tst-aio64.c (do_prepare): Likewise.
22613 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22615         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22616         (__lll_lock_elision): Remove adapt_count decrement...
22617         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22618         (__lll_trylock_elision): Likewise.
22619         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
22620         (__lll_unlock_elision): ... to here. And utilize
22621         new adapt_count parameter.
22622         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
22623         (__lll_unlock_elision): Update to include adapt_count
22624         parameter.
22625         (lll_unlock_elision): Pass pointer to adapt_count
22626         variable.
22628 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22630         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
22631         Add elision adapt_count parameter to list of arguments.
22632         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
22633         (lll_unlock_elision): Update with new parameter list
22634         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
22635         (lll_unlock_elision): Likewise.
22636         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
22637         (lll_unlock_elision): Likewise.
22639 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22641         [BZ #19122]
22642         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
22643         attribute_hidden.
22645         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
22646         attribute_hidden.
22647         [IS_IN (rtld)] (__strdup): Likewise.
22648         [IS_IN (rtld)] (__strerror_r): Likewise.
22649         [IS_IN (rtld)] (__strsep_g): Likewise.
22650         [IS_IN (rtld)] (memchr): Likewise.
22651         [IS_IN (rtld)] (memcmp): Likewise.
22652         [IS_IN (rtld)] (memcpy): Likewise.
22653         [IS_IN (rtld)] (memmove): Likewise.
22654         [IS_IN (rtld)] (memset): Likewise.
22655         [IS_IN (rtld)] (rawmemchr): Likewise.
22656         [IS_IN (rtld)] (stpcpy): Likewise.
22657         [IS_IN (rtld)] (strchr): Likewise.
22658         [IS_IN (rtld)] (strcmp): Likewise.
22659         [IS_IN (rtld)] (strlen): Likewise.
22660         [IS_IN (rtld)] (strnlen): Likewise.
22661         [IS_IN (rtld)] (strsep): Likewise.
22663         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
22664         attribute_hidden.
22665         [IS_IN (rtld)] (__strtoul_internal): Likewise.
22667         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
22668         attribute_hidden.
22669         [IS_IN (rtld)] (__libc_sigaction): Likewise.
22671         * include/setjmp.h (__longjmp): Add attribute_hidden.
22672         [IS_IN (rtld)] (__sigsetjmp): Likewise.
22674         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
22675         Add attribute_hidden.
22677         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
22678         [IS_IN (rtld)] (__open): Likewise.
22679         [IS_IN (rtld)] (__fcntl): Likewise.
22681         * include/dirent.h (__opendirat): Add attribute_hidden.
22682         (__getdents): Likewise.
22683         (__getdents64): Likewise.
22684         (__alloc_dir): Likewise.
22685         [IS_IN (rtld)] (__closedir): Likewise.
22686         [IS_IN (rtld)] (__fdopendir): Likewise.
22687         [IS_IN (rtld)] (__readdir): Likewise.
22688         [IS_IN (rtld)] (__readdir64): Likewise.
22689         [IS_IN (rtld)] (__rewinddir): Likewise.
22691         * include/dlfcn.h (_dl_catch_error): Moved to ...
22692         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
22693         attribute_hidden.
22695         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
22696         (_itoa_word): Likewise.
22698         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
22699         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
22700         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
22701         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
22702         (_dl_higher_prime_number): Likewise.
22703         (_dl_debug_printf_c): Likewise.
22704         (_dl_signal_cerror): Likewise.
22705         (_dl_receive_error): Likewise.
22706         (_dl_reloc_bad_type): Likewise.
22707         (_dl_resolve_conflicts): Likewise.
22708         (_dl_check_all_versions): Likewise.
22709         (_dl_check_map_versions): Likewise.
22710         (_dl_sort_fini): Likewise.
22711         (_dl_debug_initialize): Likewise.
22712         (_dl_init_paths): Likewise.
22713         (_dl_show_auxv): Likewise.
22714         (_dl_next_ld_env_entry): Likewise.
22715         (_dl_important_hwcaps): Likewise.
22716         (_dl_load_cache_lookup): Likewise.
22717         (_dl_update_slotinfo): Likewise.
22718         (_dl_show_scope): Likewise.
22720         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
22721         attribute_hidden.
22722         (_wordcopy_fwd_dest_aligned): Likewise.
22723         (_wordcopy_bwd_aligned): Likewise.
22724         (_wordcopy_bwd_dest_aligned): Likewise.
22726         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22727         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22728         Likewise.
22729         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22730         Likewise.
22731         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
22733 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22735         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
22736         GCC 5 requirement.
22738 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22740         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
22741         test.
22742         * sysdeps/i386/configure: Regenerated.
22743         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
22744         code unconditional.
22746         * configure.ac (libc_cv_asm_previous_directive): Remove configure
22747         test.
22748         (libc_cv_asm_popsection_directive): Likewise.
22749         * configure: Regenerated.
22750         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
22751         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
22752         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
22753         (__make_section_unallocated): Make definition unconditional.
22754         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
22755         Remove conditional definition.
22756         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
22757         (__make_section_unallocated): Likewise.
22759         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
22760         * configure: Regenerated.
22761         * config.make.in (static-libgcc): Remove variable.
22762         * Makerules (build-shlib-helper): Use -static-libgcc instead of
22763         $(static-libgcc).
22764         (build-module-helper): Likewise.
22766         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
22767         * configure: Regenerated.
22769 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22771         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
22772         (struct char_buffer): New type.
22773         (char_buffer_start, char_buffer_size, char_buffer_error)
22774         (char_buffer_rewind, char_buffer_add): New functions.
22775         (ADDW): Remove macro, replaced by the char_buffer_add function.
22776         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
22777         of extend_alloca.  Make control flow more explicit.
22779 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22781         [BZ #19137]
22782         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
22783         Add -fomit-frame-pointer.
22784         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
22786 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22788         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
22789         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
22790         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
22791         only if !__GNUC_PREREQ (5,0).
22792         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
22793         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
22794         (INTERNAL_SYSCALL_NCS): Likewise.
22795         (LOADREGS_0): New macro for GCC 5.
22796         (ASMARGS_0): Likewise.
22797         (LOADREGS_1): Likewise.
22798         (ASMARGS_1): Likewise.
22799         (LOADREGS_2): Likewise.
22800         (ASMARGS_2): Likewise.
22801         (LOADREGS_3): Likewise.
22802         (ASMARGS_3): Likewise.
22803         (LOADREGS_4): Likewise.
22804         (ASMARGS_4): Likewise.
22805         (LOADREGS_5): Likewise.
22806         (ASMARGS_5): Likewise.
22807         (LOADREGS_6): Likewise.
22808         (ASMARGS_6): Likewise.
22810 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22812         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
22813         -fomit-frame-pointer.
22814         (CFLAGS-mmap64.c): Likewise.
22815         (CFLAGS-semtimedop.c): Likewise.
22816         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
22817         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
22818         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22819         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22821 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22823         [BZ #18928]
22824         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
22825         _dl_pointer_guard member.
22826         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
22827         initializer.
22828         (security_init): Always set up pointer guard.
22829         (process_envvars): Do not process LD_POINTER_GUARD.
22831 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
22833         [BZ #19134]
22834         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
22835         (.LC2): Likewise.
22836         (.LC3): Likewise.
22837         (__lround): Do not add 0.5 to integer or out-of-range arguments.
22839 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22841         [BZ #19129]
22842         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
22843         r0 and r1.
22845 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
22847         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
22849 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
22851         * include/stap-probe.h: Fix macro definition formatting.
22853 2015-10-14  Florian Weimer  <fweimer@redhat.com>
22855         [BZ #19074]
22856         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
22857         load and store num_ifs.
22859 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22861         [BZ #18822]
22862         * sysdeps/unix/sysv/linux/sched_getaffinity.c
22863         (__sched_getaffinity_new): Add libc_hidden_proto and
22864         libc_hidden_def.
22866 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22868         [BZ #19007]
22869         * scripts/localplt.awk: Also allow GOT references.
22870         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
22871         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
22872         with "+ REL R_386_GLOB_DAT".
22873         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
22874         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
22876 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22878         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
22879         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22880         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
22881         Likewise.
22882         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22883         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
22884         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22885         INTERNAL_SYSCALLINTERNAL_SYSCALL and
22886         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22887         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22888         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22889         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22890         Likewise.
22891         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22893 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22895         [BZ #19125]
22896         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
22897         <math_private.h> and <stdint.h>.
22898         (__llround): Avoid conversions to and from long long int, and
22899         subtractions, where those might raise spurious exceptions.
22900         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22901         <math_private.h> and <stdint.h>.
22902         (__llroundf): Avoid conversions to and from long long int, and
22903         subtractions, where those might raise spurious exceptions.
22905 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22907         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
22908         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22909         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22910         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
22911         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22912         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22913         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
22914         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
22915         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
22916         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22917         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22918         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22919         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
22920         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22921         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22922         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
22923         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
22924         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22925         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
22926         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
22927         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22928         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
22929         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
22930         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22931         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
22932         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22933         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
22934         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22935         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22936         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
22937         (__xstat64_conv): Likewise.
22938         (__xstat32_conv): Likewise.
22940 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22942         * sysdeps/unix/sysv/linux/sysdep.h: New file.
22943         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
22944         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
22945         <sysdeps/unix/sysv/linux/sysdep.h>.
22946         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22947         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
22948         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
22949         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22950         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22951         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
22952         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
22953         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22954         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22957         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22958         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22959         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22960         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22961         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22962         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
22963         (sysdep-dl-routines): Add sysdep.
22964         [$(subdir) == nptl] (libpthread-routines): Likewise.
22965         [$(subdir) == rt] (librt-routines): Likewise.
22966         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
22967         PIC when branching to SYSCALL_ERROR_LABEL.
22968         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
22969         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
22970         <sysdeps/unix/sysv/linux/sysdep.h>.
22971         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
22972         (SYSCALL_ERROR_ERRNO): Removed.
22973         (SYSCALL_ERROR_HANDLER): Changed to empty.
22974         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
22975         (__syscall_error): New prototype.
22976         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
22977         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
22979 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22981         [BZ #19124]
22982         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
22983         (_dl_runtime_resolve_avx512): Make it a hidden alias of
22984         _dl_runtime_resolve_avx.
22985         (_dl_runtime_profile_avx512): Make it a hidden alias of
22986         _dl_runtime_profile_avx.
22988 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22990         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
22991         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
22992         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
22993         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
22995         [BZ #16422]
22996         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
22997         New configure test.
22998         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
22999         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
23000         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
23001         <math_private.h> and <stdint.h>.
23002         (__llrint): Avoid conversions to long long int where those might
23003         raise spurious exceptions.
23004         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23005         <math_private.h> and <stdint.h>.
23006         (__llrintf): Avoid conversions to long long int where those might
23007         raise spurious exceptions.
23009 2015-10-12  Andreas Schwab  <schwab@suse.de>
23011         [BZ #18969]
23012         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
23013         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
23014         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
23015         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
23016         $(gen-locales).
23017         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
23018         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
23019         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
23020         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
23021         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
23022         $(gen-locales).
23023         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
23024         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
23025         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
23026         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
23027         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
23028         ($(objpfx)tst-ftell-active-handler.out)
23029         ($(objpfx)tst-ftell-append.out)
23030         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
23031         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
23032         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
23033         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
23034         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
23035         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
23036         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
23037         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
23038         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
23039         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
23040         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
23041         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
23042         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
23043         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
23044         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
23045         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
23046         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
23047         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
23048         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
23049         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
23050         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
23051         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
23052         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
23053         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
23054         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
23055         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
23056         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
23057         $(gen-locales).
23058         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
23059         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
23060         $(gen-locales).
23061         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
23062         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
23063         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
23064         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
23065         $(gen-locales).
23066         * libio/tst_wprintf2.c (main): Use explicit locale.
23067         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
23069 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23071         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
23072         __msg_sig_post.
23073         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
23075 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23077         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23078         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23080         * sysdeps/arm/libm-test-ulps: Regenerated.
23082         [BZ #15470]
23083         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
23085         [BZ #16399]
23086         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
23087         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
23088         and <fix-fp-int-convert-overflow.h>.
23089         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23090         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23091         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
23092         and <fix-fp-int-convert-overflow.h>.
23093         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
23094         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23095         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
23096         <fix-fp-int-convert-overflow.h>.
23097         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23098         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23099         * sysdeps/ieee754/dbl-64/s_lround.c: Include
23100         <fix-fp-int-convert-overflow.h>.
23101         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
23102         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23103         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
23104         and <fix-fp-int-convert-overflow.h>.
23105         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23106         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23107         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
23108         <limits.h> and <fix-fp-int-convert-overflow.h>.
23109         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23110         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23111         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
23112         and <fix-fp-int-convert-overflow.h>.
23113         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23114         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23115         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
23116         and <fix-fp-int-convert-overflow.h>.
23117         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23118         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23119         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
23121 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
23123         [BZ #18589]
23124         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
23125         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
23126         $(gen-locales).
23128 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23129             Phil Blundell <pb@pbcl.net>
23131         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
23132         * nptl/tst-cancel26.c: New file.
23133         * nptl/tst-cancel27.c: Likewise.
23135 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
23137         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
23138         __ILP32__ isn't defined.
23139         (lrint): Likewise.
23140         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
23141         (lrintf): Likewise.
23142         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
23143         (lrintl): Likewise.
23144         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
23145         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
23146         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
23148 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23150         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23151         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23153         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
23154         file.
23155         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
23156         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23158 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23160         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
23161         configure test.
23162         * sysdeps/i386/configure: Regenerated.
23163         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
23164         configure test.
23165         * sysdeps/x86_64/configure: Regenerated.
23166         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
23167         Make code unconditional.
23169         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
23170         test.
23171         * sysdeps/i386/configure: Regenerated.
23172         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
23173         test.
23174         * sysdeps/x86_64/configure: Regenerated.
23175         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
23176         Make code unconditional.
23177         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23178         Likewise.
23179         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
23180         Likewise.
23181         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23182         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
23183         code unconditional.
23184         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23185         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
23186         code unconditional.
23187         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23188         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
23189         code unconditional.
23190         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
23191         code unconditional.
23192         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23193         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
23194         code unconditional.
23195         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23196         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
23197         code unconditional.
23198         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23199         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
23200         code unconditional.
23201         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23202         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
23203         code unconditional.
23204         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23205         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
23207         [BZ #19095]
23208         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
23209         mantissa to long int before shifting left.
23211 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23213         [BZ #19094]
23214         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
23215         <limits.h>.
23216         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23217         when result overflows but exception would not result from cast.
23218         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
23219         <limits.h>.
23220         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23221         when result overflows but exception would not result from cast.
23222         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
23223         <limits.h>.
23224         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23225         when result overflows but exception would not result from cast.
23226         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
23227         <limits.h>.
23228         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23229         when result overflows but exception would not result from cast.
23230         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
23231         <limits.h>.
23232         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23233         when result overflows but exception would not result from cast.
23234         * math/libm-test.inc (lrint_test_data): Add more tests.
23235         (llrint_test_data): Likewise.
23237 2015-10-08  Roland McGrath  <roland@hack.frob.com>
23239         [BZ #18872]
23240         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
23241         Move out from under [$(run-built-tests) = yes] conditional.
23242         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
23243         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
23245 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
23247         [BZ #18589]
23248         * string/Makefile (tests): Add bug-strcoll2.
23249         (LOCALES): Add cs_CZ.UTF-8.
23250         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
23252         [BZ #18589]
23253         * string/bug-strcoll2.c: New file.
23254         * locale/categories.def: Revert commit
23255         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
23256         * locale/langinfo.h: Likewise.
23257         * locale/localeinfo.h: Likewise.
23258         * locale/C-collate.c: Likewise.
23259         * locale/programs/ld-collate.c (collate_output): Likewise.
23260         * string/strcoll_l.c (STRDIFF): Likewise.
23261         (STRCOLL): Likewise.
23262         * wcsmbs/wcscoll_l.c: Likewise.
23264 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23266         * math/libm-test.inc (lround_test_data): Do not expect the absence
23267         of "inexact" for some tests with non-integer arguments.
23268         (llround_test_data): Likewise.
23270         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
23271         test.
23272         (libc_cv_cc_sse2avx): Likewise.
23273         * sysdeps/i386/configure: Regenerated.
23274         * sysdeps/i386/i686/multiarch/Makefile
23275         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
23276         [$(subdir) = math].
23277         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
23278         code unconditional.
23279         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23280         Likewise.
23281         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
23282         Likewise.
23283         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23284         Likewise.
23285         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
23286         test.
23287         (libc_cv_cc_sse2avx): Likewise.
23288         * sysdeps/x86_64/configure: Regenerated.
23289         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
23290         unconditional.
23291         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
23292         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
23293         unconditional.
23294         (_dl_runtime_profile)
23295         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
23296         conditional code.
23297         * sysdeps/x86_64/fpu/multiarch/Makefile
23298         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
23299         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23300         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23301         * sysdeps/x86_64/fpu/multiarch/e_exp.c
23302         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23303         * sysdeps/x86_64/fpu/multiarch/e_log.c
23304         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23305         * sysdeps/x86_64/fpu/multiarch/s_atan.c
23306         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23307         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23308         Likewise.
23309         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23310         Likewise.
23311         * sysdeps/x86_64/fpu/multiarch/s_sin.c
23312         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23313         * sysdeps/x86_64/fpu/multiarch/s_tan.c
23314         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23315         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
23316         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
23317         (HAVE_SSE2AVX_SUPPORT): Likewise.
23319 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
23321         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
23322         instead of #pragma optimize.
23324 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23326         [BZ #17195]
23327         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
23328         as is similarly done in systrim and _int_free already.
23330 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23332         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
23334 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23336         [BZ #19088]
23337         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
23338         <limits.h>.
23339         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23340         overflows but exception would not result from cast.
23341         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
23342         and <limits.h>.
23343         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23344         overflows but exception would not result from cast.
23345         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
23346         <limits.h>.
23347         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23348         overflows but exception would not result from cast.
23349         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
23350         <limits.h>.
23351         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23352         overflows but exception would not result from cast.
23353         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
23354         <limits.h>.
23355         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23356         overflows but exception would not result from cast.
23357         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
23358         <limits.h>.
23359         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23360         overflows but exception would not result from cast.
23361         * math/libm-test.inc (lround_test_data): Add more tests.
23362         (llround_test_data): Likewise.
23364 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
23366         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
23367         (CFLAGS-ialloc.c): Ditto.
23368         (CFLAGS-scheck.c): Ditto.
23370 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23372         [BZ #19086]
23373         * manual/filesys.texi (Storage Allocation): Fix argument order for
23374         posix_fallocate64.
23376 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23378         [BZ #19085]
23379         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
23380         exponent below 48 inside case for non-overflowing exponent.
23381         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
23383 2015-10-07  Florian Weimer  <fweimer@redhat.com>
23385         * iconvdata/cp737.h (from_idx): Add const.
23386         * iconvdata/cp775.h (from_idx): Likewise.
23388 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23390         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
23391         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
23392         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
23394         [BZ #19079]
23395         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
23396         file, conditioned on [!_LP64].
23397         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
23398         [!_LP64] (__lround): Do not define as function or alias.
23399         [!_LP64] (lround): Likewise.
23400         [!_LP64] (__lroundl): Likewise.
23401         [!_LP64] (lroundl): Likewise.
23402         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
23403         macro.
23404         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23405         Likewise.
23407 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23409         * math/libm-test.inc (lrint_test_data): Add more tests.
23410         (llrint_test_data): Likewise.
23411         (lround_test_data): Likewise.
23412         (llround_test_data): Likewise.
23414         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
23415         (llrint_test_data): Add tests used for lrint.
23417         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
23418         test.
23419         * sysdeps/i386/configure: Regenerated.
23420         * sysdeps/i386/i686/multiarch/Makefile
23421         [$(config-cflags-sse4) = yes]: Make code unconditional.
23422         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23423         Likewise.
23424         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
23425         Likewise.
23426         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
23427         test.
23428         * sysdeps/x86_64/configure: Regenerated.
23429         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
23430         Make code unconditional.
23431         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23432         Likewise.
23433         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
23434         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
23436         * scripts/rpm2dynsym.sh: Remove file.
23438 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23440         * configure.ac (libc_cv_cxx_thread_local): Define.
23441         * configure: Regenerate.
23442         * config.make.in (have-cxx-thread_local): Define.
23443         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
23444         (LDLIBS-tst-thread_local1): Define.
23445         (tests): Add tst-thread_local1.
23446         [have-cxx-thread_local != yes] (tests-unsupported): Add
23447         tst-thread_local1.
23448         * nptl/tst-thread_local1.cc: New file.
23450 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23452         [BZ #19078]
23453         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
23454         (u_thres): Likewise.
23455         (__expl): Determine whether to call __kernel_standard_l based on
23456         value of result, not argument.
23458         * math/libm-test.inc (scalb_test_data): Add more expectations for
23459         the "inexact" exception.
23461         [BZ #19077]
23462         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
23463         0.0L for argument 1.0L.
23465         [BZ #19076]
23466         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
23467         constant 0.0L when computing infinite result.
23469 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23471         [BZ #10432]
23472         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
23473         malloc_usable_size.
23475 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23477         [BZ #19018]
23478         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23479         Mangle function pointer before storing it.
23480         (__call_tls_dtors): Demangle function pointer before calling it.
23482 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23484         [BZ #19012]
23485         * iconv/gconv_db.c (gen_steps): Check for additional errors.
23486         Clean up on failure.
23488 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
23490         [BZ #19071]
23491         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
23492         long int variable to store possibly incremented high part of
23493         mantissa.
23494         * math/libm-test.inc (lround_test_data): Add tests used for
23495         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
23496         for tests requiring 64-bit long.  Do not condition tests on
23497         [TEST_FLOAT] unnecessarily.
23498         (llround_test_data): Add tests used for lround.  Add another
23499         expectation for the "inexact" exception.  Do not condition tests
23500         on [TEST_FLOAT] unnecessarily.
23502         [BZ #887]
23503         [BZ #19049]
23504         [BZ #19050]
23505         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
23506         * sysdeps/ieee754/dbl-64/e_log10.c: Include
23507         <fix-int-fp-convert-zero.h>.
23508         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23509         * sysdeps/ieee754/dbl-64/e_log2.c: Include
23510         <fix-int-fp-convert-zero.h>.
23511         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23512         * sysdeps/ieee754/dbl-64/s_erf.c: Include
23513         <fix-int-fp-convert-zero.h>.
23514         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23515         * sysdeps/ieee754/dbl-64/s_logb.c: Include
23516         <fix-int-fp-convert-zero.h>.
23517         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23518         * sysdeps/ieee754/flt-32/e_log10f.c: Include
23519         <fix-int-fp-convert-zero.h>.
23520         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23521         * sysdeps/ieee754/flt-32/e_log2f.c: Include
23522         <fix-int-fp-convert-zero.h>.
23523         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23524         * sysdeps/ieee754/flt-32/s_erff.c: Include
23525         <fix-int-fp-convert-zero.h>.
23526         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23527         * sysdeps/ieee754/flt-32/s_logbf.c: Include
23528         <fix-int-fp-convert-zero.h>.
23529         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23530         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
23531         <fix-int-fp-convert-zero.h>.
23532         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23533         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
23534         <fix-int-fp-convert-zero.h>.
23535         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23536         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
23537         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
23538         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
23539         file.
23540         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
23542 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
23544         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23546 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
23548         [BZ #19059]
23549         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
23550         overflowing computation.
23551         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23552         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23553         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23554         Likewise.
23555         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23556         Likewise.
23557         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23558         Likewise.
23559         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23560         Likewise.
23561         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23562         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23563         Likewise.
23564         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23565         Likewise.
23566         * math/libm-test.inc (nexttoward_test_data): Add more tests.
23568         * nss/rewrite_field.c (__nss_rewrite_field): Use
23569         internal_function.
23570         * nss/valid_field.c (__nss_valid_field): Likewise.
23571         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
23573 2015-10-02  Florian Weimer  <fweimer@redhat.com>
23575         [BZ #18724]
23576         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
23577         (__nss_invalid_field_characters, __nss_valid_field)
23578         (__nss_valid_list_field, __nss_rewrite_field): Declare.
23579         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
23580         tst-field.c: New file.
23581         * nss/Makefile (routines): Add valid_field, rewrite_field.
23582         (tests-static): Define unconditionally.
23583         (tests): Include tests-static.
23584         [build-static-nss] (tests-static): Use append.
23585         [build-static-nss] (tests): Remove modification.
23586         * nss/getent.c (print_group): Call putgrent.  Report error.
23587         (print_gshadow): Call putsgent.  Report error.
23588         (print_passwd): Call putpwent.  Report error.
23589         (print_shadow): Call putspent.  Report error.
23590         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
23591         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
23592         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
23593         name, password, directory, shell fields for valid syntax.  Rewrite
23594         GECOS field to match syntax.
23595         * pwd/Makefile (tests): Add tst-putpwent.
23596         * pwd/tst-putpwent.c: New file.
23597         * grp/putgrent.c (putgrent): Convert to ISO function definition.
23598         Check grName, grpasswd, gr_mem fields for valid syntax.
23599         Change loop variable i to size_t.
23600         * grp/Makefile (tests): Add tst-putgrent.
23601         * grp/tst-putgrent.c: New file.
23602         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
23603         valid syntax.
23604         * shadow/Makefile (tests): Add tst-putspent.
23605         * shadow/tst-putspent.c: New file.
23606         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
23607         sg_mem fields for valid syntax.
23608         * gshadow/Makefile (tests): Add tst-putsgent.
23609         * gshadow/tst-putsgent.c: New file.
23611 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23613         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
23614         assembly instructions.
23616 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23618         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
23619         prefix from operands.
23621 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
23623         [BZ #16347]
23624         [BZ #19046]
23625         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
23626         <libc-internal.h>.
23627         (MAXLGM): Do not use diagnostic control macros.
23628         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
23629         threshold for ldbl-128ibm.
23630         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
23631         instead of multiplying by log then subtracting.
23632         * math/auto-libm-test-in: Add more tests of lgamma.
23633         * math/auto-libm-test-out: Regenerated.
23635         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
23636         (TYPE_HEX_DIG): Likewise.
23637         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
23638         precisions when printing floating-point numbers.
23639         (check_float_internal): Likewise.
23641 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
23643         [BZ #16620]
23644         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
23645         of log (10) rounded downward to 48 bits.
23646         (log10_low): Use corresponding low part of log (10).
23648         [BZ #19032]
23649         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
23650         compute result as (x - x) / (x - x) not as 0 / 0.
23651         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
23652         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
23654         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23655         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
23656         and expm1.
23657         * math/auto-libm-test-out: Regenerated.
23658         * math/libm-test.inc (acos_test_data): Add more tests.
23659         (asin_test_data): Likewise.
23660         (asinh_test_data): Likewise.
23661         (atan_test_data): Likewise.
23662         (atanh_test_data): Likewise.
23663         (atan2_test_data): Likewise.
23664         (cbrt_test_data): Likewise.
23665         (ceil_test_data): Likewise.
23666         (copysign_test_data): Likewise.
23667         (cos_test_data): Likewise.
23668         (cosh_test_data): Likewise.
23669         (erf_test_data): Likewise.
23670         (erfc_test_data): Likewise.
23671         (exp_test_data): Likewise.
23672         (exp10_test_data): Likewise.
23673         (exp2_test_data): Likewise.
23674         (expm1_test_data): Likewise.
23675         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23677 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
23679         [BZ #19006]
23680         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
23681         to ...
23682         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
23683         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
23684         to ...
23685         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
23686         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
23687         to ...
23688         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
23689         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
23690         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
23691         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
23692         to ...
23693         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
23694         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
23695         Moved to ...
23696         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
23697         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
23698         Moved to ...
23699         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
23700         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
23701         to ...
23702         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
23703         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
23704         Moved to ...
23705         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
23706         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
23707         to ...
23708         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
23709         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
23710         Removed.
23711         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
23712         Likewise.
23713         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
23714         Likewise.
23715         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
23716         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
23717         Likewise.
23718         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
23719         Likewise.
23720         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
23721         Likewise.
23722         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
23723         Likewise.
23724         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
23725         Likewise.
23726         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
23727         Likewise.
23728         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
23729         Likewise.
23730         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
23731         Likewise.
23732         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
23733         Likewise.
23734         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
23735         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
23736         Likewise.
23737         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
23738         Likewise.
23739         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
23740         Likewise.
23741         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
23742         Likewise.
23743         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
23744         Likewise.
23745         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
23746         Replace ../i486/pthread_cond_timedwait.S with
23747         ../pthread_cond_timedwait.S.
23749 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
23751         * math/libm-test.inc (acos_test_data): Refine expectations for
23752         errno and "inexact" exceptions.
23753         (acosh_test_data): Likewise.
23754         (asin_test_data): Likewise.
23755         (asinh_test_data): Likewise.
23756         (atan_test_data): Likewise.
23757         (atanh_test_data): Likewise.
23758         (atan2_test_data): Likewise.
23759         (cbrt_test_data): Likewise.
23760         (ceil_test_data): Likewise.
23761         (copysign_test_data): Likewise.
23762         (cosh_test_data): Likewise.
23763         (erf_test_data): Likewise.
23764         (erfc_test_data): Likewise.
23765         (exp_test_data): Likewise.
23766         (exp10_test_data): Likewise.
23767         (exp2_test_data): Likewise.
23768         (expm1_test_data): Likewise.
23769         (fabs_test_data): Likewise.
23770         (floor_test_data): Likewise.
23771         (fma_test_data): Likewise.
23772         (fmax_test_data): Likewise.
23773         (fmin_test_data): Likewise.
23774         (fmod_test_data): Likewise.
23775         (fpclassify_test_data): Likewise.
23776         (frexp_test_data): Likewise.
23777         (hypot_test_data): Likewise.
23778         (ilogb_test_data): Likewise.
23779         (isgreater_test_data): Likewise.
23780         (isgreaterequal_test_data): Likewise.
23781         (isinf_test_data): Likewise.
23782         (isless_test_data): Likewise.
23783         (islessequal_test_data): Likewise.
23784         (islessgreater_test_data): Likewise.
23785         (isnan_test_data): Likewise.
23786         (isnormal_test_data): Likewise.
23787         (issignaling_test_data): Likewise.
23788         (isunordered_test_data): Likewise.
23789         (j0_test_data): Likewise.
23790         (j1_test_data): Likewise.
23791         (jn_test_data): Likewise.
23792         (lgamma_test_data): Likewise.
23793         (lrint_test_data): Likewise.
23794         (llrint_test_data): Likewise.
23795         (log_test_data): Likewise.
23796         (log10_test_data): Likewise.
23797         (log1p_test_data): Likewise.
23798         (log2_test_data): Likewise.
23799         (logb_test_data): Likewise.
23800         (lround_test_data): Likewise.
23801         (llround_test_data): Likewise.
23802         (modf_test_data): Likewise.
23803         (nearbyint_test_data): Likewise.
23804         (nextafter_test_data): Likewise.
23805         (nexttoward_test_data): Likewise.
23806         (pow_test_data): Likewise.
23807         (remainder_test_data): Likewise.
23808         (remquo_test_data): Likewise.
23809         (rint_test_data): Likewise.
23810         (round_test_data): Likewise.
23811         (signbit_test_data): Likewise.
23812         (sinh_test_data): Likewise.
23813         (sqrt_test_data): Likewise.
23814         (tanh_test_data): Likewise.
23815         (tgamma_test_data): Likewise.
23816         (trunc_test_data): Likewise.
23817         (y0_test_data): Likewise.
23818         (y1_test_data): Likewise.
23819         (yn_test_data): Likewise.
23820         (significand_test_data): Likewise.
23822 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
23824         * manual/filesys.texi (Storage Allocation): Document that
23825         posix_fallocate emulation fails when fd is open with O_WRONLY.
23827 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
23829         [BZ #19016]
23830         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
23831         allow more cases with X^2 + Y^2 >= 0.5.
23832         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
23833         normal element in sum instead of special-casing based on values of
23834         arguments.
23835         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
23836         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
23837         -1 as normal element in sum instead of special-casing based on
23838         values of arguments.
23839         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
23840         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
23841         (__x2y2m1): Update comment.
23842         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
23843         as normal element in sum instead of special-casing based on values
23844         of arguments.
23845         * math/s_clog.c (__clog): Handle more cases using log1p without
23846         hypot.
23847         * math/s_clog10.c (__clog10): Likewise.
23848         * math/s_clog10f.c (__clog10f): Likewise.
23849         * math/s_clog10l.c (__clog10l): Likewise.
23850         * math/s_clogf.c (__clogf): Likewise.
23851         * math/s_clogl.c (__clogl): Likewise.
23852         * math/auto-libm-test-in: Add more tests of clog and clog10.
23853         * math/auto-libm-test-out: Regenerated.
23854         * sysdeps/i386/fpu/libm-test-ulps: Update.
23855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23857 2015-09-28  Martin Sebor  <msebor@redhat.com>
23859         [BZ #18969]
23860         * string/Makefile (LOCALES): Define.
23861         (gen-locales.mk): Include.
23862         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
23863         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
23864         * string/tst-strxfrm2.c (do_test): Print the name of the locale
23865         on setlocale failure.
23867 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
23869         [BZ #18985]
23870         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
23871         (__strftime_internal): Likewise.
23872         * time/tst-strftime.c (do_bz18985): New test.
23873         (do_test): Call it.
23875 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
23877         [BZ #18956]
23878         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
23879         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
23880         extracting high part.
23881         * math/auto-libm-test-in: Add another test of pow.
23882         * math/auto-libm-test-out: Regenerated.
23883         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23885 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23887         [BZ #18825]
23888         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
23889         New macro.
23890         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
23891         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23892         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
23893         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
23894         DBL_NARROW_EVAL, reloading the PIC register as needed.
23895         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
23896         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
23897         FLT_NARROW_EVAL.  Use separate return path for case when first
23898         argument is NaN.
23899         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
23900         DEFINE_LDBL_MIN.
23901         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
23902         PIC register.
23903         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
23904         math_check_force_underflow_nonneg.
23905         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
23906         underflow for subnormal result.
23907         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
23908         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
23909         math_check_force_underflow_nonneg.
23910         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
23911         math_check_force_underflow.
23912         * sysdeps/x86_64/fpu/x86_64-math-asm.h
23913         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
23914         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
23915         DEFINE_LDBL_MIN.
23916         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
23917         * math/auto-libm-test-in: Add more tests of pow.
23918         * math/auto-libm-test-out: Regenerated.
23920 2015-09-25  Florian Weimer  <fweimer@redhat.com>
23922         * nss/bug17079.c (init_test_items): Add diagnostic for
23923         inconsistent entries.
23924         (test_buffer_size): Skip inconsistent entries.
23926 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23928         [BZ #13304]
23929         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
23930         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23931         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
23933         [BZ #13304]
23934         * sysdeps/microblaze/s_fma.c: New file.
23935         * sysdeps/microblaze/s_fmaf.c: Likewise.
23936         * sysdeps/microblaze/sfp-machine.h: Likewise.
23938 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
23940         [BZ #17250]
23941         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
23942         member.
23944 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23946         [BZ #18803]
23947         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
23948         (MO): New macro.
23949         (__ieee754_hypot) [PIC]: Load PIC register.
23950         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
23951         DBL_NARROW_EVAL.
23952         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
23953         math_check_force_underflow_nonneg in case where result might be
23954         tiny.
23955         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23956         Likewise.
23957         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23958         Likewise.
23959         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
23960         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
23961         * math/auto-libm-test-in: Add more tests of hypot.
23962         * math/auto-libm-test-out: Regenerated.
23964 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
23966         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
23968 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23970         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
23971         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
23972         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23973         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23974         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
23975         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23976         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23978         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
23979         LOAD_PIC_REG.
23981         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
23982         (FLT_CHECK_FORCE_UFLOW): Likewise.
23983         (DBL_CHECK_FORCE_UFLOW): Likewise.
23984         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
23985         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
23986         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
23987         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23988         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23989         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23990         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23991         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23992         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
23993         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23994         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
23995         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
23996         (flt_min): Replace with use of DEFINE_FLT_MIN.
23997         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
23998         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
23999         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24000         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
24001         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
24002         (flt_min): Replace with use of DEFINE_FLT_MIN.
24003         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
24004         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
24005         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24006         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
24007         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
24008         (flt_min): Replace with use of DEFINE_FLT_MIN.
24009         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
24010         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
24011         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24012         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24013         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
24014         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24015         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24016         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
24017         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24018         (__atan): Use DBL_CHECK_FORCE_UFLOW.
24019         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
24020         (flt_min): Replace with use of DEFINE_FLT_MIN.
24021         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
24022         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
24023         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24024         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
24025         main computation.
24026         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
24027         (flt_min): Replace with use of DEFINE_FLT_MIN.
24028         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
24029         main computation.
24030         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
24031         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24032         (MO): New macro.
24033         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
24034         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
24035         (flt_min): Replace with use of DEFINE_FLT_MIN.
24036         (MO): New macro.
24037         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
24038         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
24039         (__log1pl): Use MO.
24041         [BZ #19003]
24042         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
24043         $(config-cflags-nofma).
24045 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24047         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24049 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
24051         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
24052         (TWO127): Likewise.
24054         * sysdeps/generic/math_private.h (fabs_tg): New macro.
24055         (min_of_type): Likewise.
24056         (math_check_force_underflow): Likewise.
24057         (math_check_force_underflow_nonneg): Likewise.
24058         (math_check_force_underflow_complex): Likewise.
24059         * math/e_exp2l.c (__ieee754_exp2l): Use
24060         math_check_force_underflow_nonneg.
24061         * math/k_casinh.c (__kernel_casinh): Likewise.
24062         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24063         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24064         * math/s_catan.c (__catan): Use
24065         math_check_force_underflow_complex.
24066         * math/s_catanf.c (__catanf): Likewise.
24067         * math/s_catanh.c (__catanh): Likewise.
24068         * math/s_catanhf.c (__catanhf): Likewise.
24069         * math/s_catanhl.c (__catanhl): Likewise.
24070         * math/s_catanl.c (__catanl): Likewise.
24071         * math/s_ccosh.c (__ccosh): Likewise.
24072         * math/s_ccoshf.c (__ccoshf): Likewise.
24073         * math/s_ccoshl.c (__ccoshl): Likewise.
24074         * math/s_cexp.c (__cexp): Likewise.
24075         * math/s_cexpf.c (__cexpf): Likewise.
24076         * math/s_cexpl.c (__cexpl): Likewise.
24077         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
24078         * math/s_clog10.c (__clog10): Likewise.
24079         * math/s_clog10f.c (__clog10f): Likewise.
24080         * math/s_clog10l.c (__clog10l): Likewise.
24081         * math/s_clogf.c (__clogf): Likewise.
24082         * math/s_clogl.c (__clogl): Likewise.
24083         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
24084         * math/s_csinf.c (__csinf): Likewise.
24085         * math/s_csinh.c (__csinh): Likewise.
24086         * math/s_csinhf.c (__csinhf): Likewise.
24087         * math/s_csinhl.c (__csinhl): Likewise.
24088         * math/s_csinl.c (__csinl): Likewise.
24089         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
24090         * math/s_csqrtf.c (__csqrtf): Likewise.
24091         * math/s_csqrtl.c (__csqrtl): Likewise.
24092         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
24093         * math/s_ctanf.c (__ctanf): Likewise.
24094         * math/s_ctanh.c (__ctanh): Likewise.
24095         * math/s_ctanhf.c (__ctanhf): Likewise.
24096         * math/s_ctanhl.c (__ctanhl): Likewise.
24097         * math/s_ctanl.c (__ctanl): Likewise.
24098         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
24099         instead of volatile.
24100         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
24101         math_check_force_underflow.
24102         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24103         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
24104         volatile when forcing underflow.
24105         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24106         math_check_force_underflow_nonneg.
24107         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
24108         Likewise.
24109         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
24110         math_check_force_underflow.
24111         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24112         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24113         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24114         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
24115         math_check_force_underflow_nonneg.
24116         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
24117         math_check_force_underflow.
24118         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
24119         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
24120         instead of volatile.
24121         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
24122         math_check_force_underflow.
24123         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24124         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24125         math_check_force_underflow_nonneg.
24126         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
24127         math_check_force_underflow.
24128         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
24129         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24130         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
24131         math_check_force_underflow_nonneg.
24132         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24133         Likewise.
24134         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
24135         math_check_force_underflow.
24136         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24137         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24138         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
24139         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
24140         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
24141         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
24142         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
24143         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
24144         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
24145         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
24146         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
24147         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
24148         Likewise.
24149         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
24150         math_check_force_underflow_nonneg.
24151         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24152         Likewise.
24153         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
24154         math_check_force_underflow.
24155         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24156         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
24157         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24158         Likewise.
24159         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
24160         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
24161         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
24162         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
24163         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
24164         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
24165         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
24166         instead of volatile.
24167         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
24168         math_check_force_underflow.
24169         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
24170         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
24171         math_check_force_underflow.
24172         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
24173         Likewise.
24174         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24175         Use math_check_force_underflow_nonneg.
24176         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
24177         math_check_force_underflow.
24178         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24179         Likewise.
24180         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24181         Likewise.
24182         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24183         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24184         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24185         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24186         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
24187         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24188         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
24189         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
24190         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
24191         math_check_force_underflow_nonneg.
24192         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
24193         math_check_force_underflow.
24194         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24195         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
24196         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
24197         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
24198         math_check_force_underflow_nonneg.
24199         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
24200         math_check_force_underflow.
24201         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
24202         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
24203         instead of volatile.
24204         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
24205         math_check_force_underflow.
24207         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
24208         * stdlib/strtod_l.c: Include <math_private.h>.
24209         (overflow_value): Use math_narrow_eval.
24210         (underflow_value): Likewise.
24211         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24212         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24213         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
24214         (__ieee754_gamma_r): Likewise.
24215         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
24216         Likewise.
24217         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
24218         Likewise.
24219         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
24220         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
24221         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
24222         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
24223         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
24224         (__ieee754_gammaf_r): Likewise.
24225         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24226         Likewise.
24227         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
24228         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
24229         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
24230         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
24231         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
24232         volatile.
24233         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
24234         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
24235         math_narrow_eval.
24236         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24237         Likewise.
24238         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24239         Likewise.
24240         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
24241         Likewise.
24242         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
24243         volatile.
24244         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
24245         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
24246         math_narrow_eval.
24247         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24248         Likewise.
24249         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24250         Likewise.
24252 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
24254         * nptl/Versions: Remove ignored symbols.
24256 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24258         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
24259         * nss/Makefile (tests): Update.
24261 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24263         * nss/bug18287.c: New file.
24264         * nss/Makefile (tests): Add bug18287.
24266 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24268         * mach/Versions (__mach_host_self_): Add symbol.
24270 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24272         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
24273         vm_page_size.
24275 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24277         Really fix sysdeps/i386/fpu/s_scalbn.S build
24279         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
24280         (libc: GLIBC_2_22): Remove unused version set.
24282 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24284         * config.make.in (enable-timezone-tools): New variable.
24285         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
24286         (enable_timezone_tools): Export to generated files.
24287         * configure: Regenerate.
24288         * INSTALL: Regenerate.
24289         * manual/install.texi (--disable-timezone-tools): Document new flag.
24290         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
24291         ifeq ($(enable-timezone-tools),yes) check.
24293 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24295         * timezone/Makefile: Revert previous change.
24297         [BZ #18980]
24298         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
24299         (DEFINE_DBL_MIN): Likewise.
24300         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24301         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24302         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24303         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24304         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
24305         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24306         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24307         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
24308         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
24309         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24310         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24311         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
24312         (flt_min): Replace with use of DEFINE_FLT_MIN.
24313         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24314         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
24315         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24316         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24317         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
24318         (flt_min): Replace with use of DEFINE_FLT_MIN.
24319         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24320         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
24321         (flt_min): Replace with use of DEFINE_FLT_MIN.
24322         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24323         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
24324         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
24325         (__ieee754_hypot): Use DBL_NARROW_EVAL.
24326         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
24327         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
24328         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
24329         (__ieee754_pow): Use DBL_NARROW_EVAL.
24330         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
24331         (__ieee754_powf): Use FLT_NARROW_EVAL.
24332         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
24333         (__ieee754_expf_sse2): Convert double-precision result to single
24334         precision.
24335         * sysdeps/i386/fpu/libm-test-ulps: Update.
24337 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24339         * timezone/Makefile: Ignore unused variable errors due to private.h
24340         (time_t_min) and (time_t_max).
24341         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
24342         Likewise.
24344 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24346         [BZ #18981]
24347         * sysdeps/i386/fpu/i386-math-asm.h: New file.
24348         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
24349         (__ieee754_scalb): Use DBL_NARROW_EVAL.
24350         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
24351         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
24352         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
24353         (__scalbn): Use DBL_NARROW_EVAL.
24354         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
24355         (__scalbnf): Use FLT_NARROW_EVAL.
24357 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24359         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
24360         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
24361         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
24362         * stdio-common/printf_fp.c (___printf_fp):
24363         Use signbit to get the sign. Use isinf macro to allow inlining.
24364         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
24365         * stdio-common/printf_size.c (__printf_size): Likewise.
24367 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24369         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
24371 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24373         [BZ #18980]
24374         * sysdeps/generic/math_private.h: Include <float.h>.
24375         (math_narrow_eval): New macro.
24376         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
24377         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
24378         math_narrow_eval on overflowing return value.
24379         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
24380         Likewise.
24381         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24382         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
24383         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
24384         Likewise.
24385         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24387 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24389         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
24390         * math/Makefile: Remove isinf_ns.c.
24391         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
24392         * math/multc3.c (__multc3): Likewise.
24393         * math/s_casin.c (__casin): Likewise.
24394         * math/s_casinf.c (__casinf): Likewise.
24395         * math/s_casinl.c (__casinl): Likewise.
24396         * math/s_cproj.c (__cproj): Likewise.
24397         * math/s_cprojf.c (__cprojf): Likewise.
24398         * math/s_cprojl.c (__cprofl): Likewise.
24399         * math/s_ctan.c (__ctan): Likewise.
24400         * math/s_ctanf.c (__ctanf): Likewise.
24401         * math/s_ctanh.c (__ctanh): Likewise.
24402         * math/s_ctanhf.c (__ctanhf): Likewise.
24403         * math/s_ctanhl.c (__ctanhl): Likewise.
24404         * math/s_ctanl.c (__ctanl): Likewise.
24405         * math/w_fmod.c (__fmod): Likewise.
24406         * math/w_fmodf.c (__fmodf): Likewise.
24407         * math/w_fmodl.c (_fmodl): Likewise.
24408         * math/w_remainder.c (__remainder): Likewise.
24409         * math/w_remainderf.c (__remainderf): Likewise.
24410         * math/w_remainderl.c (__remainderl): Likewise.
24411         * math/w_scalb.c (__scalb): Likewise.
24412         * math/w_scalbf.c (__scalbf): Likewise.
24413         * math/w_scalbl.c (__scalbl): Likewise.
24414         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
24415         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
24416         with isinf.
24417         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
24418         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
24419         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
24420         __isinf_nsf with isinf.
24421         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
24422         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
24423         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
24424         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
24425         with isinf.
24426         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
24427         __isinf_nsl with isinf.
24428         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
24429         with isinf.
24430         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
24431         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
24432         __isinf_nsl with isinf.
24433         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
24434         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
24435         with isinf.
24437 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24439         * resolv/base64.c (rcsid): Remove unused static.
24440         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
24441         static.  (tqpi1): Likewise.
24442         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
24443         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
24444         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
24445         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
24446         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
24447         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
24448         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
24449         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
24450         Likewise.
24452 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
24454         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
24455         <nptl/pthreadP.h>.
24456         (_longjmp_unwind): Use __libc_ptf_call.
24457         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
24459 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
24461         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
24462         * sysdeps/arm/__longjmp.S: Likewise.
24464 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24466         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
24467         Use __builtin_signbit.
24468         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
24469         Use __builtin_signbitf.
24470         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
24471         Use __builtin_signbitl.
24472         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24473         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
24475 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24477         [BZ #15367]
24478         [BZ #17441]
24480         * math/Makefile: Build test-snan.c with -fsignaling-nans.
24481         * math/math.h (fpclassify): Use __builtin_fpclassify when
24482         available.  (signbit): Use __builtin_signbit(f/l).
24483         (isfinite): Use__builtin_isfinite.  (isnormal): Use
24484         __builtin_isnormal.  (isnan): Use __builtin_isnan.
24485         (isinf): Use __builtin_isinf_sign.
24487 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24489         * benchtests/Makefile: Add bench-math-inlines, link with libm.
24490         * benchtests/bench-math-inlines.c: New benchmark.
24491         * benchtests/bench-util.h: New file.
24492         * benchtests/bench-util.c: New file.
24493         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
24495 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
24497         * elf/tst-dlmopen1.c: Define TEST_SO.
24498         (do_test): Use TEST_SO.
24500         * elf/dl-load.c: Include libc-internal.h.
24501         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
24503 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24505         [BZ #17887]
24506         * time/strptime_l.c (__strptime_internal): Make %z accept
24507         [+-]HH:MM time zones.
24509 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24511         [BZ #17886]
24512         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
24513         valid time zone.
24515 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
24517         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
24518         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
24519         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24520         (__ASSUME_FDATASYNC): Delete.
24522 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24524         * conform/linknamespace.pl: Require weak undefined symbols to be
24525         in the standard namespace.
24526         (%strong_syms): Rename to %seen_syms.
24527         (%strong_seen): Rename to %seen_where.
24529 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
24531         [BZ #18970]
24532         * misc/error.c (error): Replace pthread_setcancelstate with
24533         __pthread_setcancelstate.
24534         (error_at_line): Likewise.
24535         * posix/wordexp.c (parse_comm): Likewise.
24536         * stdlib/fmtmsg.c (fmtmsg): Likewise.
24537         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
24538         (__pthread_setcancelstate): This.
24539         (pthread_setcancelstate): Add an alias.
24540         * nptl/nptl-init.c (pthread_functions): Replace
24541         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
24542         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
24543         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
24544         hidden_proto.
24545         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
24546         it with hidden_def.
24547         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
24548         (pthread_setcancelstate): Renamed to ...
24549         (__pthread_setcancelstate): This.
24550         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
24551         __libc_ptf_call with __pthread_setcancelstate.
24553 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24554             Andreas Schwab  <schwab@suse.de>
24556         [BZ #17118]
24557         * math/s_ctan.c (__ctan): Determine sign of zero real part of
24558         result when imaginary part of argument is infinite using sine and
24559         cosine.
24560         * math/s_ctanf.c (__ctanf): Likewise.
24561         * math/s_ctanl.c (__ctanl): Likewise.
24562         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
24563         of result when real part of argument is infinite using sine and
24564         cosine.
24565         * math/s_ctanhf.c (__ctanhf): Likewise.
24566         * math/s_ctanhl.c (__ctanhl): Likewise.
24567         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
24568         (ctanh_test_data): Add more tests of ctanh.
24570 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24572         [BZ #15384]
24573         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
24574         bit-mask as in subtraction.
24575         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
24576         Likewise.
24577         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
24578         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
24579         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
24581         [BZ #18951]
24582         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
24583         underflow exception for small results.
24584         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24585         Likewise.
24586         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24587         Likewise.
24588         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24589         Likewise.
24590         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24591         Likewise.
24592         * math/auto-libm-test-in: Add more tests of tgamma.
24593         * math/auto-libm-test-out: Regenerated.
24595 2015-09-17  Andreas Schwab  <schwab@suse.de>
24597         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
24599 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24601         [BZ #18977]
24602         * math/bits/mathcalls.h
24603         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
24604         not declare.
24605         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
24606         Likewise.
24607         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
24608         Likewise.
24609         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
24610         Likewise.
24611         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
24612         Likewise.
24613         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
24614         Likewise.
24615         * conform/data/math.h-data
24616         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
24617         function.
24618         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
24619         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
24620         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
24621         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
24622         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
24623         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
24624         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
24625         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
24626         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
24627         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
24628         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
24630         [BZ #6803]
24631         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
24632         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
24633         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
24634         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
24635         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
24636         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
24637         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
24638         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
24639         [NO_LONG_DOUBLE] (scalbnl): Likewise.
24640         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
24641         Likewise.
24642         [NO_LONG_DOUBLE] (scalbnl): Likewise.
24643         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
24644         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
24645         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
24646         long_double_symbol calls.
24647         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
24648         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
24649         strong alias of __ldexpl.
24650         (scalbnl): Define using long_double_symbol.
24651         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
24652         Remove alias.
24653         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
24654         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
24655         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
24656         (scalbln_test_data): Add more errno expectations.
24658 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
24660         Cache the host port like we cache the task port.  This way we do not
24661         need to call the kernel just to get the port.  Furthermore, we no
24662         longer increase the reference count on every invocation of
24663         `mach_host_self'.
24665         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
24666         Protect declarations against the macro expansion.
24667         * mach/mach_init.c (__mach_host_self_): New variable.
24668         (mach_init): Initialize `__mach_host_self_'.
24669         * mach/mach_init.h (__mach_host_self_): New declaration.
24670         (__mach_host_self, mach_host_self): New macros.
24671         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
24672         Release reference.
24674 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24676         [BZ #4404]
24677         * po/de.po: Update from Translation Project.
24679         [BZ #16415]
24680         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
24681         (__expm1l): Remove code to handle positive infinity and overflow.
24682         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
24683         variable.
24684         (__expm1l): Remove code to handle positive infinity and overflow.
24686 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
24687             Paul Pluzhnikov  <ppluzhnikov@google.com>
24689         [BZ #18872]
24690         * stdio-common/Makefile (tst-printf-bz18872): New test.
24691         (tst-printf-bz18872-mem.out): Likewise.
24692         * stdio-common/tst-printf-bz18872.sh: Generate new test.
24693         * stdio-common/vfprintf.c: Fix memory leaks.
24695 2015-09-16  Andreas Schwab  <schwab@suse.de>
24697         [BZ #17244]
24698         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
24699         Remove extra va_start/va_end calls.
24701         [BZ #17243]
24702         * posix/execl.c (execl): Add missing va_end.
24703         * posix/execle.c (execle): Likewise.
24704         * posix/execlp.c (execlp): Likewise.
24706 2015-09-15  Roland McGrath  <roland@hack.frob.com>
24708         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
24709         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
24711 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
24713         [BZ #18967]
24714         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
24715         undefine around includes of <bits/mathcalls.h>.
24716         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
24717         not declare function.
24718         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
24719         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
24720         (scalb): Likewise.
24721         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
24722         not define macro.
24723         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
24724         variable.
24725         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24726         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24727         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24729         [BZ #18857]
24730         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
24731         return non-finite argument without doing ordered comparisons on
24732         it.
24734         [BZ #16296]
24735         * math/fenv.h (fegetround): Use __attribute_pure__.
24736         * include/fenv.h (__fegetround): Likewise.
24738         [BZ #18595]
24739         * math/s_ctan.c (__ctan): Force underflow exception for results
24740         whose real or imaginary part has small absolute value.
24741         * math/s_ctanf.c (__ctanf): Likewise.
24742         * math/s_ctanh.c (__ctanh): Likewise.
24743         * math/s_ctanhf.c (__ctanhf): Likewise.
24744         * math/s_ctanhl.c (__ctanhl): Likewise.
24745         * math/s_ctanl.c (__ctanl): Likewise.
24746         * math/auto-libm-test-in: Do not allow missing underflow for ctan
24747         and ctanh.  Add more tests of ctan and ctanh.
24749         [BZ #15918]
24750         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
24751         handling of cases where one argument is an infinity.
24753         [BZ #18875]
24754         [BZ #18966]
24755         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
24756         (MO): New macro.
24757         (__ieee754_exp10): For small results, force underflow exception
24758         and remove excess range and precision from return value.
24759         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
24760         (MO): New macro.
24761         (__ieee754_exp10f): For small results, force underflow exception
24762         and remove excess range and precision from return value.
24763         * math/auto-libm-test-in: Add more tests of exp10.
24764         * math/auto-libm-test-out: Regenerated.
24766 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
24768         [BZ #18875]
24769         [BZ #18961]
24770         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
24771         (MO): New macro.
24772         (__ieee754_exp): For small results, force underflow exception and
24773         remove excess range and precision from return value.
24774         (__exp_finite): Likewise.
24775         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
24776         (MO): New macro.
24777         (__ieee754_expf): For small results, force underflow exception and
24778         remove excess range and precision from return value.
24779         (__expf_finite): Likewise.
24780         * math/auto-libm-test-in: Add more tests of exp.
24781         * math/auto-libm-test-out: Regenerated.
24783         [BZ #16521]
24784         [BZ #18875]
24785         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
24786         small results.
24787         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
24788         (MO): New macro.
24789         (__ieee754_exp2): For small results, force underflow exception and
24790         remove excess range and precision from return value.
24791         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
24792         (MO): New macro.
24793         (__ieee754_exp2f): For small results, force underflow exception
24794         and remove excess range and precision from return value.
24795         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
24796         (MO): New macro.
24797         (__ieee754_exp2l): Force underflow exception for small results.
24798         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24799         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24800         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
24801         (MO): New macro.
24802         (__ieee754_exp2l): Force underflow exception for small results.
24803         * math/auto-libm-test-in: Add more tests or exp2.
24804         * math/auto-libm-test-out: Regenerated.
24806 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
24808         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
24810         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
24811         /dev/null.
24813 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24815         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24816         io fs process)): Drop spurious backslash.
24818 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24820         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
24821         Use sysinfo system call instead of parsing /proc/meminfo.
24822         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
24823         Likewise.
24825 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
24827         [BZ #16985]
24828         * programs/localedef.c (main): Display argv[remaining] when
24829         output_path is NULL.
24831 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24833         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24834         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
24835         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
24836         tanh.
24837         * math/auto-libm-test-out: Regenerated.
24838         * sysdeps/i386/fpu/libm-test-ulps: Update.
24839         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24840         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24843 2015-09-11  Roland McGrath  <roland@hack.frob.com>
24845         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
24846         Use 'override' keyword to freeze the value here, preventing
24847         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
24849 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24851         [BZ #14912]
24852         * sysdeps/aarch64/bits/atomic.h: Move to ...
24853         * sysdeps/aarch64/atomic-machine.h: ...here.
24854         (_AARCH64_BITS_ATOMIC_H): Rename macro to
24855         _AARCH64_ATOMIC_MACHINE_H.
24856         * sysdeps/alpha/bits/atomic.h: Move to ...
24857         * sysdeps/alpha/atomic-machine.h: ...here.
24858         * sysdeps/arm/bits/atomic.h: Move to ...
24859         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
24860         * bits/atomic.h: Move to ...
24861         * sysdeps/generic/atomic-machine.h: ...here.
24862         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24863         * sysdeps/i386/bits/atomic.h: Move to ...
24864         * sysdeps/i386/atomic-machine.h: ...here.
24865         * sysdeps/ia64/bits/atomic.h: Move to ...
24866         * sysdeps/ia64/atomic-machine.h: ...here.
24867         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
24868         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
24869         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24870         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
24871         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
24872         * sysdeps/microblaze/bits/atomic.h: Move to ...
24873         * sysdeps/microblaze/atomic-machine.h: ...here.
24874         * sysdeps/mips/bits/atomic.h: Move to ...
24875         * sysdeps/mips/atomic-machine.h: ...here.
24876         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
24877         * sysdeps/powerpc/bits/atomic.h: Move to ...
24878         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
24879         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
24880         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
24881         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
24882         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
24883         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
24884         <atomic-machine.h> instead of <bits/atomic.h>.
24885         * sysdeps/s390/bits/atomic.h: Move to ...
24886         * sysdeps/s390/atomic-machine.h: ...here.
24887         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
24888         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
24889         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24890         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
24891         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
24892         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
24893         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
24894         * sysdeps/tile/bits/atomic.h: Move to ...
24895         * sysdeps/tile/atomic-machine.h: ...here.
24896         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
24897         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
24898         <sysdeps/tile/atomic-machine.h> instead of
24899         <sysdeps/tile/bits/atomic.h>.
24900         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24901         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
24902         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
24903         <sysdeps/tile/atomic-machine.h> instead of
24904         <sysdeps/tile/bits/atomic.h>.
24905         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24906         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
24907         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
24908         <sysdeps/arm/atomic-machine.h> instead of
24909         <sysdeps/arm/bits/atomic.h>.
24910         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
24911         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
24912         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24913         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
24914         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
24915         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24916         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
24917         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
24918         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
24919         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
24920         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
24921         * sysdeps/x86_64/bits/atomic.h: Move to ...
24922         * sysdeps/x86_64/atomic-machine.h: ...here.
24923         * include/atomic.h: Include <atomic-machine.h> instead of
24924         <bits/atomic.h>.
24926         * sysdeps/mips/mips32/libm-test-ulps: Update.
24927         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24929         [BZ #18952]
24930         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
24931         not convert non-integer negative arguments to int to determine the
24932         value of signgam.
24933         * math/auto-libm-test-in: Add more tests of lgamma.
24934         * math/auto-libm-test-out: Regenerated.
24936         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
24937         cosh, csqrt, erfc, expm1 and lgamma.
24938         * math/auto-libm-test-out: Regenerated.
24939         * sysdeps/i386/fpu/libm-test-ulps: Update.
24940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24942 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
24944         [BZ #2542]
24945         [BZ #2543]
24946         [BZ #2558]
24947         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
24948         __lgamma_neg for arguments from -28.0 to -2.0.
24949         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
24950         __lgamma_negf for arguments from -15.0 to -2.0.
24951         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24952         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
24953         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
24954         Call __lgamma_negl for arguments from -33.0 to -2.0.
24955         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
24956         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
24957         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
24958         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
24959         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
24960         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
24961         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
24962         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
24963         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
24964         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
24965         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
24966         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
24967         (__lgamma_neg): Likewise.
24968         (__lgamma_negl): Likewise.
24969         (__lgamma_product): Likewise.
24970         (__lgamma_productl): Likewise.
24971         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
24972         * math/auto-libm-test-in: Add more tests of lgamma.
24973         * math/auto-libm-test-out: Regenerated.
24974         * sysdeps/i386/fpu/libm-test-ulps: Update.
24975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24977 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
24979         [BZ #18675]
24980         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
24982 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
24984         [BZ #14912]
24985         * bits/libc-lock.h: Move to ...
24986         * sysdeps/generic/libc-lock.h: ...here.
24987         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24988         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
24989         * sysdeps/mach/hurd/libc-lock.h: ...here.
24990         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24991         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
24992         * sysdeps/mach/bits/libc-lock.h: Move to ...
24993         * sysdeps/mach/libc-lock.h: ...here.
24994         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24995         * sysdeps/nptl/bits/libc-lock.h: Move to ...
24996         * sysdeps/nptl/libc-lock.h: ...here.
24997         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24998         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
24999         * sysdeps/nptl/libc-lockP.h: ...here.
25000         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
25001         * crypt/crypt_util.c: Include <libc-lock.h> instead of
25002         <bits/libc-lock.h>.
25003         * dirent/scandir-tail.c: Likewise.
25004         * dlfcn/dlerror.c: Likewise.
25005         * elf/dl-close.c: Likewise.
25006         * elf/dl-iteratephdr.c: Likewise.
25007         * elf/dl-lookup.c: Likewise.
25008         * elf/dl-open.c: Likewise.
25009         * elf/dl-support.c: Likewise.
25010         * elf/dl-writev.h: Likewise.
25011         * elf/rtld.c: Likewise.
25012         * grp/fgetgrent.c: Likewise.
25013         * gshadow/fgetsgent.c: Likewise.
25014         * gshadow/sgetsgent.c: Likewise.
25015         * iconv/gconv_conf.c: Likewise.
25016         * iconv/gconv_db.c: Likewise.
25017         * iconv/gconv_dl.c: Likewise.
25018         * iconv/gconv_int.h: Likewise.
25019         * iconv/gconv_trans.c: Likewise.
25020         * include/link.h: Likewise.
25021         * inet/getnameinfo.c: Likewise.
25022         * inet/getnetgrent.c: Likewise.
25023         * inet/getnetgrent_r.c: Likewise.
25024         * intl/bindtextdom.c: Likewise.
25025         * intl/dcigettext.c: Likewise.
25026         * intl/finddomain.c: Likewise.
25027         * intl/gettextP.h: Likewise.
25028         * intl/loadmsgcat.c: Likewise.
25029         * intl/localealias.c: Likewise.
25030         * intl/textdomain.c: Likewise.
25031         * libidn/idn-stub.c: Likewise.
25032         * libio/libioP.h: Likewise.
25033         * locale/duplocale.c: Likewise.
25034         * locale/freelocale.c: Likewise.
25035         * locale/newlocale.c: Likewise.
25036         * locale/setlocale.c: Likewise.
25037         * login/getutent_r.c: Likewise.
25038         * login/getutid_r.c: Likewise.
25039         * login/getutline_r.c: Likewise.
25040         * login/utmp-private.h: Likewise.
25041         * login/utmpname.c: Likewise.
25042         * malloc/mtrace.c: Likewise.
25043         * misc/efgcvt.c: Likewise.
25044         * misc/error.c: Likewise.
25045         * misc/fstab.c: Likewise.
25046         * misc/getpass.c: Likewise.
25047         * misc/mntent.c: Likewise.
25048         * misc/syslog.c: Likewise.
25049         * nis/nis_call.c: Likewise.
25050         * nis/nis_callback.c: Likewise.
25051         * nis/nss-default.c: Likewise.
25052         * nis/nss_compat/compat-grp.c: Likewise.
25053         * nis/nss_compat/compat-initgroups.c: Likewise.
25054         * nis/nss_compat/compat-pwd.c: Likewise.
25055         * nis/nss_compat/compat-spwd.c: Likewise.
25056         * nis/nss_nis/nis-alias.c: Likewise.
25057         * nis/nss_nis/nis-ethers.c: Likewise.
25058         * nis/nss_nis/nis-grp.c: Likewise.
25059         * nis/nss_nis/nis-hosts.c: Likewise.
25060         * nis/nss_nis/nis-network.c: Likewise.
25061         * nis/nss_nis/nis-proto.c: Likewise.
25062         * nis/nss_nis/nis-pwd.c: Likewise.
25063         * nis/nss_nis/nis-rpc.c: Likewise.
25064         * nis/nss_nis/nis-service.c: Likewise.
25065         * nis/nss_nis/nis-spwd.c: Likewise.
25066         * nis/nss_nisplus/nisplus-alias.c: Likewise.
25067         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
25068         * nis/nss_nisplus/nisplus-grp.c: Likewise.
25069         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
25070         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
25071         * nis/nss_nisplus/nisplus-network.c: Likewise.
25072         * nis/nss_nisplus/nisplus-proto.c: Likewise.
25073         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
25074         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
25075         * nis/nss_nisplus/nisplus-service.c: Likewise.
25076         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
25077         * nis/ypclnt.c: Likewise.
25078         * nptl/libc_pthread_init.c: Likewise.
25079         * nss/getXXbyYY.c: Likewise.
25080         * nss/getXXent.c: Likewise.
25081         * nss/getXXent_r.c: Likewise.
25082         * nss/nss_db/db-XXX.c: Likewise.
25083         * nss/nss_db/db-netgrp.c: Likewise.
25084         * nss/nss_db/nss_db.h: Likewise.
25085         * nss/nss_files/files-XXX.c: Likewise.
25086         * nss/nss_files/files-alias.c: Likewise.
25087         * nss/nsswitch.c: Likewise.
25088         * posix/regex_internal.h: Likewise.
25089         * posix/wordexp.c: Likewise.
25090         * pwd/fgetpwent.c: Likewise.
25091         * resolv/res_hconf.c: Likewise.
25092         * resolv/res_libc.c: Likewise.
25093         * shadow/fgetspent.c: Likewise.
25094         * shadow/lckpwdf.c: Likewise.
25095         * shadow/sgetspent.c: Likewise.
25096         * socket/opensock.c: Likewise.
25097         * stdio-common/reg-modifier.c: Likewise.
25098         * stdio-common/reg-printf.c: Likewise.
25099         * stdio-common/reg-type.c: Likewise.
25100         * stdio-common/vfprintf.c: Likewise.
25101         * stdio-common/vfscanf.c: Likewise.
25102         * stdlib/abort.c: Likewise.
25103         * stdlib/cxa_atexit.c: Likewise.
25104         * stdlib/fmtmsg.c: Likewise.
25105         * stdlib/random.c: Likewise.
25106         * stdlib/setenv.c: Likewise.
25107         * string/strsignal.c: Likewise.
25108         * sunrpc/auth_none.c: Likewise.
25109         * sunrpc/bindrsvprt.c: Likewise.
25110         * sunrpc/create_xid.c: Likewise.
25111         * sunrpc/key_call.c: Likewise.
25112         * sunrpc/rpc_thread.c: Likewise.
25113         * sysdeps/arm/backtrace.c: Likewise.
25114         * sysdeps/generic/ldsodefs.h: Likewise.
25115         * sysdeps/generic/stdio-lock.h: Likewise.
25116         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
25117         * sysdeps/i386/backtrace.c: Likewise.
25118         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25119         * sysdeps/m68k/backtrace.c: Likewise.
25120         * sysdeps/mach/hurd/cthreads.c: Likewise.
25121         * sysdeps/mach/hurd/dirstream.h: Likewise.
25122         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25123         * sysdeps/nptl/malloc-machine.h: Likewise.
25124         * sysdeps/nptl/stdio-lock.h: Likewise.
25125         * sysdeps/posix/dirstream.h: Likewise.
25126         * sysdeps/posix/getaddrinfo.c: Likewise.
25127         * sysdeps/posix/system.c: Likewise.
25128         * sysdeps/pthread/aio_suspend.c: Likewise.
25129         * sysdeps/s390/s390-32/backtrace.c: Likewise.
25130         * sysdeps/s390/s390-64/backtrace.c: Likewise.
25131         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25132         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25133         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
25134         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
25135         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
25136         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25137         * sysdeps/unix/sysv/linux/system.c: Likewise.
25138         * sysdeps/x86_64/backtrace.c: Likewise.
25139         * time/alt_digit.c: Likewise.
25140         * time/era.c: Likewise.
25141         * time/tzset.c: Likewise.
25142         * wcsmbs/wcsmbsload.c: Likewise.
25143         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
25144         instead of <bits/libc-lock.h> in comment.
25146 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
25148         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
25149         Only use .set mips2 if the current ISA is below mips2.
25150         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
25151         Likewise.
25152         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
25153         mips32r2 if the current ISA is below mips32r2.
25154         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
25155         (TLS_IE): Updated to use the TLD_RDHWR macro.
25156         (TLS_LE): Likewise.
25157         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
25158         __ASSEMBLER__ condition.
25160 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25162         Fix parallel build of before-compile targets.
25164         * sysdeps/mach/Makefile ($(patsubst
25165         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
25166         mach-before-compile target.
25167         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25168         io fs process)): Move rule to dedicated hurd-before-compile target.
25170 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25172         Fix rules generating headers in hurd/ and mach/ when initial make call
25173         has subdir= explicitly set.
25175         * sysdeps/mach/Makefile ($(patsubst
25176         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
25177         calling $(MAKE).
25178         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25179         io fs process)): Force subdir to hurd when calling $(MAKE).
25180         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
25181         subdir to mach when calling $(MAKE).
25183 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
25185         Check sysheaders when looking for Mach and Hurd headers
25187         * sysdeps/mach/configure.ac: Add sysheaders check.
25188         * sysdeps/mach/configure: Regenerate.
25189         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
25190         * sysdeps/mach/hurd/configure: Regenerate.
25192 2015-09-04  Roland McGrath  <roland@hack.frob.com>
25194         [BZ #18921]
25195         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
25196         Fix inverted sense of test of 'o_directory_works' value.
25197         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
25198         Bernhard Voelker <mail@bernhard-voelker.de>.
25200 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25202         [BZ #14912]
25203         * bits/linkmap.h: Move to ...
25204         * sysdeps/generic/linkmap.h: ...here.
25205         * sysdeps/aarch64/bits/linkmap.h: Move to ...
25206         * sysdeps/aarch64/linkmap.h: ...here.
25207         * sysdeps/arm/bits/linkmap.h: Move to ...
25208         * sysdeps/arm/linkmap.h: ...here.
25209         * sysdeps/hppa/bits/linkmap.h: Move to ...
25210         * sysdeps/hppa/linkmap.h: ...here.
25211         * sysdeps/ia64/bits/linkmap.h: Move to ...
25212         * sysdeps/ia64/linkmap.h: ...here.
25213         * sysdeps/mips/bits/linkmap.h: Move to ...
25214         * sysdeps/mips/linkmap.h: ...here.
25215         * sysdeps/s390/bits/linkmap.h: Move to ...
25216         * sysdeps/s390/linkmap.h: ...here.
25217         * sysdeps/sh/bits/linkmap.h: Move to ...
25218         * sysdeps/sh/linkmap.h: ...here.
25219         * sysdeps/x86/bits/linkmap.h: Move to ...
25220         * sysdeps/x86/linkmap.h: ...here.
25221         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
25223 2015-09-04  Andreas Schwab  <schwab@suse.de>
25225         [BZ #18635]
25226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
25227         (__makecontext): Terminate FDE before return label.
25228         (__novec_makecontext): Likewise.
25230 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25232         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
25233         first member of struct sv in syscall macro.
25235 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25237         [BZ #14912]
25238         * bits/stdio-lock.h: Move to ...
25239         * sysdeps/generic/stdio-lock.h: ...here.
25240         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25241         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
25242         * sysdeps/nptl/stdio-lock.h: ...here.
25243         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25244         * include/libio.h: Include <stdio-lock.h> instead of
25245         <bits/stdio-lock.h>.
25246         * sysdeps/nptl/fork.c: Likewise.
25247         * sysdeps/pthread/flockfile.c: Likewise.
25248         * sysdeps/pthread/ftrylockfile.c: Likewise.
25249         * sysdeps/pthread/funlockfile.c: Likewise.
25251         [BZ #14912]
25252         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
25253         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
25254         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
25255         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
25256         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
25257         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25258         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
25260 2015-09-03  Roland McGrath  <roland@hack.frob.com>
25262         * elf/Makefile (test-xfail-tst-protected1a): New variable.
25263         (test-xfail-tst-protected1b): New variable.
25265 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
25267         [BZ #14912]
25268         * bits/libc-tsd.h: Move to ...
25269         * sysdeps/generic/libc-tsd.h: ...here.
25270         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
25271         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
25272         * sysdeps/mach/hurd/libc-tsd.h: ...here.
25273         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
25274         * include/ctype.h: Include <libc-tsd.h> instead of
25275         <bits/libc-tsd.h>.
25276         * include/rpc/rpc.h: Likewise.
25277         * locale/localeinfo.h: Likewise.
25278         * sunrpc/rpc_thread.c: Likewise.
25279         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25280         * sysdeps/nptl/malloc-machine.h: Likewise.
25282         * Makefile (headers): Remove bits/libc-lock.h.
25283         * libio/Makefile (headers): Remove bits/stdio-lock.h.
25285         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
25286         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
25287         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
25288         <bits/stdio-lock.h>.
25289         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
25290         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
25292 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25294         [BZ #18757]
25295         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
25296         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
25297         BZ #18757.
25299 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25301         * malloc/mtrace.pl: Filter out NULL entries.
25303 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
25305         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
25306         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
25307         macro.
25309         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
25310         (TCP_CC_INFO): Likewise.
25311         (TCP_SAVE_SYN): Likewise.
25312         (TCP_SAVED_SYN): Likewise.
25314 2015-08-31  Brett Neumeier <brett@neumeier.us>
25316         [BZ #18870]
25317         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
25319 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
25321         [BZ #18873]
25322         Fix broken overflow check in posix_fallocate
25323         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
25324         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25325         Fix parenthesization typo.
25327 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
25329         [BZ #18887]
25330         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
25331         tst-mntent-blank-passno.
25332         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
25333         * misc/tst-mntent-blank-corrupt.c: New test.
25334         * misc/tst-mntent-blank-passno.c: New test ripped from ...
25335         * misc/tst-mntent.c (do_test): ... here.
25337 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
25339         [BZ #4404]
25340         * po/de.po: Fix SIGALRM typo.
25342 2015-08-28  James Perkins  <james@loowit.net>
25344         * time/tst-strptime2.c (tests): Replace short list of test
25345         strings for strptime %z specifier with code which exhaustively
25346         tests every combination of sign and 0 to 5 digits. Tests for
25347         rejection of invalid strings.
25349 2015-08-28  James Perkins  <james@loowit.net>
25351         [BZ #16141]
25352         * time/strptime_l.c (__strptime_internal): Fix %z minutes
25353         calculation, removing incorrect decimal time rounding, so that
25354         all minute values result in a valid seconds value.
25355         * time/strptime_l.c (__strptime_internal): Extend %z time zone
25356         offset range limits to UTC-99:59 through UTC+99:59 to parse
25357         current and historical use cases.
25358         * time/tst-strptime2.c (tests): Modify and add tests for the
25359         strptime %z input field descriptor, specifically conversion of
25360         minutes to seconds and validating an offset range of -9959 to
25361         +9959.
25363 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25364             Dmitry V. Levin  <ldv@altlinux.org>
25366         [BZ #18877]
25367         * posix/Makefile (tests): Add tst-mmap-offset.
25368         * posix/tst-mmap.c: New file.
25369         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
25370         offset calculation for negative values.
25372 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25374         * sysdeps/i386/init-arch.h: New file.
25375         * sysdeps/i386/i586/init-arch.h: Likewise.
25376         * sysdeps/i386/i686/init-arch.h: Likewise.
25377         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
25378         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
25379         * sysdeps/x86/cpu-features.h (bit_I586): New.
25380         (bit_I686): Likewise.
25381         (bit_CX8): Likewise.
25382         (bit_CMOV): Likewise.
25383         (index_CX8): Likewise.
25384         (index_CMOV): Likewise.
25385         (index_I586): Likewise.
25386         (index_I686): Likewise.
25387         (reg_CX8): Likewise.
25388         (reg_CMOV): Likewise.
25389         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
25390         available at compile-time.
25391         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
25392         available at compile-time.
25393         * sysdeps/x86/init-arch.h (USE_I586): New macro.
25394         (USE_I686): Likewise.
25396 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25398         * sysdeps/i386/bcopy.S: New file.
25399         * sysdeps/i386/bzero.S: Likewise.
25400         * sysdeps/i386/memcpy.S: Likewise.
25401         * sysdeps/i386/memmove.S: Likewise.
25402         * sysdeps/i386/mempcpy.S: Likewise.
25403         * sysdeps/i386/memset.S: Likewise.
25404         * sysdeps/i386/bzero.c: Removed.
25405         * sysdeps/i386/memset.c: Likewise.
25406         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
25407         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
25408         * sysdeps/i386/i586/memset_chk.S: Likewise.
25409         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
25410         * sysdeps/i386/memcpy_chk.S: Here.
25411         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
25412         * sysdeps/i386/memmove_chk.S: Here.
25413         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
25414         * sysdeps/i386/mempcpy_chk.S: Likewise.
25415         * sysdeps/i386/i686/memset_chk.S: Moved to ...
25416         * sysdeps/i386/memset_chk.S: Likewise.
25418 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
25420         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
25421         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
25422         file, move DIAG_POP_NEEDS_COMMENT to end of file.
25423         * soft-fp/fmadf4.c: Ditto.
25424         * soft-fp/fmatf4.c: Ditto.
25426 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25428         * sysdeps/i386/i586/Implies: Removed.
25429         * sysdeps/i386/i686/Implies: Likewise.
25431 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25433         * sysdeps/i386/i486/strlen.S: Moved to ...
25434         * sysdeps/i386/strlen.S: Here.
25436 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25438         * sysdeps/i386/i486/strcat.S: Moved to ...
25439         * sysdeps/i386/strcat.S: Here.
25441 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25443         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
25444         * sysdeps/i386/pthread_spin_trylock.S: Here.
25445         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
25446         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
25448 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25450         * sysdeps/i386/i486/string-inlines.c: Moved to ...
25451         * sysdeps/i386/string-inlines.c: Here.
25453 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25455         * sysdeps/i386/i486/htonl.S: Moved ...
25456         * sysdeps/i386/htonl.S: here.
25458 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25460         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
25461         * sysdeps/i386/bits/atomic.h: Here.
25463 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25465         * sysdeps/i386/i486/Versions: Removed.
25467 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25469         [BZ #2898]
25470         * misc/mktemp.c: Add mkdtemp to the link_warning message.
25471         Based on patch by Aurelien Jarno.
25473 2015-08-26  Stan Shebs  <stanshebs@google.com>
25475         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
25476         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25478 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25480         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
25481         * sysdeps/powerpc/dl-procinfo.c:
25482         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
25483         feature so it shows when LD_SHOW_AUXV=1.
25485 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25487         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25488         (__arch_compare_and_exchange_val_32_acq): Remove and use common
25489         definition.  ISA 2.07B no longer requires full sync.
25491 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
25493         [BZ #18863]
25494         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
25495         (si_call_addr): Define.
25496         (si_syscall): Define.
25497         (si_arch): Define.
25499 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
25501         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
25502         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
25503         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
25504         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25505         (__memset_zero_constant_len_parameter): New.
25506         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
25507         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25508         (__memset_zero_constant_len_parameter): Don't define if
25509         __memset_chk or USE_AS_BZERO are defined.
25511         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
25512         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
25513         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
25515         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
25516         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
25517         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
25518         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
25519         comments.
25520         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
25521         -mno-mmx for $(all-rtld-routines).
25522         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
25523         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
25524         i386.
25526 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25528         * sysdeps/generic/unwind.h
25529         (_Unwind_Word): Use __mode__(__unwind_word__)
25530         instead of __mode__(__word__).
25531         (_Unwind_Sword): Likewise.
25533         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25534         (MAX_NEEDED_INPUT): New define.
25535         (MAX_NEEDED_OUTPUT): New define.
25537         * NEWS: New item for IBM z13 string optimizations.
25539         * sysdeps/s390/multiarch/memrchr-c.c: New File.
25540         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
25541         * sysdeps/s390/multiarch/memrchr.c: Likewise.
25542         * sysdeps/s390/multiarch/Makefile
25543         (sysdep_routines): Add memrchr functions.
25544         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25545         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
25547         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
25548         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
25549         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
25550         * sysdeps/s390/multiarch/Makefile
25551         (sysdep_routines): Add wmemcmp functions.
25552         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25553         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
25554         * benchtests/bench-wmemcmp.c: New File.
25555         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
25557         * sysdeps/s390/multiarch/wmemset-c.c: New File.
25558         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
25559         * sysdeps/s390/multiarch/wmemset.c: Likewise.
25560         * sysdeps/s390/multiarch/Makefile
25561         (sysdep_routines): Add wmemset functions.
25562         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25563         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
25564         * wcsmbs/wmemset.c: Use WMEMSET if defined.
25565         * string/test-memset.c: Add wmemset support.
25566         * wcsmbs/test-wmemset.c: New File.
25567         * wcsmbs/Makefile (strop-tests): Add wmemset.
25568         * benchtests/bench-memset.c: Add wmemset support.
25569         * benchtests/bench-wmemset.c: New File.
25570         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
25572         * sysdeps/s390/multiarch/memccpy-c.c: New File.
25573         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
25574         * sysdeps/s390/multiarch/memccpy.c: Likewise.
25575         * sysdeps/s390/multiarch/Makefile
25576         (sysdep_routines): Add memccpy functions.
25577         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25578         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
25579         * string/memccpy.c: Use MEMCCPY if defined.
25581         * sysdeps/s390/multiarch/memchr-vx.S: New File.
25582         * sysdeps/s390/multiarch/memchr.c: Likewise.
25583         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
25584         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
25585         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
25586         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
25587         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
25588         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
25589         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
25590         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
25591         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
25592         and rawmemchr functions.
25593         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25594         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
25595         and wmemchr.
25596         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
25597         * string/test-memchr.c: Add wmemchr support.
25598         * wcsmbs/test-wmemchr.c: New File.
25599         * wcsmbs/Makefile (strop-tests): Add wmemchr.
25600         * benchtests/bench-memchr.c: Add wmemchr support.
25601         * benchtests/bench-wmemchr.c: New File.
25602         * benchtests/Makefile (wcsmbs-bench): wmemchr.
25604         * sysdeps/s390/multiarch/strcspn-c.c: New File.
25605         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
25606         * sysdeps/s390/multiarch/strcspn.c: Likewise.
25607         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
25608         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
25609         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
25610         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
25611         wcscspn functions.
25612         * sysdeps/s390/multiarch/ifunc-impl-list.c
25613         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
25614         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
25615         * string/test-strcspn.c: Add wcscspn support.
25616         * wcsmbs/test-wcscspn.c: New File.
25617         * wcsmbs/Makefile (strop-tests): Add wcscspn.
25618         * benchtests/bench-strcspn.c: Add wcscspn support.
25619         * benchtests/bench-wcscspn.c: New File.
25620         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
25622         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
25623         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
25624         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
25625         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
25626         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
25627         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
25628         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
25629         wcspbrk functions.
25630         * sysdeps/s390/multiarch/ifunc-impl-list.c
25631         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
25632         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
25633         * string/test-strpbrk.c: Add wcspbrk support.
25634         * wcsmbs/test-wcspbrk.c: New File.
25635         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
25636         * benchtests/bench-strpbrk.c: Add wcspbrk support.
25637         * benchtests/bench-wcspbrk.c: New File.
25638         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
25640         * sysdeps/s390/multiarch/strspn-c.c: New File.
25641         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
25642         * sysdeps/s390/multiarch/strspn.c: Likewise.
25643         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
25644         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
25645         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
25646         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
25647         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
25648         wcsspn functions.
25649         * sysdeps/s390/multiarch/ifunc-impl-list.c
25650         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
25651         * string/test-strspn.c: Add wcsspn support.
25652         * wcsmbs/test-wcsspn.c: New File.
25653         * wcsmbs/Makefile (strop-tests): Add wcsspn.
25654         * benchtests/bench-strspn.c: Add wcsspn support.
25655         * benchtests/bench-wcsspn.c: New File.
25656         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
25658         * sysdeps/s390/multiarch/strrchr-c.c: New File.
25659         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
25660         * sysdeps/s390/multiarch/strrchr.c: Likewise.
25661         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
25662         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
25663         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
25664         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
25665         wcsrchr functions.
25666         * sysdeps/s390/multiarch/ifunc-impl-list.c
25667         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
25668         * benchtests/bench-wcsrchr.c: New File.
25669         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
25671         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
25672         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
25673         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
25674         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
25675         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
25676         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
25677         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
25678         wcschrnul functions.
25679         * sysdeps/s390/multiarch/ifunc-impl-list.c
25680         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
25681         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
25682         * string/test-strchr.c: Add wcschrnul support.
25683         * wcsmbs/test-wcschrnul.c: New File.
25684         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
25685         * benchtests/bench-strchr.c: Add wcschrnul support.
25686         * benchtests/bench-wcschrnul.c: New File.
25687         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
25689         * sysdeps/s390/multiarch/strchr-c.c: New File.
25690         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
25691         * sysdeps/s390/multiarch/strchr.c: Likewise.
25692         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
25693         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
25694         * sysdeps/s390/multiarch/wcschr.c: Likewise.
25695         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
25696         wcschr functions.
25697         * sysdeps/s390/multiarch/ifunc-impl-list.c
25698         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
25699         * string/strchr.c (STRCHR): Define and use macro.
25700         * benchtests/bench-wcschr.c: New File.
25701         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
25703         * sysdeps/s390/multiarch/strncmp-c.c: New File.
25704         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
25705         * sysdeps/s390/multiarch/strncmp.c: Likewise.
25706         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
25707         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
25708         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
25709         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
25710         wcsncmp functions.
25711         * sysdeps/s390/multiarch/ifunc-impl-list.c
25712         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
25713         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
25714         * benchtests/bench-strncmp.c: Add wcsncmp support.
25715         * benchtests/bench-wcsncmp.c: New File.
25716         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
25718         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
25719         * sysdeps/s390/multiarch/strcmp.c: Likewise.
25720         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
25721         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
25722         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
25723         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
25724         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
25725         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
25726         wcscmp functions.
25727         * sysdeps/s390/multiarch/ifunc-impl-list.c
25728         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
25729         * string/strcmp.c (STRCMP): Define and use macro.
25730         * benchtests/bench-wcscmp.c: New File.
25731         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
25732         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
25733         instead of _HAVE_STRING_ARCH_memchr.
25735         * sysdeps/s390/multiarch/strncat-c.c: New File.
25736         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
25737         * sysdeps/s390/multiarch/strncat.c: Likewise.
25738         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
25739         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
25740         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
25741         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
25742         wcsncat functions.
25743         * sysdeps/s390/multiarch/ifunc-impl-list.c
25744         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
25745         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
25746         * string/test-strncat.c: Add wcsncat support.
25747         * wcsmbs/test-wcsncat.c: New File.
25748         * wcsmbs/Makefile (strop-tests): Add wcsncat.
25749         * benchtests/bench-strncat.c: Add wcsncat support.
25750         * benchtests/bench-wcsncat.c: New File.
25751         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
25753         * sysdeps/s390/multiarch/strcat-c.c: New File.
25754         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
25755         * sysdeps/s390/multiarch/strcat.c: Likewise.
25756         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
25757         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
25758         * sysdeps/s390/multiarch/wcscat.c: Likewise.
25759         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
25760         wcscat functions.
25761         * sysdeps/s390/multiarch/ifunc-impl-list.c
25762         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
25763         * string/strcat.c (STRCAT): Define and use macro.
25764         * wcsmbs/wcscat.c: Use WCSCAT if defined.
25765         * string/test-strcat.c: Add wcscat support.
25766         * wcsmbs/test-wcscat.c: New File.
25767         * wcsmbs/Makefile (strop-tests): Add wcscat.
25768         * benchtests/bench-strcat.c: Add wcscat support.
25769         * benchtests/bench-wcscat.c: New File.
25770         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
25772         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
25773         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
25774         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
25775         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
25776         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
25777         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
25778         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
25779         wcpncpy functions.
25780         * sysdeps/s390/multiarch/ifunc-impl-list.c
25781         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
25782         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
25783         * string/test-stpncpy.c: Add wcpncpy support.
25784         * wcsmbs/test-wcpncpy.c: New File.
25785         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
25786         * benchtests/bench-stpncpy.c: Add wcpncpy support.
25787         * benchtests/bench-wcpncpy.c: New File.
25788         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
25790         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
25791         * sysdeps/s390/multiarch/strncpy.c: Likewise.
25792         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
25793         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
25794         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
25795         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
25796         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
25797         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
25798         wcsncpy functions.
25799         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
25800         * sysdeps/s390/multiarch/ifunc-impl-list.c
25801         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
25802         * string/test-strncpy.c: Add wcsncpy support.
25803         * wcsmbs/test-wcsncpy.c: New File.
25804         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
25805         * benchtests/bench-strncpy.c: Add wcsncpy support.
25806         * benchtests/bench-wcsncpy.c: New File.
25807         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
25809         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
25810         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
25811         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
25812         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
25813         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
25814         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
25815         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
25816         wcpcpy functions.
25817         * string/stpcpy.c: Use STPCPY if defined.
25818         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
25819         * sysdeps/s390/multiarch/ifunc-impl-list.c
25820         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
25821         * string/test-stpcpy.c: Add wcpcpy support.
25822         * wcsmbs/test-wcpcpy.c: New File.
25823         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
25824         * benchtests/bench-stpcpy.c: Add wcpcpy support.
25825         * benchtests/bench-wcpcpy.c: New File.
25826         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
25828         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
25829         * sysdeps/s390/multiarch/strcpy.c: Likewise.
25830         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
25831         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
25832         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
25833         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
25834         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
25835         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
25836         wcscpy functions.
25837         * sysdeps/s390/multiarch/ifunc-impl-list.c
25838         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
25839         * benchtests/bench-wcscpy.c: New File.
25840         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
25842         * sysdeps/s390/multiarch/strnlen-c.c: New File.
25843         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
25844         * sysdeps/s390/multiarch/strnlen.c: Likewise.
25845         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
25846         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
25847         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
25848         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
25849         wcsnlen functions.
25850         * sysdeps/s390/multiarch/ifunc-impl-list.c
25851         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
25852         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
25853         * string/test-strnlen.c: Add wcsnlen support.
25854         * wcsmbs/test-wcsnlen.c: New File.
25855         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
25856         * benchtests/bench-strnlen.c: Add wcsnlen support.
25857         * benchtests/bench-wcsnlen.c: New File.
25858         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
25860         * sysdeps/s390/multiarch/Makefile: New File.
25861         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
25862         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
25863         * sysdeps/s390/multiarch/strlen.c: Likewise.
25864         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
25865         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
25866         * sysdeps/s390/multiarch/wcslen.c: Likewise.
25867         * string/strlen.c (STRLEN): Define and use macro.
25868         * sysdeps/s390/multiarch/ifunc-impl-list.c
25869         (IFUNC_VX_IMPL): New macro function.
25870         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
25871         * benchtests/Makefile (wcsmbs-bench): New variable.
25872         (string-bench-all): Added wcsmbs-bench.
25873         * benchtests/bench-wcslen.c: New File.
25875         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
25876         s390_vx_libc_ifunc2): New macro function.
25878         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
25879         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
25880         assembler support.
25881         * sysdeps/s390/configure: Regenerated.
25883         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
25884         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
25886         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
25887         * sysdeps/s390/dl-procinfo.h: Add vector capability.
25888         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
25890         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
25891         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
25892         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
25893         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
25894         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
25895         (memcmp, bcmp): Use __memcmp_default as alias source.
25896         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
25897         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
25898         Rename to __memcmp_default.
25899         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
25900         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
25901         (memcpy): Use __memcpy_default as alias source.
25902         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
25903         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
25904         Rename to __memcpy_default.
25905         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
25906         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
25907         (memset): Use __memset_default as alias source.
25908         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
25909         * sysdeps/s390/s390-32/memset.S (__memset_g5):
25910         Rename to __memset_default.
25911         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
25912         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
25913         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
25914         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
25915         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
25916         (memcmp, bcmp): Use __memcmp_default as alias source.
25917         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
25918         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
25919         Rename to __memcmp_default.
25920         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
25921         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
25922         (memcpy): Use __memcpy_default as alias source.
25923         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
25924         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
25925         Rename to __memcpy_default.
25926         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
25927         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
25928         (memset): Use __memset_default as alias source.
25929         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
25930         * sysdeps/s390/s390-64/memset.S (__memset_z900):
25931         Rename to __memset_default.
25932         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
25933         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
25935         [BZ #18610]
25936         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
25937         __ieee_instruction_pointer to __unused.
25938         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
25939         __ieee_instruction_pointer.
25940         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
25941         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
25942         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25943         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25944         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
25945         Mark dxc-field as reserved.
25947 2015-08-25  Roland McGrath  <roland@hack.frob.com>
25949         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
25950         if the weak reference is not null.
25952 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25954         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
25956         [BZ #11214]
25957         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
25959 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25961         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
25962         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
25963         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
25964         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
25965         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
25966         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
25967         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
25968         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
25969         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
25970         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
25971         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
25972         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
25973         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
25974         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
25975         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
25976         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
25977         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
25978         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
25980 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25982         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
25983         register other than r0 for tabort, it has special meaning.
25984         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
25985         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
25986         transaction before starting syscall.
25988 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25990         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
25992 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25994         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
25996         * sysdeps/x86_64/rtld-memcmp.c: Removed.
25997         * sysdeps/x86_64/rtld-memset.S: Likewise.
25998         * sysdeps/x86_64/rtld-strchr.S: Likewise.
25999         * sysdeps/x86_64/rtld-strlen.S: Likewise.
26000         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
26001         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26003         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
26005 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
26007         * debug/strcpy_chk.c: Improve performance.
26008         * debug/stpcpy_chk.c: Likewise.
26009         * sysdeps/x86_64/strcpy_chk.S: Remove.
26010         * sysdeps/x86_64/stpcpy_chk.S: Remove.
26012         [BZ #18240]
26013         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
26015 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26017         [BZ #15128]
26018         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
26019         ifuncmain8.
26020         (modules-names): Add ifuncmod8.
26021         ($(objpfx)ifuncmain8): New rule.
26022         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
26023         <cpuid.h>.
26024         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
26025         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
26026         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
26027         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
26028         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
26029         * sysdeps/x86_64/dl-trampoline.h: Likewise.
26030         * sysdeps/x86_64/ifuncmain8.c: New file.
26031         * sysdeps/x86_64/ifuncmod8.c: Likewise.
26032         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
26033         Removed.
26034         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
26035         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
26036         Change rtld_savespace_sse to __glibc_unused2.
26037         (RTLD_CHECK_FOREIGN_CALL): Removed.
26038         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
26039         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
26040         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
26042 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26044         * sysdeps/aarch64/bzero.S (__bzero): Remove.
26046 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26048         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
26049         Unconditionally set __fpcr to avoid uninialized warning.
26050         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
26052 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26054         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
26055         is corrupt.
26057         * malloc/arena.c (arena_get2): Drop unused argument.
26058         (arena_lock): Adjust.
26059         (arena_get_retry): Likewise.
26061 2015-08-24  Andreas Schwab  <schwab@suse.de>
26063         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
26064         Don't define.
26065         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
26066         (__ASSUME_IPC64): Don't undef.
26067         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
26068         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26069         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26070         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
26071         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
26072         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
26073         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
26074         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
26075         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
26076         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
26077         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
26078         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
26079         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
26080         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
26081         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
26082         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
26083         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
26084         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
26085         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
26086         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
26087         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
26089 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
26091         * manual/Makefile (install): Only build manual when perl is available.
26093 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26095         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
26096         '#undef memcpy' by '#undef memchr'.
26098 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26100         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
26101         memchr not point to the internal __GI_memchr implementation.
26103 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26105         * timezone/Makefile (CFLAGS-zdump.c): Remove
26106         -Wno-strict-prototypes.
26107         (CFLAGS-zic.c): Likewise.
26108         (CFLAGS-ialloc.c): Likewise.
26109         (CFLAGS-scheck.c): Likewise.
26111         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
26112         -Wno-error=undef.
26114 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26116         * i386/i686/multiarch/strcasestr-c.c: Removed.
26117         * x86_64/multiarch/strcasestr.c: Likewise.
26118         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26119         Remove strcasestr.
26121 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26123         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
26125         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
26126         variables for high and low parts before possibly modifying them.
26128 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26130         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
26131         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
26132         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
26133         of "multiarch/init-arch.h".
26134         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
26135         * sysdeps/x86/init-arch.h: This.
26137 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26139         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
26140         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
26142 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
26144         [BZ #17787]
26145         * manual/macros.texi: Add twoexp macro.
26146         * manual/filesys.texi: Fix exponents.
26147         * manual/llio.texi: Likewise.
26148         * manual/stdio.texi: Likewise.
26150 2015-08-20  Florian Weimer  <fweimer@redhat.com>
26152         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
26153         incorrect use.
26155 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26157         [BZ #18370]
26158         * math/s_csqrt.c (__csqrt): Force underflow exception for results
26159         whose real or imaginary part has small absolute value.
26160         * math/s_csqrtf.c (__csqrtf): Likewise.
26161         * math/s_csqrtl.c (__csqrtl): Likewise.
26162         * math/auto-libm-test-in: Add more tests of csqrt.
26163         * math/auto-libm-test-out: Regenerated.
26164         * sysdeps/i386/fpu/libm-test-ulps: Update.
26166 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26168         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
26169         __ppc_set_ppr_very_low): New functions.
26170         * manual/platform.texi: Add documentation about
26171         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
26173 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
26175         * string/stpncpy.c (stpncpy): Improve performance using
26176         __strnlen/memcpy/memset.
26178 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26180         [BZ #18796]
26181         * scripts/test-installation.pl: Don't add -lmvec to build options if
26182         libmvec wasn't built.
26184 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26186         [BZ #14341]
26187         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
26188         case when there is a gap between DT_REL and DT_JMPREL sections.
26189         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
26190         (LDFLAGS-tst-split-dynreloc): New.
26191         (tst-split-dynreloc-ENV): Likewise.
26192         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
26193         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
26195 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26197         [BZ #18822]
26198         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
26199         attribute_hidden.
26200         (__xstat64_conv): Likewise.
26201         (__xstat32_conv): Likewise.
26203 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26205         [BZ #18822]
26206         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
26207         Don't load %ebx when calling __setcontext.  Call __setcontext
26208         with HIDDEN_JUMPTARGET.
26209         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
26210         libc_hidden_def.
26212 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26214         * sysdeps/i386/i686/Makefile
26215         [$(subdir) == string] (sysdep_routines): Moved to ...
26216         * sysdeps/i386/Makefile: Here.
26217         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
26218         * sysdeps/i386/cacheinfo.c: Here.
26219         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
26220         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
26221         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
26222         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
26224 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26226         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
26227         __i586__ is defined.
26228         (HAS_I686): Defined to 1 if __i686__ is defined.
26230 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26232         * elf/Makefile [$(have-z-execstack) = yes]
26233         (CPPFLAGS-tst-execstack.c): New variable.
26235         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
26236         conditional to [defined UTMPX || _HAVE_UT_TYPE].
26237         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
26238         UTMPX || _HAVE_UT_TV].
26239         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
26240         UTMPX || _HAVE_UT_TV - 0].
26242 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
26244         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
26245         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
26246         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
26248 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26250         * sysdeps/powerpc/dl-procinfo.c:
26251         (_dl_powerpc_cap_flags): Added missing strings for some
26252         hwcap features.
26253         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
26255 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
26257         Port the 0x7efe...feff pattern to GCC 6.
26258         See Steve Ellcey's bug report in:
26259         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
26260         * string/memrchr.c (MEMRCHR):
26261         * string/rawmemchr.c (RAWMEMCHR):
26262         * string/strchr.c (strchr):
26263         * string/strchrnul.c (STRCHRNUL):
26264         Rewrite code to avoid issues with signed shift overflow.
26266 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
26268         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
26269         whether cpuid is available only if HAS_CPUID is 0.
26270         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
26271         (HAS_I586): Likewise.
26272         (HAS_I686): Likewise.
26274 2015-08-18  Zack Weinberg  <zackw@panix.com>
26276         * misc/Versions (libc): Add GLIBC_2.23.
26278 2015-08-18  Alan Modra  <amodra@gmail.com>
26280         [BZ #18421]
26281         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
26282         .Lp__global.
26283         (_start): Load %dp via .Lp__global.
26284         [!SHARED]: Use .section .rodata.
26286 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26288         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
26289         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
26291 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26293         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
26294         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
26296 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26298         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
26299         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
26301 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26303         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
26304         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
26306 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26308         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
26309         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
26311 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26313         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
26314         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
26316 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26318         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
26320 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26322         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
26323         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
26324         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26325         (__ASSUME_LWS_CAS): Delete.
26327 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26329         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
26330         * sysdeps/hppa/configure: Regenerated.
26331         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
26332         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
26333         * sysdeps/hppa/nptl/tls.h: Likewise.
26335 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
26337         [BZ #18823]
26338         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
26339         for scaling up small arguments.
26340         * math/s_csqrtf.c (__csqrtf): Likewise.
26341         * math/s_csqrtl.c (__csqrtl): Likewise.
26342         * math/auto-libm-test-in: Add more tests of csqrt.
26343         * math/auto-libm-test-out: Regenerated.
26345 2015-08-17  Andreas Schwab  <schwab@suse.de>
26347         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
26348         version set GLIBC_2.19.
26350 2015-08-16  Zack Weinberg  <zackw@panix.com>
26352         [BZ #18681]
26353         * misc/regexp.h: This interface is no longer supported.
26354         Remove all contents, leaving only an #error directive.
26355         * misc/regexp.c (loc1, loc2, locs, step, advance):
26356         Demote to compatibility symbols.
26358 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
26360         [BZ #18084]
26361         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
26362         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
26363         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26364         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
26365         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
26366         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
26367         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
26368         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
26369         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26371 2015-08-15  Zack Weinberg  <zackw@panix.com>
26373         [BZ #18795]
26374         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
26375         buffer length is known to be too large, not if it's known to be
26376         small enough.
26377         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
26378         overflow at runtime, involving a length parameter, twice: once
26379         with a compile-time constant length parameter, once without.
26381 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
26383         [BZ #18824]
26384         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
26385         scaling x * y up instead of down.
26386         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26387         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26388         * math/auto-libm-test-in: Add more tests of fma.
26389         * math/auto-libm-test-out: Regenerated.
26391 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26393         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26395 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26397         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
26398         unnecessary movq.
26399         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
26400         Likewise.
26402 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
26404         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26405         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
26406         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
26407         and tgamma.
26408         * math/auto-libm-test-out: Regenerated.
26409         * sysdeps/i386/fpu/libm-test-ulps: Update.
26410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26412         [BZ #16520]
26413         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
26414         (__tanh): Force underflow exception for arguments with small
26415         absolute value.
26416         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
26417         (__tanhf): Force underflow exception for arguments with small
26418         absolute value.
26419         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
26420         (__tanhl): Force underflow exception for arguments with small
26421         absolute value.
26422         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
26423         (__tanhl): Force underflow exception for arguments with small
26424         absolute value.
26425         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
26426         (__tanhl): Force underflow exception for arguments with small
26427         absolute value.
26428         * math/auto-libm-test-in: Add more tests of tanh.
26429         * math/auto-libm-test-out: Regenerated.
26430         * sysdeps/i386/fpu/libm-test-ulps: Update.
26432 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26434         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
26435         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
26437 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26439         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
26440         <cpuid.h>.
26442 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26444         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
26445         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
26447 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26449         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
26450         Remove $(objpfx)init-arch.o.
26451         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
26452         init-arch.
26453         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
26454         (INIT_ARCH_EXT): Defined as empty.
26455         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
26456         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
26457         __init_cpu_features call.  Replace HAS_XXX with
26458         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26459         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
26460         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
26461         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
26462         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
26463         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26464         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
26465         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
26466         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26467         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
26468         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
26469         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26470         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
26471         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
26472         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26473         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
26474         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
26475         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26476         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26477         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
26478         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
26479         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26480         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
26481         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
26482         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26483         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
26484         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
26485         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26486         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
26487         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
26488         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26489         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
26490         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
26491         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26492         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
26493         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
26495 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26497         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
26498         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26499         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26500         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26501         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
26502         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
26503         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
26504         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
26505         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
26506         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
26507         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
26508         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
26509         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26510         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26511         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26512         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26513         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26514         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26515         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26516         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26517         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26518         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26519         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26520         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26521         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26522         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26523         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26524         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26525         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26526         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26527         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26528         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26529         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26530         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26531         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26532         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26533         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26534         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26535         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26536         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26537         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26538         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26539         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26541 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26543         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
26544         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26545         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26546         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26547         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26548         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
26549         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26550         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
26551         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26552         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26553         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26554         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
26555         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
26556         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
26557         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
26558         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
26559         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
26560         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
26561         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
26562         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
26563         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
26564         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
26565         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
26566         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26567         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26568         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
26569         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
26570         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
26571         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26572         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26573         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26574         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26575         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26576         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26577         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26578         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26579         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26580         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26581         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26582         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26583         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26584         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26585         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26587 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26589         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
26590         (dl_platform_init): Call init_cpu_features.
26591         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
26592         * sysdeps/i386/i686/cacheinfo.c
26593         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
26594         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
26595         * sysdeps/i386/i686/multiarch/Versions: Removed.
26596         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
26597         Removed.
26598         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
26599         * sysdeps/unix/sysv/linux/x86/Makefile
26600         (libpthread-sysdep_routines): Remove init-arch.
26601         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
26602         <sysdeps/x86_64/dl-procinfo.c> instead of
26603         sysdeps/generic/dl-procinfo.c>.
26604         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
26605         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
26606         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
26607         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
26608         [$(subdir) == elf] (tests-static): Add
26609         tst-get-cpu-features-static.
26610         * sysdeps/x86/Versions: New file.
26611         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
26612         * sysdeps/x86/cpu-features.c: Likewise.
26613         * sysdeps/x86/cpu-features.h: Likewise.
26614         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
26615         * sysdeps/x86/libc-start.c: Likewise.
26616         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
26617         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
26618         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
26619         * sysdeps/x86_64/dl-procinfo.c: Likewise.
26620         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
26621         Assume USE_MULTIARCH is defined and don't check it.
26622         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
26623         (is_amd): Likewise.
26624         (max_cpuid): Likewise.
26625         (intel_check_word): Likewise.
26626         (__cache_sysconf): Don't call __init_cpu_features.
26627         (__x86_preferred_memory_instruction): Removed.
26628         (init_cacheinfo): Don't call __init_cpu_features. Replace
26629         __cpu_features with GLRO(dl_x86_cpu_features).
26630         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
26631         (dl_platform_init): Call init_cpu_features.
26632         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
26633         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
26634         * sysdeps/x86_64/multiarch/Versions: Removed.
26635         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
26636         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
26637         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
26638         Removed.
26639         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
26641 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26643         [BZ #18820]
26644         * libio/Makefile (test-fmemopen-mem): New test.
26645         * libio/test-fmemopen.c (do_bz18820): New test.
26646         * libio/fmemopen.c (__fmemopen): Fix memory leak.
26647         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
26649 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26651         [BZ #16734]
26652         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
26653         (FREE_BUF): Delete.
26654         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
26655         * libio/genops.c (_IO_setb): Use malloc and free directly.
26656         (_IO_default_doallocate, _IO_default_finish): Likewise.
26657         ( _IO_unbuffer_all): Likewise.
26658         ( libc_freeres_fn): Likewise.
26659         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26660         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
26661         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
26662         (_IO_wdefault_doallocate): Likewise.
26664 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26666         [BZ #18086]
26667         * sysdeps/posix/nice.c (nice): Restore old errno.
26668         * posix/tst-nice.c (do_test): Add test for BZ #18086.
26670 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
26672         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
26674 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26676         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
26677         __bcopy and add a weak_alias to bcopy.
26678         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
26679         for static build.
26681         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
26682         cleanup macro usage.
26683         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
26684         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
26685         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26686         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
26687         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26688         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
26689         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
26690         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
26691         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26692         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
26693         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26694         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
26695         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26696         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
26697         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26698         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
26699         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
26700         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
26701         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
26703         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
26704         libc_hidden_def.
26705         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
26707         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
26708         (sysdep_routines): Add strstr-ppc64.
26709         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
26711 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
26713         [BZ #18778]
26714         * elf/Makefile (tests): Add Add tst-nodelete2.
26715         (modules-names): Add tst-nodelete2mod.
26716         (tst-nodelete2mod.so-no-z-defs): New.
26717         ($(objpfx)tst-nodelete2): Likewise.
26718         ($(objpfx)tst-nodelete2.out): Likewise.
26719         (LDFLAGS-tst-nodelete2): Likewise.
26720         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
26721         out of loop through all loaded libraries.
26722         * elf/tst-nodelete2.c: New file.
26723         * elf/tst-nodelete2mod.c: Likewise.
26724         * elf/tst-znodelete-zlib.cc: Delete.
26726 2015-08-11  Andreas Schwab  <schwab@suse.de>
26728         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
26729         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
26730         (__openat64_nocancel): Likewise.
26732 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
26734         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
26735         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
26736         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
26737         * math/auto-libm-test-out: Regenerated.
26738         * sysdeps/i386/fpu/libm-test-ulps: Update.
26739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26741 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
26743         [BZ #18790]
26744         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
26745         threshold for returning +/- 1.
26746         * math/auto-libm-test-in: Add more tests of tanh.
26747         * math/auto-libm-test-out: Regenerated.
26748         * sysdeps/i386/fpu/libm-test-ulps: Update.
26750 2015-08-10  Andreas Schwab  <schwab@suse.de>
26752         [BZ #18781]
26753         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
26754         MORE_OFLAGS to oflag.
26755         * io/test-lfs.c (do_test): Test openat64.
26757 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
26759         [BZ #18789]
26760         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
26761         smaller threshold for returning the argument.
26762         * math/auto-libm-test-in: Add more tests of sinh.
26763         * math/auto-libm-test-out: Regenerated.
26764         * sysdeps/i386/fpu/libm-test-ulps: Update.
26766 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26768         [BZ #18674]
26769         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
26770         break.
26772 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
26774         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
26775         (generated): Don't add $(addprefix z.,$(tzfiles)).
26777 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26779         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
26780         * scripts/sysd-rules.awk: Likewise.
26782 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26784         * iconvdata/tst-tables.sh: Change echo -n to printf.
26785         * nss/db-Makefile: Likewise.
26786         * posix/tst-getconf.sh: Likewise.
26787         * stdio-common/tst-unbputc.sh: Likewise.
26789 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26791         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
26792         MADV_*_PAGES defines behind this feature check.
26794 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
26796         [BZ #18480]
26797         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
26798         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
26799         Define.
26800         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
26801         LOAD_REGS_5, LOAD_REGS_6): Update.
26802         (INTERNAL_SYSCALL): Update using new LOAD defines.
26803         (INTERNAL_SYSCALL_NCS): Likewise.
26804         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
26806 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26808         [BZ #16734]
26809         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
26811 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26813         [BZ #17905]
26814         * catgets/Makefile (tst-catgets-mem): New test.
26815         * catgets/catgets.c (catopen): Don't use unbounded alloca.
26816         * catgets/open_catalog.c (__open_catalog): Likewise.
26817         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
26819 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
26821         [BZ #18787]
26822         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
26823         clobber registers.
26824         (atomic_compare_and_exchange_val_acq): Use register asms to assign
26825         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
26826         Cast return to __typeof (oldval).
26828 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
26830         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
26831         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
26832         and delete sys/syscall.h include.
26834 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
26836         [BZ #16517]
26837         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
26838         (tan): Force underflow exception for arguments with small absolute
26839         value.
26840         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
26841         (__kernel_tanf): Force underflow exception for arguments with
26842         small absolute value.
26843         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
26844         (__kernel_tanl): Force underflow exception for arguments with
26845         small absolute value.
26846         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
26847         (__kernel_tanl): Force underflow exception for arguments with
26848         small absolute value.
26849         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
26850         (__kernel_tanl): Force underflow exception for arguments with
26851         small absolute value.
26852         * math/auto-libm-test-in: Add more tests of tan.
26853         * math/auto-libm-test-out: Regenerated.
26855 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26857         Fix sysdeps/i386/fpu/s_scalbn.S build
26859         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
26861 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
26863         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26865 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26867         Fix gcrt0.o compilation
26869         When static-start-installed-name is different from
26870         start-installed-name, we must not use the shared objects.
26872         * csu/Makefile
26873         (extra-objs): Add gmon-start.o when building shared library and
26874         $(static-start-installed-name) is different from
26875         $(start-installed-name).
26876         $(objpfx)g$(static-start-installed-name): When building shared
26877         library and $(static-start-installed-name) is different from
26878         $(static-start-installed-name), revert to non-shared rule,
26879         i.e. using $(objpfx)% and gmon-start.o.
26881 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
26883         [BZ #16519]
26884         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
26885         (__ieee754_sinh): Force underflow exception for arguments with
26886         small absolute value.
26887         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
26888         (__ieee754_sinhf): Force underflow exception for arguments with
26889         small absolute value.
26890         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
26891         (__ieee754_sinhl): Force underflow exception for arguments with
26892         small absolute value.
26893         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
26894         (__ieee754_sinhl): Force underflow exception for arguments with
26895         small absolute value.
26896         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
26897         (__ieee754_sinhl): Force underflow exception for arguments with
26898         small absolute value.
26899         * math/auto-libm-test-in: Add more tests of sinh.
26900         * math/auto-libm-test-out: Regenerated.
26901         * sysdeps/i386/fpu/libm-test-ulps: Update.
26903 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26905         * libio/oldfileops.c: Include unistd.h.
26907 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
26909         * stdlib/isomac.c: Include ctype.h.
26911 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
26913         * dirent/tst-seekdir.c (main): Converted to ...
26914         (do_test): ... this.
26915         (TEST_FUNCTION): New macro.
26916         Include test-skeleton.c.
26917         * elf/tst-dlmodcount.c (main): Converted to ...
26918         (do_test): ... this.
26919         (TEST_FUNCTION): New macro.
26920         Include test-skeleton.c.
26921         * elf/tst-order-main.c (main): Converted to ...
26922         (do_test): ... this.
26923         (TEST_FUNCTION): New macro.
26924         Include test-skeleton.c.
26925         * elf/tst-pie2.c (main): Converted to ...
26926         (do_test): ... this.
26927         (TEST_FUNCTION): New macro.
26928         Include test-skeleton.c.
26929         * inet/tst-ether_aton.c (main): Converted to ...
26930         (do_test): ... this.
26931         (TEST_FUNCTION): New macro.
26932         Include test-skeleton.c.
26933         * misc/tst-mntent.c (main): Converted to ...
26934         (do_test): ... this.
26935         (TEST_FUNCTION): New macro.
26936         Include test-skeleton.c.
26937         * misc/tst-tsearch.c (main): Converted to ...
26938         (do_test): ... this.
26939         (TEST_FUNCTION): New macro.
26940         Include test-skeleton.c.
26941         * posix/tst-regexloc.c (main): Converted to ...
26942         (do_test): ... this.
26943         (TEST_FUNCTION): New macro.
26944         Include test-skeleton.c.
26945         * resolv/tst-aton.c (main): Converted to ...
26946         (do_test): ... this.
26947         (TEST_FUNCTION): New macro.
26948         Include test-skeleton.c.
26949         * stdio-common/test-fwrite.c (main): Converted to ...
26950         (do_test): ... this.
26951         (TEST_FUNCTION): New macro.
26952         Include test-skeleton.c.
26953         * stdio-common/tst-ferror.c (main): Converted to ...
26954         (do_test): ... this.
26955         (TEST_FUNCTION): New macro.
26956         Include test-skeleton.c.
26957         * stdio-common/tst-printf.c (main): Converted to ...
26958         (do_test): ... this.
26959         (TEST_FUNCTION): New macro.
26960         Include test-skeleton.c.
26961         * stdio-common/tst-printfsz.c (main): Converted to ...
26962         (do_test): ... this.
26963         (TEST_FUNCTION): New macro.
26964         Include test-skeleton.c.
26965         * stdlib/tst-strtod.c (main): Converted to ...
26966         (do_test): ... this.
26967         (TEST_FUNCTION): New macro.
26968         Include test-skeleton.c.
26969         * string/tst-strlen.c (main): Converted to ...
26970         (do_test): ... this.
26971         (TEST_FUNCTION): New macro.
26972         Include test-skeleton.c.
26973         * string/tst-svc.c (main): Converted to ...
26974         (do_test): ... this.
26975         (TEST_FUNCTION): New macro.
26976         Include test-skeleton.c.
26977         * time/tst-strptime.c (main): Converted to ...
26978         (do_test): ... this.
26979         (TEST_FUNCTION): New macro.
26980         Include test-skeleton.c.
26981         * timezone/tst-timezone.c (main): Converted to ...
26982         (do_test): ... this.
26983         (TEST_FUNCTION): New macro.
26984         Include test-skeleton.c.
26986 2015-08-05  Zack Weinberg  <zackw@panix.com>
26988         * misc/regexp.h: Update comments.
26990 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
26992         [BZ #18635]
26993         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
26994         before return label.
26996 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26998         [BZ #18661]
26999         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
27000         when calling __errno_location.
27001         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
27002         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
27004 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27006         [BZ #18661]
27007         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
27008         (__lll_timedwait_tid): Align stack to 16 bytes when calling
27009         __gettimeofday.
27011 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27013         [BZ #18661]
27014         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27015         (__start_context): Don't use pop to restore %rdi so that stack
27016         is aligned to 16 bytes when calling __setcontext.
27018 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27020         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
27021         only for libc.
27022         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27024 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27026         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
27027         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
27028         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
27030 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27032         * string/memccpy.c (memccpy):
27033         Improve performance by using memchr/memcpy/__mempcpy.
27035 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27037         * string/strncpy.c (strncpy):
27038         Improve performance by using __strnlen/memcpy.
27040 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27042         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27043         Optimize to avoid an unnecessary FPCR read.
27045 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27047         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27048         Optimize to reduce FPCR/FPSR accesses.
27050 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27052         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
27053         dead->data[category] != NULL.
27055 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
27057         [BZ #18647]
27058         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
27059         and |x| close to 1, use absolute value of x when computing log.
27060         * math/auto-libm-test-in: Add more tests of pow.
27061         * math/auto-libm-test-out: Regenerated.
27063 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27065         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
27066         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
27067         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
27069 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
27071         [BZ #18525]
27072         * locales/km_KH: Remove timezone definition.
27073         * locales/lo_LA: Likewise.
27074         * locales/my_MM: Likewise.
27075         * locales/nan_TW@latin: Likewise.
27076         * locales/th_TH: Likewise.
27077         * locales/uk_UA: Likewise.
27079 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27081         [BZ #18265]
27082         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
27083         (wcsncat): Likewise.
27084         (wcscmp): Likewise.
27085         (wcsncmp): Likewise.
27087 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27089         * test-skeleton.c (usage): New function.
27090         (main): Call usage when opt is '?'.
27092 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27094         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
27095         before first use.
27097 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27099         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
27100         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
27101         in there too.
27103 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
27105         * version.h (RELEASE): Set to "development".
27106         (VERSION): Set to "2.22.90"
27108         * version.h (RELEASE): Set to "stable".
27109         (VERSION): Set to "2.22"
27110         * include/features.h (__GLIBC_MINOR__): Set to 22.
27112 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
27114         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
27115         Restructure macro to avoid "value computed is not used" warning.
27116         (atomic_compare_and_exchange_val_acq): Likewise.
27118 2015-08-04  Andreas Schwab  <schwab@suse.de>
27120         [BZ #18635]
27121         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
27122         ret.
27123         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
27125 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
27127         * po/pl.po: Updated translation.
27128         * po/uk.po: Likewise.
27129         * po/fi.po: Likewise.
27130         * po/ko.po: Likewise.
27131         * po/ru.po: Likewise.
27132         * po/vi.po: Likewise.
27134 2015-07-31  Zack Weinberg  <zackw@panix.com>
27136         [BZ #18681]
27137         * regexp.h: Add unconditional #warning stating that this header
27138         will be removed soon.  Revise banner comment to match.
27139         (compile): Consistently use ERROR instead of RETURN to report
27140         errors (partial fix for BZ #18681).
27141         * regexp.c: Don't include regexp.h. Remove some unnecessary
27142         declarations.
27144 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
27146         * po/libc.pot: Regenerated.
27148 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27150         [BZ #18740]
27151         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
27152         float-vlen4-arch-ext-cflags): Removed.
27153         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
27154         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
27156 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27158         [BZ #14113]
27159         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
27160         aligned to __aligned__.
27161         (pthread_cond_t, pthread_rwlock_t): Likewise.
27163 2015-07-30  Torvald Riegel  <triegel@redhat.com>
27165         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
27167 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27169         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
27170         (struct sigaction): Change sa_flags from a long to an int, and add
27171         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
27173 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27175         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
27176         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
27177         sysdeps/generic/sysdep.h include.
27178         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
27179         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
27180         sysdeps/hppa/sysdep.h.
27181         (ENTRY, PSEUDO): Undefine before defining.
27183 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27185         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
27186         from scratch to use INTERNAL_SYSCALL.
27188 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
27190         [BZ #18078]
27191         * scripts/check-localplt.awk: Support alternate relocations.
27192         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
27193         sections.
27194         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
27195         malloc entries with + REL R_386_GLOB_DAT.
27196         * sysdeps/x86_64/localplt.data: New file.
27198 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
27200         [BZ #18731]
27201         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
27202         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27203         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27205 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27207         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
27209 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27211         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
27212         directly in terms of __sync_fetch_and_add and delete (int) cast.
27214 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27216         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
27217         the -D_ASM_IA64_CURRENT_H flag.
27219 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27221         [BZ #18641]
27222         * pwd/pwd.h (putpwent): Delete __nonnull markings.
27224 2015-07-27  Andreas Schwab  <schwab@suse.de>
27226         * conform/conformtest.pl (checknamespace): Filter out string
27227         literals while tokenizing.
27229 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27231         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27232         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
27233         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27235 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27237         * nptl/tst-join7mod.c: Add #include <string.h>.
27239 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27241         * sysdeps/nios2/libm-test-ulps: Update.
27243 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27245         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
27246         Fix order of arguments to the rt_sigprocmask syscall.
27247         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
27248         Likewise.
27250 2015-07-24  Roland McGrath  <roland@hack.frob.com>
27252         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
27254 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27256         [BZ #18457]
27257         * nptl/Makefile (tests): New test case tst-join7.
27258         (modules-names): New test case module tst-join7mod.
27259         * nptl/tst-join7.c: New file.
27260         * nptl/tst-join7mod.c: New file.
27261         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
27262         all translation units in libc.so, libpthread.so and rtld.
27264 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27268 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27270         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
27271         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27272         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27273         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27274         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27275         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27276         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27277         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27278         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27279         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27280         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27281         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27282         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
27283         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
27284         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
27285         implementation.
27287 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27289         [BZ #17711]
27290         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27291         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
27292         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27293         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27294         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
27295         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27297 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27299         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
27300         instead of just saying load lock in the comments.
27302 2015-07-23  Roland McGrath  <roland@hack.frob.com>
27304         * sysdeps/unix/Subdirs: Moved ...
27305         * sysdeps/posix/Subdirs: ... here.
27306         * login/pty.h (struct termios, struct winsize): Add forward decls.
27307         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
27308         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
27309         * sysdeps/arm/nacl/libc.abilist: Updated.
27310         * sysdeps/nacl/libutil.abilist: New file.
27312         * bits/signum.h: Update comments to mention 1003.1-2013 too.
27313         (SIGWINCH): New macro.
27315         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
27316         * sysdeps/arm/nacl/libc.abilist: Add it.
27318 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27320         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
27322 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27324         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27325         Swap __glibc_reserved0 and sa_flags order.
27327 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27329         [BZ #18657]
27330         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
27331         are pending TLS destructor calls.
27332         * include/link.h (struct link_map): Add concurrency note for
27333         L_TLS_DTOR_COUNT.
27334         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27335         Don't touch the link map flag.  Atomically increment
27336         l_tls_dtor_count.
27337         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
27338         Avoid taking the load lock and don't touch the link map flag.
27339         * stdlib/tst-tls-atexit-nodelete.c: New test case.
27340         * stdlib/Makefile (tests): Use it.
27341         * stdlib/tst-tls-atexit.c (do_test): dlopen
27342         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
27343         to allow tst-tls-atexit-nodelete test case to use it.
27345 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27347         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
27348         to bits/types.h.
27349         (msgqnum_t): New typedef.
27350         (msglen_t): Likewise.
27351         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
27352         and msg_qbytes type to msglen_t.
27354 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27356         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
27357         pad0 to __glibc_reserved0.
27358         (struct stat64): Likewise.
27360 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27362         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27363         Change sa_flags from a long to an int and add __glibc_reserved0 before
27364         it for padding.
27366 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27368         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
27369         anonymous by deleting "siginfo" name.
27371 2015-07-21  Roland McGrath  <roland@hack.frob.com>
27373         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
27374         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
27375         rather than __nacl_irt_filename.
27376         * sysdeps/nacl/xstat.c (__xstat): Likewise.
27378         * NEWS: New item for arm-nacl port.
27379         * sysdeps/arm/nacl/libc.abilist: New file.
27380         * sysdeps/nacl/ld.abilist: New file.
27381         * sysdeps/nacl/libBrokenLocale.abilist: New file.
27382         * sysdeps/nacl/libanl.abilist: New file.
27383         * sysdeps/nacl/libcrypt.abilist: New file.
27384         * sysdeps/nacl/libdl.abilist: New file.
27385         * sysdeps/nacl/libm.abilist: New file.
27386         * sysdeps/nacl/libpthread.abilist: New file.
27387         * sysdeps/nacl/libresolv.abilist: New file.
27388         * sysdeps/nacl/librt.abilist: New file.
27390 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
27392         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
27393         __startcontext to initialize the new context.
27394         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
27395         up CFI directive to forbid further backtracing.
27397 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
27399         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
27400         reference.
27401         * charmaps/ANSI_X3.4-1968: Likewise.
27402         * charmaps/BS_4730: Likewise.
27403         * charmaps/BS_VIEWDATA: Likewise.
27404         * charmaps/CP1250: Likewise.
27405         * charmaps/CP1251: Likewise.
27406         * charmaps/CP1252: Likewise.
27407         * charmaps/CP1253: Likewise.
27408         * charmaps/CP1254: Likewise.
27409         * charmaps/CP1255: Likewise.
27410         * charmaps/CP1256: Likewise.
27411         * charmaps/CSN_369103: Likewise.
27412         * charmaps/EBCDIC-DK-NO: Likewise.
27413         * charmaps/GB_1988-80: Likewise.
27414         * charmaps/GREEK-CCITT: Likewise.
27415         * charmaps/GREEK7: Likewise.
27416         * charmaps/INIS-8: Likewise.
27417         * charmaps/ISIRI-3342: Likewise.
27418         * charmaps/ISO_2033-1983: Likewise.
27419         * charmaps/ISO_5427-EXT: Likewise.
27420         * locales/POSIX: Likewise.
27421         * locales/ar_SA: Likewise.
27422         * locales/be_BY: Likewise.
27423         * locales/be_BY@latin: Likewise.
27424         * locales/ca_ES: Likewise.
27425         * locales/cs_CZ: Likewise.
27426         * locales/da_DK: Likewise.
27427         * locales/de_BE: Likewise.
27428         * locales/de_CH: Likewise.
27429         * locales/de_LU: Likewise.
27430         * locales/en_AU: Likewise.
27431         * locales/en_BW: Likewise.
27432         * locales/en_CA: Likewise.
27433         * locales/en_DK: Likewise.
27434         * locales/en_GB: Likewise.
27435         * locales/en_IE: Likewise.
27436         * locales/en_NZ: Likewise.
27437         * locales/en_ZA: Likewise.
27438         * locales/en_ZW: Likewise.
27439         * locales/es_AR: Likewise.
27440         * locales/es_BO: Likewise.
27441         * locales/es_CL: Likewise.
27442         * locales/es_CO: Likewise.
27443         * locales/es_DO: Likewise.
27444         * locales/es_EC: Likewise.
27445         * locales/es_ES: Likewise.
27446         * locales/es_HN: Likewise.
27447         * locales/es_MX: Likewise.
27448         * locales/es_PA: Likewise.
27449         * locales/es_PE: Likewise.
27450         * locales/es_PY: Likewise.
27451         * locales/es_SV: Likewise.
27452         * locales/es_US: Likewise.
27453         * locales/es_UY: Likewise.
27454         * locales/es_VE: Likewise.
27455         * locales/et_EE: Likewise.
27456         * locales/fa_IR: Likewise.
27457         * locales/fo_FO: Likewise.
27458         * locales/fr_CA: Likewise.
27459         * locales/fr_CH: Likewise.
27460         * locales/gv_GB: Likewise.
27461         * locales/he_IL: Likewise.
27462         * locales/hr_HR: Likewise.
27463         * locales/id_ID: Likewise.
27464         * locales/is_IS: Likewise.
27465         * locales/it_CH: Likewise.
27466         * locales/iw_IL: Likewise.
27467         * locales/kl_GL: Likewise.
27468         * locales/ko_KR: Likewise.
27469         * locales/kw_GB: Likewise.
27470         * locales/lg_UG: Likewise.
27471         * locales/lt_LT: Likewise.
27472         * locales/lv_LV: Likewise.
27473         * locales/mi_NZ: Likewise.
27474         * locales/nhn_MX: Likewise.
27475         * locales/nl_BE: Likewise.
27476         * locales/pl_PL: Likewise.
27477         * locales/sk_SK: Likewise.
27478         * locales/sl_SI: Likewise.
27479         * locales/sv_FI: Likewise.
27480         * locales/tl_PH: Likewise.
27481         * locales/tr_TR: Likewise.
27482         * locales/vi_VN: Likewise.
27484 2015-07-21  Khem Raj  <raj.khem@gmail.com>
27486         [BZ #17475]
27487         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
27488         of tu_IN and bh_IN.
27490 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
27492         [BZ #18694]
27493         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
27494         bits/wordsize.h.
27495         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
27497 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27499         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
27500         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
27501         (spawn_thread): New function.
27502         (load): Rename to reg_dtor_and_close.  Move dlopen to...
27503         (do_test): ... here.  Use IS_LOADED to test for its
27504         availability.
27506 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
27508         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27510 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
27512         [BZ #18696]
27513         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
27514         si_addr_bnd.
27515         (si_lower): New.
27516         (si_upper): Likewise.
27518 2015-07-16  David S. Miller  <davem@davemloft.net>
27520         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
27522 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27524         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
27525         buffer.
27526         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
27527         fail output information.
27529 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
27532         and strstr-ppc64..
27533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27534         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
27535         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
27536         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
27537         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
27539 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27541         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27542         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27543         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27544         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27546 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27548         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27549         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
27550         rtld_hidden_proto.
27551         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
27553 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27555         * tst-nodelete-opened.c (do_test): Add comment to clarify how
27556         the test can fail.
27558         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
27560         [BZ #18676]
27561         * elf/tst-nodelete-opened.c: New test case.
27562         * elf/tst-nodelete-opened-lib.c: New test case module.
27563         * elf/Makefile (tests, modules-names): Use them.
27564         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
27565         early.
27567 2015-07-15  David S. Miller  <davem@davemloft.net>
27569         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
27570         futex-intenal.h
27571         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
27572         * sysdeps/sparc/sparc64/Makefile: Likewise.
27573         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27574         Remove space from macro define.
27575         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
27577 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
27579         [BZ #17475]
27580         * locale/iso-639.def: Update Bhili and Tulu language codes as
27581         per iso639-3.
27583 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
27585         * elf/tst-leaks1.c (main): Converted to ...
27586         (do_test): ... this.
27587         (TEST_FUNCTION): New macro.
27588         Include test-skeleton.c.
27589         * localedata/tst-langinfo.c (main): Converted to ...
27590         (do_test): ... this.
27591         (TEST_FUNCTION): New macro.
27592         Include test-skeleton.c.
27593         * math/test-fpucw.c (main): Converted to ...
27594         (do_test): ... this.
27595         (TEST_FUNCTION): New macro.
27596         Include test-skeleton.c.
27597         * math/test-tgmath.c (main): Converted to ...
27598         (do_test): ... this.
27599         (TEST_FUNCTION): New macro.
27600         Include test-skeleton.c.
27601         * math/test-tgmath2.c (main): Converted to ...
27602         (do_test): ... this.
27603         (TEST_FUNCTION): New macro.
27604         Include test-skeleton.c.
27605         * setjmp/tst-setjmp.c (main): Converted to ...
27606         (do_test): ... this.
27607         (TEST_FUNCTION): New macro.
27608         Include test-skeleton.c.
27609         * stdio-common/tst-sscanf.c (main): Converted to ...
27610         (do_test): ... this.
27611         (TEST_FUNCTION): New macro.
27612         Include test-skeleton.c.
27613         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
27614         (do_test): ... this.
27615         (TEST_FUNCTION): New macro.
27616         Include test-skeleton.c.
27618         * elf/tst-audit9.c (main): Converted to ...
27619         (do_test): ... this.
27620         (TEST_FUNCTION): New macro.
27621         Include test-skeleton.c.
27623 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
27625         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
27627 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
27629         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
27630         New variable.
27632 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
27634         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27636 2015-07-14  Roland McGrath  <roland@hack.frob.com>
27638         * sysdeps/generic/dl-fileid.h: New file.
27639         * sysdeps/posix/dl-fileid.h: New file.
27640         * sysdeps/nacl/dl-fileid.h: New file.
27641         * include/link.h: Include <dl-fileid.h>.
27642         (struct link_map): Replace l_dev and l_ino with l_file_id.
27643         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
27644         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
27645         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
27647 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27649         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
27651 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27653         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
27654         Add iff $CXX is set.
27655         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
27656         Likewise.
27657         (tst-nodelete-zmodiff): Likewise.
27658         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
27660 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27662         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
27664 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
27666         * sysdeps/aarch64/fpu/math_private.h
27667         (define math_opt_barrier): Add AArch64 version.
27668         (math_force_eval): Likewise.
27670 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
27672         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
27674 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
27676         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
27677         %ld with %jd and cast to intmax_t.
27678         (do_test_length_zero): Likewise.
27680 2015-07-10  Roland McGrath  <roland@hack.frob.com>
27682         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
27684 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
27686         * sysdeps/tile/libm-test-ulps: Regenerated.
27688         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
27689         Comment out the whole function, not just its body.
27691 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27693         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
27694         locks.
27696         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
27698 2015-07-10  Torvald Riegel  <triegel@redhat.com>
27700         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
27701         (sem_assume_only_signals_cause_futex_EINTR): Remove.
27703 2015-07-10  Torvald Riegel  <triegel@redhat.com>
27705         * sysdeps/nptl/futex-internal.h: New file.
27706         * sysdeps/nacl/futex-internal.h: New file.
27707         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
27708         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
27709         error checking.
27710         (setxid_unmark_thread): Likewise.
27711         (__nptl_setxid): Likewise.
27712         (__wait_lookup_done): Likewise.
27713         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27714         * nptl/nptl-init.c (sighandler_setxid): Likewise.
27715         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27716         * nptl/pthread_once.c (clear_once_control): Likewise.
27717         (__pthread_once_slow): Likewise.
27718         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27719         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
27720         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
27721         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27722         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
27723         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
27724         Likewise.
27725         (__pthread_rwlock_rdlock): Likewise.
27726         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27727         Likewise.
27728         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27729         Likewise.
27730         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27731         Likewise.
27732         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
27733         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
27734         Likewise.
27735         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
27736         __ASSUME_PRIVATE_FUTEX check.
27737         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
27738         Check that shared futexes are supported.
27739         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
27740         wrappers with error checking.
27741         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
27742         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
27743         * nptl/pthread_barrierattr_setpshared.c
27744         (pthread_barrierattr_setpshared): Check that shared futexes are
27745         supported.
27746         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
27747         Likewise.
27748         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
27749         Likewise.
27750         * nptl/sem_init.c (futex_private_if_supported): Remove.
27751         (__new_sem_init): Adapt and check that shared futexes are supported.
27752         * nptl/sem_open.c (sem_open): Likewise.
27753         * nptl/sem_post.c (futex_wake): Remove.
27754         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
27755         (do_futex_wait): Use futex wrappers with error checking.
27756         * nptl/sem_wait.c: Include lowlevellock.h.
27757         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
27758         Use futex_supports_pshared.
27759         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
27760         Use futex wrappers with error checking.
27761         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
27762         Likewise.
27763         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
27764         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
27765         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
27766         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
27767         (futex_wake): Likewise.
27768         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
27769         (do_futex_wait): Use futex wrappers with error checking.
27770         (__new_sem_wait_slow): Update EINTR handling.
27771         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
27773 2015-07-09  Martin Sebor  <msebor@redhat.com>
27775         [BZ #18435]
27776         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27777         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
27778         * nptl/Makefile (test-xfail-tst-once5): Define.
27780 2015-07-09  Roland McGrath  <roland@hack.frob.com>
27782         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
27783         * elf/dl-minimal.c: For readability, reorder some definitions and
27784         introduce more page breaks.  Include <stdio.h>.
27785         (__libc_fatal): New function.
27787         * include/unistd.h: Add rtld_hidden_proto for _exit.
27788         * posix/_exit.c: Add rtld_hidden_def.
27789         * sysdeps/mach/hurd/_exit.c: Likewise.
27790         * sysdeps/nacl/_exit.c: Likewise.
27791         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
27792         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
27794 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
27796         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
27797         bndmov encoding with zero displacement.
27799 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27800             H.J. Lu  <hongjiu.lu@intel.com>
27802         [BZ #18134]
27803         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
27804         * sysdeps/i386/configure: Regenerated.
27805         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27806         (_dl_runtime_profile): Save and restore Intel MPX return bound
27807         registers when calling _dl_call_pltexit.  Add
27808         PRESERVE_BND_REGS_PREFIX before return.
27809         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
27810         (LRV_BND1_OFFSET): Likewise.
27811         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
27812         lrv_bnd1.
27813         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
27814         typo in bndmov encoding.
27815         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
27816         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
27817         branch instructions to preserve bounds.
27819 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
27822         [GLIBC_2.22]: Add fmemopen.
27824 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27826         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
27827         returns an error, also try to use host port from __mach_host_self for
27828         the __vm_wire call.
27829         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
27831 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27833         [BZ #18400]
27834         [BZ #18648]
27835         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
27836         Fix pr_uid and pr_gid members.
27837         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
27838         definition to elf_greg_t.
27840 2015-07-08  Roland McGrath  <roland@hack.frob.com>
27842         [BZ #18383]
27843         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
27844         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
27845         * sysdeps/arm/configure: Regenerated.
27846         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
27847         (test-xfail-tst-tlsalign-static): Variable removed.
27849         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
27850         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
27851         rather than explicit 'ln -s'.
27853         * resolv/rpc/netdb.h: New file.
27854         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
27856 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27858         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
27859         length buffers.
27860         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27861         test-skeleton.c.
27863         [BZ #6544]
27864         [BZ #11216]
27865         [BZ #12836]
27866         [BZ #13151]
27867         [BZ #13152]
27868         [BZ #14292]
27869         * include/stdio.h (fmemopen): Remove hidden prototype.
27870         (__fmemopen): Add new hidden prototype.
27871         * libio/Makefile: Add oldfmemopen object.
27872         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
27873         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
27874         compliance.
27875         * libio/oldfmemopen.c: New file: old fmemopen implementation for
27876         symbol compatibility.
27877         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
27878         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
27879         fmemopen.
27880         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
27881         on append and read mode.
27882         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
27883         fmemopen.
27884         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
27885         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
27886         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
27887         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
27888         Likewise.
27889         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
27890         [GLIBC_2.22]: Likewise.
27891         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
27892         Likewise.
27893         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
27894         Likewise.
27895         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
27896         [GLIBC_2.22]: Likewise.
27897         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
27898         [GLIBC_2.22]: Likewise.
27899         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
27900         [GLIBC_2.22]: Likewise.
27901         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
27902         [GLIBC_2.22]: Likewise.
27903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
27904         [GLIBC_2.22]: Likewise.
27905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
27906         [GLIBC_2.22]: Likewise.
27907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
27908         [GLIBC_2.22]: Likewise.
27909         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
27910         Likewise.
27911         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
27912         Likewise.
27913         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
27914         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
27915         [GLIBC_2.22]: Likewise.
27916         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
27917         [GLIBC_2.22]: Likewise.
27918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
27919         [GLIBC_2.22]: Likewise.
27920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
27921         [GLIBC_2.22]: Likewise.
27922         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
27923         Likewise.
27924         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
27925         Likewise.
27926         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
27927         Likewise.
27928         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
27929         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
27931 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27933         [BZ #18643]
27934         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
27935         IPV6_PATHMTU, and IPV6_DONTFRAG.
27937 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
27939         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
27940         and _IO_UNBUFFERED.
27941         * libio/oldfileops.c: Likewise.
27942         * libio/wfileops.c: Likewise.
27944 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27946         * nscd/selinux.c: Delete selinux/flask.h include.
27948 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27950         [BZ #18641]
27951         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
27952         (putpwent): Likewise.
27953         (getpwnam): Likewise.
27954         (getpwent_r): Likewise.
27955         (getpwuid_r): Likewise.
27956         (getpwnam_r): Likewise.
27957         (fgetpwent_r): Likewise.
27959 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27961         [BZ #18557]
27962         * inet/rcmd.c (__validuser2_sa): Check user first to
27963         short-circuit host check.
27965 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
27966             Mikhail Ilin  <m.ilin@samsung.com>
27968         [BZ #17833]
27969         * elf/Makefile (tests): Add tst-nodelete.
27970         (modules-names): Add tst-nodelete-uniquemod.
27971         (tst-nodelete-uniquemod.so-no-z-defs): New.
27972         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
27973         (tst-nodelete-zmod.so-no-z-defs): Likewise.
27974         ($(objpfx)tst-nodelete): Likewise.
27975         ($(objpfx)tst-nodelete.out): Likewise.
27976         (LDFLAGS-tst-nodelete): Likewise.
27977         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
27978         * elf/dl-close.c (_dl_close_worker): Add a parameter to
27979         implement forced object deletion.
27980         (_dl_close): Pass false to _dl_close_worker.
27981         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
27982         * elf/tst-nodelete.cc: New file.
27983         * elf/tst-nodeletelib.cc: Likewise.
27984         * elf/tst-znodeletelib.cc: Likewise.
27985         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
27987 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27989         [BZ #18508]
27990         * stdlib/Makefile ($(objpfx)tst-makecontext3):
27991         Depend on $(libdl).
27992         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
27993         is not called infinitely times.
27994         (backtrace_helper): New function.
27995         (trace_arg): New struct.
27996         (st1): Enlarge stack size.
27997         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27998         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
27999         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28000         Likewise.
28002 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28004         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28006 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28008         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
28009         Include sys/types.h instead of bits/types.h.
28010         Remove inclusion of bits/wordsize.h.
28012 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28014         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
28015         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
28016         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
28017         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
28018         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
28019         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
28021 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28023         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
28024         link-defines.sym.
28025         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
28026         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
28027         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
28028         and LR_SIZE.
28029         * sysdeps/i386/link-defines.sym: New file.
28031 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28033         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
28034         (modules-names): Add tst-auditmod3a tst-auditmod3b.
28035         ($(objpfx)tst-audit3): New rule.
28036         ($(objpfx)tst-audit3.out): Likewise.
28037         * sysdeps/i386/tst-audit3.c: New file.
28038         * sysdeps/i386/tst-audit3.h: Likewise.
28039         * sysdeps/i386/tst-auditmod3a.c: Likewise.
28040         * sysdeps/i386/tst-auditmod3b.c: Likewise.
28042 2015-07-07  Torvald Riegel  <triegel@redhat.com>
28044         [BZ #18633]
28045         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
28046         pointer in C code.
28047         (__strcat_c): Likewise.
28048         (__strcat_g): Likewise.
28050 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
28052         [BZ #18592]
28053         * misc/sbrk.c: Set errno to ENOMEM on overflow.
28055 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28057         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
28058         New function.  (__ieee754_sqrtf): New function.
28059         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
28060         New function.
28061         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
28062         New function.
28064 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28066         * sysdeps/ieee754/support.c: Remove unused file.
28068 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28070         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
28071         registers instead of d ones so the layout is kernel abi compatible.
28072         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
28073         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
28074         Likewise.
28076 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28078         * sysdeps/aarch64/libm-test-ulps: Regenerated.
28080 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28082         [BZ #18619]
28083         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
28084         and return argument in case of subnormal argument.
28086 2015-07-01  Martin Sebor  <msebor@redhat.com>
28088         [BZ #18435]
28089         * nptl/Makefile: Add tst-once5.cc.
28090         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28091         Remove macro redefinitions.
28092         * nptl/tst-once5.cc: New test.
28094 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28096         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28098         * sysdeps/arm/libm-test-ulps: Regenerated.
28100         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28101         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28103 2015-06-30  Torvald Riegel  <triegel@redhat.com>
28105         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
28106         lll_lock_wait_private and lll_futex_wake probes.
28108         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28109         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
28110         Likewise.
28111         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
28112         atomic_spin_nop.
28113         * sysdeps/x86_64/bits/atomic.h: Likewise.
28114         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
28115         to atomic_spin_nop and move ...
28116         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28117         ... here and ...
28118         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
28119         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
28120         atomic_spin_nop instead of BUSY_WAIT_NOP.
28121         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
28122         Likewise.
28123         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
28124         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28125         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
28126         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
28127         instead of atomic_delay.
28129 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
28131         [BZ #18613]
28132         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
28133         X_ADJ not X when adjusting exponent.
28134         (__ieee754_gamma_r): Do intermediate computations in
28135         round-to-nearest then adjust overflowing and underflowing results
28136         as needed.
28137         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
28138         of X_ADJ not X when adjusting exponent.
28139         (__ieee754_gammaf_r): Do intermediate computations in
28140         round-to-nearest then adjust overflowing and underflowing results
28141         as needed.
28142         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
28143         log of X_ADJ not X when adjusting exponent.
28144         (__ieee754_gammal_r): Do intermediate computations in
28145         round-to-nearest then adjust overflowing and underflowing results
28146         as needed.  Use 1.0L not 1.0f as numerator of division.
28147         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
28148         log of X_ADJ not X when adjusting exponent.
28149         (__ieee754_gammal_r): Do intermediate computations in
28150         round-to-nearest then adjust overflowing and underflowing results
28151         as needed.  Use 1.0L not 1.0f as numerator of division.
28152         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
28153         of X_ADJ not X when adjusting exponent.
28154         (__ieee754_gammal_r): Do intermediate computations in
28155         round-to-nearest then adjust overflowing and underflowing results
28156         as needed.  Use 1.0L not 1.0f as numerator of division.
28157         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
28158         to auto-libm-test-in.
28159         (tgamma_test): Use ALL_RM_TEST.
28160         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
28161         tests of tgamma with spurious-overflow.
28162         * math/auto-libm-test-out: Regenerated.
28163         * math/gen-libm-have-vector-test.sh: Do not check for START.
28164         * sysdeps/i386/fpu/libm-test-ulps: Update.
28165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28167         [BZ #18612]
28168         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
28169         arguments, just return 0.5 times the argument, with underflow
28170         forced as needed.
28171         * math/auto-libm-test-in: Add more tests of j1.
28172         * math/auto-libm-test-out: Regenerated.
28174         [BZ #16559]
28175         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
28176         (__ieee754_j1): Force underflow exception for small results.
28177         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28178         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
28179         (__ieee754_j1f): Force underflow exception for small results.
28180         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28181         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28182         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28183         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
28184         (__ieee754_j1l): Force underflow exception for small results.
28185         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28186         * math/auto-libm-test-in: Add more tests of j1 and jn.
28187         * math/auto-libm-test-out: Regenerated.
28189         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
28190         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
28191         (PF_MPLS): Likewise.
28192         (AF_IB): Likewise.
28193         (AF_MPLS): Likewise.
28194         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
28195         value and macro.
28196         (MS_RMT_MASK): Include MS_LAZYTIME.
28198 2015-06-26  Mel Gorman  <mgorman@suse.de>
28200         [BZ #18502]
28201         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
28202         already minimal.
28204 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
28206         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
28207         (DT_MIPS_NUM): Update.
28208         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
28209         DT_MIPS_RLD_MAP_REL.
28211 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
28213         [BZ #16559]
28214         [BZ #18602]
28215         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
28216         round-to-nearest internally then recompute results that
28217         underflowed to zero in the original rounding mode.
28218         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28219         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28220         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28221         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28222         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
28223         * sysdeps/i386/fpu/libm-test-ulps: Update.
28224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28226 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28228         * NEWS: Fixed description of link with vector math library.
28230 2015-06-25  Andreas Schwab  <schwab@suse.de>
28232         [BZ #18549]
28233         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
28234         * libio/test-fmemopen.c (do_test): Add test for it.
28236 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28238         [BZ #17841]
28239         * Makeconfig (no-pie-ldflag): New.
28240         (+link): Set to $(+link-pie) if default to PIE.
28241         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
28242         * config.make.in (build-pie-default): New.
28243         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
28244         is default.  AC_SUBST.
28245         * configure: Regenerated.
28246         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
28248 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28250         * nptl/descr.h (struct pthread): Change type of field setxid_futex
28251         to 'unsigned int'.
28253         * resolv/gai_misc.h (struct waitlist): Change type of field
28254         counterp to 'volatile unsigned int *'.
28255         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
28256         FUTEXADDR and OLDVAL.
28257         * resolv/getaddrinfo_a.c (getaddrinfo_a):
28258         Give local variable TOTAL type 'volatile unsigned int'.
28259         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28260         * resolv/gai_suspend.c (gai_suspend):
28261         Give local variable CNTR type 'unsigned int'.
28263         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
28264         counterp to 'volatile unsigned int *'.
28265         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
28266         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
28267         (aio_suspend): Give local variable CNTR type 'unsigned int'.
28268         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
28269         Give local variable TOTAL type 'volatile unsigned int'.
28270         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28272 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28274         [BZ #18383]
28275         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
28276         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
28277         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
28278         comment for i386/x86-64.
28279         (test-xfail-tst-tlsalign-extern-static): Removed.
28281 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28283         * math/test-double.h: New file.
28284         * math/test-float.h: Likewise.
28285         * math/test-ldouble.h: Likewise.
28286         * math/test-math-inline.h: Likewise.
28287         * math/test-math-no-inline.h: Likewise.
28288         * math/test-math-scalar.h: Likewise.
28289         * math/test-math-vector.h: Likewise.
28290         * math/test-vec-loop.h: Remove file.  Contents moved into
28291         test-math-vector.h.
28292         * math/libm-test.inc (MATHCONST): Do not document macro.
28293         * math/test-double.c: Include test-double.h, test-math-no-inline.h
28294         and test-math-scalar.h.
28295         (FUNC): Remove macro.
28296         (FUNC_TEST): Likewise.
28297         (FLOAT): Likewise.
28298         (MATHCONST): Likewise.
28299         (PRINTF_EXPR): Likewise.
28300         (PRINTF_XEXPR): Likewise.
28301         (PRINTF_NEXPR): Likewise.
28302         (TEST_DOUBLE): Likewise.
28303         (TEST_MATHVEC): Likewise.
28304         (__NO_MATH_INLINES): Likewise.
28305         * math/test-float.c: Include test-float.h, test-math-no-inline.h
28306         and test-math-scalar.h.
28307         (FUNC): Remove macro.
28308         (FUNC_TEST): Likewise.
28309         (FLOAT): Likewise.
28310         (MATHCONST): Likewise.
28311         (PRINTF_EXPR): Likewise.
28312         (PRINTF_XEXPR): Likewise.
28313         (PRINTF_NEXPR): Likewise.
28314         (TEST_FLOAT): Likewise.
28315         (TEST_MATHVEC): Likewise.
28316         (__NO_MATH_INLINES): Likewise.
28317         * math/test-idouble.c: Include test-double.h, test-math-inline.h
28318         and test-math-scalar.h.
28319         (FUNC): Remove macro.
28320         (FUNC_TEST): Likewise.
28321         (FLOAT): Likewise.
28322         (MATHCONST): Likewise.
28323         (PRINTF_EXPR): Likewise.
28324         (PRINTF_XEXPR): Likewise.
28325         (PRINTF_NEXPR): Likewise.
28326         (TEST_DOUBLE): Likewise.
28327         (TEST_MATHVEC): Likewise.
28328         (TEST_INLINE): Likewise.
28329         (__NO_MATH_INLINES): Likewise.
28330         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
28331         test-math-scalar.h.
28332         (FUNC): Remove macro.
28333         (FUNC_TEST): Likewise.
28334         (FLOAT): Likewise.
28335         (MATHCONST): Likewise.
28336         (PRINTF_EXPR): Likewise.
28337         (PRINTF_XEXPR): Likewise.
28338         (PRINTF_NEXPR): Likewise.
28339         (TEST_FLOAT): Likewise.
28340         (TEST_MATHVEC): Likewise.
28341         (TEST_INLINE): Likewise.
28342         (__NO_MATH_INLINES): Likewise.
28343         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
28344         and test-math-scalar.h.
28345         (FUNC): Remove macro.
28346         (FUNC_TEST): Likewise.
28347         (FLOAT): Likewise.
28348         (MATHCONST): Likewise.
28349         (PRINTF_EXPR): Likewise.
28350         (PRINTF_XEXPR): Likewise.
28351         (PRINTF_NEXPR): Likewise.
28352         (TEST_LDOUBLE): Likewise.
28353         (TEST_MATHVEC): Likewise.
28354         (TEST_INLINE): Likewise.
28355         (__NO_MATH_INLINES): Likewise.
28356         * math/test-ldouble.c: Include test-ldouble.h,
28357         test-math-no-inline.h and test-math-scalar.h.
28358         (FUNC): Remove macro.
28359         (FUNC_TEST): Likewise.
28360         (FLOAT): Likewise.
28361         (MATHCONST): Likewise.
28362         (PRINTF_EXPR): Likewise.
28363         (PRINTF_XEXPR): Likewise.
28364         (PRINTF_NEXPR): Likewise.
28365         (TEST_LDOUBLE): Likewise.
28366         (TEST_MATHVEC): Likewise.
28367         (__NO_MATH_INLINES): Likewise.
28368         * math/test-double-vlen2.h: Include test-double.h,
28369         test-math-no-inline.h and test-math-vector.h.
28370         (FLOAT): Remove macro.
28371         (FUNC): Likewise.
28372         (MATHCONST): Likewise.
28373         (PRINTF_EXPR): Likewise.
28374         (PRINTF_XEXPR): Likewise.
28375         (PRINTF_NEXPR): Likewise.
28376         (TEST_DOUBLE): Likewise.
28377         (TEST_MATHVEC): Likewise.
28378         (__NO_MATH_INLINES): Likewise.
28379         (CNCT): Likewise.
28380         (CONCAT): Likewise.
28381         (WRAPPER_NAME): Likewise.
28382         (WRAPPER_DECL): Likewise.
28383         (WRAPPER_DECL_ff): Likewise.
28384         (WRAPPER_DECL_fFF): Likewise.
28385         (VECTOR_WRAPPER): Likewise.
28386         (VECTOR_WRAPPER_ff): Likewise.
28387         (VECTOR_WRAPPER_fFF): Likewise.
28388         (VEC_LEN): New macro.
28389         * math/test-double-vlen4.h: Include test-double.h,
28390         test-math-no-inline.h and test-math-vector.h.
28391         (FLOAT): Remove macro.
28392         (FUNC): Likewise.
28393         (MATHCONST): Likewise.
28394         (PRINTF_EXPR): Likewise.
28395         (PRINTF_XEXPR): Likewise.
28396         (PRINTF_NEXPR): Likewise.
28397         (TEST_DOUBLE): Likewise.
28398         (TEST_MATHVEC): Likewise.
28399         (__NO_MATH_INLINES): Likewise.
28400         (CNCT): Likewise.
28401         (CONCAT): Likewise.
28402         (WRAPPER_NAME): Likewise.
28403         (WRAPPER_DECL): Likewise.
28404         (WRAPPER_DECL_ff): Likewise.
28405         (WRAPPER_DECL_fFF): Likewise.
28406         (VECTOR_WRAPPER): Likewise.
28407         (VECTOR_WRAPPER_ff): Likewise.
28408         (VECTOR_WRAPPER_fFF): Likewise.
28409         (VEC_LEN): New macro.
28410         * math/test-double-vlen8.h: Include test-double.h,
28411         test-math-no-inline.h and test-math-vector.h.
28412         (FLOAT): Remove macro.
28413         (FUNC): Likewise.
28414         (MATHCONST): Likewise.
28415         (PRINTF_EXPR): Likewise.
28416         (PRINTF_XEXPR): Likewise.
28417         (PRINTF_NEXPR): Likewise.
28418         (TEST_DOUBLE): Likewise.
28419         (TEST_MATHVEC): Likewise.
28420         (__NO_MATH_INLINES): Likewise.
28421         (CNCT): Likewise.
28422         (CONCAT): Likewise.
28423         (WRAPPER_NAME): Likewise.
28424         (WRAPPER_DECL): Likewise.
28425         (WRAPPER_DECL_ff): Likewise.
28426         (WRAPPER_DECL_fFF): Likewise.
28427         (VECTOR_WRAPPER): Likewise.
28428         (VECTOR_WRAPPER_ff): Likewise.
28429         (VECTOR_WRAPPER_fFF): Likewise.
28430         (VEC_LEN): New macro.
28431         * math/test-float-vlen4.h: Include test-float.h,
28432         test-math-no-inline.h and test-math-vector.h.
28433         (FLOAT): Remove macro.
28434         (FUNC): Likewise.
28435         (MATHCONST): Likewise.
28436         (PRINTF_EXPR): Likewise.
28437         (PRINTF_XEXPR): Likewise.
28438         (PRINTF_NEXPR): Likewise.
28439         (TEST_FLOAT): Likewise.
28440         (TEST_MATHVEC): Likewise.
28441         (__NO_MATH_INLINES): Likewise.
28442         (CNCT): Likewise.
28443         (CONCAT): Likewise.
28444         (WRAPPER_NAME): Likewise.
28445         (WRAPPER_DECL): Likewise.
28446         (WRAPPER_DECL_ff): Likewise.
28447         (WRAPPER_DECL_fFF): Likewise.
28448         (VECTOR_WRAPPER): Likewise.
28449         (VECTOR_WRAPPER_ff): Likewise.
28450         (VECTOR_WRAPPER_fFF): Likewise.
28451         (VEC_LEN): New macro.
28452         * math/test-float-vlen8.h: Include test-float.h,
28453         test-math-no-inline.h and test-math-vector.h.
28454         (FLOAT): Remove macro.
28455         (FUNC): Likewise.
28456         (MATHCONST): Likewise.
28457         (PRINTF_EXPR): Likewise.
28458         (PRINTF_XEXPR): Likewise.
28459         (PRINTF_NEXPR): Likewise.
28460         (TEST_FLOAT): Likewise.
28461         (TEST_MATHVEC): Likewise.
28462         (__NO_MATH_INLINES): Likewise.
28463         (CNCT): Likewise.
28464         (CONCAT): Likewise.
28465         (WRAPPER_NAME): Likewise.
28466         (WRAPPER_DECL): Likewise.
28467         (WRAPPER_DECL_ff): Likewise.
28468         (WRAPPER_DECL_fFF): Likewise.
28469         (VECTOR_WRAPPER): Likewise.
28470         (VECTOR_WRAPPER_ff): Likewise.
28471         (VECTOR_WRAPPER_fFF): Likewise.
28472         (VEC_LEN): New macro.
28473         * math/test-float-vlen16.h: Include test-float.h,
28474         test-math-no-inline.h and test-math-vector.h.
28475         (FLOAT): Remove macro.
28476         (FUNC): Likewise.
28477         (MATHCONST): Likewise.
28478         (PRINTF_EXPR): Likewise.
28479         (PRINTF_XEXPR): Likewise.
28480         (PRINTF_NEXPR): Likewise.
28481         (TEST_FLOAT): Likewise.
28482         (TEST_MATHVEC): Likewise.
28483         (__NO_MATH_INLINES): Likewise.
28484         (CNCT): Likewise.
28485         (CONCAT): Likewise.
28486         (WRAPPER_NAME): Likewise.
28487         (WRAPPER_DECL): Likewise.
28488         (WRAPPER_DECL_ff): Likewise.
28489         (WRAPPER_DECL_fFF): Likewise.
28490         (VECTOR_WRAPPER): Likewise.
28491         (VECTOR_WRAPPER_ff): Likewise.
28492         (VECTOR_WRAPPER_fFF): Likewise.
28493         (VEC_LEN): New macro.
28494         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
28495         test-vec-loop.h.
28496         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28497         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28498         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28499         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28500         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28501         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28502         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28504 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28506         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
28507         (__getlogin_r): ... this.
28509 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28511         [BZ #18594]
28512         * math/s_ccosh.c (__ccosh): Compare with least normal value
28513         instead of comparing class with FP_SUBNORMAL.
28514         * math/s_ccoshf.c (__ccoshf): Likewise.
28515         * math/s_ccoshl.c (__ccoshl): Likewise.
28516         * math/s_cexp.c (__cexp): Likewise.
28517         * math/s_cexpf.c (__cexpf): Likewise.
28518         * math/s_cexpl.c (__cexpl): Likewise.
28519         * math/s_csin.c (__csin): Likewise.
28520         * math/s_csinf.c (__csinf): Likewise.
28521         * math/s_csinh.c (__csinh): Likewise.
28522         * math/s_csinhf.c (__csinhf): Likewise.
28523         * math/s_csinhl.c (__csinhl): Likewise.
28524         * math/s_csinl.c (__csinl): Likewise.
28525         * math/s_ctan.c (__ctan): Likewise.
28526         * math/s_ctanf.c (__ctanf): Likewise.
28527         * math/s_ctanh.c (__ctanh): Likewise.
28528         * math/s_ctanhf.c (__ctanhf): Likewise.
28529         * math/s_ctanhl.c (__ctanhl): Likewise.
28530         * math/s_ctanl.c (__ctanl): Likewise.
28531         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
28532         csin, csinh, ctan and ctanh.
28533         * math/auto-libm-test-out: Regenerated.
28534         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
28535         * sysdeps/i386/fpu/libm-test-ulps: Update.
28536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28538 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28540         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
28541         return value is wrong, print the expected value too.
28543 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28545         [BZ #18585]
28546         * elf/readlib.c (is_gdb_python_file): New.
28547         (process_file): Don't issue errors on filenames with -gdb.py
28548         suffix.
28550 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28552         * math/auto-libm-test-in: Add more tests of csin and csinh.
28553         * math/auto-libm-test-out: Regenerated.
28554         * math/libm-test.inc (csin_test_data): Remove tests moved to
28555         auto-libm-test-in.
28556         (csinh_test_data): Likewise.
28558         [BZ #18593]
28559         * math/s_csin.c (__csin): Negate before rather than after possibly
28560         overflowing multiplication.
28561         * math/s_csinf.c (__csinf): Likewise.
28562         * math/s_csinh.c (__csinh): Likewise.
28563         * math/s_csinhf.c (__csinhf): Likewise.
28564         * math/s_csinhl.c (__csinhl): Likewise.
28565         * math/s_csinl.c (__csinl): Likewise.
28566         * math/auto-libm-test-in: Add some tests of csin and csinh.
28567         * math/auto-libm-test-out: Regenerated.
28568         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
28569         (csinh_test_data): Likewise.
28570         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28572         [BZ #18586]
28573         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
28574         underflow exception for small results.
28576 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
28578         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28579         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
28580         variable and included header.
28581         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
28582         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
28583         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
28584         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
28585         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
28586         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
28587         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
28588         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
28589         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
28590         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
28591         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
28592         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
28593         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
28594         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
28595         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
28596         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
28598 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28600         [BZ #16526]
28601         [BZ #16538]
28602         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
28603         (__sin): Force underflow exception for arguments with small
28604         absolute value.
28605         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
28606         (__kernel_sinf): Force underflow exception for arguments with
28607         small absolute value.
28608         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
28609         (__kernel_sincosl): Force underflow exception for arguments with
28610         small absolute value.
28611         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
28612         (__kernel_sinl): Force underflow exception for arguments with
28613         small absolute value.
28614         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
28615         (__kernel_sincosl): Force underflow exception for arguments with
28616         small absolute value.
28617         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
28618         (__kernel_sinl): Force underflow exception for arguments with
28619         small absolute value.
28620         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
28621         (__kernel_sinl): Force underflow exception for arguments with
28622         small absolute value.
28623         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
28624         (__kernel_sinf): Force underflow exception for arguments with
28625         small absolute value.
28626         * math/auto-libm-test-in: Add more tests of sin and sincos.
28627         * math/auto-libm-test-out: Regenerated.
28629         [BZ #18245]
28630         [BZ #18583]
28631         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
28632         (__kernel_standard_l): Use feholdexcept and fesetenv around
28633         conversion to double instead of special-casing overflow and
28634         underflow.
28635         * math/libm-test.inc (fmod_test_data): Add more tests.
28636         (remainder_test_data): Likewise.
28637         (sqrt_test_data): Likewise.
28639 2015-06-23  Torvald Riegel  <triegel@redhat.com>
28641         [BZ #17403]
28642         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
28643         atomic_read_barrier, atomic_write_barrier): Define.
28644         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
28645         atomic_read_barrier, atomic_write_barrier): Define.
28647 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28649         * math/Makefile [$(PERL) != no]
28650         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
28651         dependency on libm-test.stmp below the inclusion of Rules.
28653 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
28655         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28656         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
28657         and included header.
28658         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
28659         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
28660         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
28661         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
28662         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
28663         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
28664         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
28665         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
28666         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
28667         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
28668         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
28669         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
28670         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
28671         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
28672         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
28673         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
28674         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
28675         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
28676         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
28678 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28680         [BZ #18371]
28681         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
28682         intermediate but not final result might underflow.
28683         * math/s_csqrtf.c (__csqrtf): Likewise.
28684         * math/s_csqrtl.c (__csqrtl): Likewise.
28685         * math/auto-libm-test-in: Add more tests of csqrt.
28686         * math/auto-libm-test-out: Regenerated.
28687         * sysdeps/i386/fpu/libm-test-ulps: Update.
28689         [BZ #18219]
28690         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
28691         threshold on absolute value of exponent for which scaling is used.
28692         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28693         * math/auto-libm-test-in: Add more tests of exp2.
28694         * math/auto-libm-test-out: Regenerated.
28696 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
28698         [BZ #17977]
28699         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
28700         when initializing interface list, based on the bug analysis
28701         and the patch proposed by Eric Newton.
28702         * resolv/tst-res_hconf_reorder.c: New test.
28703         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
28704         tst-res_hconf_reorder.
28705         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
28706         and $(shared-thread-library).
28707         (tst-res_hconf_reorder-ENV): New variable.
28709         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
28710         in comment.
28712 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
28714         [BZ #16353]
28715         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
28716         (__expm1): Force underflow exception for arguments with small
28717         absolute value.
28718         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
28719         (__expm1f): Force underflow exception for arguments with small
28720         absolute value.
28721         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
28722         (__expm1): Force underflow exception for arguments with small
28723         absolute value.
28724         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
28725         (__expm1f): Force underflow exception for arguments with small
28726         absolute value.
28727         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28728         Check for small arguments before calling __expm1.
28729         * math/auto-libm-test-in: Do not mark underflow exceptions as
28730         possibly missing for bug 16353.
28731         * math/auto-libm-test-out: Regenerated.
28733 2015-06-22  Andreas Schwab  <schwab@suse.de>
28735         [BZ #18513]
28736         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
28737         PTR queries.
28739 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
28741         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
28743         * string/strcoll_l.c: Remove unused struct element idxnow.
28745 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
28747         [BZ #18569]
28748         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
28749         underflow and return argument in case of subnormal argument.
28750         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28751         Likewise.
28752         * math/auto-libm-test-in: Add more tests of expm1.
28753         * math/auto-libm-test-out: Regenerated.
28755         [BZ #16361]
28756         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28757         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28758         tiny results.
28759         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28760         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28761         tiny results.
28762         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
28763         mark underflow exceptions as possibly missing for bug 16361.
28764         * math/auto-libm-test-out: Regenerated.
28766 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
28768         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
28769         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
28770         Remove variable.
28771         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28772         (test-xfail-XOPEN2K8/utmpx.h/conform).
28774         * conform/conformtest.pl ($xerrors): New variable.
28775         (note_error): New function.
28776         (compiletest): New argument $xfail.  Use not_error.
28777         (runtest): Likewise.
28778         (top level): Handle xfail- lines.  Update calls to compiletest and
28779         runtest.  Handle xfail- and optional- in headers listed with
28780         allow-header.
28781         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
28782         (O_EXEC): Likewise.
28783         (O_SEARCH): Likewise.
28784         * conform/data/stropts.h-data (ioctl): Likewise.
28785         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
28786         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
28787         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
28788         (msghdr.msg_controllen): Likewise.
28789         (cmsghdr.cmsg_len): Likewise.
28790         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
28791         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
28792         variable.
28793         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28794         (test-xfail-XPG4/stropts.h/conform): Likewise.
28795         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28796         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28797         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28798         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28799         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28800         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28801         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28802         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28803         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28804         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28805         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28806         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28807         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28808         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28809         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28810         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28811         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28812         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28813         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28815 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28817         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
28818         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
28819         definitions for proper unfolding of __MATHDECL_VEC.
28821 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28823         * benchtests/bench-strcoll.c:
28824         Include string.h.
28825         (main): Remove unused variable res.
28827 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28829         * timezone/Makefile (%/UTC %/Universal):
28830         Generate test-result files for UTC and Universal.
28832 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28834         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28836 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
28838         [BZ #16350]
28839         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
28840         for arguments with small absolute value.
28841         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
28842         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
28843         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
28844         (__asinh): Force underflow exception for arguments with small
28845         absolute value.
28846         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
28847         (__asinhf): Force underflow exception for arguments with small
28848         absolute value.
28849         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
28850         (__asinhl): Force underflow exception for arguments with small
28851         absolute value.
28852         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
28853         (__asinhl): Force underflow exception for arguments with small
28854         absolute value.
28855         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
28856         (__asinhl): Force underflow exception for arguments with small
28857         absolute value.
28858         * math/auto-libm-test-in: Do not mark underflow exceptions as
28859         possibly missing for bug 16350.
28860         * math/auto-libm-test-out: Regenerated.
28862         * include/bits/ipc.h: Remove file.
28863         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
28864         variable.
28865         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28866         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28867         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28868         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28869         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28870         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28871         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28872         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28873         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28875         * math/auto-libm-test-in: Remove spurious underflow allowance for
28876         tests of cexp.
28877         * math/auto-libm-test-out: Regenerated.
28879         [BZ #18558]
28880         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
28881         unconditional definition.
28882         (MCAST_BLOCK_SOURCE): Likewise.
28883         (MCAST_UNBLOCK_SOURCE): Likewise.
28884         (MCAST_LEAVE_GROUP): Likewise.
28885         (MCAST_JOIN_SOURCE_GROUP): Likewise.
28886         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28887         (MCAST_MSFILTER): Likewise.
28888         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
28889         Remove variable.
28890         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28891         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28892         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28893         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28894         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28896 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
28898         * NEWS: Mention addition of x86_64 vector sincosf.
28899         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
28900         * math/test-float-vlen4.h: Likewise.
28901         * math/test-float-vlen8.h: Likewise.
28902         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28903         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
28904         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28905         * sysdeps/x86_64/fpu/Versions: New versions added.
28906         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28907         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28908         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28909         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
28910         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
28911         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
28912         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
28913         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
28914         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
28915         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
28916         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
28917         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
28918         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
28919         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
28920         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
28921         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
28922         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
28923         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28924         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28925         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28926         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28927         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28928         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28929         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28931         * NEWS: Mention addition of x86_64 vector sincos.
28932         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
28933         * math/math.h (__MATHDECL_VEC): New macro.
28934         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
28935         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
28936         declaration under condition.
28937         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
28938         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
28939         TEST_VEC_LOOP change.
28940         * math/test-double-vlen4.h: Likewise.
28941         * math/test-double-vlen8.h: Likewise.
28942         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
28943         * math/test-float-vlen4.h: Likewise.
28944         * math/test-float-vlen8.h: Likewise.
28945         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28946         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
28947         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28948         * sysdeps/x86_64/fpu/Versions: New versions added.
28949         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28950         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28951         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28952         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
28953         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
28954         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
28955         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
28956         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
28957         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
28958         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
28959         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
28960         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
28961         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
28962         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
28963         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
28964         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
28965         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
28966         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28967         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28968         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28969         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28970         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28971         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28972         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28974         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28975         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28976         redirections for powf.
28977         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28978         * sysdeps/x86_64/fpu/Versions: New versions added.
28979         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28980         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28981         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28982         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
28983         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
28984         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
28985         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
28986         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
28987         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
28988         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
28989         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
28990         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
28991         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
28992         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
28993         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
28994         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
28995         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
28996         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28997         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28998         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28999         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29000         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29001         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29002         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29003         * math/test-float-vlen16.h: Fixed 2 argument macro.
29004         * math/test-float-vlen4.h: Likewise.
29005         * math/test-float-vlen8.h: Likewise.
29006         * NEWS: Mention addition of x86_64 vector powf.
29008 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
29010         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29011         and redefine.
29012         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29013         and redefine.
29014         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
29015         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29016         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29018         [BZ #18553]
29019         * resource/getpriority.c (getpriority): Rename to __getpriority
29020         and define as weak alias of __getpriority.
29021         * resource/setpriority.c (setpriority): Rename to __setpriority
29022         and define as weak alias of __setpriority.
29023         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
29024         __getpriority and define as weak alias of __getpriority.
29025         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
29026         __setpriority and define as weak alias of __setpriority.
29027         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
29028         strong name.
29029         (setpriority): Use __setpriority as strong name.
29030         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
29031         __getpriority and define as weak alias of __getpriority.
29032         * include/sys/resource.h (__getpriority): Declare.  Use
29033         libc_hidden_proto.
29034         (__setpriority): Likewise.
29035         (getpriority): Don't use libc_hidden_proto.
29036         (setpriority): Likewise.
29037         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
29038         getpriority.  Call __setpriority instead of setpriority.
29039         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
29040         Remove variable.
29042         [BZ #18547]
29043         * misc/getttyent.c (getttynam): Rename to __getttynam and define
29044         as weak alias of __getttynam.  Use prototype function definition.
29045         Call __setttyent, __getttyent and __endttyent instead of
29046         setttyent, getttyent and endttyent.
29047         (getttyent): Rename to __getttyent and define as weak alias of
29048         __getttyent.  Call __setttyent instead of setttyent.  Call
29049         __fgets_unlocked instead of fgets_unlocked.
29050         (setttyent): Rename to __setttyent and define as weak alias of
29051         __setttyent.
29052         (endttyent): Rename to __endttyent and define as weak alias of
29053         __endttyent.
29054         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
29055         (__setttyent): Likewise.
29056         (__endttyent): Likewise.
29057         (getttyent): Don't use libc_hidden_proto.
29058         (setttyent): Likewise.
29059         (endttyent): Likewise.
29060         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
29061         __endttyent instead of setttyent, getttyent and endttyent.
29062         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
29063         Remove variable.
29065         [BZ #18546]
29066         * socket/recv.c (__recv): Use libc_hidden_def.
29067         * socket/socket.c (__socket): Likewise.
29068         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
29069         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
29070         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
29071         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
29072         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
29073         libc_hidden_def.
29074         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
29075         libc_hidden_weak.
29076         * include/sys/socket.h (__socket): Do not use attribute_hidden.
29077         Use libc_hidden_proto.
29078         (__recv): Likewise.
29079         * socket/Versions (libc): Export __recv and __socket at version
29080         GLIBC_PRIVATE.
29081         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
29082         instead of recv.
29083         (init_mq_netlink): Call __socket instead of socket.
29084         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
29085         Remove variable.
29087         [BZ #18545]
29088         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
29089         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
29090         hidden_weak.
29091         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
29092         define as alias of __mq_timedsend.  Use hidden_weak.
29093         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
29094         __mq_timedsend as strong name.
29095         (mq_timedreceive): Use __mq_timedreceive as strong name.
29096         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
29097         (__mq_timedreceive): Likewise.
29098         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
29099         __mq_timedreceive instead of mq_timedreceive.
29100         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
29101         instead of mq_timedsend.
29102         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
29103         Remove variable.
29105         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
29106         hidden_def and hidden_weak instead of libc_hidden_def and
29107         libc_hidden_weak.
29108         (top level): Refer to hidden_def in comment.
29109         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
29110         macro.  Use it instead of libc_hidden_def.
29111         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
29112         specify __GI_* name explicitly.
29113         (mq_timedreceive): Likewise.
29114         (mq_setattr): Likewise.
29116         [BZ #18544]
29117         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
29118         __pthread_barrier_init and define as weak alias of
29119         __pthread_barrier_init.
29120         * sysdeps/sparc/nptl/pthread_barrier_init.c
29121         (pthread_barrier_init): Likewise.
29122         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
29123         __pthread_barrier_wait and define as weak alias of
29124         __pthread_barrier_wait.
29125         * sysdeps/sparc/nptl/pthread_barrier_wait.c
29126         (pthread_barrier_wait): Likewise.
29127         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
29128         (pthread_barrier_wait): Likewise.
29129         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
29130         (pthread_barrier_wait): Likewise.
29131         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
29132         (pthread_barrier_wait): Likewise.
29133         * nptl/Versions (libpthread): Export __pthread_barrier_init and
29134         __pthread_barrier_wait at version GLIBC_PRIVATE.
29135         * include/pthread.h (__pthread_barrier_init): Declare.
29136         (__pthread_barrier_wait): Likewise.
29137         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
29138         Call __pthread_barrier_wait instead of pthread_barrier_wait.
29139         (helper_thread): Likewise.
29140         (init_mq_netlink): Call __pthread_barrier_init instead of
29141         pthread_barrier_init.
29143         [BZ #18542]
29144         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
29145         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
29146         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
29147         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
29148         vswscanf.
29149         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
29150         Remove variable.
29152         [BZ #18540]
29153         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
29154         strong alias of _IO_fflush.  Use libc_hidden_def.
29155         * libio/iofflush_u.c (fflush_unlocked): Rename to
29156         __fflush_unlocked and define as weak alias of __fflush_unlocked.
29157         Use libc_hidden_weak.
29158         * include/stdio.h (__fflush_unlocked): Declare.  Use
29159         libc_hidden_proto.
29160         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
29161         fflush_unlocked.
29162         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
29163         Remove variable.
29165         [BZ #18539]
29166         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
29167         define as weak alias of __addseverity.
29168         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
29169         Remove variable.
29170         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29171         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29172         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29174         [BZ #18536]
29175         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
29176         (__tfind): Likewise.
29177         (__tdelete): Likewise.
29178         (__twalk): Likewise.
29179         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
29180         __twalk to GLIBC_PRIVATE.
29181         * include/search.h (__tsearch): Use libc_hidden_proto.
29182         (__tfind): Likewise.
29183         (__tdelete): Likewise.
29184         (__twalk): Likewise.
29185         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
29186         Call __tdelete instead of tdelete.
29187         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
29188         tfind.  Call __tsearch instead of tsearch.
29189         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
29190         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
29191         Remove variable.
29192         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29194         [BZ #18534]
29195         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
29196         (dprintf): Define as a weak alias of __dprintf, not a strong
29197         alias.
29198         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
29199         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
29200         dprintf.
29201         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
29202         Remove variable.
29203         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29204         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29206         [BZ #18533]
29207         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
29208         not a strong alias.
29209         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
29210         Remove variable.
29212         [BZ #18532]
29213         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
29214         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
29215         (in6addr_loopback): Rename to __in6addr_loopback and define as
29216         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
29217         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
29218         libc_hidden_proto.
29219         (__in6addr_any): Likewise.
29220         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
29221         in6addr_any.
29222         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
29223         variable.
29224         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29226 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
29228         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
29229         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
29230         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29231         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29232         redirections for pow.
29233         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29234         * sysdeps/x86_64/fpu/Versions: New versions added.
29235         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29236         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29237         build of SSE, AVX2 and AVX512 IFUNC versions.
29238         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
29239         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
29240         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
29241         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
29242         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
29243         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
29244         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
29245         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
29246         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
29247         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
29248         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
29249         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
29250         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
29251         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
29252         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29253         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29254         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29255         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29256         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29257         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29258         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29259         * NEWS: Mention addition of x86_64 vector pow.
29261         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29262         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29263         redirections for expf.
29264         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29265         * sysdeps/x86_64/fpu/Versions: New versions added.
29266         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29267         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29268         build of SSE, AVX2 and AVX512 IFUNC versions.
29269         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
29270         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
29271         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
29272         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
29273         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
29274         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
29275         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
29276         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
29277         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
29278         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
29279         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
29280         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
29281         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
29282         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29283         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29284         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29285         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29286         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29287         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29288         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29289         * NEWS: Mention addition of x86_64 vector expf.
29291         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
29292         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
29293         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29294         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29295         redirections for exp.
29296         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29297         * sysdeps/x86_64/fpu/Versions: New versions added.
29298         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29299         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29300         build of SSE, AVX2 and AVX512 IFUNC versions.
29301         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
29302         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
29303         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
29304         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
29305         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
29306         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
29307         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
29308         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
29309         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
29310         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
29311         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
29312         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
29313         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
29314         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29315         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29316         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29317         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29318         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29319         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29320         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29321         * NEWS: Mention addition of x86_64 vector exp.
29323         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29324         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29325         redirections for logf.
29326         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29327         * sysdeps/x86_64/fpu/Versions: New versions added.
29328         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29329         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29330         build of SSE, AVX2 and AVX512 IFUNC versions.
29331         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
29332         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
29333         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
29334         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
29335         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
29336         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
29337         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
29338         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
29339         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
29340         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
29341         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
29342         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
29343         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
29344         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29345         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29346         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29347         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29348         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29349         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29350         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29351         * NEWS: Mention addition of x86_64 vector logf.
29353         * bits/libm-simd-decl-stubs.h: Added stubs for log.
29354         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
29355         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29356         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29357         redirections for log.
29358         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29359         * sysdeps/x86_64/fpu/Versions: New versions added.
29360         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29361         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29362         build of SSE, AVX2 and AVX512 IFUNC versions.
29363         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
29364         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
29365         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
29366         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
29367         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
29368         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
29369         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
29370         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
29371         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
29372         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
29373         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
29374         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
29375         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
29376         test.
29377         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29378         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29379         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29380         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29381         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29382         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29383         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29384         * NEWS: Mention addition of x86_64 vector log.
29386 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29388         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
29389         cfi_adjust_cfa_offset argument.
29390         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
29391         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
29393         [BZ #18034]
29394         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
29395         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
29396         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
29397         ordering using ldar.
29398         (_dl_tlsdesc_dynamic): Likewise.
29399         (_dl_tlsdesc_return_lazy): Likewise.
29400         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
29401         relaxed atomics instead of volatile and synchronize with release store.
29402         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
29403         volatile.
29404         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29406 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
29408         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29409         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
29410         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29411         * sysdeps/x86_64/fpu/Versions: New versions added.
29412         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29413         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29414         build of SSE, AVX2 and AVX512 IFUNC versions.
29415         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
29416         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
29417         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
29418         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
29419         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
29420         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
29421         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
29422         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
29423         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
29424         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
29425         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
29426         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
29427         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
29428         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29429         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29430         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29431         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29432         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29433         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29434         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29435         * NEWS: Mention addition of x86_64 vector sinf.
29437 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
29439         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
29440         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
29441         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
29442         Remove variable.
29443         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29444         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29446 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29448         [BZ #18530]
29449         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
29450         strong alias of _IO_fputs.  Use libc_hidden_def.
29451         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
29452         and define as weak alias of __fputs_unlocked.  Use
29453         libc_hidden_weak.
29454         * include/stdio.h (__fputs_unlocked): Declare.  Use
29455         libc_hidden_proto.
29456         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
29457         fputs_unlocked.
29459         [BZ #18529]
29460         * resolv/netdb.h [__USE_POSIX]: Change condition to
29461         [__USE_XOPEN2K].
29462         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
29463         not expect.
29464         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
29465         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
29466         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
29467         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
29468         [XPG4 || UNIX98] (AI_ALL): Likewise.
29469         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
29470         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
29471         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
29472         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
29473         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
29474         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
29475         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
29476         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
29477         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
29478         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
29479         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
29480         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
29481         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
29482         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
29483         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
29484         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29485         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29486         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
29487         [XPG4 || UNIX98] (gai_strerror): Likewise.
29488         [XPG4 || UNIX98] (getaddrinfo): Likewise.
29489         [XPG4 || UNIX98] (getnameinfo): Likewise.
29491         [BZ #18528]
29492         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
29493         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
29494         __USE_XOPEN2K8].
29495         (getgrent): Likewise.
29496         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
29497         expect.
29498         [XPG3 || POSIX2008] (endgrent): Likewise.
29499         [XPG3] (setgrent): Likewise.
29500         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
29501         variable.
29502         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29504         [BZ #18527]
29505         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
29506         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
29507         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
29508         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
29509         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
29510         * include/unistd.h (__getlogin_r): Declare.  Use
29511         libc_hidden_proto.
29512         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
29513         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
29514         variable.
29515         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29516         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29517         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29519 2015-06-12  Martin Sebor  <msebor@redhat.com>
29521         [BZ #18512]
29522         * Makerules (check-install-supported): New target.
29523         (install): Add check-install-supported as a dependency.
29524         * manual/install.texi (Installing the C Library): Document
29525         that overriding prefix and exec_prefix is not supported.
29526         Mention DESTDIR.
29527         * INSTALL: Regenerate from the above.
29529 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29531         [BZ #18519]
29532         * posix/Versions (libc): Export __libc_pread at version
29533         GLIBC_PRIVATE.
29534         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
29535         instead of pread.
29536         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
29537         variable.
29539         [BZ #18522]
29540         * misc/efgcvt_r.c
29541         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
29542         (cvt_symbol): Use weak_alias instead of strong_alias.
29543         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
29544         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
29545         Remove variable.
29546         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29547         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29549         [BZ #18520]
29550         * inet/herrno.c (h_errno): Rename to __h_errno.
29551         (__libc_h_errno): Define as alias of __h_errno not h_errno.
29552         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
29553         to __h_errno instead of h_errno.
29554         * nptl/herrno.c (h_errno): Rename to __h_errno.
29555         (__h_errno_location): Refer to __h_errno not h_errno.
29556         * resolv/Versions (h_errno): Rename to __h_errno.
29557         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
29558         Remove variable.
29559         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29561 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
29563         * configure.ac: More strict check for AVX512 assembler support.
29564         * configure: Regenerated.
29566         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
29567         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
29568         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29569         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
29570         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29571         * sysdeps/x86_64/fpu/Versions: New versions added.
29572         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29573         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29574         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29575         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
29576         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
29577         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
29578         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
29579         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
29580         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
29581         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
29582         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
29583         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
29584         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
29585         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
29586         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
29587         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
29588         test.
29589         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29590         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29591         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29592         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29593         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29594         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29595         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29596         * NEWS: Mention addition of x86_64 vector sin.
29598 2015-06-11  Florian Weimer  <fweimer@redhat.com>
29600         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
29601         comment.
29603 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29605         [BZ #18479]
29606         * nptl/pt-interp.c: New file.
29607         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
29608         Add pt-interp.
29609         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
29610         $(common-objpfx)runtime-linker.h.
29612 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
29614         * Makeconfig (+interp): Remove unused variable.
29615         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
29616         only.  Depend on $(common-objpfx)runtime-linker.h instead of
29617         $(elf-objpfx)runtime-linker.h.
29618         ($(elf-objpfx)runtime-linker.h): Rename to
29619         $(common-objpfx)runtime-linker.h and move ...
29620         * Makerules [$(build-shared) = yes]: ... here.
29621         * elf/interp.c: Include <runtime-linker.h> instead of
29622         <elf/runtime-linker.h>.
29624 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29626         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
29627         (__gettimeofday_syscall): Remove vsyscall fallback.
29628         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
29629         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
29630         Add syscall fallback function.
29631         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
29632         if vDSO is not present.
29633         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
29634         fallback function.
29635         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
29636         present.
29637         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
29638         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29640 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
29642         [BZ #18497]
29643         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
29644         of wcscmp.
29645         (wcscmp): Define as weak alias of WCSCMP.
29646         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
29647         wcscoll.
29648         (USE_HIDDEN_DEF): Define.
29649         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
29650         __wcscoll.  Don't use libc_hidden_weak.
29651         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
29652         wcscmp.
29653         * sysdeps/i386/i686/multiarch/wcscmp-c.c
29654         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
29655         __GI_wcscmp.
29656         (weak_alias): Undefine and redefine.
29657         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
29658         __wcscmp and define as weak alias of __wcscmp.
29659         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
29660         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
29661         (__wcscoll): Likewise.
29662         (wcscmp): Don't use libc_hidden_proto.
29663         (wcscoll): Likewise.
29664         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
29665         wcscoll.
29666         * posix/regexec.c (check_node_accept_bytes): Likewise.
29667         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
29668         variable.
29669         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29670         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29672         [BZ #18507]
29673         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
29674         __fstatvfs and define as weak alias of __fstatvfs.  Use
29675         libc_hidden_weak.
29676         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
29677         and define as weak alias of __statvfs.  Use libc_hidden_weak.
29678         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
29679         Define as alias of __fstatvfs, not fstatvfs.
29680         (fstatvfs64): Likewise.
29681         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
29682         Define as alias of __statvfs, not statvfs.
29683         (statvfs64): Likewise.
29684         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
29685         Remove variable.
29687 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29690         (HAVE_GETCPU_VSYSCALL): Define.
29691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29692         (HAVE_GETCPU_VSYSCALL): Likewise.
29693         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
29694         * sysdeps/unix/sysv/linux/sched_getcpu.c
29695         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
29696         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
29697         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
29698         prototype.
29699         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29700         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
29701         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
29702         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
29703         Define.
29704         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
29705         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29706         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
29707         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29709 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
29711         * sysdeps/x86_64/fpu/Makefile: New file.
29712         * sysdeps/x86_64/fpu/Versions: New file.
29713         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
29714         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
29715         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
29716         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
29717         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
29718         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
29719         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
29720         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
29721         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
29722         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
29723         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
29724         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
29725         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
29726         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29727         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29728         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
29729         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
29730         * sysdeps/x86_64/configure.ac: Options for libmvec build.
29731         * sysdeps/x86_64/configure: Regenerated.
29732         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
29733         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
29734         * manual/install.texi (Configuring and compiling): Document
29735         --disable-mathvec.
29736         * INSTALL: Regenerated.
29737         * NEWS: Mention addition of libmvec and x86_64 vector cos.
29739         * math/Makefile: Added rules for vector tests.
29740         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
29741         declaration under condition.
29742         * math/test-double-vlen2.h: New file.
29743         * math/test-double-vlen4.h: New file.
29744         * math/test-double-vlen8.h: New file.
29745         * math/test-vec-loop.h: Added initialization macro.
29746         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
29747         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
29748         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
29749         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
29750         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
29751         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
29752         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
29753         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
29754         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
29755         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
29756         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
29758         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29759         * sysdeps/x86_64/fpu/Versions: New versions added.
29760         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
29761         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
29762         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
29763         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
29764         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
29765         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
29766         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
29767         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
29768         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
29769         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
29770         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
29771         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
29772         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
29773         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29774         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29775         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29776         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
29777         * NEWS: Mention addition of x86_64 vector cosf.
29779         * math/Makefile: Added CFLAGS for new tests.
29780         * math/test-float-vlen16.h: New file.
29781         * math/test-float-vlen4.h: New file.
29782         * math/test-float-vlen8.h: New file.
29783         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
29784         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
29785         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29786         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
29787         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
29788         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
29789         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
29790         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
29791         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
29792         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
29793         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
29795 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
29797         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
29798         * locale/programs/ld-ctype.c: Likewise.
29800 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
29802         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
29803         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
29804         bit_ZMM16_31_state): New macro.
29805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29806         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
29808 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
29810         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
29812 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
29814         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
29816 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
29818         [BZ #18498]
29819         * libio/memstream.c (open_memstream): Rename to __open_memstream
29820         and define as weak alias of __open_memstream.
29821         * include/stdio.h (__open_memstream): Declare.  Use
29822         libc_hidden_proto.
29823         (open_memstream): Don't use libc_hidden_proto.
29824         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
29825         open_memstream.
29826         * posix/getopt.c (_getopt_internal_r): Likewise.
29827         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
29828         variable.
29829         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29830         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29831         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29833         [BZ #18496]
29834         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
29835         instead of wcrtomb.
29837         [BZ #18483]
29838         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
29839         [__USE_XOPEN2K8].  Remove redundant #endif.
29840         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
29841         Remove redundant #if.
29842         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
29843         Remove variable.
29844         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29845         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29847         [BZ #18495]
29848         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
29849         (__iswlower): Likewise.
29850         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
29851         (__iswlower): Likewise.
29852         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
29853         instead of towlower.
29854         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
29855         instead of iswlower.  Call __towupper instead of towupper.
29856         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
29857         instead of iswalnum.
29859 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29861         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
29862         errors to stderr.
29864 2015-06-05  Florian Weimer  <fweimer@redhat.com>
29866         [BZ #15661]
29867         [BZ #17322]
29868         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29869         Check for overflow properly.  Check for O_APPEND.  Ignore large
29870         file system block sizes.  Add comments about problems.
29871         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
29872         * manual/filesys.texi (Storage Allocation): New node.
29874 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29876         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
29877         cancellable syscalls.
29878         (SYS_ify): Add guard to no redefine it.
29879         (INLINE_SYSCALL): Likewise.
29880         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
29881         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
29882         SYSCALL_CANCEL instead.
29883         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
29884         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29885         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29886         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29887         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29888         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
29889         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
29890         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
29891         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29892         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29893         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
29894         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
29895         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
29896         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
29897         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
29898         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29899         Likewise.
29900         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29901         (__libc_pread64): Likewise.
29902         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
29903         (__libc_preadv): Likewise.
29904         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
29905         (__libc_readv64): Likewise.
29906         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29907         (__libc_pwrite): Likewise.
29908         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29909         (__libc_pwrite64): Likewise.
29910         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
29911         (__libc_pwritev): Likewise.
29912         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
29913         (__libc_pwritev64): Likewise.
29914         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
29915         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
29916         (sync_file_range): Likewise.
29917         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
29918         Likewise.
29919         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
29920         Likewise.
29921         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29922         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29923         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29924         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29925         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29926         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29927         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29928         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
29929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29930         Likewise.
29931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29932         (__libc_read64): Likewise.
29933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
29934         Likewise.
29935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
29936         Likewise.
29937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
29938         Likewise.
29939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
29940         Likewise.
29941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29942         (__libc_pread64): Likewise.
29943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
29944         Likewise.
29945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29946         (__libc_pwrite64): Likewise.
29947         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
29948         (sync_file_range): Likewise.
29949         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
29950         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29951         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29952         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
29953         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
29954         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29955         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29956         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
29957         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
29958         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29959         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29960         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29961         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29962         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29963         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
29964         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29965         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29966         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29967         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29968         Likewise.
29969         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
29970         Likewise.
29971         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
29972         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
29973         Likewise.
29974         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
29975         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
29976         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
29977         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
29978         Likewise.
29979         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
29980         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
29981         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
29982         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
29983         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
29985 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
29987         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
29988         Include dl-vdso.
29989         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
29990         Use VDSO routines for gettimeofday, clock_gettime if
29991         available.
29992         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
29993         Declare VDSO symbols.
29994         * sysdeps/unix/sysv/linux/arm/sysdep.h:
29995         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
29996         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29997         * sysdeps/unix/sysv/linux/arm/Versions: Add
29998         __vdso_clock_gettime.
30000 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30002         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
30003         be an inline implementation regardless of library is built within.
30004         (open_not_cancel_2): Likewise.
30005         (__read_nocancel): Likewise.
30006         (__write_nocancel): Likewise.
30007         (openat_not_cancel): Likewise.
30008         (openat_not_cancel_3): Likewise.
30009         (openat64_not_cancel): Likewise.
30010         (openat64_not_cancel_3): Likewise.
30011         (__close_nocancel): Likewise.
30012         (pause_not_cancel): Likewise.
30013         (nanosleep_not_cancel): Likewise.
30014         (sigsuspend_not_cancel): Likewise.
30016 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30018         [BZ #14958]
30019         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
30020         wake-up.
30021         (__pthread_rwlock_rdlock_slow): Likewise.
30022         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30023         Likewise.
30024         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30025         Likewise.
30026         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
30027         * nptl/tst-rwlock16.c: New file.
30028         * nptl/Makefile (tests): Add new test.
30030 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30032         [BZ #18324]
30033         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
30034         missing wake-up of readers.
30035         * nptl/tst-rwlock15.c: New file.
30036         * nptl/Makefile (tests): Add new test.
30038 2015-06-03  Roland McGrath  <roland@hack.frob.com>
30040         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
30041         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
30042         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
30043         and __nacl_supply_interface_rtld.
30044         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
30045         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
30046         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
30047         Add __nacl_supply_interface_rtld.
30048         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
30050 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30052         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
30053         isfinite.
30054         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30055         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
30057 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30059         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
30060         __signbit* with standard C99 macros.
30061         * math/e_exp10l.c: Likewise.
30062         * math/e_exp2l.c: Likewise.
30063         * math/e_scalb.c: Likewise.
30064         * math/e_scalbf.c: Likewise.
30065         * math/e_scalbl.c: Likewise.
30066         * math/s_ldexp.c: Likewise.
30067         * math/s_ldexpf.c: Likewise.
30068         * math/s_ldexpl.c: Likewise.
30069         * math/w_atan2.c: Likewise.
30070         * math/w_atan2f.c: Likewise.
30071         * math/w_atan2l.c: Likewise.
30072         * math/w_cosh.c: Likewise.
30073         * math/w_coshf.c: Likewise.
30074         * math/w_coshl.c: Likewise.
30075         * math/w_exp10.c: Likewise.
30076         * math/w_exp10f.c: Likewise.
30077         * math/w_exp10l.c: Likewise.
30078         * math/w_exp2.c: Likewise.
30079         * math/w_exp2f.c: Likewise.
30080         * math/w_exp2l.c: Likewise.
30081         * math/w_fmod.c: Likewise.
30082         * math/w_fmodf.c: Likewise.
30083         * math/w_fmodl.c: Likewise.
30084         * math/w_hypot.c: Likewise.
30085         * math/w_hypotf.c: Likewise.
30086         * math/w_hypotl.c: Likewise.
30087         * math/w_jnl.c: Likewise.
30088         * math/w_lgamma.c: Likewise.
30089         * math/w_lgamma_r.c: Likewise.
30090         * math/w_lgammaf.c: Likewise.
30091         * math/w_lgammaf_r.c: Likewise.
30092         * math/w_lgammal.c: Likewise.
30093         * math/w_lgammal_r.c: Likewise.
30094         * math/w_pow.c: Likewise.
30095         * math/w_powf.c: Likewise.
30096         * math/w_powl.c: Likewise.
30097         * math/w_remainder.c: Likewise.
30098         * math/w_remainderf.c: Likewise.
30099         * math/w_remainderl.c: Likewise.
30100         * math/w_scalb.c: Likewise.
30101         * math/w_scalbf.c: Likewise.
30102         * math/w_scalbl.c: Likewise.
30103         * math/w_scalbln.c: Likewise.
30104         * math/w_scalblnf.c: Likewise.
30105         * math/w_scalblnl.c: Likewise.
30106         * math/w_sinh.c: Likewise.
30107         * math/w_sinhf.c: Likewise.
30108         * math/w_sinhl.c: Likewise.
30109         * math/w_tgamma.c: Likewise.
30110         * math/w_tgammaf.c: Likewise.
30111         * math/w_tgammal.c: Likewise.
30112         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30113         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
30114         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30115         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30116         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30117         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30118         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30119         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30120         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30121         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30122         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30123         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30124         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30125         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30126         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30127         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30128         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30129         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30130         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30131         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30132         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30133         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30134         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30135         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30136         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30137         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30138         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
30139         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30140         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30141         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30142         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
30143         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
30144         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
30145         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
30146         * stdio-common/printf_fp.c: Likewise.
30147         * stdio-common/printf_fphex.c: Likewise.
30148         * stdio-common/printf_size.c: Likewise.
30150 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
30152         [BZ #18470]
30153         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
30154         strnlen.
30155         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
30156         Remove variable.
30157         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30158         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30159         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30160         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30161         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30162         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30163         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30164         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30165         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30166         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30168         [BZ #18468]
30169         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
30170         weak alias of __wmemchr.  Use libc_hidden_weak.
30171         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
30172         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
30173         instead of wmemchr.
30175 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30177         [BZ #18383]
30178         * elf/tst-tlsalign-extern.c: New file.
30179         * elf/tst-tlsalign-extern-static.c: New file.
30180         * elf/tst-tlsalign-vars.c: New file.
30181         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
30182         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
30183         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
30184         ($(objpfx)tst-tlsalign-extern-static): Likewise.
30185         (test-xfail-tst-tlsalign-extern-static): New variable.
30187 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
30189         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
30190         Use variable name _sc_err instead of err.
30191         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
30192         instead of ret.
30193         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
30194         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
30195         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
30196         (INLINE_SYSCALL): Likewise.
30198         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
30199         * include/string.h (__strnlen): Use libc_hidden_proto.
30200         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
30201         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
30202         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
30203         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
30204         (libc_hidden_def): Undefine and redefine.
30205         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
30206         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
30207         __GI_strnlen.
30208         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
30209         libc_hidden_def.
30210         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
30212         [BZ #18469]
30213         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
30214         weak alias of __towlower.  Use libc_hidden_weak.
30215         (towupper): Rename to __towupper and define as weak alias of
30216         __towupper.  Use libc_hidden_weak.
30217         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
30218         (__towupper): Likewise.
30219         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
30220         __towlower instead of towlower.
30222 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30224         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
30225         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
30227 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30229         * sysdeps/aarch64/libm-test-ulps: Update.
30231 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30233         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
30234         Define.
30235         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30236         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30237         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30238         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30239         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
30240         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
30241         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
30243 2015-06-01  Martin Sebor  <msebor@redhat.com>
30245         [BZ #18116]
30246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30247         (__setcontext): Use extended four-operand version of mtsf whenever
30248         possible.
30249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30250         (__novec_swapcontext): Likewise.
30252 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30254         * benchtests/scripts/compare_bench.py: New file.
30255         * benchtests/scripts/import_bench.py (mean): New function.
30256         (split_list): Likewise.
30257         (do_for_all_timings): Likewise.
30258         (compress_timings): Likewise.
30260         * benchtests/scripts/import_bench.py: New file.
30261         * benchtests/scripts/validate_benchout.py: Import import_bench
30262         instead of jsonschema.
30263         (validate_bench): Remove function.
30264         (main): Use import_bench.
30266 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
30268         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
30269         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
30271 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30275 2015-05-28  Roland McGrath  <roland@hack.frob.com>
30277         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
30278         set THREAD_SELF->tid to a magic value and futex-wake it.
30279         Pass its address to the thread_exit system call.
30280         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
30281         bit is clear.
30282         * sysdeps/nacl/lowlevellock.h: New file.
30283         * sysdeps/nacl/lll_timedwait_tid.c: New file.
30285         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
30286         Add TIMEOUT to current time, don't subtract it.
30288 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
30290         [BZ #2981]
30291         [BZ #18422]
30292         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
30293         ($(objpfx)tst-audit2.out): Also depend on
30294         $(objpfx)tst-auditmod9b.so.
30295         * elf/tst-audit2.c: Include <dlfcn.h>.
30296         (calloc_called): New.
30297         (calloc): Allow to be called more than once.
30298         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
30300 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
30302         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
30303         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
30305 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
30307         * stdlib/monetary.h: Fix comment.
30309 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
30311         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
30312         Avoid using variables in #defines that might cause shadowing.
30313         (INTERNAL_VSYSCALL_CALL): Likewise.
30315 2015-05-26  Roland McGrath  <roland@hack.frob.com>
30317         * sysdeps/nacl/lll_timedlock_wait.c: New file.
30319         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
30320         * nptl/lll_timedlock_wait.c: ... to this new file.
30321         * nptl/Makefile (libpthread-routines): Add it.
30322         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
30323         * nptl/lll_timedwait_tid.c: ... to this new file.
30324         * nptl/Makefile (libpthread-routines): Add it.
30325         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
30326         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
30327         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
30328         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
30329         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
30330         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
30331         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
30332         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
30333         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
30334         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
30336 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30338         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
30339         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30340         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30341         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
30342         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
30343         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30344         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30345         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30346         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30347         * sysdeps/unix/sysv/linux/tile/sysdep.h
30348         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30349         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
30350         using vDSO syscall macro.
30352 2015-05-26  Andriy Rysin  <arysin@gmail.com>
30354         [BZ #17293]
30355         * uk_UA: Fix sorting order for Ukrainian locale
30357 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
30359         * stdlib/monetary.h: Fix comment.
30361 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30363         [BZ #18234]
30364         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
30365         st_mtim and st_ctim members.
30366         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
30367         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
30368         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
30369         (struct stat64): Likewise.
30370         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
30371         (struct stat64): Likewise.
30372         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
30373         (struct stat64): Likewise.
30375 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30377         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
30378         Define and include sysdep-vdso.h.
30379         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
30380         Likewise.
30381         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
30382         Likewise.
30383         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
30384         Define with VDSO_SYMBOL and use PTR_MANGLE.
30385         (__vdso_clock_gettime): Likewise.
30386         (__vdso_clock_getres): Likewise.
30387         (_libc_vdso_platform_setup): Likewise.
30388         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30389         Likewise.
30390         (_libc_vdso_platform_setup): Likewise.
30391         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
30392         Likewise.
30393         (__vdso_clock_gettime): Likewise.
30394         (__vdso_clock_getres): Likewise.
30395         (__vdso_get_tbfreq): Likewise.
30396         (__vdso_getcpu): Likewise.
30397         (__vdso_time): Likewise.
30398         (__vdso_sigtramp_rt64): Likewise.
30399         (__vdso_signtramp32): Likewise.
30400         (__vdso_sigtramp_rt32): Likewise.
30401         (_libc_vdso_platform_setup): Likewise.
30402         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
30403         Likewise.
30404         (__vdso_clock_gettime): Likewise.
30405         (__vdso_clock_getres): Likewise.
30406         (_libc_vdso_platform_setup): Likewise.
30407         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
30408         Likewise.
30409         (__vdso_clock_gettime): Likewise.
30410         (_libc_vdso_platform_setup): Likewise.
30411         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30412         Likewise.
30413         (__vdso_getcpu): Likewise.
30414         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
30415         Use VDSO_SYMBOL macro to define.
30416         (__vdso_clock_gettime): Likewise.
30417         (__vdso_clock_getres): Likewise.
30418         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
30419         Likewise.
30420         (__vdso_clock_gettime): Likewise.
30421         (__vdso_clock_getres): Likewise.
30422         (__vdso_get_tbfreq): Likewise.
30423         (__vdso_getcpu): Likewise.
30424         (__vdso_time): Likewise.
30425         (__vdso_sigtramp_rt64): Likewise.
30426         (__vdso_signtramp32): Likewise.
30427         (__vdso_sigtramp_rt32): Likewise.
30428         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
30429         Likewise.
30430         (__vdso_clock_gettime): Likewise.
30431         (__vdso_clock_getres): Likewise.
30432         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
30433         Likewise.
30434         (__vdso_clock_gettime): Likewise.
30435         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
30436         Likewise.
30437         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
30438         macro.
30439         (INTERNAL_VSYSCALL): Likewise.
30440         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
30441         Remove macro.
30442         (INTERNAL_VSYSCALL): Likewise.
30443         (INTERNAL_VSYSCALL_NCS): Likewise.
30444         (INTERNAL_VSYSCALL_CALL): New macro.
30445         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30446         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
30447         Likewise.
30448         (INTERNAL_VSYSCALL): Likewise.
30449         (INTERNAL_VSYSCALL_NCS): Likewise.
30450         (INTERNAL_VSYSCALL_CALL): New macro.
30451         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30453         (INLINE_VSYSCALL): Remove macro.
30454         (INTERNAL_VSYSCALL): Remove macro.
30455         (INTERNAL_VSYSCALL_NCS): Remove macro.
30456         (INTERNAL_VSYSCALL_CALL): New macro.
30457         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
30458         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
30459         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30460         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
30461         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30463         (INLINE_VSYSCALL): Remove macro.
30464         (INTERNAL_VSYSCALL): Likewise.
30465         (INTERNAL_VSYSCALL_NCS): Likewise.
30466         (INTERNAL_VSYSCALL_CALL): New macro.
30467         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
30468         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
30469         PTR_DEMANGLE on vDSO pointer.
30470         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30471         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
30472         macro.
30473         (INTERNAL_SYSCALL): Likewise.
30474         (INTERNAL_VSYSCALL_NCS): Remove macro.
30475         (INTERNAL_VSYSCALL_CALL): New macro.
30476         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
30477         Remove macro.
30478         (INTERNAL_VSYSCALL): Likewise.
30479         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
30480         sysdep-vdso.h instead of libc-vdso.h.
30481         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
30482         definition.
30483         (INLINE_VSYSCALL): Likewise.
30484         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
30485         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
30486         definition.
30487         (INLINE_VSYSCALL): Likewise.
30488         (INTERNAL_VSYSCALL): Likewise.
30489         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30490         * sysdeps/unix/sysv/linux/timespec_get.c
30491         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30492         (timespec_get): Use ANSI prototype.
30493         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
30494         and definition for Linux.
30496 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
30498         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
30499         * include/libc-symbols.h: libmvec_hidden_* macro series added.
30501 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30503         [BZ #2981]
30504         [BZ #18410]
30505         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
30506         for missing DT_PLTRELSZ.
30508 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
30510         Remove obsolete aliases that broke 'locale -a'
30511         [BZ #18412]
30512         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
30513         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
30514         breaking some applications that use 'locale -a' output.
30515         Change the encoding of this file from Latin-1 to ASCII to avoid
30516         other potential problems with people grepping this file.
30518 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30520         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
30521         -fasynchronous-unwind-tables.
30522         (CFLAGS-sendto.c): Likewise.
30523         (CFLAGS-sendmsg.c): Likewise.
30524         (CFLAGS-connect.c): Likewise.
30525         (CFLAGS-recvmsg.c): Likewise.
30526         (CFLAGS-recvfrom.c): Likewise.
30527         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
30528         (SOCKETCALL): New macro: non-cancellable socketcall.
30529         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
30530         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
30531         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
30532         * sysdeps/unix/sysv/linux/accept.c: New file.
30533         * sysdeps/unix/sysv/linux/bind.c: Likewise.
30534         * sysdeps/unix/sysv/linux/connect.c: Likewise.
30535         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
30536         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
30537         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
30538         * sysdeps/unix/sysv/linux/listen.c: Likewise.
30539         * sysdeps/unix/sysv/linux/recv.c: Likewise.
30540         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
30541         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
30542         * sysdeps/unix/sysv/linux/send.c: Likewise.
30543         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
30544         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
30545         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
30546         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
30547         * sysdeps/unix/sysv/linux/socket.c: Likewise.
30548         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
30549         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
30550         prototype.
30551         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
30552         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30553         instead of __internal_xxx function.
30554         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
30555         prototype.
30556         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
30557         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30558         instead of __internal_xxx function.
30559         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
30560         prototype.
30561         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
30562         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30563         instead of __internal_xxx function.
30564         * sysdeps/unix/sysv/linux/accept.S: Remove file.
30565         * sysdeps/unix/sysv/linux/bind.S: Likewise.
30566         * sysdeps/unix/sysv/linux/connect.S: Likewise.
30567         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
30568         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
30569         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
30570         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
30571         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
30572         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
30573         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
30574         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
30575         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30576         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
30577         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
30578         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
30579         * sysdeps/unix/sysv/linux/listen.S: Likewise.
30580         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
30581         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
30582         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
30583         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
30584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
30585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
30586         * sysdeps/unix/sysv/linux/recv.S: Likewise.
30587         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
30588         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
30589         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
30590         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30591         * sysdeps/unix/sysv/linux/send.S: Likewise.
30592         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
30593         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
30594         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
30595         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
30596         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
30597         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
30598         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
30599         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
30600         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
30601         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
30602         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
30603         socketcall is implemented in GLIBC.
30605 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30607         * soft-fp/fmadf4.c: Include <libc-internal.h>.
30608         (__fma): Ignore uninitialized warnings around packing.
30609         * soft-fp/fmasf4.c: Include <libc-internal.h>.
30610         (__fmaf): Ignore uninitialized warnings around packing.
30611         * soft-fp/fmatf4.c: Include <libc-internal.h>.
30612         (__fmal): Ignore uninitialized warnings around packing.
30614         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
30615         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30616         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
30617         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30619         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
30620         switch statement into default case.
30621         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
30623         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
30624         a conditional in forcing "inexact".
30625         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30626         Likewise.
30628 2015-05-22  Roland McGrath  <roland@hack.frob.com>
30630         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30631         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
30632         for each INTERNAL_SYSCALL use.
30634 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30636         [BZ #438]
30637         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
30638         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
30639         variable.
30641         [BZ #18444]
30642         * string/basename.c (basename): Rename to __basename and define as
30643         weak alias of __basename.  Use libc_hidden_weak.
30644         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
30645         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
30646         __basename instead of basename.
30647         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
30648         Remove variable.
30649         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
30651 2015-05-18  Florian Weimer  <fweimer@redhat.com>
30653         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
30654         (_IO_JUMPS_FILE_plus): New.
30655         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
30656         _IO_CAST_FIELD_ACCESS.
30657         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
30658         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
30659         * libio/freopen.c (freopen): Likewise.
30660         * libio/freopen64.c (freopen64): Likewise.
30661         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
30662         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
30663         * libio/iofwide.c (_IO_fwide): Likewise.
30664         * libio/memstream.c (open_memstream): Likewise.
30665         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30666         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
30667         * libio/oldiopopen.c (_IO_old_popen): Likewise.
30669 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
30671         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
30672         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
30673         NADJ.
30674         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
30675         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
30676         NADJ.
30677         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
30678         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
30679         NADJ.
30681         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
30682         (p == 4) case.
30684         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
30685         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
30686         Remove variable.
30687         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30688         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30689         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30691 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30693         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
30694         Adjust jump table label generation macros.
30696 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30698         * stdio-common/vfprintf.c (vfprintf): Move local variables
30699         args_malloced, specs, specs_malloced, and the code after
30700         do_positional to the printf_positional function.
30701         (printf_positional): New function.
30703 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30705         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
30706         function.
30707         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
30708         STEP4_TABLE, process_arg): Move macro definitions
30709         out of the vfprintf function.  (Cosmetic change only.)
30711 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
30713         * benchtests/Makefile (stdio-common-bench): Define.
30714         (benchset): Add stdio-common-bench.
30715         * sprintf-inputs: New file.
30716         * sprintf-source.c: New file.
30718 2015-05-21  Andreas Schwab  <schwab@suse.de>
30720         [BZ #13028]
30721         [BZ #17053]
30722         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
30723         of struct __res_state.
30724         * resolv/res_send.c (__libc_res_nsend): Likewise.
30725         (get_nsaddr): New function.
30726         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
30727         statp directly.
30729 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
30731         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
30732         -D_POSIX_C_SOURCE=199506L.
30734         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
30736         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
30737         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
30738         Do not mention otherwise.
30739         [POSIX] (_XOPEN_VERSION): Do not expect.
30740         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
30741         [POSIX] (_POSIX2_C_BIND): Likewise.
30742         [POSIX] (_POSIX2_VERSION): Likewise.
30743         [POSIX] (_XOPEN_XPG2): Likewise.
30744         [POSIX] (_XOPEN_XPG3): Likewise.
30745         [POSIX] (_XOPEN_XPG4): Likewise.
30746         [POSIX] (_XOPEN_UNIX): Likewise.
30747         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
30748         [POSIX] (_POSIX_BARRIERS): Likewise.
30749         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
30750         [POSIX] (_POSIX_CPUTIME): Likewise.
30751         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
30752         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
30753         [POSIX] (_POSIX_SHELL): Likewise.
30754         [POSIX] (_POSIX_SPAWN): Likewise.
30755         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
30756         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
30757         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
30758         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
30759         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
30760         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
30761         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
30762         [POSIX] (_XBS5_LP64_OFF64): Likewise.
30763         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
30764         [POSIX] (_POSIX_TIMEOUTS): Likewise.
30765         [POSIX] (_POSIX2_PBS): Likewise.
30766         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
30767         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
30768         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
30769         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
30770         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
30771         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
30772         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
30773         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
30774         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
30775         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
30776         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
30777         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
30778         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
30779         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
30780         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
30781         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
30782         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
30783         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
30784         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
30785         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
30786         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
30787         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
30788         [POSIX] (_SC_2_C_BIND): Likewise.
30789         [POSIX] (_SC_2_C_VERSION): Likewise.
30790         [POSIX] (_SC_2_PBS): Likewise.
30791         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
30792         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
30793         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
30794         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
30795         [POSIX] (_SC_2_PBS_TRACK): Likewise.
30796         [POSIX] (_SC_ATEXIT_MAX): Likewise.
30797         [POSIX] (_SC_BARRIERS): Likewise.
30798         [POSIX] (_SC_BASE): Likewise.
30799         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
30800         [POSIX] (_SC_DEVICE_IO): Likewise.
30801         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
30802         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
30803         [POSIX] (_SC_FD_MGMT): Likewise.
30804         [POSIX] (_SC_FIFO): Likewise.
30805         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
30806         [POSIX] (_SC_FILE_LOCKING): Likewise.
30807         [POSIX] (_SC_FILE_SYSTEM): Likewise.
30808         [POSIX] (_SC_IOV_MAX): Likewise.
30809         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
30810         [POSIX] (_SC_NETWORKING): Likewise.
30811         [POSIX] (_SC_PAGE_SIZE): Likewise.
30812         [POSIX] (_SC_PASS_MAX): Likewise.
30813         [POSIX] (_SC_PIPE): Likewise.
30814         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
30815         [POSIX] (_SC_REGEXP): Likewise.
30816         [POSIX] (_SC_SHELL): Likewise.
30817         [POSIX] (_SC_SIGNALS): Likewise.
30818         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
30819         [POSIX] (_SC_SPIN_LOCKS): Likewise.
30820         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
30821         [POSIX] (_SC_USER_GROUPS): Likewise.
30822         [POSIX] (_SC_USER_GROUPS_R): Likewise.
30823         [POSIX] (_SC_STREAMS): Likewise.
30824         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
30825         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
30826         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
30827         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
30828         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
30829         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
30830         [POSIX] (_PC_FILESIZEBITS): Likewise.
30831         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
30832         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
30833         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
30834         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
30835         [POSIX] (uid_t): Likewise.
30836         [POSIX] (gid_t): Likewise.
30837         [POSIX] (off_t): Likewise.
30838         [POSIX] (pid_t): Likewise.
30839         [POSIX] (cuserid): Allow.
30840         (_SC_2_CHAR_TERM): Require constant.
30841         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
30842         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
30843         variable.
30845 2015-05-20  Roland McGrath  <roland@hack.frob.com>
30847         * sysdeps/nacl/pthread-pids.h: New file.
30848         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
30849         (create_thread): Use __nacl_get_tid to initialize PD->tid.
30851         * nptl/pthread-pids.h: New file.
30852         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
30853         * nptl/nptl-init.c: Include <pthread-pids.h>.
30854         (__pthread_initialize_minimal_internal):
30855         Call __pthread_initialize_pids instead of set_tid_address syscall.
30857         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
30858         * sysdeps/posix/usleep.c: ... here.
30860 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30862         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
30863         call_pselect6 object.
30864         [$(subdir) = io]: Remove call_sync_file_range object.
30865         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
30866         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
30867         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
30868         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
30870 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
30872         * math/s_cproj.c: Add include "math_private.h".
30873         * math/s_cprojf.c: Likewise.
30874         * math/s_cprojl.c: Likewise.
30876 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
30878         [BZ #18244]
30879         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
30880         high mantissa bit when testing whether P is a NaN.
30881         * math/libm-test.inc (remainder_test_data): Add more tests.
30882         (remquo_test_data): Likewise.
30884         [BZ #18049]
30885         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
30886         below -32, return the argument, with underflow if subnormal.
30887         * math/auto-libm-test-in: Add more tests of atanh.
30888         * math/auto-libm-test-out: Regenerated.
30890 2015-05-19  Roland McGrath  <roland@hack.frob.com>
30892         [BZ #18434]
30893         * nptl/tst-sem15.c: New file.
30894         * nptl/Makefile (tests): Add it.
30895         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
30896         s/<</>>/ to fix typo in EOVERFLOW check.
30897         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
30899 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30901         * manual/strings.texi (envz_remove): Fix typo in safety
30902         annotations.
30904 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
30905             Steve Ellcey  <sellcey@imgtec.com>
30907         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
30908         in order to avoid strict alias warnings.
30909         (iruserok_af): Ditto for ra.
30911 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
30913         [BZ #17581]
30914         * malloc/hooks.c
30915         (magicbyte): Convert to a function and avoid returning 0x01.
30916         (mem2mem_check): Avoid using a length byte equal to the magic byte.
30917         (mem2chunk_check): Fix unsigned comparisons to zero.
30918         Hoist defs of sz and magic.
30920 2015-05-19  Richard Henderson  <rth@redhat.com>
30922         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
30924         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30926 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30928         [BZ #16159]
30929         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
30930         * malloc/arena.c (arena_lock): Check if arena is corrupt.
30931         (reused_arena): Find a non-corrupt arena.
30932         (heap_trim): Pass arena to unlink.
30933         * malloc/hooks.c (malloc_check_get_size): Pass arena to
30934         malloc_printerr.
30935         (top_check): Likewise.
30936         (free_check): Likewise.
30937         (realloc_check): Likewise.
30938         * malloc/malloc.c (malloc_printerr): Add arena argument.
30939         (unlink): Likewise.
30940         (munmap_chunk): Adjust.
30941         (ARENA_CORRUPTION_BIT): New macro.
30942         (arena_is_corrupt): Likewise.
30943         (set_arena_corrupt): Likewise.
30944         (sysmalloc): Use mmap if there are no usable arenas.
30945         (_int_malloc): Likewise.
30946         (__libc_malloc): Don't fail if arena_get returns NULL.
30947         (_mid_memalign): Likewise.
30948         (__libc_calloc): Likewise.
30949         (__libc_realloc): Adjust for additional argument to
30950         malloc_printerr.
30951         (_int_free): Likewise.
30952         (malloc_consolidate): Likewise.
30953         (_int_realloc): Likewise.
30954         (_int_memalign): Don't touch corrupt arenas.
30955         * malloc/tst-malloc-backtrace.c: New test case.
30957         * Makefile (summarize-tests): Fix return value on success.
30959         * manual/string.texi (Envz Functions): Add envz_remove.
30961 2015-05-18  Roland McGrath  <roland@hack.frob.com>
30963         * sysdeps/posix/opendir.c: Include <stdbool.h>.
30964         (invalid_name): New function, broken out of ...
30965         (__opendirat): ... here.  Call it.
30966         (need_isdir_precheck): New function, broken out of ...
30967         (__opendirat): ... here.  Call it.
30968         Use __fxstatat64, not __xstatat64.
30969         (opendir_oflags): New function, broken out of ...
30970         (__opendirat): ... here.  Call it.
30971         (opendir_tail): New function, broken out of ...
30972         (__opendirat): ... here.  Call it.
30973         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
30974         opendir_tail, rather than punting to __opendirat.
30975         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
30977 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30979         * .gitignore: Ignore generated *.pyc.
30981 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
30983         * include/stdio.h: Define __need_wint_t.
30984         * test-skeleton.c: Avoid `for' loop initial declaration.
30985         * nptl/tst-initializers1.c: Use test-skeleton.c.
30987 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30989         [BZ #18418]
30990         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
30992 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30994         [BZ #16352]
30995         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
30996         (__ieee754_atanh): Force underflow exception for results with
30997         small absolute value.
30998         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
30999         (__ieee754_atanhf): Force underflow exception for results with
31000         small absolute value.
31001         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
31002         (__ieee754_atanh): Force underflow exception for results with
31003         small absolute value.
31004         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
31005         (__ieee754_atanhf): Force underflow exception for results with
31006         small absolute value.
31007         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
31008         (__ieee754_atanhl): Force underflow exception for results with
31009         small absolute value.
31010         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
31011         (__ieee754_atanhl): Force underflow exception for results with
31012         small absolute value.
31013         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
31014         (__ieee754_atanhl): Force underflow exception for results with
31015         small absolute value.
31016         * math/auto-libm-test-in: Do not allow missing underflow
31017         exceptions from atanh.
31018         * math/auto-libm-test-out: Regenerated.
31020         [BZ #18221]
31021         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
31022         2**-28 as threshold for returning x or +/- 1/x.
31023         * math/auto-libm-test-in: Add more tests of tan.
31024         * math/auto-libm-test-out: Regenerated.
31026         [BZ #18220]
31027         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31028         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
31029         * math/auto-libm-test-in: Add another test of lgamma.
31030         * math/auto-libm-test-out: Regenerated.
31032 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
31034         * stdio-common/printf_fp.c (___printf_fp): Use abs.
31035         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
31036         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
31037         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
31038         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
31039         (ADD2A): Use fabs.  (SUB2A): Use fabs.
31040         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
31041         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
31042         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
31043         (log1): Use fabs.  (my_log2): Use fabs.
31044         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
31045         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
31046         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
31047         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
31048         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
31049         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
31050         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
31051         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
31052         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
31053         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
31054         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
31056 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31058         [BZ #18217]
31059         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
31060         as threshold for returning 1 - x.
31061         * math/auto-libm-test-in: Add more tests of erfc.
31062         * math/auto-libm-test-out: Regenerated.
31064 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
31066         [BZ #18196]
31067         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
31068         threshold for large arguments.
31069         * math/auto-libm-test-in: Add another test of atan.
31070         * math/auto-libm-test-out: Regenerated.
31072         [BZ #16339]
31073         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
31074         (__log1p): Force underflow exception for results with small
31075         absolute value.
31076         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
31077         (__log1pf): Force underflow exception for results with small
31078         absolute value.
31079         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
31080         (__log1p): Force underflow exception for results with small
31081         absolute value.
31082         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
31083         (__log1pf): Force underflow exception for results with small
31084         absolute value.
31085         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
31086         (__log1pl): Force underflow exception for results with small
31087         absolute value.
31088         * math/auto-libm-test-in: Do not allow missing underflow
31089         exceptions from log1p.
31090         * math/auto-libm-test-out: Regenerated.
31092 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
31093             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31095         [BZ #16704]
31096         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
31098 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
31100         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
31101         (libmvec): New variable.
31102         * configure.ac: Added option for mathvec build.
31103         * configure: Regenerated.
31104         * mathvec/Depend: New file.
31105         * mathvec/Makefile: New file.
31106         * shlib-versions: Added libmvec.
31107         * math/Makefile: Added rule for libm.so installation.
31109         * bits/math-vector.h: New file.
31110         * bits/libm-simd-decl-stubs.h: New header.
31111         * math/Makefile (headers): Added new header
31112         libm-simd-decl-stubs.h.
31113         * math/math.h (__MATHCALL_VEC): New macro.
31115         * math/gen-libm-have-vector-test.sh: Script generates series of macros
31116         for conditions in testing functions.
31117         * math/Makefile: Added call of libm-have-vector-test.sh.
31118         * math/libm-test.inc (HAVE_VECTOR): New macros.
31120         * math/libm-test.inc: START refactored.
31121         * math/test-double.c (TEST_MATHVEC): Add define.
31122         * math/test-float.c: Likewise.
31123         * math/test-idouble.c: Likewise.
31124         * math/test-ifloat.c: Likewise.
31125         * math/test-ildoubl.c: Likewise.
31126         * math/test-ldouble.c: Likewise.
31127         * sysdeps/generic/math-tests-arch.h
31128         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
31129         architecture check.
31131         * math/test-double.c (FUNC_TEST): New macro.
31132         * math/test-float.c: Likewise.
31133         * math/test-idouble.c: Likewise.
31134         * math/test-ifloat.c: Likewise.
31135         * math/test-ildoubl.c: Likewise.
31136         * math/test-ldouble.c: Likewise.
31137         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
31139 2015-05-13  Roland McGrath  <roland@hack.frob.com>
31141         * sysdeps/nacl/fdopendir.c: New file.
31143         * dirent/scandir-tail.c: New file.
31144         * dirent/scandir64-tail.c: New file.
31145         * dirent/Makefile (routines): Add them.
31146         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
31147         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
31148         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
31149         [!SCANDIR] (SCANDIR_TAIL): New macro.
31150         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
31151         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
31152         (SCANDIRAT): Macro removed.
31153         (SCANDIR_TAIL): New macro.
31154         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
31155         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
31156         (SCANDIRAT): Just call __opendirat and __scandir_tail.
31157         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
31158         (READDIR): Macro removed.
31159         (SCANDIR_TAIL): New macro.
31160         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
31161         (SCANDIR_TAIL): New macro.
31163         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
31164         * dirent/scandir-cancel.c: ... to this new file.
31165         * dirent/Makefile (routines): Add it.
31166         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
31167         * sysdeps/unix/sysv/linux/i386/scandir64.c
31168         (SKIP_SCANDIR_CANCEL): Macro removed.
31169         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
31171         * dirent/tst-scandir.c: New file.
31172         * dirent/tst-scandir64.c: New file.
31173         * dirent/Makefile (tests): Add them.
31175 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
31177         [BZ #18409]
31178         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
31180 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31182         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
31183         list.
31185 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
31187         * benchtests/bench-strcoll.c: New benchmark.
31188         * benchtests/Makefile: Generate locales and run benchmark.
31189         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
31190         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
31191         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
31192         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
31193         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
31194         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
31195         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
31196         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
31197         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
31198         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
31199         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
31200         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
31201         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
31202         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
31203         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
31204         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
31205         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
31206         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
31207         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
31208         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
31209         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
31210         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
31211         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
31212         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
31214 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
31216         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
31217         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31219 2015-05-12  Roland McGrath  <roland@hack.frob.com>
31221         * posix/uname-values.h: New file.
31222         * posix/uname.c: Include that instead of <config-name.h>.
31223         * sysdeps/nacl/uname-values.h: New file.
31224         * sysdeps/arm/nacl/uname-values.h: New file.
31226 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
31228         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
31229         splitting into fields.
31231 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
31233         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
31234         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
31235         * locale/localeinfo.h: Add enum collation_encoding_type.
31236         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
31237         * programs/ld-collate.c (collate_output): Add encoding type info.
31238         * string/strcoll_l.c (STRDIFF): New function.
31239         * (STRCOLL): Use STRDIFF to skip over equal prefix.
31240         * wcsmbs/wcscoll_l.c: Define STRDIFF.
31242 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
31244         [BZ #18397]
31245         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
31246         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
31247         <fpu_control.h> instead of <math/fpu_control.c>.
31248         * sysdeps/mips/mips32/fpu/Makefile: New file.
31250 2015-05-11  Andreas Schwab  <schwab@suse.de>
31252         [BZ #18007]
31253         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
31254         nss_endgrent.
31255         (_nss_compat_endgrent): Call nss_endgrent.
31256         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
31257         nss_endpwent.
31258         (_nss_compat_endpwent): Call nss_endpwent.
31259         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
31260         needent, call nss_setspent only if non-zero.
31261         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
31262         (internal_endspent): Don't call nss_endspent.
31263         (_nss_compat_endspent): Call nss_endspent.
31264         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
31265         Remove.  All uses removed.
31266         (internal_setent): Remove parameter stayopen, add parameter
31267         stream.  Use it instead of global variable.
31268         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
31269         (internal_endent, internal_getent): Add parameter stream.  Use it
31270         instead of global variable.
31271         (CONCAT(_nss_files_end,ENTNAME))
31272         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
31273         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
31274         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
31275         uses removed.
31276         (internal_setent, internal_endent): Add parameter stream.  Use it
31277         instead of global variable.
31278         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
31279         stream.
31280         (get_next_alias): Add parameter stream.
31281         (_nss_files_getaliasent_r): Pass global stream.
31282         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
31283         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
31284         (_nss_files_gethostbyname4_r): Pass local stream to
31285         internal_setent, internal_getent and internal_endent.  Remove
31286         locking.
31288 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31290         * tst-strfmon1.c (tests): Update expected currency symbol.
31292 2015-05-08  Roland McGrath  <roland@hack.frob.com>
31294         * sysdeps/nacl/gethostname.c: New file.
31296 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
31298         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
31299         and sinh.
31300         * math/auto-libm-test-out: Regenerated.
31301         * sysdeps/i386/fpu/libm-test-ulps: Update.
31302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31304 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
31306         [BZ #18125]
31307         * stdlib/tst-setcontext3.c: New file.
31308         * stdlib/tst-setcontext3.sh: New file.
31309         * stdlib/Makefile (tests): Add tst-setcontext3.
31310         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
31311         to verify test program created output file.
31312         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
31313         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
31314         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
31315         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
31317 2015-05-06  Roland McGrath  <roland@hack.frob.com>
31319         [BZ #18383]
31320         * elf/tst-tlsalign.c: New file.
31321         * elf/tst-tlsalign-static.c: New file.
31322         * elf/tst-tlsalign-lib.c: New file.
31323         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
31324         (tests-static): Add tst-tlsalign-static.
31325         (modules-names): Add tst-tlsalign-lib.
31326         (test-xfail-tst-tlsalign): New variable.
31327         (test-xfail-tst-tlsalign-static): New variable.
31329         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
31330         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
31332 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
31334         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
31335         csqrt, erfc, sin and sincos.
31336         * math/auto-libm-test-out: Regenerated.
31337         * sysdeps/i386/fpu/libm-test-ulps: Update.
31338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31340 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31342         * sysdeps/aarch64/libm-test-ulps: Update.
31344 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
31346         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
31347         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
31348         * math/auto-libm-test-out: Regenerated.
31349         * sysdeps/i386/fpu/libm-test-ulps: Update.
31350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31352 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31354         [BZ #18265]
31355         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
31356         (wcsncpy): Likewise.
31358 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31360         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31361         Assume __ASSUME_FALLOCATE is always true.
31362         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31363         (__posix_fallocate64_l64): Likewise.
31364         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
31365         (posix_fallocate): Likewise.
31366         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
31367         (__posix_fallocate64_l64): Likewise.
31368         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31369         [!__ASSUME_FALLOCATE]: Add comment.
31371 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31373         * sysdeps/unix/sysv/linux/i386/Makefile
31374         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
31375         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
31376         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
31377         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31378         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31379         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
31380         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
31382 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
31384         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
31385         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
31386         tgamma.
31387         * math/auto-libm-test-out: Regenerated.
31388         * sysdeps/i386/fpu/libm-test-ulps: Update.
31389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31391 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31393         * math/auto-libm-test-in: Add more tests of tgamma.
31394         * math/auto-libm-test-out: Regenerated.
31395         * sysdeps/i386/fpu/libm-test-ulps: Update.
31396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31398         * math/auto-libm-test-in: Add more tests of tanh.
31399         * math/auto-libm-test-out: Regenerated.
31400         * sysdeps/i386/fpu/libm-test-ulps: Update.
31401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31403         * math/auto-libm-test-in: Add more tests of tan.
31404         * math/auto-libm-test-out: Regenerated.
31405         * sysdeps/i386/fpu/libm-test-ulps: Update.
31406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31408         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
31409         * math/auto-libm-test-out: Regenerated.
31410         * sysdeps/i386/fpu/libm-test-ulps: Update.
31411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31413         * math/auto-libm-test-in: Add another test of pow.
31414         * math/auto-libm-test-out: Regenerated.
31415         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31417         * math/auto-libm-test-in: Add more tests of lgamma.
31418         * math/auto-libm-test-out: Regenerated.
31419         * sysdeps/i386/fpu/libm-test-ulps: Update.
31420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31422         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
31423         log1p.
31424         * math/auto-libm-test-out: Regenerated.
31425         * sysdeps/i386/fpu/libm-test-ulps: Update.
31426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31428 2015-05-01  Mark Wielaard  <mjw@redhat.com>
31430         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
31431         Elf64_Chdr structs and ELFCOMPRESS constants.
31433 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31435         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
31436         expm1.
31437         * math/auto-libm-test-out: Regenerated.
31438         * sysdeps/i386/fpu/libm-test-ulps: Update.
31439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31441         * math/auto-libm-test-in: Add more tests of erf and erfc.
31442         * math/auto-libm-test-out: Regenerated.
31443         * sysdeps/i386/fpu/libm-test-ulps: Update.
31444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31446 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31448         * config.h.in (HAVE_AARCH64_BE): Add.
31450 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
31452         * math/auto-libm-test-in: Add more tests of csqrt.
31453         * math/auto-libm-test-out: Regenerated.
31454         * sysdeps/i386/fpu/libm-test-ulps: Update.
31455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31457         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31458         * math/auto-libm-test-out: Regenerated.
31459         * sysdeps/i386/fpu/libm-test-ulps: Update.
31460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31462         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
31464 2015-04-29  Roland McGrath  <roland@hack.frob.com>
31466         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
31467         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
31469         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
31470         (euidaccess, eaccess): Define as weak aliases.
31472         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
31473         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
31474         but __suseconds_t is often 'long int' so some sources assume that
31475         type is being used (e.g. they use %ld to print tv_usec).
31477 2015-04-29  Florian Weimer  <fweimer@redhat.com>
31479         [BZ #18007]
31480         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
31481         (CVE-2014-8121)
31482         * nss/tst-nss-getpwent.c: New file.
31483         * nss/Makefile (tests): Add new test.
31485 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
31487         [BZ #18346]
31488         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
31489         exponents less than 48 as cases where high part of mantissa needs
31490         examining to determine whether argument is integral.
31491         * math/libm-test.inc (round_test_data): Add more tests.
31493 2015-04-28  Mark Wielaard  <mjw@redhat.com>
31495         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
31497 2015-04-27  David S. Miller  <davem@davemloft.net>
31499         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
31500         __tls_get_addr.
31501         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31503 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
31505         [BZ #18333]
31506         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
31508 2015-04-27  Florian Weimer  <fweimer@redhat.com>
31510         [BZ #18333]
31511         * time/tzset.c (parse_tzname): Return error on memory allocation
31512         failure.
31513         * test-skeleton.c (struct temp_name_list): Change type of name
31514         member to non-const.
31515         (add_temp_file): Create a copy of the file name.
31516         (delete_temp_files): Deallocate memory.
31517         (create_temp_file): Add comment.
31519 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31521         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
31522         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
31524 2015-04-24  Roland McGrath  <roland@hack.frob.com>
31526         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
31527         * sysdeps/arm/configure: Regenerated.
31529 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31531         [BZ #17715]
31532         * time/tzfile.c (__tzfile_read): Check for large values of
31533         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
31534         * time/tzset.c (__tzstring_len): New function, based on the old
31535         __tzstring function.
31536         (__tzstring): Call __tzstring_len.
31537         (parse_tzname): New helper function extracted from
31538         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
31539         the input string.
31540         (parse_offset): New helper function extracted from
31541         __tzset_parse_tz.  Replace switch with fallthrough with
31542         initialization before sscanf.
31543         (parse_rule): Likewise.
31544         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
31545         new-style function definition.
31546         * timezone/Makefile (tests): Add tst-tzset.
31547         (tst-tzset.out): Dependencies on time zone files.
31548         (tst-tzset-ENV): Set TZDIR.
31549         (testdata/XT%): Copy crafted time zone files.
31550         * timezone/README: Mention crafted time zone files.
31551         * timezone/testdata/XT1, timezone/testdata/XT2,
31552         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
31553         files.
31554         * timezone/tst-tzset.c: New test.
31556 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31558         * Makeconfig (+gccwarn): Remove -Winline.
31560 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31562         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
31564 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31566         * NEWS: Mention sysconf() cache information support for s390.
31567         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
31569 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
31571         * math/k_casinh.c (__kernel_casinh): Use __copysign.
31572         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
31573         (__nearbyint): Likewise.
31574         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
31575         (copysignl): Likewise.
31577 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
31579         [BZ #18287]
31580         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
31581         based on padding.  (CVE-2015-1781)
31583 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31585         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
31586         libc-vdso.h.
31587         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
31588         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
31589         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
31590         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31591         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31592         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
31593         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
31594         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31595         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31596         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
31597         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31598         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31599         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
31600         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
31601         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31602         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
31603         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
31604         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
31605         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
31606         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
31607         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
31608         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
31609         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
31611 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
31613         * stdlib/setenv.c (__add_to_environ):
31614         Dump core quickly if setenv (..., NULL, ...) is called.
31615         This time, do it the right way, and pacify GCC with a pragma.
31617 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31619         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
31620         IMAP->l_prev cannot be null, and #if out the code for the contrary
31621         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
31622         believe that NS (&_dl_ns[NSID]) could point outside the array.
31624         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
31625         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
31626         before using NSID as an index.
31628 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
31630         [BZ #17825]
31631         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
31632         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
31633         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31635 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31637         Add preliminary port to Google Native Client on ARM.
31638         * abi-tags (.*-.*-nacl.*): New entry.
31639         * sysdeps/arm/nacl: New directory.
31640         * sysdeps/nacl: New directory.
31642 2015-04-16  David S. Miller  <davem@davemloft.net>
31644         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
31645         lowlevellock-futex.h
31647 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
31649         * sysdeps/tile/configure.ac: New file.
31650         * sysdeps/tile/configure: Regenerated.
31652 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31654         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
31655         conditionals for weak_alias and libc_hidden_weak.
31656         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
31657         libc_hidden_weak and weak_alias.
31658         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
31659         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
31660         and weak_alias for static one.
31662 2015-04-15  David S. Miller  <davem@davemloft.net>
31664         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31666 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31668         [BZ #18206]
31669         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
31670           Use signed comparision instead of substraction to avoid
31671           overflow bug.
31672         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
31673           Take the sign of ret.
31674         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
31675           Do not expect precise return values. Only the sign matters.
31676         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
31677         * wcsmbs/test-wcsncmp.c: New File.
31678         * string/test-strncmp.c: Add wcsncmp support.
31680 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31682         [BZ #6792]
31683         * math/w_log1p.c: New file.
31684         * math/w_log1pf.c: Likewise.
31685         * math/w_log1pl.c: Likewise.
31686         * math/Makefile (libm-calls): Add w_log1p.
31687         * math/s_log1pl.c (log1pl): Remove weak_alias.
31688         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
31689         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
31690         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
31691         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
31692         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
31693         [NO_LONG_DOUBLE] (log1pl): Likewise.
31694         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
31695         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
31696         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
31697         (log1p): Remove long_double_symbol.
31698         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
31699         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
31700         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
31701         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
31702         remove weak_alias for corresponding log1p function.
31703         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
31704         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
31705         * sysdeps/ia64/fpu/w_log1p.c: New file.
31706         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
31707         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
31708         * math/libm-test.inc (log1p_test_data): Add errno expectations.
31710 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
31712         [BZ #18247]
31713         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
31714         decimal exponent by 1.
31715         * stdlib/tst-strtod-round-data: Add more tests.
31716         * stdlib/tst-strtod-round.c (tests): Regenerated.
31718 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
31720         * math/auto-libm-test-in: Add more tests of clog and clog10.
31721         * math/auto-libm-test-out: Regenerated.
31722         * sysdeps/i386/fpu/libm-test-ulps: Update.
31723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31725 2015-04-09  Roland McGrath  <roland@hack.frob.com>
31727         * Makeconfig (module-cppflags): Exclude all .v.i files.
31728         (skip-module-cppflags): Variable removed.
31730         * configure.ac (libc_config_ok): Initialize before reading
31731         preconfigure scripts, not after.
31732         * configure: Regenerated.
31734         * test-skeleton.c (TIMEOUT): Move #define to top level.
31735         (main): Grok environment variable TEST_DIRECT.  If set, print
31736         test expectation details into that file and then behave as if
31737         given --direct.
31739 2015-04-09  Florian Weimer  <fweimer@redhat.com>
31741         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
31742         warning on 32-bit.
31744 2015-04-08  David S. Miller  <davem@davemloft.net>
31746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31748 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
31750         * math/auto-libm-test-in: Add more tests of atanh.
31751         * math/auto-libm-test-out: Regenerated.
31752         * sysdeps/i386/fpu/libm-test-ulps: Update.
31753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31755         * math/auto-libm-test-in: Add more tests of atan.
31756         * math/auto-libm-test-out: Regenerated.
31757         * sysdeps/i386/fpu/libm-test-ulps: Update.
31758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31760 2015-04-08  Florian Weimer  <fweimer@redhat.com>
31762         * elf/pldd.c (main): Rewrite to use struct
31763         scratch_buffer instead of extend_alloca.
31764         * elf/pldd-xx.c (find_maps): Likewise.
31765         * grp/initgroups.c: Include <scratch_buffer.h> instead of
31766         <alloca.h>.
31767         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
31768         scratch_buffer instead of extend_alloca.
31769         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
31770         grp/compat-initgroups.c.
31771         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
31772         Rewrite to use struct scratch_buffer instead of extend_alloca.
31773         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
31774         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31776 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
31778         * math/auto-libm-test-in: Add more tests of cbrt.
31779         * math/auto-libm-test-out: Regenerated.
31780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31782         * math/auto-libm-test-in: Add more tests of cabs.
31783         * math/auto-libm-test-out: Regenerated.
31784         * sysdeps/i386/fpu/libm-test-ulps: Update.
31785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31787         [BZ #18210]
31788         [BZ #18211]
31789         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
31790         (__ieee754_atan2): Set FE_TONEAREST mode for internal
31791         computations.
31792         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
31793         clog10.
31794         * math/auto-libm-test-out: Regenerated.
31795         * sysdeps/i386/fpu/libm-test-ulps: Update.
31796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31798         [BZ #18197]
31799         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
31800         (atan): Set FE_TONEAREST mode for internal computations.
31801         * math/auto-libm-test-in: Add more tests of atan.
31802         * math/auto-libm-test-out: Regenerated.
31804 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
31806         [BZ #17930]
31807         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
31809 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31811         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
31813 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31815         * include/scratch_buffer.h: New file.
31816         * malloc/scratch_buffer_grow.c: Likewise.
31817         * malloc/scratch_buffer_grow_preserve.c: Likewise.
31818         * malloc/scratch_buffer_set_array_size.c: Likewise.
31819         * malloc/tst-scratch_buffer.c: Likewise.
31820         * malloc/Makefile (routines): Add scratch_buffer_grow.
31821         (tests): Add test case.
31822         * malloc/Versions (GLIBC_PRIVATE): Export
31823         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
31824         __libc_scratch_buffer_set_array_size.
31826 2015-04-06  Richard Henderson  <rth@redhat.com>
31828         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
31829         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31831         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
31832         unsigned int before printing.
31834 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31836         [BZ #17596]
31837         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
31838         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31840 2015-04-02  Florian Weimer  <fweimer@redhat.com>
31842         * include/libc-internal.h (libc_max_align_t): Define.
31844 2015-04-02  Andreas Schwab  <schwab@suse.de>
31846         [BZ #16850]
31847         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
31849 2015-04-02  Mel Gorman  <mgorman@suse.de>
31851         [BZ #17195]
31852         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
31853         as well as the main arena.
31855 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31857         [BZ #18185]
31858         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
31859         sharing L2 cache to 2 for Silvermont/Knights Landing.
31861 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31863         [BZ #17711]
31864         * config.make.in (have-protected-data): New.
31865         * configure.ac: Check linker support for protected data symbol.
31866         * configure: Regenerated.
31867         * elf/Makefile (modules-names): Add tst-protected1moda and
31868         tst-protected1modb if $(have-protected-data) is yes.
31869         (tests): Add tst-protected1a and tst-protected1b if
31870         $(have-protected-data) is yes.
31871         ($(objpfx)tst-protected1a): New.
31872         ($(objpfx)tst-protected1b): Likewise.
31873         (tst-protected1modb.so-no-z-defs): Likewise.
31874         * elf/tst-protected1a.c: New file.
31875         * elf/tst-protected1b.c: Likewise.
31876         * elf/tst-protected1mod.h: Likewise.
31877         * elf/tst-protected1moda.c: Likewise.
31878         * elf/tst-protected1modb.c: Likewise.
31880 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31882         [BZ #17711]
31883         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
31884         indicates it is called from do_lookup_x on relocation against
31885         protected data, skip the data definion in the executable from
31886         copy reloc.
31887         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
31888         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
31889         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
31890         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
31891         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
31892         otherwise to 0.
31893         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31894         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
31895         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
31896         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31897         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
31898         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
31900 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
31902         * sysdeps/nptl/pthread.h: Remove duplicate definition of
31903         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
31905 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
31907         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
31908         THREAD_SETMEM_NC.
31909         * sysdeps/x86_64/nptl/tls.h: Ditto.
31911 2015-03-27  Roland McGrath  <roland@hack.frob.com>
31913         * dlfcn/tststatic.c (main): Converted to ...
31914         (do_test): ... this.
31915         (TEST_FUNCTION): New macro.
31916         Include test-skeleton.c.
31918 2015-03-26  Alan Modra  <amodra@gmail.com>
31920         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
31921         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
31922         zero for undefined weak.
31923         (elf_machine_plt_conflict): Similarly.
31925 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31927         * math/auto-libm-test-in: Add more tests of acosh, asinh and
31928         atanh.
31929         * math/auto-libm-test-out: Regenerated.
31930         * sysdeps/i386/fpu/libm-test-ulps: Update.
31931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31933         * math/auto-libm-test-in: Add another test of asin.
31934         * math/auto-libm-test-out: Regenerated.
31935         * sysdeps/i386/fpu/libm-test-ulps: Update.
31936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31938         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
31939         Remove macro.
31940         (LLL_EBX_REG): Likewise.
31941         (LLL_ENTER_KERNEL): Likewise.
31943         * math/auto-libm-test-in: Add more tests of asin.
31944         * math/auto-libm-test-out: Regenerated.
31945         * sysdeps/i386/fpu/libm-test-ulps: Update.
31946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31948         [BZ #18138]
31949         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
31950         libc_do_syscall_args): New structure.
31951         (INTERNAL_SYSCALL_MAIN_0): New macro.
31952         (INTERNAL_SYSCALL_MAIN_1): Likewise.
31953         (INTERNAL_SYSCALL_MAIN_2): Likewise.
31954         (INTERNAL_SYSCALL_MAIN_3): Likewise.
31955         (INTERNAL_SYSCALL_MAIN_4): Likewise.
31956         (INTERNAL_SYSCALL_MAIN_5): Likewise.
31957         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
31958         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
31959         Replace conditional definitions by conditional definitions of ....
31960         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
31961         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
31962         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
31963         (libpthread-sysdep_routines): Add libc-do-syscall.
31964         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
31965         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
31966         to __NR_futex not 240.
31968 2015-03-25  Alan Modra  <amodra@gmail.com>
31970         * NEWS: Advertise TLS optimization.
31971         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
31972         (DT_PPC_NUM): Increment.
31973         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
31974         (CHECK_STATIC_TLS): Use here.
31975         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
31976         TLS descriptors.
31977         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31978         * sysdeps/powerpc/dl-tls.c: New file.
31979         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
31980         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
31981         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
31982         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
31983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
31984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
31985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
31987 2015-03-25  Alan Modra  <amodra@gmail.com>
31989         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
31990         for overlapping .opd entries" to "support...".
31991         * sysdeps/powerpc/powerpc64/configure: Regenerate
31993 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31995         * math/auto-libm-test-in: Add more tests of acos.
31996         * math/auto-libm-test-out: Regenerated.
31997         * sysdeps/i386/fpu/libm-test-ulps: Update.
31998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32000         * math/auto-libm-test-in: Add more tests of expm1.
32001         * math/auto-libm-test-out: Regenerated.
32002         * sysdeps/i386/fpu/libm-test-ulps: Update.
32003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32005 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
32007         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32008         * math/auto-libm-test-out: Regenerated.
32009         * sysdeps/i386/fpu/libm-test-ulps: Update.
32010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32012         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32015         * math/auto-libm-test-in: Add more tests of log2.
32016         * math/auto-libm-test-out: Regenerated.
32017         * sysdeps/i386/fpu/libm-test-ulps: Update.
32018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32020 2015-03-23  Roland McGrath  <roland@hack.frob.com>
32022         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
32023         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
32024         _IO_IS_APPENDING bit in READ_WRITE instead.
32026 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32028         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
32029         (__determine_cpumask_size): Replace extend_alloca with a
32030         variable-length array.  Do not treat res == 0 as an error.
32032 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32034         [BZ #18100]
32035         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
32036         and integer overflow.
32037         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
32038         (main): Add integer overflow tests.
32039         * manual/pattern.texi (Calling Wordexp): Document additional use
32040         for WRDE_SYNTAX.
32042 2015-03-23  Alan Modra  <amodra@gmail.com>
32044         * config.h.in: Remove HAVE_ASM_PPC_REL16.
32045         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
32046         and false branch of conditional.
32047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32048         Likewise.
32050 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
32052         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
32053         libc-modules.h
32054         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
32055         unused declaration of _hurd_intr_rpc_msg_in_trap.
32056         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
32057         defined instead of whether it is non-zero.
32058         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
32059         input constraint instead of both input and output constraint.  Use ecx
32060         clobber instead of %ecx.
32061         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
32062         mutex_unlock): Use a statement expression instead of an expression list.
32063         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
32064         type to vm_size_t instead of vm_address_t.
32065         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
32066         defined instead of whether it is non-zero.
32067         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
32068         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
32069         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
32070         comparisons with mapaddr.
32071         * nscd/nscd-client.h: Include <time.h>.
32072         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
32073         9th parameter to __vm_region instead of int.
32074         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
32075         * scripts/check-local-headers.sh (exclude): Add device/,
32076         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
32077         cthreads.h.
32079 2015-03-19  Roland McGrath  <roland@hack.frob.com>
32081         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
32082         to account for alignment padding.
32083         * sysdeps/arm/memmove.S: Likewise.
32085 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
32087         * sysdeps/unix/sysv/linux/generic/README: New file.
32089 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
32091         [BZ #18138]
32092         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
32093         (futex_abstimed_wait)
32094         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
32095         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
32096         of lll_futex_timed_wait.
32098 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
32100         [BZ #17542]
32101         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
32103 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
32105         [BZ #17090]
32106         [BZ #17620]
32107         [BZ #17621]
32108         [BZ #17628]
32109         * NEWS: Update.
32110         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
32111         entries with Static TLS too.  Skip entries past the end of the
32112         allocated DTV, from Alan Modra.
32113         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
32114         Static TLS DTV entry set up from...
32115         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
32116         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
32117         * nptl/allocatestack.c (init_one_static_tls): ... and here...
32118         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
32119         for Static TLS.
32120         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
32121         that the slot we find is associated with the given map before
32122         using its generation count.
32123         * nptl_db/db_info.c: Include ldsodefs.h.
32124         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
32125         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
32126         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
32127         (link_map::l_tls_offset): New struct field.
32128         (dtv_t::counter): Likewise.
32129         (rtld_global): New struct.
32130         (_rtld_global): New rtld variable.
32131         (dl_tls_dtv_slotinfo_list): New rtld global field.
32132         (dtv_slotinfo_list): New struct.
32133         (dtv_slotinfo): Likewise.
32134         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
32135         (td_lookup): Rename to...
32136         (td_mod_lookup): ... this.  Use new mod parameter instead of
32137         LIBPTHREAD_SO.
32138         * nptl_db/td_thr_tlsbase.c: Include link.h.
32139         (dtv_slotinfo_list, dtv_slotinfo): New functions.
32140         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
32141         addresses even if the DTV is out of date or missing them.
32142         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
32143         index zero-length arrays.
32144         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
32145         (td_lookup): Make it a macro implemented in terms of...
32146         (td_mod_lookup): ... this declaration.
32147         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
32148         (DB_MAIN_VARIABLE): Likewise.
32150 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32152         [BZ #18134]
32153         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32155 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
32157         * stdlib/setenv.c (__add_to_environ): Revert previous change.
32159 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
32161         [BZ #18128]
32162         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
32163         (atomic_add, atomic_increment_and_test)
32164         (atomic_decrement_and_test): Fix 64-bit arithmetic.
32166 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
32168         * stdlib/setenv.c (__add_to_environ):
32169         Dump core quickly if setenv (..., NULL, ...) is called.
32171 2015-03-13  Roland McGrath  <roland@hack.frob.com>
32173         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
32174         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
32175         all the necessary asm magic in one place.
32176         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
32177         using those.
32179 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
32181         [BZ #14906]
32182         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
32183         traced file mtime. Use consistent log message.
32184         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
32185         (register_traced_file): Call install_watches. Always set mtime.
32186         (invalidate_cache): Iterate over all trace files. Call install_watches.
32187         (inotify_check_files): Don't inline. Handle watching parent
32188         directories and configuration file movement in and out.
32189         (handle_inotify_events): New function.
32190         (main_loop_poll): Call handle_inotify_events.
32191         (main_loop_epoll): Likewise.
32192         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
32193         (struct traced_file): Use array of inotify fds. Add parent directory,
32194         and basename.
32195         (struct database_dyn): Remove unused file_mtime.
32196         (init_traced_file): New inline function.
32197         (define_traced_file): New macro.
32198         * nss/nss_db/db-init.c: Use define_traced_file.
32199         (_nss_db_init): Use init_traced_file.
32200         * nss/nss_files/files-init.c: Use define_traced_file.
32201         (_nss_files_init): Use init_traced_file.
32203 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
32205         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
32206         [_LIBC]: Do not include <stdlib.h>.
32207         [!_LIBC] (abort): Remove declaration.
32208         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
32209         _FP_STATIC_ASSERT instead of conditionally calling abort.
32210         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
32211         (_FP_EXTEND_CNAN): Likewise.
32212         (FP_TRUNC): Likewise.
32213         (__FP_CLZ): Likewise.
32214         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
32216 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
32218         * manual/string.texi (XPG basename): Fix prototype.
32220 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32222         [BZ #18080]
32223         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
32224         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32225         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
32226         (__setcontext): Likewise.
32227         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
32228         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32229         Call rt_sigprocmask syscall one time to set new signal mask
32230         and retrieve the current signal mask instead of two calls.
32231         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
32232         (__swapcontext): Likewise.
32233         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
32234         * stdlib/tst-setcontext2.c: New file.
32236 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32238         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32240 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
32242         [BZ #18093]
32243         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
32244         the wrong size.
32246 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32248         [BZ #18043]
32249         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
32251 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32253         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
32254         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
32255         Remove define.
32256         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
32257         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
32258         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
32259         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
32260         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
32261         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
32262         define.
32263         * nptl_db/td_symbol_list.c (td_lookup): Remove
32264         HAVE_ASM_GLOBAL_DOT_NAME code.
32265         * sysdeps/powerpc/powerpc64/configure.ac: Remove
32266         HAVE_ASM_GLOBAL_DOT_NAME check.
32267         * sysdeps/powerpc/powerpc64/configure: Regenerate.
32268         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
32269         (DOT_LABEL): Remove define.
32270         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
32271         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
32272         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
32273         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
32274         (__TLS_GET_ADDR): Likewise.
32275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
32276         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
32278 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
32280         [BZ #18111]
32281         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
32282         (_FPU_SETCW): Initialize cw from fpsr before storing.
32283         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
32284         (fesetexceptflag): Rewrite using fpu_control.h.
32285         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
32287 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
32289         [BZ #18110]
32290         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
32291         asms.
32292         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32294 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
32296         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
32297         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
32298         abort.
32299         (_FP_FMA): Likewise.
32300         (_FP_DIV): Likewise.
32302 2015-03-10  Roland McGrath  <roland@hack.frob.com>
32304         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
32305         with 0 in that case.
32306         * Makefile (summarize-tests): New canned sequence, factored out of
32307         commands for targets tests and xtests.  Display summary lines that
32308         don't start with PASS: or XFAIL: rather than ones that do start with
32309         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
32310         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
32311         do start with ERROR: or FAIL:.
32312         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
32313         (except for [$(build-shared) = yes]).
32314         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
32315         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
32316         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
32317         * nptl/Makefile: Revert 2015-03-04 changes.
32318         [$(CXX) empty] (tests-unsupported): New variable.
32319         * debug/Makefile: Likewise.
32321         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
32322         gnulib file.  Replace __attribute with __attribute__ throughout.
32324 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
32326         * sysdeps/hppa/fpu/libm-test-ulps: Update.
32328 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32330         [BZ #18104]
32331         * math/auto-libm-test-in: Add another test of pow.
32332         * math/auto-libm-test-out: Regenerated.
32334 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32336         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
32337         $(config-cflags-nofma).
32339 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32341         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
32342         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
32343         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
32344         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
32345         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
32346         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
32347         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
32348         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
32349         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
32350         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
32351         Add comment on closing #endif.
32353 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32355         * posix/wordexp.c (CHAR_IN_SET): New macro.
32356         (parse_param): Use it.
32358 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32360         * sysdeps/powerpc/fpu/libm-test-ulps: update.
32362 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32364         [BZ #18043]
32365         * posix/wordexp.c (parse_param): Fix buffer overflow.
32366         * posix/wordexp-test.c (test_case): Add test case.
32368 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32370         [BZ #18042]
32371         * posix/wordexp.c (parse_backtick): Fix off-by-one.
32372         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
32374 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32376         [BZ #18043]
32377         * posix/wordexp-test.c (test_case): Add test for BZ #18043
32378         (do_bz18043): Delete.
32379         (at_page_end): New.
32380         (testit): Refactor to have words at the edge of unreadable page.
32382 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32384         [BZ #16734]
32385         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
32386         Cleanup read-only streams as well.
32387         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
32389 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32391         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
32392         <bits/libc-lockP.h>
32394 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
32396         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
32397         on [__KERNEL__].
32398         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
32399         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
32400         * soft-fp/op-common.h (_FP_DECL): Likewise.
32402 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
32404         * elf/ifuncdep2.c (global): Replace
32405         __attribute__((visibility("protected"))) with
32406         asm (".protected global").
32407         * elf/ifuncmod1.c (global): Likewise.
32408         * elf/ifuncmod5.c (global): Likewise.
32410 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
32412         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
32413         <asm/sfp-machine.h> instead of <sfp-machine.h>.
32415 2015-03-06  Roland McGrath  <roland@hack.frob.com>
32417         * manual/install.texi (Configuring and compiling):
32418         Document test-wrapper-env-only.
32419         * INSTALL: Regenerated.
32421 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32423         [BZ #18043]
32424         * posix/wordexp.c (parse_param): Fix buffer overflow.
32425         * posix/wordexp-test.c (do_bz18043): Add test case.
32427 2015-03-06  Vincent Bernat  <vincent@bernat.im>
32429         * time/tst-strptime2.c (do_test): Ensure failing tests are
32430         reported correctly.
32431         * time/tst-strptime3.c (do_test): Likewise.
32433 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
32435         Fix aio_error thread-safety.
32436         * sysdeps/pthread/aio_error.c: New file
32437         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
32438         synchronization.
32440 2015-03-06  Florian Weimer  <fweimer@redhat.com>
32442         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
32443         (group_number, vfprintf): Use it.
32444         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
32445         (JUMP, REF): Use it.
32446         (WORK_BUFFER_SIZE): New enum constant.
32447         (process_arg, vfprintf): Use it.
32449 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
32451         * manual/errno.texi (Error Messages): Complete example function
32452         by adding missing #define.
32453         (program_invocation_name): Add statement indicating GNU
32454         extension and reference which header file declares the variable.
32455         (program_invocation_short_name): Likewise.
32457 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
32459         * manual/errno.texi (Error Messages): Delete strerror ISO C89
32460         compatibility note.
32462 2015-03-05  Roland McGrath  <roland@hack.frob.com>
32464         * Makeconfig (test-wrapper-env-only): New variable.
32465         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
32466         then use that with $(test-wrapper-env-only) rather than using
32467         $(test-wrapper-env) $(run-program-env) $($*-ENV).
32469 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32471         [BZ #18082]
32472         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
32473         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
32474         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
32475         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
32476         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
32477         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
32478         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
32479         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
32480         Likewise.
32481         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
32482         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
32483         Likewise.
32484         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
32485         Likewise.
32486         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
32487         Likewise.
32488         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
32489         Likewise.
32490         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
32491         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
32492         Likewise.
32493         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
32494         Likewise.
32495         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
32496         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
32498 2015-03-04  Roland McGrath  <roland@hack.frob.com>
32500         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
32501         (ETH_ALEN): New macro.
32502         (struct ether_addr): Use it for length of ether_addr_octet.
32504         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
32505         (setdb): Don't call __nss_configure_lookup for "rpc".
32506         (do_test): Don't call test_rpc.
32507         (output_rpcent, test_rpc): Functions moved ...
32508         * sunrpc/test-rpcent.c: ... to this new file.
32509         * sunrpc/Makefile (tests): Add it.
32511         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
32512         __xpg_sigpause.
32513         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
32514         * nptl/tst-signal6.c: Likewise.
32515         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
32516         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
32518         * configure.ac (libc_cv_cxx_link_ok): New check.
32519         Reset CXX to empty if it fails to link.
32520         * configure: Regenerated.
32521         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
32522         bug-atexit3-lib only if $(CXX) is nonempty.
32523         * nptl/Makefile (tests): Likewise for tst-cancel24.
32524         (tests, tests-static): Likewise for tst-cancel24-static.
32525         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
32526         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
32527         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
32528         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
32530 2015-03-04  Andreas Schwab  <schwab@suse.de>
32532         [BZ #17631]
32533         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
32534         for non-GCC compilers.
32535         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32536         Likewise.
32538 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32540         [BZ #17776]
32541         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
32542         integer before bitwise and assembly operations.
32543         (feclearexcept): Likewise.
32544         * math/test-fenvinline.c: New file.
32545         * math/Makefile: Add test-fenvinline test.
32547 2015-03-03  Alan Modra  <amodra@gmail.com>
32549         [BZ #16512]
32550         * scripts/localplt.awk: Strip off symbol version.
32551         * NEWS: Mention bug fix.
32553 2015-03-02  Roland McGrath  <roland@hack.frob.com>
32555         * sysdeps/pthread/timer_routines.c
32556         (timer_free_list, thread_free_list, thread_active_list): Make static.
32558 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
32560         [BZ #17779]
32561         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32562         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32563         Undefine.
32564         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32565         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32566         Likewise.
32567         * sysdeps/unix/sysv/linux/sh/kernel-features.h
32568         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32569         Likewise.
32571 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
32573         [BZ #18036]
32574         * posix/fnmatch_loop.c (END): Detect invalid pattern.
32575         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
32577 2015-03-02  Andreas Schwab  <schwab@suse.de>
32579         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
32580         variable name.
32582 2015-03-02  Florian Weimer  <fweimer@redhat.com>
32584         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
32585         Return error status.
32587 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
32589         [BZ #15969]
32590         * locale/findlocale.c (_nl_find_locale): Introduce const
32591         version of loc_name and drop unsafe type casts.
32593 2015-02-27  Roland McGrath  <roland@hack.frob.com>
32595         * dlfcn/tststatic2.c (main): Converted to ...
32596         (do_test): ... this.
32597         (TEST_FUNCTION): New macro.
32598         Include test-skeleton.c.
32600 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
32602         [BZ #17711]
32603         * elf/Makefile (tests): Add vismain only if PIE is enabled.
32604         (tests-pie): Add vismain.
32605         (CFLAGS-vismain.c): New.
32606         * elf/vismain.c: Add comments for PIE requirement.
32608 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32610         [BZ #18046]
32611         [BZ #18047]
32612         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
32613         0x1p-56L as threshold for just returning the argument.
32614         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
32615         0x1p-32L as threshold for just returning the argument.
32616         * math/auto-libm-test-in: Add more tests of atanh.
32617         * math/auto-libm-test-out: Regenerated.
32618         * sysdeps/i386/fpu/libm-test-ulps: Update.
32619         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
32621 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
32623         * string/bcopy.c (bcopy): Call memmove for performance.
32625 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
32627         * string/bzero.c (__bzero): Call memset for performance.
32629 2015-02-27  John David Anglin  <dave.anglin@bell.net>
32631         [BZ #18068]
32632         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
32633         to 00100000.
32635 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32637         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
32639 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
32641         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
32642         (__kernel_standard): Use CSTR macro when setting exc.name.
32643         * sysdeps/ieee754/Makefile [$(subdir) = math]
32644         (CFLAGS-k_standard.c): Remove variable.
32646         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
32647         setting p and q from "else if" to "else".
32648         (qzero): Likewise.
32649         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
32650         (qone): Likewise.
32651         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
32652         (qzerof): Likewise.
32653         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
32654         (qonef): Likewise.
32655         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
32656         (qzero): Likewise.
32657         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
32658         (qone): Likewise.
32660         [BZ #18038]
32661         [BZ #18039]
32662         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
32663         return pi/2 for arguments below 0x1p-113L.
32664         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
32665         return pi/2 for arguments below 0x1p-106L.
32666         * math/auto-libm-test-in: Add more tests of acos.
32667         * math/auto-libm-test-out: Regenerated.
32669         [BZ #16351]
32670         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
32671         (MO): New macro.
32672         (__ieee754_asin): Force underflow exception for results with small
32673         absolute value.
32674         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
32675         (MO): New macro.
32676         (__ieee754_asinf): Force underflow exception for results with
32677         small absolute value.
32678         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
32679         (__ieee754_asin): Force underflow exception for results with small
32680         absolute value.
32681         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
32682         (__ieee754_asinf): Force underflow exception for results with
32683         small absolute value.
32684         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
32685         (__ieee754_asinl): Force underflow exception for results with
32686         small absolute value.
32687         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
32688         (__ieee754_asinl): Force underflow exception for results with
32689         small absolute value.
32690         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
32691         (__ieee754_asinl): Force underflow exception for results with
32692         small absolute value.
32693         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
32694         Include <math.h>.
32695         * math/auto-libm-test-in: Do not mark underflow exceptions as
32696         possibly missing for bug 16351.
32697         * math/auto-libm-test-out: Regenerated.
32699         [BZ #18030]
32700         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
32701         of power of 2 down when low part has opposite sign.
32702         * math/libm-test.inc (logb_test_data): Add more tests.
32704 2015-02-26  Andreas Schwab  <schwab@suse.de>
32706         [BZ #18032]
32707         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
32708         over collating symbol inside a bracket expression.  Minor cleanup.
32709         * posix/tst-fnmatch3.c (do_test): Add test case.
32711 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
32713         [BZ #18029]
32714         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
32715         Adjust exponent of power of 2 down when low part has opposite
32716         sign.
32717         * math/libm-test.inc (ilogb_test_data): Add more tests.
32719 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
32721         [BZ #15969]
32722         * locale/findlocale.c (_nl_find_locale): Fix constness error in
32723         the previous change.
32725         [BZ #15969]
32726         * locale/findlocale.c (_nl_find_locale): Retry archive search
32727         after alias expansion.
32729 2015-02-25  Roland McGrath  <roland@hack.frob.com>
32731         * iconv/tst-iconv3.c (main): Converted to ...
32732         (do_test): ... this.
32733         (TEST_FUNCTION): New macro.
32734         Include test-skeleton.c.
32736         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
32737         (convert): Make function static.
32738         (test_unalign): Likewise.  Add const to argument pointee types.
32739         (main): Replace with static function do_test.
32740         Print "Succeeded." only if RET is zero.
32741         (TEST_FUNCTION): New macro.
32742         Include test-skeleton.c.
32744         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
32745         returns a null pointer.
32747 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32749         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
32750         to __memcpy_ppc only for static builds.
32752 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
32754         [BZ #18020]
32755         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
32756         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
32757         * math/auto-libm-test-in: Add more tests of asinh.
32758         * math/auto-libm-test-out: Regenerated.
32759         * sysdeps/i386/fpu/libm-test-ulps: Update.
32760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32762 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
32764         [BZ #15850]
32765         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
32766         and ip6_mtuinfo definitions here.
32767         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
32768         in this define too.  Update comment.
32770 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
32772         * elf/sprof.c (load_shobj): Tweak error message to match others.
32774 2015-02-24  Kevin Easton  <kevin@guarana.org>
32776         [BZ #16145] (partial fix)
32777         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
32778         to reduce lock contention.
32780 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
32782         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
32783         (struct timex): Update time comment.
32784         (ADJ_SETOFFSET): Define.
32786 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32788         [BZ #18019]
32789         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32790         2**56 not 2**28 as threshold for log (2x) formula.
32791         * math/auto-libm-test-in: Add more tests of acosh.
32792         * math/auto-libm-test-out: Regenerated.
32793         * sysdeps/i386/fpu/libm-test-ulps: Update.
32794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32796 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32798         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
32799         parenthesis around the buf assignment.
32800         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
32802 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32804         [BZ #16783]
32805         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
32806         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
32807         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
32808         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32809         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32810         * math/libm-test.inc (scalb_test_data): Add more tests.
32812 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32814         [BZ #17916]
32815         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
32816         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
32818 2015-02-24  Eric Rannaud  <e@nanocritical.com>
32820         [BZ #17523]
32821         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
32822         * io/bits/fcntl2.h (open): Use it.
32823         (openat): Likewise.
32824         * io/open.c (__libc_open): Likewise.
32825         * io/open64.c (__libc_open64): Likewise.
32826         * io/open64_2.c (__open64_2): Likewise.
32827         * io/open_2.c (__open_2): Likewise.
32828         * io/openat.c (__openat): Likewise.
32829         * io/openat64.c (__openat64): Likewise.
32830         * io/openat64_2.c (__openat64_2): Likewise.
32831         * io/openat_2.c (__openat_2): Likewise.
32832         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
32833         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
32834         * sysdeps/posix/open64.c (__libc_open64): Likewise.
32835         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
32836         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32837         (__open_nocancel): Likewise.
32838         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32839         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32840         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
32842 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32844         [BZ #14841]
32845         * resolv/gethnamaddr.c (getanswer): Skip logging if
32846         RES_USE_DNSSEC is set.
32847         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32849 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32851         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
32853 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
32855         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
32856         201304L, for Unicode 7.
32858 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
32860         [BZ #17836]
32861         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
32862         shared library.  Add gmon-start.os otherwise.
32863         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
32864         $(objpfx)gmon-start.os if builing shared library.
32865         ($(objpfx)g$(static-start-installed-name)): Likewise.
32867 2015-02-23  Andreas Schwab  <schwab@suse.de>
32869         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
32871 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32873         [BZ #17269]
32874         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
32875         (enlarge_userbuf): Likewise.
32877 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
32879         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
32880         * math/atest-exp.c (TIMEOUT): Adjust to 200.
32881         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
32882         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
32884 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
32886         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
32887         expression inside statement expression.
32889 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32891         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
32892         <sysdeps/nptl/lowlevellock.h> and remove macros and
32893         functions that are now defined there.
32894         (SYS_futex): Remove.
32895         (lll_compare_and_swap): Remove.
32896         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
32898 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
32900         [BZ #17999]
32901         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
32902         instead of scandirat.
32903         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
32904         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
32905         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
32906         __scandirat.
32907         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
32908         (__scandirat): Declare.  Use libc_hidden_proto.
32909         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
32910         Remove variable.
32911         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
32913 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32915         [BZ #15319]
32916         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
32917         (MO): New macro.
32918         (__ieee754_atan2): For results with small absolute value, force
32919         underflow exception and remove excess range and precision from
32920         return value.
32921         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
32922         (MO): New macro.
32923         (__ieee754_atan2f): For results with small absolute value, force
32924         underflow exception and remove excess range and precision from
32925         return value.
32926         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
32927         (MO): New macro.
32928         (__atan): For results with small absolute value, force underflow
32929         exception and remove excess range and precision from return value.
32930         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
32931         (MO): New macro.
32932         (__atanf): For results with small absolute value, force underflow
32933         exception and remove excess range and precision from return value.
32934         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
32935         <math.h>.
32936         (__ieee754_atan2): Force underflow exception for results with
32937         small absolute value.
32938         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
32939         <math_private.h>.
32940         (atan): Force underflow exception for results with small absolute
32941         value.
32942         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
32943         (__atanf): Force underflow exception for results with small
32944         absolute value.
32945         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
32946         <math.h>.
32947         (__atanl): Force underflow exception for results with small
32948         absolute value.
32949         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
32950         (__atanl): Force underflow exception for results with small
32951         absolute value.
32952         * sysdeps/x86/fpu/bits/mathinline.h
32953         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
32954         (__ieee754_atan2): Only define inline for long double.
32955         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
32956         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
32957         * math/auto-libm-test-in: Do not mark underflow exceptions as
32958         possibly missing for bug 15319.  Add more tests of atan2.
32959         * math/auto-libm-test-out: Regenerated.
32960         * math/libm-test.inc (casin_test_data): Do not mark underflow
32961         exceptions as possibly missing for bug 15319.
32962         (casinh_test_data): Likewise.
32963         * sysdeps/i386/fpu/libm-test-ulps: Update.
32965 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
32967         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
32968         * sysdeps/mips/bits/endian.h: Fix comments.
32970 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32972         [BZ #17996]
32973         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
32974         (hdestroy_r): Likewise.
32975         (hsearch_r): Likewise.
32976         (__hcreate_r): Declare and use libc_hidden_proto.
32977         (__hdestroy_r): Likewise.
32978         (__hsearch_r): Likewise.
32979         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
32980         (hcreate): Call __hcreate_r instead of hcreate_r.
32981         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
32982         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
32983         as weak alias of __hcreate_r.
32984         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
32985         __hdestroy_r.
32986         (hsearch_r): Rename to __hsearch_r and define as weak alias of
32987         __hsearch_r.
32988         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
32989         Remove variable.
32990         (test-xfail-XPG4/search.h/linknamespace): Likewise.
32991         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
32992         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
32993         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
32995 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32997         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
32998         arena_lock into a single arena_get.
33000 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
33002         * dl-reloc.c: Inlucde libc-internal.h.
33003         (_dl_try_allocate_static_tls): Call ALIGN_UP.
33004         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
33005         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
33006         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
33007         (grow_heap): Likewise.
33008         * malloc/malloc.c: Include libc-internal.h.
33009         (do_check_malloc): Call powerof2.
33010         (sysmalloc): Use pagesize. Call ALIGN_UP.
33011         (systrim): Use pagesize.
33012         (mremap_chunk): Use pagesize. Call ALIGN_UP.
33013         (__libc_valloc): Use pagesize.
33014         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
33016 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33018         [BZ #17991]
33019         * include/sys/resource.h (__getrlimit64): Declare.  Use
33020         libc_hidden_proto.
33021         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
33022         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
33023         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
33024         getrlimit64.
33025         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
33026         __getrlimit64.
33027         [!getrlimit64] (getrlimit64): Define as weak alias of
33028         __getrlimit64.  Use libc_hidden_weak.
33029         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
33030         using __getrlimit64 not __new_getrlimit64.
33031         (__GI_getrlimit64): Likewise.
33032         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
33033         Likewise.
33034         (__GI_getrlimit64): Likewise.
33035         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
33036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
33037         (getrlimit): Add __getrlimit64 alias.
33038         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
33039         Likewise.
33040         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
33041         Remove variable.
33042         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33043         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33045 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
33047         * libio/fileops.c: Add missing sys/mman.h
33048         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
33050 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33052         * manual/math.texi (Errors in Math Functions): Clarify goals
33053         regarding inexact and underflow exceptions.
33055 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33057         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
33058         * sysdeps/mips/memset.S: Ditto.
33060 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33062         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
33064 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33066         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
33067         (__v1longjmp): Remove versioned symbol.
33068         (__v1siglongjmp): Remove alias and versioned symbol.
33069         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
33070         (__v2siglongjmp): Likewise.
33072 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33074         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
33076 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
33078         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
33080 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33082         [BZ #17987]
33083         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
33084         zero result does not depend on the sign resulting from
33085         subtraction.
33086         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33087         Likewise.
33088         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33089         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33090         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33091         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33092         * math/libm-test.inc (remquo_test_data): Add more tests.
33094 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
33096         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
33097         Problem reported by J William Piggott.
33099 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33101         [BZ #17978]
33102         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
33103         products 4 * y and 2 * y where those would overflow.
33104         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33105         Likewise.
33106         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33107         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33108         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33109         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33110         * math/libm-test.inc (remquo_test_data): Add more tests.
33112         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
33114         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
33115         [defined _COMPILING_NEWLIB].
33116         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
33117         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
33119         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
33120         [!defined __mips_isa_rev || __mips_isa_rev < 6].
33122 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33124         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
33125         acquired.
33127 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
33129         [BZ #17792]
33130         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
33131         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
33132         HOST_STACK_END_ADDR): Likewise.
33134 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
33136         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
33137         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
33138         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
33140 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33142         * sysdeps/generic/c++-types.data: New file.
33143         * sysdeps/generic/ld.abilist: New file.
33144         * sysdeps/generic/libBrokenLocale.abilist: New file.
33145         * sysdeps/generic/libanl.abilist: New file.
33146         * sysdeps/generic/libc.abilist: New file.
33147         * sysdeps/generic/libcrypt.abilist: New file.
33148         * sysdeps/generic/libdl.abilist: New file.
33149         * sysdeps/generic/libm.abilist: New file.
33150         * sysdeps/generic/libpthread.abilist: New file.
33151         * sysdeps/generic/libresolv.abilist: New file.
33152         * sysdeps/generic/librt.abilist: New file.
33154 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33156         [BZ #17569]
33157         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33158         Compute absolute value of x as modified by fmod, not original
33159         value of x.
33160         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
33161         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
33162         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
33163         RUN_TEST_ffI_f1_mod8.
33164         (remquo_test_data): Add more tests.
33166 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33168         * sysdeps/init_array/pt-crti.S: New file.
33170 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33172         [BZ #17967]
33173         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
33174         __builtin_fmaf instead of relying on contraction of a * b + c.
33176 2015-02-12  J William Piggott  <elseifthen@gmx.com>
33178         [BZ #17969]
33179         * manual/time.texi: correct the zoneinfo path in the TZ Variable
33180         node.
33182 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33184         [BZ #17964]
33185         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
33186         __builtin_fma instead of relying on contraction of a * b + c.
33188 2015-02-12  Roland McGrath  <roland@hack.frob.com>
33190         * Makeconfig (ASFLAGS): Add -Werror=undef.
33191         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
33192         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
33193         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
33195         * Makeconfig (after-link): New variable.
33196         (+link-pie, +link-pie-tests): Use it.
33197         (+link-static, +link-static-tests): Likewise.
33198         (+link, +link-tests): Likewise.
33199         * Makerules (build-module, build-module-asneeded): Likewise.
33200         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
33201         Likewise.
33202         * elf/Makefile ($(objpfx)ld.so): Likewise.
33204 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
33206         [BZ #17965]
33207         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
33208         both struct timeval and struct timespec.
33210 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33212         [BZ #16560]
33213         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33214         and redefine.
33215         (__ieee754_exp2l): Do not multiply small fractional parts by
33216         M_LN2l.
33217         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
33218         small argument.
33219         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33220         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33221         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
33222         * math/auto-libm-test-in: Add more tests of exp2.
33223         * math/auto-libm-test-out: Regenerated.
33225 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33227         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
33228         unaligned path.
33230 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33232         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
33233         little endian.
33235 2015-02-12  Andreas Schwab  <schwab@suse.de>
33237         [BZ #15790]
33238         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
33239         Filter out elision flags from value returned in kind.
33240         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
33241         * nptl/tst-pthread-mutexattr.c: New file.
33243 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33245         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
33246         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
33247         into gnu-gnu, and update comment to refer to abi-tags.
33249 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
33251         [BZ #15467]
33252         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
33253         (__sincos): Set errno to EDOM for infinite argument.
33254         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
33255         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
33256         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
33257         (__sincosl): Set errno to EDOM for infinite argument.
33258         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
33259         (__sincosl): Set errno to EDOM for infinite argument.
33260         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
33261         (__sincosl): Set errno to EDOM for infinite argument.
33262         * math/libm-test.inc (sincos_test_data): Test errno setting.
33264 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
33266         * string/strxfrm_l.c: Remove #define STRCMP.
33267         * string/strcoll_l.c: Remove #define STRLEN.
33268         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
33269         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
33271 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
33273         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
33274         * sysdeps/mips/mips32/sfp-machine.h: ... here.
33275         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
33276         * sysdeps/mips/mips64/Makefile: ... here.
33277         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
33278         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
33279         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
33280         * sysdeps/mips/mips64/sfp-machine.h: ... here.
33281         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
33282         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
33283         * sysdeps/mips/mips64/n64/Implies: Likewise.
33285 2015-02-10  Roland McGrath  <roland@hack.frob.com>
33287         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
33288         <sys/time.h>, <string.h>, and <errno.h>.
33289         (dest_offset, dest_address, value, zero): Remove unused variables.
33290         (ldouble): Remove typedef.
33291         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
33292         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
33293         1).  Fix code style.
33294         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
33295         (check): Function removed.
33296         (CHECK): New macro.
33297         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
33298         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
33299         Don't call set_sigaction_FP and remove_sigaction_FP here.
33300         (ldouble_test): Just use 'long double' as macro argument, no need for
33301         the 'ldouble' typedef.
33302         (do_test): Set up SIGFPE handler at start, using plain signal rather
33303         than sigaction.  Fix code style.
33305 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
33307         [BZ #17949]
33308         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
33309         jump label.
33311 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33313         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
33314         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33316         * sysdeps/powerpc/configure.ac: Remove file.
33317         * sysdeps/powerpc/configure: Likewise.
33319         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33320         [sysdep_routines]: Remove wordcopy-power6 object.
33321         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33322         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
33323         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
33324         (__memmove_ppc32): Likewise.
33325         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
33326         file.
33327         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
33328         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
33329         Remove preprocessor.
33331         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33332         [sysdep_routines]: Remove wide chars objects.
33333         [wcsmbs]: New rule for wide char objects.
33335         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33336         Remove wordcopy-power6 obejct.
33337         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
33338         Use local call for wordcopy and memcpy symbols.
33339         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
33340         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
33341         implementation for loader.
33342         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
33344         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33345         Remove wordcopy-power7 object.
33346         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
33347         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
33348         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
33349         (_wordcopy_fwd_dest_aligned): Likewise.
33350         (_wordcopy_bwd_aligned): Likewise.
33351         (_wordcopy_bwd_dest_aligned): Likewise.
33353         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
33354         Rewrite to call __memmove_ppc instead of include default
33355         implementation.
33357         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33358         Remove wide chars objects.
33359         [wcsmbs]: New rule for wide char objects.
33361 2015-02-09  Andreas Schwab  <schwab@suse.de>
33363         [BZ #17912]
33364         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33365         in terms of __O_DIRECTORY.
33367 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33369         * time/getdate.c: Include <stdbool.h>.
33370         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
33371         call PTR_MANGLE.
33372         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
33373         PTR_DEMANGLE.
33375 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
33377         Add ersatz _Static_assert on older C hosts
33378         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
33379         pre-C11 C platform that is not known to support _Static_assert.
33381 2015-02-07  Richard Braun  <rbraun@sceen.net>
33383         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
33384         sigstate.
33385         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
33387 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33389         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
33390         priority against unexistent AIO_PRIO_DELTA_MAX.
33391         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
33392         instead of int.
33393         * misc/fchflags.c (fchflags): Likewise.
33394         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
33395         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
33396         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
33397         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
33398         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
33399         Declare macros.
33400         [__USE_MISC] (chflags, fchflags): Declare functions.
33401         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
33402         EINVAL when nfds is greater than FD_SETSIZE.
33403         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
33404         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
33405         45.
33406         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
33407         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
33408         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
33409         MACH_RCV_TIMED_OUT.
33410         * hurd/hurd/signal.h (_hurd_self_sigstate,
33411         _hurd_critical_section_lock, _hurd_critical_section_unlock):
33412         Explicit casts from void *.
33413         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
33414         * abi-tags: Rename gnu-gnu os into gnu.
33416         [BZ #4719]
33417         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
33418         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
33419         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
33420         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
33421         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
33422         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
33424         [BZ #17944]
33425         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
33426         duplicates ADDR->sun_path with sockaddr LEN limitation.
33427         * sysdeps/mach/hurd/connect.c: Include <string.h>
33428         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
33429         * sysdeps/mach/hurd/sendmsg.c: Likewise.
33430         * sysdeps/mach/hurd/sendto.c: Likewise.
33431         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
33432         implementing it by hand.
33434 2015-02-06  Roland McGrath  <roland@hack.frob.com>
33436         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
33437         Use sfi_breg on ldr.
33438         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
33439         Likewise.
33441         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
33442         it's defined.
33443         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
33444         Test SIGSETXID only if it's defined.
33446         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
33448         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
33449         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
33451         * nptl/tst-align2.c: Moved ...
33452         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
33453         * nptl/Makefile (tests): Remove tst-align2.
33454         * sysdeps/unix/sysv/linux/Makefile
33455         [$(subdir) = nptl] (tests): Add tst-align-clone.
33456         * nptl/tst-getpid1.c: Moved ...
33457         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
33458         * nptl/tst-getpid2.c: Moved ...
33459         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
33460         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
33461         * sysdeps/unix/sysv/linux/Makefile
33462         [$(subdir) = nptl] (tests): ... here.
33463         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
33464         * sysdeps/unix/sysv/linux/Makefile
33465         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
33467         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
33468         Drop trailing \n from perror argument.  Use return rather than exit.
33470         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
33471         on [SA_SIGINFO].
33472         * nptl/tst-cancel21.c (do_test): Likewise.
33473         * debug/tst-backtrace6.c: Include <signal.h> first thing.
33474         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
33475         [!SA_SIGINFO]: Make it a stub test.
33477         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
33478         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
33480         * posix/tst-getlogin.c: Move to ...
33481         * login/tst-getlogin.c: ... here.
33482         * posix/Makefile (tests): Move tst-getlogin to ...
33483         * login/Makefile (tests): ... here.
33485         * libio/tst-atime.c (do_test): Move local variables SV and E
33486         inside [ST_NOATIME] conditional.
33488         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
33490         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
33492         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
33493         (wait_code): New function replaces macro.
33494         Call nanosleep rather than syscall.
33496         * nptl/pt-system.c: Rewritten.  Put everything under
33497         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33498         Use IFUNC to redirect when possible.
33500         * nptl/pt-longjmp.c: Rewritten.  Put everything under
33501         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33502         Use IFUNC to redirect when possible.
33504         * nptl/pt-fork.c: Rewritten.  Put everything under
33505         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33506         Use IFUNC to redirect when possible.
33507         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
33509         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
33510         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
33511         unconditionally nowadays.  This included the only reference to
33512         __vdso_clock_gettime that appears outside libc proper.
33513         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
33514         Remove version set (containing only __vdso_clock_gettime).
33515         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
33516         Add attribute_hidden.
33517         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33518         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
33519         libc_hidden_data_def.
33520         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33521         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33523         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
33524         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
33525         setrpcent, and getrpcport to ...
33526         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
33527         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
33528         getrpcbynumber_r, and getrpcent_r to ...
33529         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
33530         * inet/getrpcbyname.c: Moved ...
33531         * sunrpc/getrpcbyname.c: ... here.
33532         * inet/getrpcbyname_r.c: Moved ...
33533         * sunrpc/getrpcbyname_r.c: ... here.
33534         * inet/getrpcbynumber.c: Moved ...
33535         * sunrpc/getrpcbynumber.c: ... here.
33536         * inet/getrpcbynumber_r.c: Moved ...
33537         * sunrpc/getrpcbynumber_r.c: ... here.
33538         * inet/getrpcent.c: Moved ...
33539         * sunrpc/getrpcent.c: ... here.
33540         * inet/getrpcent_r.c: Moved ...
33541         * sunrpc/getrpcent_r.c: ... here.
33542         * inet/Makefile (routines): Move those to ...
33543         * sunrpc/Makefile (routines): ... here.
33544         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
33545         the $(subdirs) list.
33546         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
33547         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
33548         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
33549         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
33551         * elf/Makefile (routines): Include $(all-dl-routines), not just
33552         $(dl-routines).
33553         (rtld-routines): Likewise.  Use = rather than :=.
33554         * sysdeps/aarch64/Makefile [$(subdir) = elf]
33555         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
33556         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
33557         * sysdeps/arm/Makefile: Likewise.
33558         * sysdeps/i386/Makefile: Likewise.
33559         * sysdeps/x86_64/Makefile: Likewise.
33560         * sysdeps/hppa/Makefile [$(subdir) = elf]
33561         (sysdep_routines, sysdep-rtld-routines): Don't add
33562         $(sysdep-dl-routines) to these.
33563         * sysdeps/ia64/Makefile: Likewise.
33564         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
33565         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
33566         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
33567         Don't add dl-static to these; sysdep-dl-routines alone is enough.
33568         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
33569         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
33570         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
33571         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
33572         * sysdeps/powerpc/Makefile [$(subdir) = elf]
33573         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
33574         these; sysdep-dl-routines alone is enough.
33576 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
33578         [BZ #17932]
33579         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
33580         where multiplication results in zero and third argument is finite
33581         and nonzero.
33582         * math/auto-libm-test-in: Add more tests of fma.
33583         * math/auto-libm-test-out: Regenerated.
33585         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
33586         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
33587         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
33588         (_FP_CMP_EQ): Likewise.
33589         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
33591         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
33592         extra argument CHECK_NAN.  Redefine as wrapper around
33593         _FP_EXTEND_CNAN.
33595 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
33597         * version.h (RELEASE): Set to "stable".
33598         (VERSION): Set to "2.21"
33599         * include/features.h (__GLIBC_MINOR__): Set to 21.
33601         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
33603 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33604             Paul Eggert  <eggert@cs.ucla.edu>
33606         [BZ #16618]
33607         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
33608         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
33609         size in bytes. Store needed elements in wpmax. Use needed size
33610         in bytes for extend_alloca.
33612 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
33614         * manual/install.texi: Latest tested versions are GCC 4.9.2,
33615         binutls 2.25, and texinfo 5.2.
33616         * INSTALL: Regenerate.
33617         * sysdeps/nios2/configure: Regenerate.
33618         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
33619         * manual/contrib.texi: Update.
33620         * po/be.po: Update.
33621         * po/bg.po: Update.
33622         * po/ca.po: Update.
33623         * po/cs.po: Update.
33624         * po/da.po: Update.
33625         * po/de.po: Update.
33626         * po/el.po: Update.
33627         * po/eo.po: Update.
33628         * po/es.po: Update.
33629         * po/fi.po: Update.
33630         * po/fr.po: Update.
33631         * po/gl.po: Update.
33632         * po/hr.po: Update.
33633         * po/hu.po: Update.
33634         * po/ia.po: Update.
33635         * po/id.po: Update.
33636         * po/it.po: Update.
33637         * po/ja.po: Update.
33638         * po/ko.po: Update.
33639         * po/lt.po: Update.
33640         * po/nb.po: Update.
33641         * po/nl.po: Update.
33642         * po/pl.po: Update.
33643         * po/pt_BR.po: Update.
33644         * po/ru.po: Update.
33645         * po/rw.po: Update.
33646         * po/sk.po: Update.
33647         * po/sl.po: Update.
33648         * po/sv.po: Update.
33649         * po/tr.po: Update.
33650         * po/uk.po: Update.
33651         * po/vi.po: Update.
33652         * po/zh_CN.po: Update.
33653         * po/zh_TW.po: Update.
33655         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
33656         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
33657         * sysdeps/hppa/dl-irel.h: Remove #warning.
33658         * sysdeps/hppa/entry.h: Provide prototype for
33659         __canonicalize_funcptr_for_compare and cast argument.
33660         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
33661         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
33662         * sysdeps/hppa/sotruss-lib.c: New file.
33663         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
33664         (atomic_compare_and_exchange_val_acq): Use __typeof__.
33665         (atomic_compare_and_exchange_bool_acq): Likewise.
33666         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
33667         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
33669         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
33670         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
33671         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
33673 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
33675         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
33676         called function in non-PIC case.
33678 2015-01-31  David S. Miller  <davem@davemloft.net>
33680         * sysdeps/sparc/sparc32/bits/atomic.h
33681         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
33682         unlock not after it.
33683         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
33684         volatile register usage warnings from the compiler.
33686         * sysdeps/sparc/nptl/sem_init.c: Delete.
33687         * sysdeps/sparc/nptl/sem_post.c: Delete.
33688         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
33689         * sysdeps/sparc/nptl/sem_wait.c: Delete.
33690         * sysdeps/sparc/sparc32/sem_init.c: New file.
33691         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
33692         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
33693         padding explicitly initialized.
33694         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
33695         padding for in-semaphore spinlock.
33696         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
33697         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
33698         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
33699         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
33700         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
33701         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
33702         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
33703         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
33704         version.
33705         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
33706         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
33708 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
33710         [BZ #17801]
33711         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33712         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
33713         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
33714         New.
33715         (index_AVX_Fast_Unaligned_Load): Likewise.
33716         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
33717         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
33718         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
33719         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
33720         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
33721         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
33722         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
33723         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
33724         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
33726 2015-01-29  Andreas Schwab  <schwab@suse.de>
33728         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
33730 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
33732         [BZ #17892]
33733         * nscd/nscd_stat.c (send_stats): Initialize DATA.
33735 2015-01-28  Martin Sebor  <msebor@redhat.com>
33737         * math/README.libm-test: Clarify. Add "How to read the test output."
33739 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
33741         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
33742         Define to 0.
33744 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
33746         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
33747         (__HAVE_64B_ATOMICS): Define to 0.
33749 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33751         [BZ #17885]
33752         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
33753         value to set as new flag.
33755         [BZ #16576]
33756         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
33757         and use _ARCH_PPCSQ instead.
33758         (__ieee754_sqrt): Likewise.
33759         (__ieee754_sqrtf): Likewise.
33760         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
33761         _ARCH_PPCSQ is defined.
33762         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
33763         fsqrt instruction.
33764         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
33765         _ARCH_PPCSQ is defined.
33766         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
33767         fsqrts instruction.
33768         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
33770 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33772         * iconv/loop.c: Suppress array out of bound warning caused by GCC
33773         bug (GCC BZ #64739).
33775 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
33777         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
33778         Mark _retval as used.
33779         (lll_futex_wake_unlock): Likewise.
33780         (lll_futex_timed_wait_requeue_pi): Likewise.
33782         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33783         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
33784         register variables.
33786         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
33787         libm_hidden_def.
33789         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
33790         (__bswap_64): Mark as __always_inline.
33792 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
33794         [BZ #15378]
33795         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
33796         when none of the search directories exist.
33798 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33800         [BZ #17869]
33801         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
33802         power8 in .machine directive.
33804         [BZ #17868]
33805         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
33806         set dependency from opd value.
33808 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33811         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
33812         architecture.
33814 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33816         [BZ #17870]
33817         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
33818         with uint64_t.
33819         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
33820         (uint64_t) 1.
33821         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
33822         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
33823         Replace 1UL with (uint64_t) 1.
33824         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
33825         int with uint64_t.
33827 2015-01-23  Roland McGrath  <roland@hack.frob.com>
33829         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
33830         (if_freenameindex): Likewise.
33832         * resource/getrlimit64.c: Add missing libc_hidden_def.
33834 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
33836         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
33837         __label__.
33838         (_FP_FMA): Likewise.
33839         (_FP_TO_INT_ROUND): Likewise.
33840         (_FP_FROM_INT): Likewise.
33842 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33844         [BZ #16418]
33845         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33846         Make code racy and cancel safe.
33848 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
33850         * sysdeps/arm/unwind-resume.h: Fix copyright year.
33851         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
33852         attribution.
33854         * pwd/tst-getpw.c: Rewrite.
33856         [BZ #17702]
33857         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
33858         (modules-names): Add moddummy1 and moddummy2.
33859         ($(objpfx)tst-rec-dlopen): Define.
33860         * dlfcn/moddummy1.c: New file.
33861         * dlfcn/moddummy2.c: New file.
33862         * dlfcn/tst-rec-dlopen.c: New file.
33863         * elf/dl-cache.c (_dl_load_cache_lookup):
33864         Return char*. Copy result with alloca/strcpy/strdup.
33865         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
33866         returns char*. Free cached. If not saving realname
33867         free cached.
33868         * elf/dl-open.c (dl_open_worker): Do not assert that
33869         _r_debug->r_state is RT_CONSISTENT.
33870         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
33871         returns char*.
33873 2015-01-21  Torvald Riegel  <triegel@redhat.com>
33874             Carlos O'Donell  <carlos@redhat.com>
33876         [BZ #12674]
33877         * nptl/sem_waitcommon.c: New file.
33878         * nptl/sem_wait.c: Include sem_waitcommon.c.
33879         (__sem_wait_cleanup, do_futex_wait): Remove.
33880         (__new_sem_wait): Adapt.
33881         (__new_sem_trywait): New function.
33882         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
33883         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
33884         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
33885         (sem_timedwait): Adapt.
33886         * nptl/sem_post.c (__new_sem_post): Adapt.
33887         (futex_wake): New function.
33888         (__old_sem_post): Add release MO fence.
33889         * nptl/sem_open.c (sem_open): Adapt.
33890         * nptl/sem_init.c (__new_sem_init): Adapt.
33891         (futex_private_if_supported): New function.
33892         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
33893         (__old_sem_getvalue): Add using previous code.
33894         * sysdeps/nptl/internaltypes.h: Adapt.
33895         * nptl/tst-sem13.c (do_test): Adapt.
33896         * nptl/tst-sem11.c (main): Adapt.
33897         * nptl/sem_trywait.c: Remove.
33898         * nptl/DESIGN-sem.txt: Remove.
33899         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
33900         (gen-as-const-headers): Remove structsem.sym.
33901         * nptl/structsem.sym: Remove.
33902         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
33903         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
33904         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
33905         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
33906         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
33907         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
33908         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
33909         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
33910         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
33911         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
33912         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
33913         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
33914         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
33915         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
33916         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
33917         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
33918         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
33919         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
33920         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
33921         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
33922         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
33923         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
33925 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
33927         * INSTALL: Regenerated.
33929         * po/libc.pot: Regenerated.
33931 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
33932             Sandra Loosemore  <sandra@codesourcery.com>
33933             Andrew Jenner  <andrew@codesourcery.com>
33934             Joseph Myers  <joseph@codesourcery.com>
33935             Nathan Sidwell  <nathan@codesourcery.com>
33937         * NEWS: Mention new Nios II port.
33938         * sysdeps/nios2/Implies: New file.
33939         * sysdeps/nios2/Makefile: New file.
33940         * sysdeps/nios2/Subdirs: New file.
33941         * sysdeps/nios2/Versions: New file.
33942         * sysdeps/nios2/__longjmp.S: New file.
33943         * sysdeps/nios2/abort-instr.h: New file.
33944         * sysdeps/nios2/backtrace.c: New file.
33945         * sysdeps/nios2/bits/endian.h: New file.
33946         * sysdeps/nios2/bits/fenv.h: New file.
33947         * sysdeps/nios2/bits/link.h: New file.
33948         * sysdeps/nios2/bits/setjmp.h: New file.
33949         * sysdeps/nios2/bsd-_setjmp.S: New file.
33950         * sysdeps/nios2/bsd-setjmp.S: New file.
33951         * sysdeps/nios2/configure: New generated file.
33952         * sysdeps/nios2/configure.ac: New file.
33953         * sysdeps/nios2/crti.S: New file.
33954         * sysdeps/nios2/crtn.S: New file.
33955         * sysdeps/nios2/dl-init.c: New file.
33956         * sysdeps/nios2/dl-machine.h: New file.
33957         * sysdeps/nios2/dl-sysdep.h: New file.
33958         * sysdeps/nios2/dl-tls.h: New file.
33959         * sysdeps/nios2/dl-trampoline.S: New file.
33960         * sysdeps/nios2/gccframe.h: New file.
33961         * sysdeps/nios2/gmp-mparam.h: New file.
33962         * sysdeps/nios2/jmpbuf-offsets.h: New file.
33963         * sysdeps/nios2/jmpbuf-unwind.h: New file.
33964         * sysdeps/nios2/ldsodefs.h: New file.
33965         * sysdeps/nios2/libc-tls.c: New file.
33966         * sysdeps/nios2/libm-test-ulps: New file.
33967         * sysdeps/nios2/machine-gmon.h: New file.
33968         * sysdeps/nios2/math-tests.h: New file.
33969         * sysdeps/nios2/math_private.h: New file.
33970         * sysdeps/nios2/memusage.h: New file.
33971         * sysdeps/nios2/nptl/Makefile: New file.
33972         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
33973         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
33974         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
33975         * sysdeps/nios2/nptl/pthreaddef.h: New file.
33976         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
33977         * sysdeps/nios2/nptl/tls.h: New file.
33978         * sysdeps/nios2/preconfigure: New file.
33979         * sysdeps/nios2/s_fma.c: New file.
33980         * sysdeps/nios2/s_fmaf.c: New file.
33981         * sysdeps/nios2/setjmp.S: New file.
33982         * sysdeps/nios2/sfp-machine.h: New file.
33983         * sysdeps/nios2/sotruss-lib.c: New file.
33984         * sysdeps/nios2/stackguard-macros.h: New file.
33985         * sysdeps/nios2/stackinfo.h: New file.
33986         * sysdeps/nios2/start.S: New file.
33987         * sysdeps/nios2/sysdep.h: New file.
33988         * sysdeps/nios2/tls-macros.h: New file.
33989         * sysdeps/nios2/tst-audit.h: New file.
33990         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
33991         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
33992         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
33993         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
33994         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
33995         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
33996         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
33997         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
33998         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
33999         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
34000         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
34001         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
34002         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
34003         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
34004         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
34005         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
34006         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
34007         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
34008         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
34009         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
34010         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
34011         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
34012         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
34013         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
34014         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
34015         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
34016         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
34017         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
34018         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
34019         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
34020         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
34021         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
34022         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
34023         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
34024         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
34025         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
34026         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
34027         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
34028         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
34029         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
34030         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
34031         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
34032         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
34033         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
34035 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34037         [BZ #17844]
34038         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
34039         (getutent): Use weak_alias in non SHARED case
34040         and default_symbol_version in SHARED case.
34041         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
34042         (getutent_r, pututline): Likewise.
34043         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
34044         (getutid): Likewise.
34045         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
34046         (getutid_r): Likewise.
34047         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
34048         (getutline): Likewise.
34049         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
34050         (getutline_r): Likewise.
34051         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
34052         (updwtmp): Likewise.
34054 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34056         [BZ #17848]
34057         * sysdeps/s390/s390-32/memcmp.S
34058         (memcmp_g5): Rename to __memcmp_g5.
34059         * sysdeps/s390/s390-32/memcpy.S
34060         (memcpy_g5): Rename to __memcpy_g5.
34061         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34062         (memcpy_mvcle) Rename to __memcpy_mvcle.
34063         * sysdeps/s390/s390-32/memset.S
34064         (memset_g5): Rename to __memset_g5.
34065         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34066         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34067         and use prefixed functions.
34068         * sysdeps/s390/s390-32/multiarch/memcmp.S
34069         (memcmp_z196): Rename to __memcmp_z196.
34070         (memcmp_z10): Rename to __memcmp_z10.
34071         (memcmp): Set alias to __memcmp_g5.
34072         (bcmp): Set alias to __memcmp_g5.
34073         * sysdeps/s390/s390-32/multiarch/memcpy.S
34074         (memcpy_z196): Rename to __memcpy_z196.
34075         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34076         (memcpy_z10): Rename to __memcpy_z10.
34077         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34078         (memcpy): Set alias to __memcpy_g5.
34079         * sysdeps/s390/s390-32/multiarch/memset.S
34080         (memset_z196): Rename to __memset_z196.
34081         Jump to __memset_mvcle instead of memset_mvcle.
34082         (memset_z10): Rename to __memset_z10.
34083         Jump to __memset_mvcle instead of memset_mvcle.
34084         (memset_mvcle) Rename to __memset_mvcle.
34085         (memset): Set alias to __memset_g5.
34086         * sysdeps/s390/s390-64/memcmp.S
34087         (memcmp_z900): Rename to __memcmp_z900.
34088         * sysdeps/s390/s390-64/memcpy.S
34089         (memcpy_z900): Rename to __memcpy_z900.
34090         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34091         (memcpy_mvcle) Rename to __memcpy_mvcle.
34092         * sysdeps/s390/s390-64/memset.S
34093         (memset_z900): Rename to __memset_z900.
34094         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
34095         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34096         and use prefixed functions.
34097         * sysdeps/s390/s390-64/multiarch/memcmp.S
34098         (memcmp_z196): Rename to __memcmp_z196.
34099         (memcmp_z10): Rename to __memcmp_z10.
34100         (memcmp): Set alias to __memcmp_z900.
34101         (bcmp): Set alias to __memcmp_z900.
34102         * sysdeps/s390/s390-64/multiarch/memcpy.S
34103         (memcpy_z196): Rename to __memcpy_z196.
34104         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34105         (memcpy_z10): Rename to __memcpy_z10.
34106         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34107         (memcpy): Set alias to __memcpy_z900.
34108         * sysdeps/s390/s390-64/multiarch/memset.S
34109         (memset_z196): Rename to __memset_z196.
34110         Jump to __memset_mvcle instead of memset_mvcle.
34111         (memset_z10): Rename to __memset_z10.
34112         Jump to __memset_mvcle instead of memset_mvcle.
34113         (memset_mvcle) Rename to __memset_mvcle.
34114         (memset): Set alias to __memset_z900.
34116 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
34118         [BZ #17748]
34119         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
34120         __fesetenv instead of fesetenv.
34122 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34124         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
34125         macro.
34127 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34129         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
34130         regression on LE.
34132         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
34133         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
34134         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34135         strncmp-power8 object.
34136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34137         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
34138         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
34139         * NEWS: Update.
34141 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34142             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34144         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
34145         trailing byte check.
34147 2015-01-13  David S. Miller  <davem@davemloft.net>
34149         * include/signal.h (__sigreturn): Guard with __USE_MISC.
34151 2015-01-13  Roland McGrath  <roland@hack.frob.com>
34153         * login/logout.c (logout): Use memset rather than bzero.
34154         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
34155         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
34156         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
34157         (_gethtbyaddr): Likewise.
34158         * locale/programs/simple-hash.c (bcopy): Macro removed.
34160 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34162         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34163         Add strcmp-power8 object.
34164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34165         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
34166         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
34167         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
34168         __strcmp_power8 implementation.
34169         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
34170         * NEWS: Update.
34172         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34173         Add strncpy-power8 and stpncpy-power8 objects.
34174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34175         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
34176         implementations.
34177         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
34178         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
34179         __stpncpy_power8 implementation.
34180         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
34181         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
34182         __strncpy_power8 implementation.
34183         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
34184         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
34185         * NEWS: Update.
34187         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
34188         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
34189         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
34191         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34192         strncat-power8 object.
34193         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
34194         __strcat_power8 implementation.
34195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34196         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
34197         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
34198         optimized strcat for power8.
34200         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34201         strcpy-power8 and stpcpy-power8 objects.
34202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34203         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
34204         implementations.
34205         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
34206         multiarch stpcpy implementation for POWER8.
34207         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
34208         multiarch strcpy implementation for POWER8.
34209         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
34210         __strcpy_power8 function.
34211         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
34212         stpcpy for POWER8.
34213         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
34214         strcpy for POWER8.
34215         * NEWS: Update.
34217 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
34219         [BZ #16009]
34220         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
34221         weights and rules. Use do_xfrm_cached if data fits in cache,
34222         do_xfrm otherwise.  Moved former main loop to...
34223         * (do_xfrm_cached): New function.
34224         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
34225         find_idx, find_position and stack_push.
34226         * (find_idx): New function.
34227         * (find_position): Likewise.
34228         * localedata/sort-test.sh: Added test run for do_xfrm.
34229         * localedata/xfrm-test.c (main): Added command line option
34230         -nocache to run the test with strings that are too large for
34231         the STRXFRM cache.
34233 2015-01-13  Torvald Riegel  <triegel@redhat.com>
34235         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
34236         variable to lll_futex_wake call, not the value itself.
34238 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
34240         [BZ #17803]
34241         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
34242         twom64.  Adjust value to 0x1p-64L.
34243         (__scalblnl): Only return standard underflowing result for K <=
34244         -64 not K <= -63; adjust exponent for underflowing result by 64
34245         not 63.
34246         * math/libm-test.inc (scalbn_test_data): Add more tests.
34247         (scalbln_test_data): Likewise.
34249         [BZ #17834]
34250         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
34251         0x1p63L.
34252         (__scalblnl): Get new exponent of adjusted subnormal value from ES
34253         not HX.
34254         * math/libm-test.inc (scalbn_test_data): Add more tests.
34255         (scalbln_test_data): Likewise.
34257 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34258             Stefani Seibold  <stefani@seibold.net>
34260         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
34261         (sysdep_routines): Add dl-vdso here, ...
34262         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
34263         (sysdep_routines): ... not here.
34264         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
34265         fallback when vDSO is not presented.
34266         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34267         Define with libc_hidden_proto/libc_hidden_data_def definitions.
34268         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
34269         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
34270         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
34271         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
34272         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
34273         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
34274         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
34275         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
34276         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
34277         fallback configurable symbol when vDSO is not available.
34278         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
34279         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
34280         be able to redefine fallback symbol when vDSO is not available.
34281         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
34282         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
34284 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34286         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
34287         (TLS_INIT_TP): Add tm_capable initialization.
34288         (TLS_DEFINE_INIT_TP): Likewise.
34289         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
34290         TCB.
34291         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
34292         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
34293         calculation.
34294         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
34295         transactoion is lock elision is built and TCB tm_capable is set.
34296         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
34297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34298         (INTERNAL_SYSCALL_NCS): Likewise.
34299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34300         (INTERNAL_SYSCALL_NCS): Likewise.
34301         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
34303         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
34304         for powerpc.
34305         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34306         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
34307         and remove it for 32 bits case.
34308         [pthread_rwlock_t] (__rwelision): New field for lock elision.
34309         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
34310         initialization.
34311         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
34312         Disable lock elision with rdlocks if elision is not available.
34314         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
34315         (sysdep_routines): Add lock elision objects.
34316         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34317         [pthread_mutex_t] (__spins): Rework to add lock elision field.
34318         [pthread_mutex_t] (__elision): Add field.
34319         [__PTHREAD_SPINS]: Adjust to init lock elision field.
34320         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
34321         elision definitions for powerpc.
34322         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
34323         implementation of lock elision for powerpc.
34324         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
34325         implementation of timed lock elision for powerpc.
34326         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
34327         implementation of trylock with lock elision for powerpc.
34328         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
34329         implementaion of unlock for lock elision for powerpc.
34330         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
34331         automatic enable lock elision for mutexes.
34332         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
34333         transaction execution definitions for powerpc.
34334         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
34335         definitions.
34336         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
34337         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
34338         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
34339         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
34340         * NEWS: Update.
34342 2015-01-09  Roland McGrath  <roland@hack.frob.com>
34344         * sysdeps/posix/shm-directory.c: Use <> rather than ""
34345         for #include of <shm-directory.h>.
34347 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
34349         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
34350         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
34352 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
34354         [BZ #17791]
34355         * NEWS: Mention bug fix.
34356         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
34357         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
34358         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
34360 2015-01-09  Torvald Riegel <triegel@redhat.com>
34362         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
34364 2015-01-09  Torvald Riegel <triegel@redhat.com>
34366         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
34368 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34370         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
34371         pointer and cast to uintptr_t.
34373 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34375         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
34376         removed.
34377         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
34379 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34381         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
34382         of 0.
34384 2015-01-08  Roland McGrath  <roland@hack.frob.com>
34386         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
34387         <nptl/pthreadP.h> instead.
34388         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
34390         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
34391         already defined.
34392         [__SIGRTMIN] (init): Function removed.
34393         [__SIGRTMIN] (initialized): Variable removed.
34394         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
34395         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
34396         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
34397         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
34398         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
34399         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
34400         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
34401         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
34402         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
34403         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
34404         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
34405         * sysdeps/nptl/allocrtsig.c: New file.
34406         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
34407         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
34408         * sysdeps/generic/testrtsig.h: File removed.
34410         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
34411         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
34413         * nptl/nptl-init.c (pthread_functions): Conditionalize
34414         .ptr__nptl_setxid initialization on [SIGSETXID].
34416         * sysdeps/nptl/sys/procfs.h: New file.
34417         * nptl_db/Makefile (headers): Add it.
34418         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
34420         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
34421         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
34422         * nptl/pthread_attr_setaffinity.c: Include it.
34423         * nptl/pthread_setattr_default_np.c: Likewise.
34424         * nptl/check-cpuset.h: New file.
34426 2015-01-08  Richard Henderson  <rth@redhat.com>
34428         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
34429         (CFLAGS-tst-execstack-prog.c): Likewise.
34430         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
34432 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
34433             Sandra Loosemore  <sandra@codesourcery.com>
34434             Andrew Jenner  <andrew@codesourcery.com>
34435             Joseph Myers  <joseph@codesourcery.com>
34436             Nathan Sidwell  <nathan@codesourcery.com>
34438         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
34439         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
34440         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
34441         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
34442         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
34443         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
34444         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
34445         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
34446         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
34447         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
34448         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
34449         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
34450         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
34451         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
34452         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
34453         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
34454         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
34456 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34458         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
34459         timespec struct member in syscall macro.
34460         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
34461         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
34462         first timeval struct member in syscall macro.
34463         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
34465 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
34467         [BZ #17748]
34468         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
34469         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
34470         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
34471         __feupdateenv and define as weak alias of __feupdateenv.  Use
34472         libm_hidden_weak.
34473         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
34474         libm_hidden_def.
34475         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
34476         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
34477         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34478         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
34479         libm_hidden_def.
34480         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
34481         __feupdateenv and define as weak alias of __feupdateenv.  Use
34482         libm_hidden_weak.
34483         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
34484         libm_hidden_def.
34485         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
34486         __feupdateenv and define as weak alias of __feupdateenv.  Use
34487         libm_hidden_weak.
34488         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
34489         libm_hidden_def.
34490         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34491         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34492         (__feupdateenv): Likewise.
34493         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
34494         __feupdateenv and define as weak alias of __feupdateenv.  Use
34495         libm_hidden_weak.
34496         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34497         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
34498         libm_hidden_def.
34499         * sysdeps/tile/math_private.h (__feupdateenv): New inline
34500         function.
34501         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
34502         libm_hidden_def.
34503         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
34504         __feupdateenv instead of feupdateenv.
34505         (default_libc_feupdateenv_test): Likewise.
34506         (libc_feresetround_ctx): Likewise.
34508 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34510         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
34511         prototype.
34513 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
34515         * posix/regcomp.c (parse_bracket_exp): Initialize type to
34516         COLL_SYM in a couple of places to avoid uninitialized variable
34517         wanings on tilegx gcc 4.8.2.
34519 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34521         * sysdeps/aarch64/strcpy.S: New file.
34522         * sysdeps/aarch64/stpcpy.S: New file.
34523         * NEWS: Updated.
34525 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34527         * sysdeps/aarch64/strrchr.S: New file.
34528         * NEWS: Updated.
34530 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
34532         [BZ #17658]
34533         * stdlib/setenv.c: Fix memory leak when setting large,
34534         duplicate string.
34536 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
34538         [BZ #17273]
34539         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
34540         and tabs from buffer before parsing fstab entry.
34541         * misc/tst-mntent.c (main): Add test for mount entry with
34542         trailing spaces and tabs.
34544 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
34546         [BZ #17748]
34547         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
34548         * math/fesetround.c (fesetround): Rename to __fesetround and
34549         define as weak alias of __fesetround.  Use libm_hidden_weak.
34550         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
34551         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
34552         * sysdeps/arm/fesetround.c (fesetround): Likewise.
34553         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
34554         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
34555         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
34556         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
34557         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
34558         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
34559         __fesetround_inline.
34560         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
34561         __fesetround_inline instead of __fesetround.
34562         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
34563         __fesetround and define as weak alias of __fesetround.  Use
34564         libm_hidden_weak.  Call __fesetround_inline instead of
34565         __fesetround.
34566         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
34567         __fesetround and define as weak alias of __fesetround.  Use
34568         libm_hidden_weak.
34569         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
34570         Likewise.
34571         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
34572         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34573         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
34574         * sysdeps/tile/math_private.h (__fesetround): New inline function.
34575         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
34576         __fesetround and define as weak alias of __fesetround.  Use
34577         libm_hidden_weak.
34578         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
34579         __fesetround instead of fesetround.
34580         (default_libc_feholdexcept_setround): Likewise.
34581         (libc_feholdsetround_ctx): Likewise.
34582         (libc_feholdsetround_noex_ctx): Likewise.
34584         [BZ #17748]
34585         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
34586         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
34587         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34588         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34589         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34590         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
34591         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34592         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
34593         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34594         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34595         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34596         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34597         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34598         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34599         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
34600         libm_hidden_def.
34601         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
34602         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
34603         Likewise.
34604         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34605         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34606         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34607         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34608         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
34609         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34610         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34611         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
34612         __fesetenv instead of fesetenv.
34613         (libc_feresetround_noex_ctx): Likewise.
34614         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34615         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34616         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
34617         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34618         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34619         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34620         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34621         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34622         (__feupdateenv): Likewise.
34623         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34624         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34625         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34626         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
34628 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
34630         [BZ #17806]
34631         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
34632         addresses have been freed.
34634 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
34636         * resolv/res_init.c (__res_vinit): Improve comments about nserv
34637         and nservall.
34639 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
34641         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
34642         Clean up check_pf allocation pattern. addresses
34644 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34646         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
34647         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
34648         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
34649         * nptl/pthread_exit.c (__pthread_exit): Likewise.
34650         * nptl/pthread_join.c (pthread_join): Likewise.
34651         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
34652         * sysdeps/posix/waitid.c (__waitid): Likewise.
34653         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34654         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34655         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34656         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34657         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34658         Likewise.
34659         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34660         (__libc_pread64): Likewise.
34661         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34662         (__libc_pwrite): Likewise.
34663         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34664         (__libc_pwrite64): Likewsie.
34665         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34666         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34667         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34668         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34669         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34670         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34671         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34673         Likewise.
34674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34675         (__libc_pread64): Likewise.
34676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
34677         Likewise.
34678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34679         (__libc_pwrite64): Likewise.
34680         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
34681         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
34682         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
34683         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
34684         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
34685         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
34686         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
34687         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
34688         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
34689         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
34690         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
34691         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
34692         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
34693         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
34694         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
34695         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
34696         Likewise.
34698 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
34700         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
34701         (CFLAGS-test-double.c): Likewise.
34702         (CFLAGS-test-ldouble.c): Likewise.
34703         (CPPFLAGS-test-ifloat.c): Likewise.
34704         (CPPFLAGS-test-idouble.c): Likewise.
34705         (CPPFLAGS-test-ildoubl.c): Likewise.
34706         (CFLAGS-test-test-fenv.c): Remove variable.
34707         (CFLAGS-test-misc.c): Likewise.
34709 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
34711         [BZ #17797]
34712         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
34713         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
34714         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
34715         CLOCKS_PER_SEC == 1000000.
34716         * time/clocktest.c (main): Replace %ld with %jd and cast to
34717         intmax_t.
34719 2015-01-05  Roland McGrath  <roland@hack.frob.com>
34721         * sysdeps/generic/unwind-resume.h: New file.
34722         * sysdeps/gnu/unwind-resume.c: Include it.
34723         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
34724         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
34725         argument list.
34726         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
34727         global rather than static.
34728         (_Unwind_Resume): Update user.
34729         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
34730         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
34731         rather than static.  Add __attribute__ ((cold)).
34732         (_Unwind_Resume, __gcc_personality_v0): Update callers.
34733         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
34734         * sysdeps/arm/arm-unwind-resume.S: New file.
34735         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
34736         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
34737         * sysdeps/arm/Makefile [$(subdir) = csu]
34738         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
34739         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34740         Add rt-arm-unwind-resume.
34741         [$(subdir) = nptl]
34742         (libpthread-sysdep_routines, libpthread-shared-only-routines):
34743         Add pt-arm-unwind-resume.
34744         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
34745         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
34747 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34749         [BZ #17748]
34750         * include/fenv.h (__feholdexcept): Declare.  Use
34751         libm_hidden_proto.
34752         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
34753         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
34754         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34755         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
34756         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
34757         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
34758         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
34759         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34760         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
34761         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
34762         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34763         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
34764         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
34765         (feholdexcept): Likewise.
34766         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34767         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34768         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34769         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34770         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
34771         __feholdexcept instead of feholdexcept.
34772         (default_libc_feholdexcept_setround): Likewise.
34774 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34776         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
34777         to avoid using stl/str to align destination.
34779 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34781         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
34783 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34785         [BZ #17796]
34786         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
34787         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
34788         Define as weak alias not strong alias.
34790 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34792         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
34793         bltzal with addiupc.
34794         (RTLD_START): Ditto.
34796 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
34798         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
34799         for __vdso_* functions in declarations.
34800         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
34801         definitions.
34802         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
34803         INTERNAL_VSYSCALL): Use struct return types to check for error.
34805         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
34806         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
34807         function with cast from llround().
34808         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
34809         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
34810         Define.
34812 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34814         [BZ #17793]
34815         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
34816         Define as weak alias not strong alias.
34818         [BZ #17635]
34819         * ctype/ctype-c99.c: New file.  isblank implementation moved from
34820         ...
34821         * ctype/ctype-extn.c: ... here.
34822         (__isblank_l): Move to ...
34823         * ctype/ctype-c99_l.c: ... here.  New file.
34824         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
34825         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
34826         Remove variable.
34827         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
34828         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
34829         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
34830         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
34831         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34833         [BZ #17777]
34834         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
34835         (posix_fadvise64): Define as weak alias not strong alias.
34836         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34837         (posix_fallocate64): Likewise.
34838         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
34839         Remove variable.
34840         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
34841         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34842         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34843         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34844         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34846 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
34848         [BZ #16191]
34849         * NEWS: Mention bug fix.
34850         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
34851         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
34852         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
34853         (HOST_STACK_END_ADDR): Likewise.
34855 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34857         [BZ #17748]
34858         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
34859         * math/fegetround.c (fegetround): Rename to __fegetround and
34860         define as weak alias of __fegetround.  Use libm_hidden_weak.
34861         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
34862         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
34863         * sysdeps/arm/fegetround.c (fegetround): Likewise.
34864         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
34865         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34866         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
34867         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
34868         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
34869         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34870         Undefine after rather than before function definition; use
34871         parentheses around function name in definition.
34872         (__fegetround): Also undefine macro after function definition.
34873         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
34874         __fegetround and define as weak alias of __fegetround.  Use
34875         libm_hidden_weak.  Do not undefine as macro.
34876         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34877         Likewise.
34878         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
34879         __fegetround and define as weak alias of __fegetround.  Use
34880         libm_hidden_weak.
34881         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34882         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34883         * sysdeps/tile/math_private.h (__fegetround): New inline function.
34884         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
34885         __fegetround and define as weak alias of __fegetround.  Use
34886         libm_hidden_weak.
34887         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
34888         __fegetround instead of fegetround.
34890         [BZ #17782]
34891         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
34892         Condition macro definition on [__USE_MISC].
34894         [BZ #17781]
34895         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34896         (struct sigaction): Change type of sa_flags field to int.
34898         [BZ #17780]
34899         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
34900         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
34901         __glibc_reserved0.
34903         * nptl/version.c (banner): Use single year in copyright notice.
34905         * NEWS: Update copyright dates.
34906         * catgets/gencat.c (print_version): Likewise.
34907         * csu/version.c (banner): Likewise.
34908         * debug/catchsegv.sh: Likewise.
34909         * debug/pcprofiledump.c (print_version): Likewise.
34910         * debug/xtrace.sh (do_version): Likewise.
34911         * elf/ldconfig.c (print_version): Likewise.
34912         * elf/ldd.bash.in: Likewise.
34913         * elf/pldd.c (print_version): Likewise.
34914         * elf/sotruss.sh: Likewise.
34915         * elf/sprof.c (print_version): Likewise.
34916         * iconv/iconv_prog.c (print_version): Likewise.
34917         * iconv/iconvconfig.c (print_version): Likewise.
34918         * locale/programs/locale.c (print_version): Likewise.
34919         * locale/programs/localedef.c (print_version): Likewise.
34920         * login/programs/pt_chown.c (print_version): Likewise.
34921         * malloc/memusage.sh (do_version): Likewise.
34922         * malloc/memusagestat.c (print_version): Likewise.
34923         * malloc/mtrace.pl: Likewise.
34924         * manual/libc.texinfo: Likewise.
34925         * nptl/version.c (banner): Likewise.
34926         * nscd/nscd.c (print_version): Likewise.
34927         * nss/getent.c (print_version): Likewise.
34928         * nss/makedb.c (print_version): Likewise.
34929         * posix/getconf.c (main): Likewise.
34930         * scripts/test-installation.pl: Likewise.
34931         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
34933 2015-01-02  Will Newton  <will.newton@linaro.org>
34935         * sysdeps/arm/armv7/configure: Removed.
34936         * sysdeps/arm/armv7/configure.ac: Likewise.
34938 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34940         * All files with FSF copyright notices: Update copyright dates
34941         using scripts/update-copyrights.
34942         * intl/plural.c: Regenerated.
34943         * locale/programs/charmap-kw.h: Likewise.
34944         * locale/programs/locfile-kw.h: Likewise.
34946 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34948         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
34950 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34952         [BZ #17748]
34953         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
34954         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
34955         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34956         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34957         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34958         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
34959         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34960         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
34961         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34962         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34963         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34964         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34965         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34966         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34967         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
34968         libm_hidden_def.
34969         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
34970         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
34971         Likewise.
34972         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34973         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34974         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34975         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34976         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
34977         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34978         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34979         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
34980         __fegetenv instead of fegetenv.
34981         (libc_feholdsetround_noex_ctx): Likewise.
34983 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34985         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
34986         (Elf_MIPS_ABIFlags_v0): New structure.
34987         (EF_MIPS_FP64): Define.
34988         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
34989         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
34990         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
34991         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
34992         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
34993         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
34994         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
34995         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
34996         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
34997         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
34998         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
34999         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
35000         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
35001         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
35002         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
35003         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
35004         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
35005         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
35006         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
35007         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
35008         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
35009         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
35010         field.
35011         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
35012         EF_MIPS_FP64.
35013         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
35014         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
35015         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
35016         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
35017         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
35018         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
35019         * sysdeps/mips/tst-abi-interlink.c: Likewise.
35020         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
35021         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
35022         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
35023         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
35024         record the current FP ABI extension.
35025         (mips-mode-switch): Define to show if kernel headers support mode
35026         switching.
35027         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
35028         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
35029         supported SYSV ABI version to 3.
35030         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
35031         feature.
35033 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35034             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35036         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
35037         path.
35038         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
35040 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35042         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
35043         __fegetround and redefine to call __fegetround.  Remove condition
35044         on [!__NO_MATH_INLINES].
35045         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
35046         function.
35047         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
35048         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35049         Remove macro.
35050         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
35051         instead of <fenv_libc.h>.
35052         (__llrintl): Call fegetround instead of __fegetround.
35053         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
35054         instead of <fenv_libc.h>.
35055         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35056         (__lrintl): Call fegetround instead of __fegetround.
35057         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
35058         instead of <fenv_libc.h>.
35059         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35060         (__rintl): Call fegetround instead of __fegetround.
35062 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35064         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
35065         arrays.
35067 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35069         [BZ #17775]
35070         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
35071         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
35072         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
35074 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35076         * sysdeps/i386/tls-macros.h: Include <features.h>.
35077         (TLS_LE): Use non-PIC version for GCC >= 5.0.
35078         (TLS_IE): Likewise.
35079         (TLS_LD): Likewise.
35080         (TLS_GD): Likewise.
35081         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
35082         define for GCC >= 5.0.
35084 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
35086         * math/test-fenv.c (test_single_exception, set_single_exc,
35087         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
35088         feexcp_mask_test, feenable_test, fe_single_test): Add
35089         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
35090         case where they are not used.
35091         * math/libm-test.inc: Likewise.
35092         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
35093         unused in the absence of FP rounding/exception support.
35094         * stdio-common/tst-printf-round.c: Likewise.
35095         * stdlib/tst-strtod-round.c: Likewise.
35096         * stdlib/tst-strtod-underflow.c: Likewise.
35098 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
35100         [BZ #17723]
35101         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
35102         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
35103         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35104         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35105         libm_hidden_weak.
35106         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
35107         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35108         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
35109         libm_hidden_def.
35110         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35111         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35112         libm_hidden_weak.
35113         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
35114         Likewise.
35115         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
35116         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35117         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35118         libm_hidden_weak.
35119         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35120         libm_hidden_def.
35121         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35122         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
35123         (__feraiseexcept): Likewise.
35124         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35125         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35126         libm_hidden_weak.
35127         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35128         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35129         libm_hidden_def.
35130         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
35131         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
35132         Use libm_hidden_def.
35133         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
35134         libm_hidden_def.
35135         (feraiseexcept): Define as weak not strong alias.  Use
35136         libm_hidden_weak.
35137         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
35138         New inline function.  Factored out of ...
35139         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
35140         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
35141         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
35142         feraiseexcept.
35143         * math/w_acos.c (__acos): Likewise.
35144         * math/w_asin.c (__asin): Likewise.
35145         * math/w_ilogb.c (__ilogb): Likewise.
35146         * math/w_j0.c (y0): Likewise.
35147         * math/w_j1.c (y1): Likewise.
35148         * math/w_jn.c (yn): Likewise.
35149         * math/w_log.c (__log): Likewise.
35150         * math/w_log10.c (__log10): Likewise.
35151         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
35152         * sysdeps/aarch64/fpu/math_private.h
35153         (libc_feupdateenv_test_aarch64): Likewise.
35154         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35155         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
35156         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
35157         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35158         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35159         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35160         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
35161         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35162         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35163         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35165 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35167         [BZ #17732]
35168         * io/test-utime.c (main): Replace %ld with %jd and cast to
35169         intmax_t.
35170         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
35171         * nptl/tst-mutex5.c: Include <stdint.h>.
35172         (do_test): Replace %ld with %jd and cast to intmax_t.
35173         * posix/tst-regex.c (run_test): Likewise.
35174         (run_test_backwards): Likewise.
35175         * rt/tst-clock.c: Include <stdint.h>.
35176         (clock_test): Replace %ld with %jd and cast to intmax_t.
35177         * rt/tst-cpuclock1.c: Include <stdint.h>.
35178         (do_test): Replace %lu with %ju and cast to uintmax_t.
35179         * rt/tst-cpuclock2.c: Include <stdint.h>.
35180         (do_test): Replace %lu with %ju and cast to uintmax_t.
35181         * rt/tst-mqueue1.c: Include <stdint.h>.
35182         (check_attrs): Replace %ld with %jd and cast to intmax_t.
35183         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
35184         intmax_t.
35185         * rt/tst-mqueue4.c (do_test): Likewise.
35186         * rt/tst-timer4.c: Include <stdint.h>.
35187         (check_ts): Replace %ld with %jd and cast to intmax_t.
35188         (do_test): Likewise.
35189         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
35190         and cast to intmax_t.
35191         * sysdeps/pthread/tst-timer.c (main): Likewise.
35192         * time/clocktest.c (main): Likewise.
35193         * time/tst-posixtz.c (do_test): Likewise.
35194         * timezone/tst-timezone.c (main): Likewise.
35196 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35197             H.J. Lu  <hongjiu.lu@intel.com>
35199         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
35200         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35201         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
35202         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
35203         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
35204         version if bit_Fast_Unaligned_Load is set.
35205         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35206         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35207         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35208         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35209         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35210         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35211         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35212         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
35213         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
35214         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
35215         to 4.
35216         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
35217         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
35218         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
35219         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
35221 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
35223         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
35224         instead of #if to avoid a Wundef warning.
35225         * stdlib/tst-limits.c (do_test): Likewise.
35227         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
35228         parallel other exception macros.
35229         (fegetenv): Convert from macro to extern inline so that it applies
35230         retroactively to inline functions already seen by the compiler.
35231         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
35233         * posix/Makefile (before-compile): Use $(objpfx) for
35234         posix-conf-vars-def.h.
35236 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35238         * posix/getconf.c (main): Use size_t for type of I.
35239         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
35240         NSPEC.
35242         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
35243         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
35244         * posix/posix-envs.def: Likewise.
35245         * sysdeps/posix/sysconf.c: Likewise.
35246         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
35247         (specs): Remove array.
35248         * scripts/gen-posix-conf-vars.awk: Support generation of specs
35249         array.
35251         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
35252         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
35253         (__sysconf): Use CONF_IS_* macros.
35255         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
35256         ($(objpfx)posix-conf-vars-def.h): New target.
35257         * posix/posix-conf-vars.list: New file.
35258         * posix/posix-conf-vars.h: New file.
35259         * posix/confstr.c: Include posix-conf-vars.h.
35260         (confstr): Use CONF_IS_* macros.
35261         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
35262         CONF_IS_* macros.
35263         * scripts/gen-posix-conf-vars.awk: New file.
35265 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
35267         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
35268         fegetround): Add no-op macros to avoid linknamespace issues.
35270         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
35271         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
35273         * sysdeps/unix/sysv/linux/tile/sysdep.h
35274         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
35275         assembly-specific section to avoid a redefinition warning.
35277         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
35278         long before casting to pointer to avoid a cast warning.
35280 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
35282         * sysdeps/tile/tilegx/Implies: New file.
35284 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
35286         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
35288 2014-12-23  Florian Weimer  <fweimer@redhat.com>
35290         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
35292 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35294         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
35295         not define.
35296         * sysdeps/unix/sysv/linux/utimes.c: Do not include
35297         <kernel-features.h>.
35298         (__utimes) [__NR_utimes]: Make code unconditional.
35299         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
35300         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35301         (__ASSUME_UTIMES): Do not undefine.
35302         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35303         (__ASSUME_UTIMES): Likewise.
35304         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35305         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
35306         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
35307         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
35309 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35311         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
35313 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
35315         [BZ #17747]
35316         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
35317         alias to weak alias for j0l, y0l.
35318         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
35319         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
35321         [BZ #17746]
35322         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
35323         conversion.
35325 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35327         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
35328         to zero if not already defined.
35330 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35332         [BZ #17724]
35333         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
35334         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
35335         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
35336         (char *) casts added.
35337         * sysdeps/ieee754/k_standardf.c: New file.
35338         * sysdeps/ieee754/k_standardl.c: Likewise.
35339         * math/Makefile (libm-support): Remove k_standard.
35340         (libm-calls): Add k_standard.
35342 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35344         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35345         Optimize to avoid an unnecessary FPCR read.
35347 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35349         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
35350         Optimize to reduce FPCR/FPSR accesses.
35352 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35354         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
35355         Call libc_fetestexcept_aarch64.
35357 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35359         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
35360         Call libc_fesetround_aarch64.
35362 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35364         [BZ #17733]
35365         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
35366         (__bind): Do not define as weak alias.
35367         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
35368         define.
35369         (__getsockname): Do not define as weak alias.
35371 2014-12-22  Will Newton  <will.newton@linaro.org>
35373         * manual/install.texi: Document that we require bison 2.7
35374         or above.
35375         * INSTALL: Regenerate.
35376         * configure.ac: Use AC_CHECK_PROG_VER instead of
35377         AC_PATH_PROG when checking for bison and check for
35378         version 2.7 or above.
35379         * configure: Regenerate.
35381 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
35383         [BZ #17745]
35384         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
35385         * sysdeps/tile/ffsll.c (ffsll): To here.
35387         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
35389 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35391         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
35392         if not defined.
35393         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
35394         definition.
35395         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35396         hidden ___tls_get_addr.
35397         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35398         hidden __tls_get_addr.
35399         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
35400         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
35401         Likewise.
35403 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35405         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
35406         _dl_init call.
35408 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35410         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
35411         from "call _dl_init@PLT".
35412         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
35414 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
35416         * manual/search.texi: (Array Sort Function): Clarify stable sorting
35417         guarantees.
35419 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
35421         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
35423 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35425         [BZ #17744]
35426         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
35427         strnlen.
35429 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35431         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
35432         of multu on MIPSr6.
35433         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
35434         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
35435         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
35436         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
35437         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
35439 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35441         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
35442         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
35443         (PTR_SUBU): Use subu for mips32r6/mips64r6.
35444         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
35445         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
35446         mips32r6/mips64r6.
35447         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
35449 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
35451         * string/strncat.c (STRNCAT): Simplify implementation.
35453 2014-12-19  David S. Miller  <davem@davemloft.net>
35455         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
35456         access the quad as both a long double and as a series of 4 words.
35458         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
35459         link_map->l_info array access.
35461 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35463         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
35465         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
35466         * math/atest-exp2.c (TIMEOUT): Likewise.
35467         * math/atest-sincos.c (TIMEOUT): Likewise.
35469 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35471         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
35472         -Wno-error with -fno-builtin-lround.
35474 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35476         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
35477         Contains futex constants and functions moved over from ...
35478         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
35479         <lowlevellock-futex.h>.
35480         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35481         (lll_timedwait_tid): Add comments and parentheses around macro
35482         arguments.
35484 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35486         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
35487         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
35488         (__lll_private_flag): Remove.
35489         (lll_futex_wait): Likewise.
35490         (lll_futex_timed_wait): Likewise.
35491         (lll_futex_wake): Likewise.
35492         (lll_futex_requeue): Likewise.
35493         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35494         (__lll_timedwait_tid): Spell out argument names.
35495         (lll_timedwait_tid): Add comments and parentheses around macro
35496         arguments.
35497         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
35498         LLL_SHARED and LLL_PRIVATE usable from assembly code.
35500 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35502         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
35503         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
35504         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35505         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
35506         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
35507         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
35508         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
35509         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
35510         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
35511         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
35512         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
35513         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
35514         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
35515         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
35516         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
35517         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
35518         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
35519         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
35520         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
35522 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35524         * sysdeps/x86_64/x32/Makefile: New file.
35526 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35528         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
35529         1L with (mp_limb_t) 1.
35531 2014-12-17  Roland McGrath  <roland@hack.frob.com>
35533         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
35534         * nptl/libc_pthread_init.c: ... here.
35535         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
35536         * nptl/register-atfork.c: ... here.
35538         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
35539         Use pthread_sigmask rather than INTERNAL_SYSCALL.
35540         Use assert_perror to check its return value.
35541         (__gai_create_helper_thread): Likewise.
35543         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
35545         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
35547 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
35549         [BZ #17725]
35550         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
35551         __profil_counter.
35552         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
35553         Likewise.
35554         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
35555         Likewise.
35556         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
35557         Likewise.
35558         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
35559         (profil_counter): Likewise.
35560         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
35561         (profil_counter): Likewise.
35562         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
35563         Likewise.
35564         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
35565         Likewise.
35566         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
35567         (profil_counter): Likewise.
35568         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
35569         Likewise.
35570         [!__profil_counter] (profil_counter): Define as weak alias of
35571         __profil_counter.
35572         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
35573         (profil_counter): Rename to __profil_counter.
35574         [!__profil_counter] (profil_counter): Define as weak alias of
35575         __profil_counter.
35576         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
35577         (profil_counter): Rename to __profil_counter.
35578         [!__profil_counter] (profil_counter): Define as weak alias of
35579         __profil_counter.
35580         * sysdeps/posix/profil.c: Update comment referring to
35581         profil_counter.
35582         (__profil): Use __profil_counter instead of profil_counter.
35583         * sysdeps/posix/sprofil.c (profil_counter): Rename to
35584         __profil_counter.  Use __profil_counter_ushort and
35585         __profil_counter_uint in definitions.
35586         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
35587         instead of profil_counter_uint and profil_counter_ushort.
35589         [BZ #17722]
35590         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
35591         define as weak alias of __inet_makeaddr.
35592         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
35593         as weak alias of __inet_addr.
35594         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
35595         as weak alias of __inet_pton.  Use libc_hidden_weak.
35596         * include/arpa/inet.h (__inet_pton): Declare.  Use
35597         libc_hidden_proto.
35598         (inet_makeaddr): Don't use libc_hidden_proto.
35599         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
35600         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
35601         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
35602         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
35603         Remove variable.
35604         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35605         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35607 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
35609         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
35611 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35613         * stdio-common/bug-vfprintf-nargs.c (do_test):
35614         Cast value to intptr_t to avoid format warning
35615         for usage with PRIdPTR printing macro.
35617 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35619         * libio/tst-widetext.c (do_test):
35620         Use format type %td instead of %Zd for ptrdiff_t
35621         in order to avoid format warning.
35623 2014-12-17  Andreas Schwab  <schwab@suse.de>
35625         * nscd/mem.c (gc): Add size_t cast to match printf format.
35627 2014-12-16  Roland McGrath  <roland@hack.frob.com>
35629         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
35630         (init): Apply PTR_MANGLE to pointers before storing them.
35631         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
35632         before using them.
35634 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
35636         [BZ #17719]
35637         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
35638         define as weak alias of __memrchr.
35639         (__memrchr): Do not define as strong alias of memrchr.
35640         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
35641         Remove variable.
35642         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35643         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35644         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35646         [BZ #17717]
35647         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
35648         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
35649         (if_indextoname): Rename to __if_indextoname and define as weak
35650         alias of __if_indextoname.  Use libc_hidden_weak.
35651         (if_freenameindex): Rename to __if_freenameindex and define as
35652         weak alias of __if_freenameindex.
35653         (if_nameindex): Rename to __if_nameindex and define as weak alias
35654         of __if_nameindex.
35655         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
35656         __if_nametoindex and define as weak alias of __if_nametoindex.
35657         Use libc_hidden_weak.
35658         (if_freenameindex): Rename to __if_freenameindex and define as
35659         weak alias of __if_freenameindex.
35660         (if_nameindex): Rename to __if_nameindex and define as weak alias
35661         of __if_nameindex.
35662         (if_indextoname): Rename to __if_indextoname and define as weak
35663         alias of __if_indextoname.  Use libc_hidden_weak.
35664         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
35665         __if_nametoindex and define as weak alias of __if_nametoindex.
35666         Use libc_hidden_weak.
35667         (if_freenameindex): Rename to __if_freenameindex and define as
35668         weak alias of __if_freenameindex.  Use libc_hidden_weak.
35669         (if_nameindex_netlink): Use __if_freenameindex instead of
35670         if_freenameindex.
35671         (if_nameindex): Rename to __if_nameindex and define as weak alias
35672         of __if_nameindex.  Use libc_hidden_weak.
35673         (if_indextoname): Rename to __if_indextoname and define as weak
35674         alias of __if_indextoname.  Use libc_hidden_weak.
35675         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
35676         libc_hidden_proto.
35677         [!_ISOMAC] (__if_freenameindex): Likewise.
35678         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
35679         if_nametoindex.
35680         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
35681         variable.
35682         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35683         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35684         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35685         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35686         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35687         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35688         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35690         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
35691         Remove variable.
35692         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35693         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35695 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35697         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
35698         subscript above bounds'
35700         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
35701         bounds.
35703 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
35705         * libio/tst-fopenloc.c: Use test-skeleton.c.
35707         * stdlib/tst-bsearch.c: Use test-skeleton.c.
35708         (entry): Rename to ITEM.
35709         (do_test, comp): Adjust.
35711         * stdio-common/tst-fseek.c: Use test-skeleton.c.
35713 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35715         * string/tester.c: Include <libc-internal.h>.
35716         (test_memset): Ignore -Wmemset-transposed-args.
35718 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35720         * misc/tst-mntent2.c (do_test): Fix warning.
35722 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35724         * elf/tst-unique4lib.cc(a): Mark as used.
35726 2014-12-16  Florian Weimer  <fweimer@redhat.com>
35728         [BZ #17630]
35729         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
35730         names.
35732 2014-12-16  Allan McRae  <allan@archlinux.org>
35734         * stdio-common/Makefile (tests): Re-add bug26.
35736 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
35738         [BZ #17657]
35739         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
35740         static array.
35742 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
35744         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
35745         (__lll_lock_wait): Likewise.
35746         (__lll_timedlock_wait): Likewise.
35747         (__lll_timedwait_tid): Likewise.
35748         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
35749         (__lll_robust_timedlock_wait): Likewise.
35750         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
35751         (lll_cond_trylock): Likewise.
35752         (__lll_lock): Likewise.
35753         (__lll_robust_lock): Likewise.
35754         (__lll_cond_lock): Likewise.
35755         (lll_robust_cond_lock): Likewise.
35756         (__lll_timedlock): Likewise.
35757         (__lll_robust_timedlock): Likewise.
35758         (__lll_unlock): Likewise.
35759         (__lll_robust_unlock): Likewise.
35760         (lll_wait_tid): Likewise.
35761         (lll_timedwait_tid): Likewise.
35763 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35765         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
35767 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35769         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
35771 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35773         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
35774         * stdio-common/tst-sprintf.c: Likewise.
35776 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35778         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
35780 2014-12-15  Jeff Law  <law@redhat.com>
35782         [BZ #16617]
35783         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
35784         on the heap.  (CVE-2012-3406)
35785         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
35786         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
35787         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
35789 2014-12-15  Will Newton  <will.newton@linaro.org>
35791         * manual/install.texi: Bump required version of texinfo
35792         to 4.7 from 4.5.
35793         * INSTALL: Regenerated.
35794         * configure.ac: Check for makeinfo version 4.7 and above.
35795         * configure: Regenerated.
35797 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35799         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
35800         PREFIX, string constant to insert between directory and name.
35801         * sysdeps/posix/shm_open.c: Update caller.
35802         * sysdeps/posix/shm_unlink.c: Likewise.
35803         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
35804         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
35805         (SEM_SHM_PREFIX): New macro.
35806         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
35807         [$(have-thread-library) = no].
35808         * nptl/Makefile (libpthread-routines): Add shm-directory.
35809         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
35810         * sysdeps/nptl/shm-directory.h: New file.
35811         * sysdeps/posix/shm-directory.c
35812         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
35813         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
35814         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
35815         INTERNAL_SYSCALL.
35816         (__where_is_shmfs): Function removed.
35817         (mountpoint, defaultmount, defaultdir, __namedsem_once):
35818         Variables removed.
35819         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
35820         Use SHM_GET_NAME.
35821         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
35823         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
35824         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
35825         unconditional for use inside libpthread.
35826         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
35828 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35830         * nptl/pthread_getaffinity.c: New file.
35831         * nptl/pthread_setaffinity.c: New file.
35832         * nptl/pthread_getname.c: New file.
35833         * nptl/pthread_setname.c: New file.
35835         * nptl/pthread_create.c (START_THREAD_DEFN)
35836         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
35838 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35839             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35841         * resolv/res_send.c (send_vc): Disable warning resplen may
35842         be used uninitialized.
35844 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35846         * nptl/tst-mutex6.c
35847         (ATTR_NULL): New define checks ATTR against NULL.
35848         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
35849         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
35851 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
35853         [BZ #17581]
35854         * malloc/hooks.c
35855         (mem2mem_check): Revert my previous change.
35856         (malloc_check_get_size): Revert my previous change.
35857         (mem2chunk_check): Revert my previous change.
35859 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35861         * sysdeps/posix/shm-directory.c: New file.
35862         * sysdeps/posix/shm-directory.h: New file.
35863         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
35864         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
35865         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
35866         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
35867         Transmute EPERM to EACCES.
35868         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
35869         from ...
35870         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
35871         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
35873 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35875         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
35876         pointer and cast to uintptr_t.
35877         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
35878         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
35879         Add cast to avoid warning.
35880         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
35882 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35884         * nptl/semaphore.h: Move to ...
35885         * sysdeps/pthread/semaphore.h: ... here.
35886         * Makefile (installed-headers): Change nptl/semaphore.h to
35887         sysdeps/pthread/semaphore.h.
35889 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35891         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
35892         generated error format strings.
35894         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
35895         -Wformat-extra-args warnings for scanf formats.
35896         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
35897         test of zero-length format (duh).
35898         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
35899         corner-case scanf format test.
35900         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
35901         generated fprintf format string.
35902         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
35903         corner-case sprintf format tests.
35904         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
35905         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
35906         -Wformat-extra-args warnings throughout.
35907         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
35908         (CFLAGS-scanf4.c): Likewise.
35909         (CFLAGS-scanf7.c): Likewise.
35910         (CFLAGS-tst-sprintf.c): Likewise.
35911         (CFLAGS-tst-printf.c): Likewise.
35912         (CFLAGS-tst-printfsz.c): Likewise.
35914 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35916         * include/cpio.h: New file.
35917         * include/fmtmsg.h: Likewise.
35919         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
35920         corresponding format argument to size_t.
35921         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
35922         arguments.
35923         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
35924         corresponding format argument to size_t.
35925         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
35926         arguments.
35927         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
35928         corresponding format argument to size_t.
35929         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
35930         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
35931         (CFLAGS-tst-mbswcs2.c): Likewise.
35932         (CFLAGS-tst-mbswcs3.c): Likewise.
35933         (CFLAGS-tst-mbswcs4.c): Likewise.
35934         (CFLAGS-tst-mbswcs5.c): Likewise.
35935         (CFLAGS-tst-trans.c): Likewise.
35937 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35939         * posix/regexbug1.c (main): Use "%s" format with regerror results,
35940         rather than assuming they won't contain any '%'s.
35942 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
35944         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
35945         inhibit_loop_to_libcall to avoid recursive calls.
35946         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
35947         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
35949 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35951         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
35952         prototype.
35954 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35956         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
35957         integer value instead of boolean.
35959 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35961         * malloc/malloc.c: Fix powerof2 check.
35963 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35965         * locale/programs/locfile.h (maybe_swap_uint32):
35966         Remove inline and add unused attribute.
35968 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35970         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35971         Truncating assembler expression to a .long expression.
35973 2014-12-11  Andreas Schwab  <schwab@suse.de>
35975         * elf/rtld.c (struct map_args): Constify str member.
35976         (do_preload): Constify fname argument.
35978 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35980         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
35981         constants definition.
35983 2014-12-11  Andreas Schwab  <schwab@suse.de>
35985         [BZ #16657]
35986         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
35987         FORCE_ELISION instead of DO_ELISION.
35988         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
35989         Remove.
35990         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
35991         Likewise.
35993         * iconvdata/gconv-modules: Remove duplicate entry.
35995 2014-12-11  Will Newton  <will.newton@linaro.org>
35997         Merge gettext 0.19.3 into intl/.
35999         This involves a number of cosmetic changes to comments
36000         and ANSI function definitions and prototypes throughout
36001         all the files. The gettext copyright header is used but
36002         with the date ranges taken from the glibc copy.
36004         * NEWS: Add gettext merge to 2.21.
36005         * intl/bindtextdom.c: Switch to gettext copyright.
36006         Use ANSI definitions and prototypes.
36007         Use gl_* locking primitives rather than __libc_* ones.
36008         Use __builtin_expect rather than __glibc_likely/unlikely.
36009         * intl/dcgettext.c: Switch to gettext copyright.
36010         Use ANSI definitions and prototypes.
36011         * intl/dcigettext.c: Switch to gettext copyright.
36012         Use ANSI definitions and prototypes.
36013         (INTDIV0_RAISES_SIGFPE): New define.
36014         Use gl_* locking primitives rather than __libc_* ones.
36015         Include eval-plural.h instead of plural-eval.c.
36016         Use __builtin_expect rather than __glibc_likely/unlikely.
36017         * intl/dcngettext.c: Switch to gettext copyright.
36018         Use ANSI definitions and prototypes.
36019         * intl/dgettext.c: Likewise.
36020         * intl/dngettext.c: Likewise.
36021         * intl/plural-eval.c: Renamed to...
36022         * intl/eval-plural.h: ...this.
36023         * intl/explodename.c: Switch to gettext copyright.
36024         Use ANSI definitions and prototypes.
36025         (_nl_explode_name): Use strchr instead of __rawmemchr.
36026         * intl/finddomain.c: Switch to gettext copyright.
36027         Use ANSI definitions and prototypes.
36028         Use gl_* locking primitives rather than __libc_* ones.
36029         (_nl_find_domain): Use malloc rather than alloca for
36030         allocation of temporary locale name.
36031         * intl/gettext.c: Switch to gettext copyright.
36032         Use ANSI definitions and prototypes.
36033         * intl/gettextP.h: Switch to gettext copyright.
36034         Use ANSI definitions and prototypes.
36035         Use gl_* locking primitives rather than __libc_* ones.
36036         * intl/gmo.h: Switch to gettext copyright.
36037         (struct sysdep_string): Move struct segment_pair outside of
36038         struct definition.
36039         * intl/hash-string.c: Use ANSI definitions and prototypes.
36040         * intl/hash-string.h: Switch to gettext copyright.
36041         Use ANSI definitions and prototypes.
36042         * intl/l10nflist.c: Switch to gettext copyright.
36043         Use ANSI definitions and prototypes.
36044         (_nl_normalize_codeset): Avoid integer overflow.
36045         * intl/loadinfo.h: Switch to gettext copyright.
36046         Use ANSI definitions and prototypes.
36047         (LIBINTL_DLL_EXPORTED): New define.
36048         (PATH_SEPARATOR): New define.
36049         * intl/loadmsgcat.c: Switch to gettext copyright.
36050         * intl/localealias.c: Switch to gettext copyright.
36051         Use ANSI definitions and prototypes.
36052         (_nl_expand_alias): Use PATH_SEPARATOR.
36053         * intl/ngettext.c: Switch to gettext copyright.
36054         Use ANSI definitions and prototypes.
36055         * intl/plural-exp.c: Likewise.
36056         * intl/plural-exp.h: Switch to gettext copyright.
36057         Use ANSI definitions and prototypes.
36058         (struct expression): Move definition of enum operator outside
36059         of struct definition.
36060         * intl/plural.c: Regenerate.
36061         * intl/plural.y: Switch to gettext copyright.
36062         Use ANSI definitions and prototypes.
36063         Port to bison 3.0.
36064         * intl/textdomain.c: Switch to gettext copyright.
36065         Use ANSI definitions and prototypes.
36066         Use gl_* locking primitives rather than __libc_* ones.
36068 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
36070         * debug/warning-nop.c: Add used atrribute.
36072 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36074         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
36076         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
36077         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
36078         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
36080 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36081             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36083         [BZ #17634]
36084         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
36085         Undefine after defining function.  Define as weak alias of
36086         __wcschr.  Use libc_hidden_weak.
36087         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
36088         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
36089         (libc_hidden_def): Also define __GI___wcschr alias.
36090         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
36091         __wcschr and define as weak alias of __wcschr.
36092         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
36093         __wcschr.
36094         [!WCSCHR] (DEFAULT_WCSCHR): Define.
36095         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
36096         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
36097         libc_hidden_weak.  Do not use libc_hidden_def.
36098         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
36099         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
36100         __GI___wcschr alias.
36101         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
36102         [IS_IN (libc)] (wcschr): Define as macro expanding to
36103         __redirect_wcschr.
36104         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
36105         [IS_IN (libc)] (__wcschr_power6): Likewise.
36106         [IS_IN (libc)] (__wcschr_power7): Likewise.
36107         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
36108         instead of wcschr.
36109         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
36110         __libc_wcschr.
36111         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
36112         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
36113         __wcschr and define as weak alias of __wcschr.  Use
36114         libc_hidden_builtin_def.
36115         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
36116         as weak alias of __wcschr.  Use libc_hidden_weak.
36117         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
36118         wcschr.
36119         * time/era.c (_nl_init_era_entries): Likewise.
36120         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
36121         variable.
36122         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36123         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36125 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36127         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
36128         format for long int variable.
36130 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
36132         [BZ #10672]
36133         * manual/search.texi: (Array Sort Function): Remove claim how to make
36134         qsort stable.
36136 2014-12-10  Andreas Schwab  <schwab@suse.de>
36138         [BZ #12847]
36139         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
36140         user-controlled locks.
36142 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
36144         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
36145         register.
36147 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36149         * configure.ac (--disable-werror): New configure option.
36150         (enable_werror): New AC_SUBST.
36151         * configure: Regenerated.
36152         * config.make.in (enable-werror): New variable.
36153         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
36154         -Wno-error=undef.
36155         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
36156         * manual/install.texi (Configuring and compiling): Document
36157         --disable-werror.
36158         * INSTALL: Regenerated.
36159         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
36160         (CFLAGS-tst-chk2.c): Likewise.
36161         (CFLAGS-tst-chk3.c): Likewise.
36162         (CFLAGS-tst-chk4.cc): Likewise.
36163         (CFLAGS-tst-chk5.cc): Likewise.
36164         (CFLAGS-tst-chk6.cc): Likewise.
36165         (CFLAGS-tst-lfschk1.c): Likewise.
36166         (CFLAGS-tst-lfschk2.c): Likewise.
36167         (CFLAGS-tst-lfschk3.c): Likewise.
36168         (CFLAGS-tst-lfschk4.cc): Likewise.
36169         (CFLAGS-tst-lfschk5.cc): Likewise.
36170         (CFLAGS-tst-lfschk6.cc): Likewise.
36172         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
36173         (main): Disable -Wdeprecated-declarations around calls to
36174         register_printf_function.
36176         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
36177         (do_test): Disable -Wdiv-by-zero around some calls to
36178         fwrite_unlocked and fread_unlocked.
36180         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
36181         (DIAG_POP_NEEDS_COMMENT): Likewise.
36182         (_DIAG_STR1): Likewise.
36183         (_DIAG_STR): Likewise.
36184         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
36185         * stdio-common/bug21.c: Include <libc-internal.h>.
36186         (do_test): Disable -Wformat around call to sscanf.
36187         * stdio-common/scanf14.c: Include <libc-internal.h>.
36188         (main): Disable -Wformat around some calls to scanf functions.
36190 2014-12-09  Torvald Riegel  <triegel@redhat.com>
36192         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
36194 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36196         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
36197         stack variable alignment.
36199 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
36201         [BZ #17682]
36202         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
36203         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
36204         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
36205         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
36206         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
36207         __getrlimit instead of getrlimit.
36208         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
36209         __gettimeofday instead of gettimeofday.
36210         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36211         Likewise.
36212         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
36213         Likewise.
36214         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36215         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
36216         Remove variable.
36217         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36218         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36220 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36222         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
36223         for wide-character tests.
36225 2014-12-04  Roland McGrath  <roland@hack.frob.com>
36227         * io/openat64.c: #include <libc-internal.h>
36228         (__openat64): Prototypify.  Use ignore_value on MODE.
36229         * io/openat.c: Likewise.
36230         * misc/reboot.c: #include <libc-internal.h>
36231         (reboot): Prototypify.  Use ignore_value on HOWTO.
36232         * misc/ptrace.c: #include <libc-internal.h>
36233         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
36235 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
36237         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
36238         XPG4, UNIX98 and XOPEN2K.
36239         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
36240         Remove variable.
36241         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36243 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36245         * libio/fileops.c: Use ISO C style for function definitions.
36246         * libio/iofopen.c: Likewise.
36247         * libio/wfileops.c: Likewise.
36249         [BZ #17653]
36250         * libio/fileops.c (_IO_new_file_underflow): Unset cached
36251         offset on EOF.
36252         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
36253         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
36254         (fgets_func): Function pointer to fgets and fgetws.
36255         (do_ftell_test): Add test to verify ftell value after read
36256         EOF.
36257         (do_test): Set fgets_func.
36259         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
36260         O_TRUNC flag for w and w+ modes.
36261         (do_rewind_test): Likewise.
36262         (do_ftell_test): Likewise.
36263         (do_write_test): Likewise.
36265         [BZ #17647]
36266         * libio/fileops.c (do_ftell): Seek only when there are
36267         unflushed writes.
36268         * libio/wfileops.c (do_ftell_wide): Likewise.
36269         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
36270         test case.
36271         (do_one_test): Call it.
36273 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
36275         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
36276         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
36277         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
36278         Remove variable.
36279         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36280         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36281         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36283 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36285         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
36286         Remove variable.
36287         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36289         [BZ #17668]
36290         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
36291         as weak alias of __getifaddrs.  Use libc_hidden_weak.
36292         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36293         __freeifaddrs.  Use libc_hidden_weak.
36294         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
36295         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
36296         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36297         __freeifaddrs.  Use libc_hidden_weak.
36298         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
36299         __getifaddrs and define as weak alias of __getifaddrs.  Use
36300         libc_hidden_weak.
36301         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36302         __freeifaddrs.  Use libc_hidden_weak.
36303         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
36304         Remove variable.
36305         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36306         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36308 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
36310         [BZ #17601]
36311         * sysdeps/mips/start.S (__start): Use indirect jump to call
36312         __libc_start_main.
36314 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36316         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
36318         * nptl/tst-mutex1.c: Include <stdbool.h>.
36319         [!ATTR] (ATTR_NULL): New macro.
36320         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
36321         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
36322         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
36324         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
36325         to char *.
36327         [BZ #17665]
36328         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
36329         Change conditional to [__USE_MISC].
36331         [BZ #17664]
36332         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
36333         fgets_unlocked.
36334         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
36335         __fgets_unlocked.
36336         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
36337         fgets_unlocked.
36338         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
36339         Remove variable.
36340         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36341         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36342         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36343         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36344         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36345         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36346         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36347         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36348         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36350         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
36352 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36354         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36355         Remove strpbrk objects.
36356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36357         (__libc_ifunc_impl_list): Remove strpbrk implementation.
36358         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
36359         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
36360         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
36361         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
36363         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36364         Remove strcspn objects.
36365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36366         (__libc_ifunc_impl_list): Remove strcspn implementation.
36367         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
36368         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
36369         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
36370         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
36372         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36373         Remove strspn objetcs.
36374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36375         (__libc_ifunc_impl_list): Remove strspn implementation.
36376         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
36377         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36378         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
36379         * sysdeps/powerpc/powerpc64/strspn.S: New file.
36381 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
36383         [BZ #17581]
36384         * malloc/hooks.c
36385         (mem2mem_check): Add a terminator to the chain of checking blocks.
36386         (malloc_check_get_size): Use it here.
36387         (mem2chunk_check): Ditto.
36389 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36391         * sysdeps/powerpc/powerpc64/strtok.S: New file.
36392         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
36394 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
36396         * bits/ioctl-types.h: Indent preprocessor directives correctly.
36398         * nptl/nptl-init.c: Include libc-internal.h.
36399         (__pthread_initialize_minimal_internal): Use ROUND_UP.
36401         * elf/ldconfig.c (search_dir): Expand comment.
36403 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
36405         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
36406         variable.
36407         (linknamespace-symlist-stdlibs-tests): Likewise.
36408         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
36409         instead of $(objpfx)symlist-stdlibs.
36410         (linknamespace-libs-isoc): New variable.
36411         (linknamespace-libs): Use $(linknamespace-libs-isoc).
36412         (linknamespace-libs-ISO): New variable.
36413         (linknamespace-libs-ISO99): Likewise.
36414         (linknamespace-libs-ISO11): Likewise.
36415         (linknamespace-libs-XPG3): Likewise.
36416         (linknamespace-libs-XPG4): Likewise.
36417         (linknamespace-libs-POSIX): Likewise.
36418         (linknamespace-libs-UNIX98): Likewise.
36419         (linknamespace-libs-XOPEN2K): Likewise.
36420         (linknamespace-libs-POSIX2008): Likewise.
36421         (linknamespace-libs-XOPEN2K8): Likewise.
36422         ($(objpfx)symlist-stdlibs): Replace by
36423         $(linknamespace-symlist-stdlibs-tests).  Use
36424         $(linknamespace-libs-$*) as set of libraries.
36425         ($(linknamespace-header-tests)): Update dependencies.  Use
36426         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
36427         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
36428         * conform/linknamespace.pl: Remove comment about considering
36429         definitions of symbols from irrelevant libraries.
36431 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
36433         [BZ #13862]
36434         * elf/dl-tls.c: Include <atomic.h>.
36435         (oom): Remove #ifdef SHARED/#endif.
36436         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
36437         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
36438         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
36439         big enough.
36440         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
36441         * nptl/Makefile (tests): Add tst-stack4.
36442         (modules-names): Add tst-stack4mod.
36443         ($(objpfx)tst-stack4): New.
36444         (tst-stack4mod.sos): Likewise.
36445         ($(objpfx)tst-stack4.out): Likewise.
36446         ($(tst-stack4mod.sos)): Likewise.
36447         (clean): Likewise.
36448         * nptl/tst-stack4.c: New file.
36449         * nptl/tst-stack4mod.c: Likewise.
36451 2014-11-27  J. Brown  <jb999@gmx.de>
36453         * sysdeps/x86/bits/string.h: Add recent CPUs.
36455 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36457         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
36458         sigblock.
36460         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
36461         feof.
36463         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
36464         variable.
36466 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
36468         * nscd/connections.c: Include libc-internal.h because of macro
36469         usage ignore_value.
36471 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36473         * string/bits/string3.h (__warn_memset_zero_len): Don't
36474         declare for gcc newer than 5.0.
36475         (memset): Don't test for zero-length __LEN for gcc newer than
36476         5.0.
36478 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36480         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
36481         size_t for %zu format.
36483         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
36484         difference, not %ju.
36486 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36488         * include/libc-internal.h (ignore_value): New macro.
36489         * nscd/connections.c (restart): Wrap calls to setuid and setgid
36490         with ignore_value.
36492         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
36493         definition.
36495         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
36496         pthread_cleanup_push to void *.
36498         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
36499         Undefine.
36501         [BZ #16619]
36502         [BZ #16740]
36503         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
36504         instead of 1L << 52.
36506         * libio/bug-rewind.c (do_test): Check fwscanf return values.
36507         * libio/bug-rewind2.c (do_test): Likewise.
36509         * debug/test-stpcpy_chk-ifunc.c: Remove file.
36510         * debug/test-strcpy_chk-ifunc.c: Likewise.
36511         * wcsmbs/test-wcschr-ifunc.c: Likewise.
36512         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36513         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36514         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36515         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36516         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36517         * Rules [$(multi-arch) = no] (tests): Do not filter out
36518         $(tests-ifunc).
36519         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
36520         * debug/Makefile (tests-ifunc): Remove variable.
36521         (tests): Do not add $(tests-ifunc).
36522         * wcsmbs/Makefile (tests-ifunc): Remove variable.
36523         (tests): Do not add $(tests-ifunc).
36524         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
36525         [TEST_IFUNC]: Remove conditionals.
36526         * string/test-string.h (TEST_IFUNC): Remove macro.
36527         [TEST_IFUNC]: Remove conditionals.
36529         * string/test-strchr.c [!WIDE] (L): New macro.
36530         [WIDE] (L): Likewise.
36531         (check1): Use CHAR instead of char.  Use L on string and character
36532         constants.
36534 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
36536         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
36537         tests.
36538         * sysdeps/powerpc/bits/atomic.h
36539         (__arch_atomic_exchange_and_add_32_acq): Add definition.
36540         (__arch_atomic_exchange_and_add_32_rel): Likewise.
36541         (atomic_exchange_and_add_acq): Likewise.
36542         (atomic_exchange_and_add_rel): Likewise.
36543         * sysdeps/powerpc/powerpc32/bits/atomic.h
36544         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36545         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36546         * sysdeps/powerpc/powerpc64/bits/atomic.h
36547         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36548         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36550 2014-11-26  Torvald Riegel  <triegel@redhat.com>
36552         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
36553         Change synchronization of __sched_fifo_min_prio and
36554         __sched_fifo_max_prio.
36555         * nptl/pthread_mutexattr_getprioceiling.c
36556         (pthread_mutexattr_getprioceiling): Likewise.
36557         * nptl/pthread_mutexattr_setprioceiling.c
36558         (pthread_mutexattr_setprioceiling): Likewise.
36559         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
36560         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
36561         Likewise.
36563 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36565         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
36566         void.
36568 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36570         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
36571         third argument const.
36573 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
36575         fnmatch: work around GCC compiler warning bug with uninit var
36576         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
36577         This works around a bug with x86-64 GCC 4.9.2 and earlier
36578         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
36579         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
36580         used uninitialized in this function [-Wmaybe-uninitialized]".
36582 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36584         * posix/bug-regex31.c (main): Return RES not 0.
36586 2014-11-25  Anton Blanchard <anton@samba.org>
36588         * sysdeps/powerpc/bits/atomic.h
36589         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
36591 2014-11-24  Sterling Augustine  <saugustine@google.com>
36593         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
36595 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
36597         [BZ #17608]
36598         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
36600 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
36602         [BZ #17633]
36603         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
36604         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
36605         variable.
36606         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36607         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36609 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36611         * string/strncpy.c (strncpy): Improve performance by using memset.
36613 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36615         * string/strcpy.c (strcpy):
36616         Improve performance by using strlen and memcpy.
36618 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
36620         * string/strcoll_l.c (get_next_seq): __always_inline.
36621         * string/strcoll_l.c (do_compare): __always_inline.
36623 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36625         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
36626         defined.
36627         * include/mqueue.h: Likewise.
36628         * include/stdlib.h: Likewise.
36630         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
36631         (get_null_defines): Adjust.
36632         * sunrpc/Makefile: Adjust comment.
36633         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
36634         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
36635         (CFLAGS-interp.c): Likewise.
36636         (CFLAGS-ldconfig.c): Likewise.
36637         (CPPFLAGS-.os): Likewise.
36638         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36639         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36640         * extra-modules.mk (extra-modules.mk): Likewise.
36641         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
36642         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
36643         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
36644         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
36645         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
36646         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
36647         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
36648         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
36649         * iconvdata/Makefile (CPPFLAGS): Likewise.
36650         (cpp-srcs-left): Add libof for all iconvdata routines.
36651         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
36652         * include/assert.h: Likewise.
36653         * include/ctype.h: Likewise.
36654         * include/errno.h: Likewise.
36655         * include/libc-symbols.h: Likewise.
36656         * include/math.h: Likewise.
36657         * include/netdb.h: Likewise.
36658         * include/resolv.h: Likewise.
36659         * include/stdio.h: Likewise.
36660         * include/stdlib.h: Likewise.
36661         * include/string.h: Likewise.
36662         * include/sys/stat.h: Likewise.
36663         * include/wctype.h: Likewise.
36664         * intl/l10nflist.c: Likewise.
36665         * libidn/idn-stub.c: Likewise.
36666         * libio/libioP.h: Likewise.
36667         * nptl/libc_multiple_threads.c: Likewise.
36668         * nptl/pthreadP.h: Likewise.
36669         * posix/regex_internal.h: Likewise.
36670         * resolv/res_hconf.c: Likewise.
36671         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
36672         * sysdeps/arm/memmove.S: Likewise.
36673         * sysdeps/arm/sysdep.h: Likewise.
36674         * sysdeps/generic/_itoa.h: Likewise.
36675         * sysdeps/generic/symbol-hacks.h: Likewise.
36676         * sysdeps/gnu/errlist.awk: Likewise.
36677         * sysdeps/gnu/errlist.c: Likewise.
36678         * sysdeps/i386/i586/memcpy.S: Likewise.
36679         * sysdeps/i386/i586/memset.S: Likewise.
36680         * sysdeps/i386/i686/memcpy.S: Likewise.
36681         * sysdeps/i386/i686/memmove.S: Likewise.
36682         * sysdeps/i386/i686/mempcpy.S: Likewise.
36683         * sysdeps/i386/i686/memset.S: Likewise.
36684         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36685         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36686         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
36687         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
36688         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36689         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36690         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
36691         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36692         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36693         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36694         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36695         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36696         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36697         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36698         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36699         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36700         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
36701         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
36702         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
36703         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36704         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36705         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36706         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36707         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36708         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36709         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36710         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
36711         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36712         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
36713         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36714         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36715         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36716         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36717         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36718         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36719         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36720         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36721         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36722         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36723         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36724         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36725         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36726         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36727         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36728         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36729         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36730         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
36731         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
36732         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36733         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36734         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36735         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
36736         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
36737         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36738         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36739         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
36740         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36741         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
36742         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
36743         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36744         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36745         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36746         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
36747         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36748         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36749         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
36750         * sysdeps/posix/closedir.c: Likewise.
36751         * sysdeps/posix/opendir.c: Likewise.
36752         * sysdeps/posix/readdir.c: Likewise.
36753         * sysdeps/posix/rewinddir.c: Likewise.
36754         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
36755         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
36756         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36757         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36758         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36759         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
36760         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
36761         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
36762         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
36763         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
36764         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
36765         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
36766         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
36767         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
36768         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
36769         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
36770         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
36771         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
36772         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
36773         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
36774         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
36775         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
36776         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
36777         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
36778         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
36779         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
36780         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
36781         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
36782         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
36783         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
36784         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
36785         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
36786         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
36787         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
36788         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
36789         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
36790         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36791         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36792         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
36793         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
36794         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
36795         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
36796         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
36797         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
36798         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
36799         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
36800         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
36801         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
36802         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
36803         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
36804         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
36805         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
36806         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
36807         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
36808         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
36809         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
36810         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
36811         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
36812         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
36813         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
36814         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
36815         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
36816         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
36817         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
36818         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
36819         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
36820         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
36821         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
36822         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
36823         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
36824         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
36825         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
36826         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
36827         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
36828         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
36829         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
36830         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
36831         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
36832         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36833         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
36834         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
36835         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36836         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
36837         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
36838         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36839         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
36840         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
36841         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36842         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36843         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36844         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
36845         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
36846         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
36847         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36848         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36849         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
36850         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36851         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36852         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
36853         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
36854         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36855         * sysdeps/unix/alpha/sysdep.S: Likewise.
36856         * sysdeps/unix/alpha/sysdep.h: Likewise.
36857         * sysdeps/unix/make-syscalls.sh: Likewise.
36858         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36859         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36860         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36861         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
36862         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36863         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
36864         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
36865         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36866         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36867         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
36868         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36869         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36870         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36871         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36872         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36873         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36874         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36875         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36876         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36877         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36878         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
36879         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36880         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36881         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36882         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36883         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36884         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36887         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
36888         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36889         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36890         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36891         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36892         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36893         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36894         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36895         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36896         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36897         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36898         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36899         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36900         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36901         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36902         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36903         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36904         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36905         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36906         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36907         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36908         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36909         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36910         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36911         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36912         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
36913         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36914         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36915         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36916         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
36917         * sysdeps/x86_64/memcpy.S: Likewise.
36918         * sysdeps/x86_64/memmove.c: Likewise.
36919         * sysdeps/x86_64/memset.S: Likewise.
36920         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
36921         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36922         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36923         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
36924         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
36925         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36926         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36927         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36928         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36929         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36930         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36931         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36932         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
36933         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36934         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36935         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
36936         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36937         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36938         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36939         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36940         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
36941         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36942         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36943         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36944         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36945         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36946         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36947         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
36948         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36949         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36950         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
36951         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36952         * sysdeps/x86_64/strcmp.S: Likewise.
36954         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
36956         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
36957         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
36958         * elf/rtld-Rules: Likewise.
36959         * elf/setup-vdso.h: Likewise.
36960         * include/assert.h: Likewise.
36961         * include/bits/stdlib-float.h: Likewise.
36962         * include/errno.h: Likewise.
36963         * include/sys/stat.h: Likewise.
36964         * include/unistd.h: Likewise.
36965         * sysdeps/aarch64/setjmp.S: Likewise.
36966         * sysdeps/alpha/setjmp.S: Likewise.
36967         * sysdeps/arm/__longjmp.S: Likewise.
36968         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
36969         * sysdeps/arm/setjmp.S: Likewise.
36970         * sysdeps/arm/sysdep.h: Likewise.
36971         * sysdeps/generic/_itoa.h: Likewise.
36972         * sysdeps/generic/dl-sysdep.h: Likewise.
36973         * sysdeps/generic/ldsodefs.h: Likewise.
36974         * sysdeps/i386/dl-tls.h: Likewise.
36975         * sysdeps/i386/setjmp.S: Likewise.
36976         * sysdeps/m68k/setjmp.c: Likewise.
36977         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
36978         * sysdeps/mach/hurd/opendir.c: Likewise.
36979         * sysdeps/posix/getcwd.c: Likewise.
36980         * sysdeps/posix/opendir.c: Likewise.
36981         * sysdeps/posix/profil.c: Likewise.
36982         * sysdeps/powerpc/dl-procinfo.h: Likewise.
36983         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36984         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36985         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36986         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36987         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
36988         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36989         * sysdeps/s390/dl-tls.h: Likewise.
36990         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36991         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36992         * sysdeps/sh/sh3/setjmp.S: Likewise.
36993         * sysdeps/sh/sh4/setjmp.S: Likewise.
36994         * sysdeps/unix/alpha/sysdep.h: Likewise.
36995         * sysdeps/unix/arm/sysdep.S: Likewise.
36996         * sysdeps/unix/i386/sysdep.S: Likewise.
36997         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36998         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36999         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37000         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37001         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37002         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37003         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37004         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37005         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37006         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37007         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
37008         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37009         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37012         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37013         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37014         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37015         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37016         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37017         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37018         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37019         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37020         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37021         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37022         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37023         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37024         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37025         * sysdeps/x86_64/setjmp.S: Likewise.
37027         * include/math.h: Use IS_IN instead of IS_IN_libm.
37028         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
37029         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37030         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37031         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
37032         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37033         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37034         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37035         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37036         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37037         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37038         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
37039         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
37040         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
37041         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
37042         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
37043         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
37044         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
37045         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
37046         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
37047         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
37048         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
37049         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
37050         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
37051         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
37052         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
37053         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
37054         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
37055         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
37056         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
37057         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
37058         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
37059         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37060         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
37062         Likewise.
37063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
37064         Likewise.
37065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
37066         Likewise.
37067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
37068         Likewise.
37069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
37070         Likewise.
37071         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37072         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
37073         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37074         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37075         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37076         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
37078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
37079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
37080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
37081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
37082         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
37083         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
37084         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
37085         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
37086         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37087         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
37088         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
37089         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37090         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37091         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
37092         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
37093         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
37094         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
37095         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
37096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37097         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
37099         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
37100         * nptl/pthreadP.h: Likewise.
37101         * nptl_db/structs.def: Likewise.
37102         * sysdeps/arm/sysdep.h: Likewise.
37103         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37104         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37105         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
37106         * sysdeps/unix/alpha/sysdep.h: Likewise.
37107         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37108         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37109         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37110         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37111         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37112         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37113         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37114         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37115         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37116         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37117         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37118         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37119         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37120         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37123         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37124         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37125         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37126         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37127         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37128         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37129         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37130         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37131         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
37132         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37134         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
37135         * nptl/pthreadP.h: Likewise.
37136         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37137         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37138         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37139         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37140         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37141         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37142         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37143         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37144         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37145         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37146         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37147         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37149         Likewise.
37150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37151         Likewise.
37152         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37153         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37154         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37155         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37156         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37157         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37158         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37159         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37161         * dlfcn/dladdr.c: Use IS_IN.
37162         * dlfcn/dladdr1.c: Likewise.
37163         * dlfcn/dlclose.c: Likewise.
37164         * dlfcn/dlerror.c: Likewise.
37165         * dlfcn/dlinfo.c: Likewise.
37166         * dlfcn/dlmopen.c: Likewise.
37167         * dlfcn/dlopen.c: Likewise.
37168         * dlfcn/dlsym.c: Likewise.
37169         * dlfcn/dlvsym.c: Likewise.
37171         * include/ifaddrs.h: Use IS_IN.
37172         * inet/check_pf.c: Likewise.
37173         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37174         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
37176         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
37177         IS_IN_ldconfig.
37178         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
37179         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
37181         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
37182         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
37183         IS_IN (libc).
37185         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
37187         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
37188         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37189         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37190         * include/libc-symbols.h (IS_IN_LIB): New macro.
37191         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
37192         * include/netdb.h: Likewise.
37193         * include/stap-probe.h: Remove all uses of IN_LIB.
37195         * Makeconfig (module-cppflags-real): Define MODULE_NAME
37196         instead of IN_MODULE.
37197         * include/libc-symbols.h (IN_MODULE): Define using
37198         MODULE_NAME.
37199         (PASTE_NAME, PASTE_NAME1): New macros.
37200         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
37201         of IN_LIB.
37202         (STAP_PROBE_ASM): Likewise.
37204 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37206         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
37207         __mach_init in dlopened libc.
37209 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
37211         * sysdeps/arm/preconfigure.ac: Delete EABI check.
37212         * sysdeps/arm/preconfigure: Regenerate.
37214 2014-11-21  Roland McGrath  <roland@hack.frob.com>
37216         * nptl/pthread_create.c (__pthread_create_2_1): Set
37217         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
37218         when copying values from IATTR into PD.
37220 2014-11-21  Will Newton  <will.newton@linaro.org>
37221             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
37223         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
37224         Refactor inline-asm.  Also add comment.
37226         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
37227         ElfW macro instead of hardcoded Elf64 types.
37228         (la_aarch64_gnu_pltenter): Likewise.
37229         * sysdeps/aarch64/dl-machine.h
37230         (elf_machine_runtime_setup): Use ElfW(Addr).
37232         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
37233         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
37234         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
37235         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
37236         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
37237         (R_AARCH64_TLS_DTPMOD64): Rename to ..
37238         (R_AARCH64_TLS_DTPMOD): This.
37239         (R_AARCH64_TLS_DTPREL64): Rename to ...
37240         (R_AARCH64_TLS_DTPREL): This.
37241         (R_AARCH64_TLS_TPREL64): Rename to ...
37242         (R_AARCH64_TLS_TPREL): This.
37243         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
37244         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
37245         R_AARCH64_TLS_TPREL64.
37246         (elf_machine_rela): Likewise.
37248 2014-11-21  Torvald Riegel  <triegel@redhat.com>
37250         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
37251         by setting it to 0.  64b atomics are not supported currently.
37253 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37255         [BZ #16469]
37256         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
37257         search domain names.
37259 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37261         [BZ #16469]
37262         * NEWS: Update.
37263         * resolv/res_query.c (__libc_res_nquerydomain): Retain
37264         trailing dot.
37265         * posix/tst-getaddrinfo5.c: New.
37266         * posix/Makefile (tests): Add it.
37268 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37270         [BZ #14498]
37271         * NEWS: Fixed.
37272         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
37273         after parsing line but before break_if_match.
37274         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
37275         if there is a protocol mismatch.
37277 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
37279         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
37280         because the potential race is on the user-supplied stream.
37282 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37284         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
37285         string literal if not passed a buffer.
37286         * manual/job.texi (ctermid): Update reasoning, note deviation
37287         from posix, suggest mtasurace when not passed a buffer, for
37288         future non-preliminary safety notes.
37290 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37292         * manual/users.texi (cuserid): Fix MT-Safety note for the case
37293         of not passing it a buffer.
37294         Reported by Peng Haitao.
37296 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37298         * manual/Makefile ($(objpfx)stamp-summary): Require
37299         check-safety.sh to pass.
37300         * manual/check-safety.sh: Wish for verification that every
37301         @deftypefn and @deftypefun is followed by a @safety remark.
37303 2014-11-20  Roland McGrath  <roland@hack.frob.com>
37305         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
37307         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
37308         PTHREAD_CANCEL_ASYNCHRONOUS.
37309         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
37310         send SIGCANCEL.
37312         * nptl/default-sched.h: New file.
37313         * sysdeps/unix/sysv/linux/default-sched.h: New file.
37314         * nptl/pthread_create.c: Include it.
37315         (__pthread_create_2_1): Use collect_default_sched instead of making
37316         Linux syscalls here directly.
37318 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37320         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
37321         __pthread_once): Use C11 atomics.
37323 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37325         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
37327 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37329         * include/atomic.h (__atomic_link_error, __atomic_check_size,
37330         atomic_thread_fence_acquire, atomic_thread_fence_release,
37331         atomic_thread_fence_seq_cst, atomic_load_relaxed,
37332         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
37333         atomic_compare_exchange_weak_relaxed,
37334         atomic_compare_exchange_weak_acquire,
37335         atomic_compare_exchange_weak_release,
37336         atomic_exchange_acquire, atomic_exchange_release,
37337         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
37338         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
37339         atomic_fetch_and_acquire,
37340         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
37342 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37344         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
37345         USE_ATOMIC_COMPILER_BUILTINS): Define.
37346         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
37347         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37348         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
37349         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37350         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
37351         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37352         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
37353         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37354         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
37355         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37356         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
37357         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37358         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
37359         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37360         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
37361         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37362         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37363         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37364         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37365         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37366         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
37367         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37368         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37369         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37370         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
37371         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37372         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37373         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37374         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
37375         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37376         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
37377         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37378         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
37379         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37380         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37381         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37382         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
37383         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37384         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
37385         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37387 2014-11-19  Roland McGrath  <roland@hack.frob.com>
37389         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
37390         the sched_priority value here.  It was already checked when the user
37391         called pthread_attr_setschedparam.
37393         * nptl/tst-bad-schedattr.c: New file.
37394         * nptl/Makefile (tests): Add it.
37396 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
37397             Florian Weimer  <fweimer@redhat.com>
37398             Joseph Myers  <joseph@codesourcery.com>
37399             Adam Conrad  <adconrad@0c3.net>
37400             Andreas Schwab  <schwab@suse.de>
37401             Brooks  <bmoses@google.com>
37403         [BZ #17625]
37404         * wordexp-test.c (__dso_handle): Add prototype.
37405         (__register_atfork): Likewise.
37406         (__app_register_atfork): New function.
37407         (registered_forks): New global.
37408         (register_fork): New function.
37409         (test_case): Add 3 new tests for WRDE_CMDSUB.
37410         (main): Call __app_register_atfork.
37411         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
37412         fork count is non-zero fail the test.
37413         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
37414         is set.
37415         (parse_dollars): Remove check for WRDE_NOCMD.
37416         (parse_dquote): Likewise.
37418 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37420         * Makeconfig (built-modules): List non-library modules to be
37421         built.
37422         (module-cppflags): Include libc-modules.h for
37423         everything except shlib-versions.v.i.
37424         (CPPFLAGS): Use it.
37425         (before-compile): Add libc-modules.h.
37426         ($(common-objpfx)libc-modules.h,
37427         $(common-objpfx)libc-modules.stmp): New targets.
37428         (common-generated): Add libc-modules.h and libc-modules.stmp.
37429         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
37430         * include/libc-symbols.h: Don't include libc-modules.h.
37431         * include/libc-modules.h: Remove file.
37432         * scripts/gen-libc-modules.awk: New script to generate
37433         libc-modules.h.
37434         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
37435         Depend on libc-modules.stmp.
37437         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
37439         * Makeconfig (in-module): Get value of libof set for the
37440         translation unit.
37441         (CPPFLAGS): Use $(in-module).
37442         * Makerules: Don't suffix routine names for nonlib.
37443         * include/libc-modules.h: New file.
37444         * include/libc-symbols.h: Include libc-modules.h
37445         (IS_IN): New macro to replace IS_IN_* macros.
37446         * elf/Makefile: Set libof-* for each routine.
37447         * elf/rtld-Rules: Likewise.
37448         * extra-modules.mk: Likewise.
37449         * iconv/Makefile: Likewise.
37450         * iconvdata/Makefile: Likewise.
37451         * locale/Makefile: Likewise.
37452         * malloc/Makefile: Likewise.
37453         * nss/Makefile: Likewise.
37454         * sysdeps/gnu/Makefile: Likewise.
37455         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
37456         * sysdeps/unix/sysv/linux/Makefile: Likewise.
37457         * sysdeps/s390/s390-64/Makefile: Likewise.
37458         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
37459         CPPFLAGS for nscd instead of nonlib.
37461 2014-11-18  Roland McGrath  <roland@hack.frob.com>
37463         * nptl/createthread.c: New file.
37465         * nptl/createthread.c: Moved ...
37466         * sysdeps/unix/sysv/linux/createthread.c: ... here.
37468         * nptl/createthread.c: Add proper top-line comment.
37469         (do_clone): Folded into ...
37470         (create_thread): ... here.  Take new arguments STOPPED_START and
37471         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
37472         increment __nptl_threads, do event-reporting logic, do
37473         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
37474         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
37475         resource cleanup if sched_setaffinity or sched_setscheduler fails,
37476         just send SIGCANCEL.
37477         * nptl/pthread_create.c: Forward-declare create_thread before
37478         including createthread.c.
37479         (start_thread): Use new macro START_THREAD_DEFN to replace defining
37480         declaration, and new macro START_THREAD_SELF to replace argument.
37481         Remove return statement.
37482         (report_thread_creation): New function.
37483         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
37484         synchronization logic, and __nptl_nthreads increment here, around
37485         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
37486         PD->parent_cancelhandling here, before create_thread.  When
37487         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
37488         __deallocate_stack, and ENOMEM translation here.
37490 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
37492         [BZ #17616]
37493         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
37494         (mptwo): Rename to __mptwo.
37495         (__inv): Use __mptwo instead of mptwo.
37496         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
37497         (mptwo): Rename to __mptwo.
37498         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
37499         of mpone and __mptwo instead of mptwo.
37500         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
37501         instead of mpone.
37502         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37503         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
37504         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
37505         of mpone and __mptwo instead of mptwo.
37506         (__mpranred): Use __mpone instead of mpone.
37507         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
37508         variable.
37509         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37510         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37511         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37512         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37513         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37514         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37515         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37516         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37517         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37518         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37519         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37520         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37521         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37522         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37523         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37524         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37525         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37526         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37527         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37529 2014-11-18  Tom de Vries  <tom@codesoucery.com>
37531         * manual/signal.texi (Primitives Interrupted by Signals): In section,
37532         replace BSD Handler xref with BSD Signal Handling.
37534 2014-11-17  Richard Henderson  <rth@redhat.com>
37536         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
37537         (_FP_PACK_RAW_2): Remove.
37538         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
37539         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
37540         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
37541         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
37542         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
37543         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
37544         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
37545         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
37546         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
37547         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
37548         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
37549         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
37550         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
37551         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
37552         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
37553         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
37555 2014-11-14  Roland McGrath  <roland@hack.frob.com>
37557         * signal/signal.h [__USE_MISC]
37558         (struct sigvec): Remove type.
37559         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
37560         (sigvec): Remove declaration.
37561         * sysdeps/posix/sigvec.c: Moved ...
37562         * signal/sigvec.c: ... here, replacing old file.
37563         (struct sigvec): New type, copied from old signal.h definition.
37564         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
37565         (__sigvec): Convert definition to prototype.
37566         (sigvec): Replace weak_alias with compat_symbol.
37567         * signal/Versions (libc: GLIBC_2.21): New version set.
37568         * include/signal.h: Remove __sigvec declaration.
37569         * sysdeps/unix/bsd/sigvec.c: Remove file.
37570         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
37571         * manual/signal.texi (BSD Handler): Remove subsection.
37572         Move siginterrupt up to ...
37573         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
37574         (Blocking in BSD): Fold subsection into its parent.
37575         * NEWS: Mention sigvec removal.
37577 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37579         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
37580         (DLA_FMS): Make definition conditional only on [__FMA4__].
37581         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
37582         definition.
37584         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
37585         Make definition conditional only on [PROF].
37586         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
37587         definition.
37588         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
37589         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
37591         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
37592         !__GNUC__].
37593         * include/signal.h (__sigpause): Move declaration above call to
37594         libc_hidden_proto.
37595         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
37596         variable.
37597         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37598         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37600 2014-11-14  David S. Miller  <davem@davemloft.net>
37602         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
37603         Define before including <string/memcpy.c> and <string/mempcpy.c>.
37605 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37607         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
37608         * configure: Regenerated.
37609         * manual/install.texi (Tools for Compilation): Document a
37610         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
37611         compiler verified to work.
37612         * INSTALL: Regenerated.
37614         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
37615         redeclare with asm name.
37616         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
37617         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
37618         including <string.h>.
37619         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37620         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
37621         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37622         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
37623         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37624         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
37625         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37627 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
37629         * stdlib/strtol.c (__strtol): Use prototype definition.
37631         [BZ #17594]
37632         * stdlib/strtol.c (SYM__): New macro.
37633         (SYM__1): Likewise.
37634         (__strtol): Likewise.
37635         (strtol): Rename to __strtol and define as weak alias of
37636         __strtol.  Use libc_hidden_weak.
37638 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37640         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
37641         Use numbered labels in inline assembly.
37643 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37645         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
37646         Add setjmp LIBC_PROBE.
37647         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
37648         Likewise.
37649         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
37650         Add longjmp, longjmp_target LIBC_PROBE.
37651         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
37652         Likewise.
37654 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37656         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
37657         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
37658         to get rid of unused variable warning.
37660 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37662         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
37663         Check for unwind_backtrace ==  NULL only in SHARED case.
37664         (__backchain_backtrace): Compile only in SHARED case.
37665         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
37666         Likewise.
37667         (__backchain_backtrace): Declare as static.
37669 2014-11-12  Roland McGrath  <roland@hack.frob.com>
37671         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
37672         (__libc_multiple_threads_ptr): Variable moved ...
37673         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
37675 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
37677         * conform/GlibcConform.pm: New file.
37678         * conform/conformtest.pl: Use GlibcConform module.
37679         * conform/linknamespace.pl: New file.
37680         * conform/list-header-symbols.pl: Likewise.
37681         * conform/Makefile (linknamespace-symlists-base): New variable.
37682         (linknamespace-symlists-tests): Likewise.
37683         (linknamespace-header-base): Likewise.
37684         (linknamespace-header-tests): Likewise.
37685         (tests-special): Add new tests.
37686         ($(linknamespace-symlists-tests)): New rule.
37687         (linknamespace-libs): New variable.
37688         ($(objpfx)symlist-stdlibs): New rule.
37689         ($(linknamespace-header-tests)): Likewise.
37690         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
37691         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
37692         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
37693         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
37694         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
37695         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
37696         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
37697         (test-xfail-ISO/math.h/linknamespace): Likewise.
37698         (test-xfail-ISO/signal.h/linknamespace): Likewise.
37699         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
37700         (test-xfail-ISO/time.h/linknamespace): Likewise.
37701         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37702         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
37703         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37704         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37705         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37706         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37707         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37708         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37709         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37710         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37711         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37712         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37713         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37714         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
37715         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
37716         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37717         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
37718         (test-xfail-XPG3/search.h/linknamespace): Likewise.
37719         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
37720         (test-xfail-XPG3/time.h/linknamespace): Likewise.
37721         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
37722         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
37723         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37724         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
37725         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
37726         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
37727         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
37728         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
37729         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37730         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
37731         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
37732         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
37733         (test-xfail-XPG4/search.h/linknamespace): Likewise.
37734         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
37735         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
37736         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
37737         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
37738         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
37739         (test-xfail-XPG4/time.h/linknamespace): Likewise.
37740         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
37741         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
37742         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
37743         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
37744         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
37745         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37746         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
37747         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
37748         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
37749         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
37750         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
37751         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
37752         (test-xfail-POSIX/time.h/linknamespace): Likewise.
37753         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
37754         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
37755         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
37756         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37757         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
37758         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
37759         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
37760         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
37761         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
37762         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37763         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
37764         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
37765         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
37766         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
37767         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
37768         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
37769         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
37770         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
37771         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
37772         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
37773         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
37774         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
37775         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
37776         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
37777         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
37778         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
37779         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
37780         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
37781         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37782         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
37783         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
37784         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
37785         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
37786         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
37787         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
37788         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37789         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37790         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
37791         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
37792         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
37793         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37794         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37795         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37796         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
37797         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
37798         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
37799         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
37800         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37801         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37802         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
37803         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
37804         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37805         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37806         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
37807         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
37808         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
37809         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
37810         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37811         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37812         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
37813         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37814         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
37815         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37816         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37817         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37818         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
37819         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37820         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37821         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
37822         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37823         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37824         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37825         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37826         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37827         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
37828         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37829         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37830         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37831         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37832         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
37833         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
37834         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37835         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37836         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37837         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37838         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
37839         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37840         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
37841         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37842         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37843         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
37844         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37845         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37846         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37847         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
37848         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37849         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37850         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37852         [BZ #17589]
37853         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
37854         of fgets_unlocked.
37856         [BZ #17585]
37857         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
37858         (memmem): Rename to __memmem and define as weak alias of
37859         __memmem.  Use libc_hidden_weak.
37860         (__memmem): Use libc_hidden_def.
37861         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
37862         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
37863         memmem.
37865         [BZ #17582]
37866         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
37867         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
37868         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
37869         and define as weak alias of __fgets_unlocked.  Use
37870         libc_hidden_weak.
37871         (__fgets_unlocked): Use libc_hidden_def.
37872         * include/stdio.h (__fgets_unlocked): Declare.  Use
37873         libc_hidden_proto.
37874         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
37875         __fgets_unlocked instead of fgets_unlocked.
37876         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
37877         (GET_NPROCS_CONF_PARSER): Likewise.
37878         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
37879         (GET_NPROCS_CONF_PARSER): Likewise.
37881         [BZ #17574]
37882         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
37883         weak alias of __wmemset.  Use libc_hidden_weak.
37884         (__wmemset): Use libc_hidden_def.
37885         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
37886         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
37887         of wmemset.
37889         [BZ #17573]
37890         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
37891         with asm name __mempcpy.
37892         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
37894         [BZ #17572]
37895         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
37896         and define as weak alias of __rawmemchr.
37897         (__rawmemchr): Do not define as strong alias of rawmemchr.
37899         [BZ #17571]
37900         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
37901         alias of __qsort_r.
37902         (qsort): Call __qsort_r instead of qsort_r.
37903         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
37904         (__qsort_r): Declare.  Call libc_hidden_proto.
37905         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
37906         instead of qsort_r.
37907         * nscd/gai.c (__qsort_r): Define to qsort_r.
37908         * posix/tst-rfc3484.c (__qsort_r): Likewise.
37909         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
37910         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
37912         [BZ #17570]
37913         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
37914         define as weak alias of __malloc_info.
37916         [BZ #17584]
37917         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
37918         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37919         (__rewinddir): Use libc_hidden_def.
37920         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
37921         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37922         (__rewinddir): Use libc_hidden_def.
37923         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
37924         weak alias of __rewinddir.  Don't use libc_hidden_def.
37925         (__rewinddir): Use libc_hidden_def.
37926         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
37927         (__rewinddir): Use libc_hidden_proto.
37928         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
37929         rewinddir.
37930         (__getcwd): Use __rewinddir instead of rewinddir.
37932         [BZ #17583]
37933         * libio/fileno.c (fileno): Rename to __fileno and define as weak
37934         alias of __fileno.  Use libc_hidden_weak.
37935         (__fileno): Use libc_hidden_def.
37936         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
37937         * libio/ftello.c (ftello): Rename to __ftello and define as weak
37938         alias of __ftello.
37939         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
37940         __ftello.
37941         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
37942         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
37943         libc_hidden_def.
37944         (fread_unlocked): Don't use libc_hidden_ver.
37945         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
37946         and define as weak alias of __fread_unlocked.  Don't use
37947         libc_hidden_def.
37948         (__fread_unlocked): Use libc_hidden_def.
37949         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
37950         (ftello): Don't use libc_hidden_proto.
37951         (__ftello): Declare.  Use libc_hidden_proto.
37952         (fread_unlocked): Don't use libc_hidden_proto.
37953         (__fread_unlocked): Declare.  Use libc_hidden_proto.
37954         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
37955         and __ftello instead of fileno, fread_unlocked and ftello.
37957 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37959         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
37960         GOT12.
37961         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37962         Likewise.
37963         (_dl_start_user): Likewise.
37964         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
37966 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
37967             Siddhesh Poyarekar  <siddhesh@redhat.com>
37969         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
37970         Move argv and envp down instead of moving argc up.
37971         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
37973 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
37975         [BZ #17506]
37976         * test-skeleton.c (main): Return successful if one of
37977         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
37978         * string/tst-strcoll-overflow.c: Define expected status.
37980 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
37982         [BZ #17475]
37983         * locale/iso-639.def: Define Bhili and Tulu language codes.
37985 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
37987         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
37989 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
37991         [BZ #17555]
37992         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
37994 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37996         * configure.ac: Updated check of minimal required version to
37997         2.22.
37998         * manual/install.texi (Tools for Compilation): Updated version
37999         number.
38000         * configure: Regenerated.
38001         * INSTALL: Likewise.
38003 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
38005         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
38006         __tls_get_addr.
38008 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
38010         * include/sys/wait.h (__libc_waitpid): Remove declaration.
38011         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
38012         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38013         libc_hidden_weak.
38014         (waitpid): Define as alias of __waitpid.
38015         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
38016         __waitpid.
38017         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38018         libc_hidden_weak.
38019         (waitpid): Define as alias of __waitpid.
38020         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
38021         __libc_waitpid alias.
38022         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
38023         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
38024         Likewise.
38025         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
38026         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
38027         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
38028         alias.
38029         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
38030         __waitpid.
38031         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38032         libc_hidden_weak.
38033         (waitpid): Define as alias of __waitpid.
38035 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
38037         * manual/llio.texi: Add comment that write safety has been
38038         fixed in Linux.
38040         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
38041         (localplt-build-dso): Add elf/ld.so.
38042         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
38043         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
38044         and free for ld.so.
38045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
38046         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
38047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
38048         Likewise.
38049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38050         Likewise.
38051         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
38052         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
38053         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
38054         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
38055         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
38056         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
38057         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
38058         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
38059         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
38060         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
38061         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38063 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
38065         [BZ #14132]
38066         * include/libc-symbols.h (INTUSE): Remove macro.
38067         (INTDEF): Likewise.
38068         (INTVARDEF): Likewise.
38069         (_INTVARDEF): Likewise.
38070         (INTDEF2): Likewise.
38071         (INTVARDEF2): Likewise.
38072         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
38073         rtld_hidden_def instead of INTVARDEF.
38074         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
38075         (_dl_starting_up_internal): Remove declaration.
38076         (_dl_starting_up): Use rtld_hidden_proto.
38077         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
38078         declaration.
38079         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
38080         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
38081         _dl_starting_up.
38082         * elf/dl-writev.h (_dl_writev): Likewise.
38083         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
38084         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
38085         _dl_starting_up_internal.
38087 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38089         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
38090         test-skeleton.c.
38092 2014-11-05  Will Newton  <will.newton@linaro.org>
38094         * benchtests/Makefile: (bench-malloc): Add malloc thread
38095         scalability benchmark.
38096         * benchtests/bench-malloc-threads.c: New file.
38098 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
38100         * sysdeps/aarch64/strchrnul.S: New file.
38102 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38104         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
38105         definition.
38106         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38107         Likewise.
38108         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38109         Likewise.
38110         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38111         Likewise.
38112         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38113         Likewise.
38114         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38115         Likewise.
38117 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
38119         * catgets/test-gencat.c: Use test-skeleton.c.
38120         * catgets/tst-catgets.c: Likewise.
38121         * csu/tst-empty.c: Likewise.
38122         * elf/tst-audit2.c: Likewise.
38123         * elf/tst-global1.c: Likewise.
38124         * elf/tst-pathopt.c: Likewise.
38125         * elf/tst-piemod1.c: Likewise.
38126         * elf/tst-tls10.c: Likewise.
38127         * elf/tst-tls11.c: Likewise.
38128         * elf/tst-tls12.c: Likewise.
38129         * gnulib/tst-gcc.c: Likewise.
38130         * iconvdata/tst-e2big.c: Likewise.
38131         * iconvdata/tst-loading.c: Likewise.
38132         * iconv/tst-iconv1.c: Likewise.
38133         * iconv/tst-iconv2.c: Likewise.
38134         * inet/test-inet6_opt.c: Likewise.
38135         * inet/tst-gethnm.c: Likewise.
38136         * inet/tst-network.c: Likewise.
38137         * inet/tst-ntoa.c: Likewise.
38138         * intl/tst-codeset.c: Likewise.
38139         * intl/tst-gettext2.c: Likewise.
38140         * intl/tst-gettext3.c: Likewise.
38141         * intl/tst-ngettext.c: Likewise.
38142         * intl/tst-translit.c: Likewise.
38143         * io/test-stat.c: Likewise.
38144         * libio/test-fmemopen.c: Likewise.
38145         * libio/tst-freopen.c: Likewise.
38146         * libio/tst-sscanf.c: Likewise.
38147         * libio/tst-ungetwc1.c: Likewise.
38148         * libio/tst-ungetwc2.c: Likewise.
38149         * libio/tst-widetext.c: Likewise.
38150         * localedata/tst-ctype.c: Likewise.
38151         * localedata/tst-digits.c: Likewise.
38152         * localedata/tst-leaks.c: Likewise.
38153         * localedata/tst-mbswcs1.c: Likewise.
38154         * localedata/tst-mbswcs2.c: Likewise.
38155         * localedata/tst-mbswcs3.c: Likewise.
38156         * localedata/tst-mbswcs4.c: Likewise.
38157         * localedata/tst-mbswcs5.c: Likewise.
38158         * localedata/tst-setlocale.c: Likewise.
38159         * localedata/tst-trans.c: Likewise.
38160         * localedata/tst-wctype.c: Likewise.
38161         * localedata/tst-xlocale1.c: Likewise.
38162         * login/tst-grantpt.c: Likewise.
38163         * malloc/tst-calloc.c: Likewise.
38164         * malloc/tst-malloc.c: Likewise.
38165         * malloc/tst-mallocstate.c: Likewise.
38166         * malloc/tst-mcheck.c: Likewise.
38167         * malloc/tst-mtrace.c: Likewise.
38168         * malloc/tst-obstack.c: Likewise.
38169         * math/atest-exp2.c: Likewise.
38170         * math/atest-exp.c: Likewise.
38171         * math/atest-sincos.c: Likewise.
38172         * math/test-matherr.c: Likewise.
38173         * math/test-misc.c: Likewise.
38174         * math/test-powl.c: Likewise.
38175         * math/tst-definitions.c: Likewise.
38176         * misc/tst-dirname.c: Likewise.
38177         * misc/tst-efgcvt.c: Likewise.
38178         * misc/tst-fdset.c: Likewise.
38179         * misc/tst-hsearch.c: Likewise.
38180         * misc/tst-mntent2.c: Likewise.
38181         * nptl/tst-sem7.c: Likewise.
38182         * nptl/tst-sem8.c: Likewise.
38183         * nptl/tst-sem9.c: Likewise.
38184         * nss/test-netdb.c: Likewise.
38185         * posix/tst-fnmatch.c: Likewise.
38186         * posix/tst-getlogin.c: Likewise.
38187         * posix/tst-gnuglob.c: Likewise.
38188         * posix/tst-mmap.c: Likewise.
38189         * pwd/tst-getpw.c: Likewise.
38190         * resolv/tst-inet_ntop.c: Likewise.
38191         * rt/tst-timer.c: Likewise.
38192         * stdio-common/test-fseek.c: Likewise.
38193         * stdio-common/test-popen.c: Likewise.
38194         * stdio-common/test-vfprintf.c: Likewise.
38195         * stdio-common/tst-cookie.c: Likewise.
38196         * stdio-common/tst-fileno.c: Likewise.
38197         * stdio-common/tst-gets.c: Likewise.
38198         * stdio-common/tst-obprintf.c: Likewise.
38199         * stdio-common/tst-perror.c: Likewise.
38200         * stdio-common/tst-sprintf2.c: Likewise.
38201         * stdio-common/tst-sprintf3.c: Likewise.
38202         * stdio-common/tst-sprintf.c: Likewise.
38203         * stdio-common/tst-swprintf.c: Likewise.
38204         * stdio-common/tst-tmpnam.c: Likewise.
38205         * stdio-common/tst-unbputc.c: Likewise.
38206         * stdio-common/tst-wc-printf.c: Likewise.
38207         * stdlib/tst-environ.c: Likewise.
38208         * stdlib/tst-fmtmsg.c: Likewise.
38209         * stdlib/tst-limits.c: Likewise.
38210         * stdlib/tst-rand48-2.c: Likewise.
38211         * stdlib/tst-rand48.c: Likewise.
38212         * stdlib/tst-random2.c: Likewise.
38213         * stdlib/tst-random.c: Likewise.
38214         * stdlib/tst-strtol.c: Likewise.
38215         * stdlib/tst-strtoll.c: Likewise.
38216         * stdlib/tst-tls-atexit.c: Likewise.
38217         * stdlib/tst-xpg-basename.c: Likewise.
38218         * string/test-ffs.c: Likewise.
38219         * string/tst-bswap.c: Likewise.
38220         * string/tst-inlcall.c: Likewise.
38221         * string/tst-strtok.c: Likewise.
38222         * string/tst-strxfrm.c: Likewise.
38223         * sysdeps/x86_64/tst-audit10.c: Likewise.
38224         * sysdeps/x86_64/tst-audit3.c: Likewise.
38225         * sysdeps/x86_64/tst-audit4.c: Likewise.
38226         * sysdeps/x86_64/tst-audit5.c: Likewise.
38227         * time/tst-ftime_l.c: Likewise.
38228         * time/tst-getdate.c: Likewise.
38229         * time/tst-mktime3.c: Likewise.
38230         * time/tst-mktime.c: Likewise.
38231         * time/tst-posixtz.c: Likewise.
38232         * time/tst-strptime2.c: Likewise.
38233         * time/tst-strptime3.c: Likewise.
38234         * wcsmbs/tst-btowc.c: Likewise.
38235         * wcsmbs/tst-mbrtowc.c: Likewise.
38236         * wcsmbs/tst-mbsrtowcs.c: Likewise.
38237         * wcsmbs/tst-wchar-h.c: Likewise.
38238         * wcsmbs/tst-wcpncpy.c: Likewise.
38239         * wcsmbs/tst-wcrtomb.c: Likewise.
38240         * wcsmbs/tst-wcsnlen.c: Likewise.
38241         * wcsmbs/tst-wcstof.c: Likewise.
38243 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
38245         [BZ #14132]
38246         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
38247         INTDEF.
38248         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
38249         declaration.
38250         (_dl_mcount): Use rtld_hidden_proto.
38251         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
38252         _dl_mcount.
38253         * elf/rtld.c (_rtld_global_ro): Likewise.
38255         [BZ #14132]
38256         * elf/dl-init.c (_dl_init): Don't use INTDEF.
38257         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
38258         of _dl_init_internal.
38259         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
38260         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
38261         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
38262         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
38263         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
38264         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
38265         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
38266         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
38267         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
38268         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
38269         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
38270         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
38271         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38272         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38273         * sysdeps/tile/dl-start.S (_start): Likewise.
38274         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
38275         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
38277         [BZ #14132]
38278         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
38279         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
38280         (rtld_progname): Make macro definition unconditional.
38281         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
38282         INTDEF.
38283         (dlmopen_doit): Do not use INTUSE with _dl_argv.
38284         (dl_main): Likewise.
38285         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38286         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
38287         instead of _dl_argv_internal.
38288         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38289         __GI__dl_argv instead of INTUSE(_dl_argv).
38290         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
38291         __GI__dl_argv instead of _dl_argv_internal.
38293         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
38294         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
38295         macro.
38296         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
38297         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
38298         New macro.
38299         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
38300         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
38301         macro.
38302         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
38303         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
38305 2014-11-04  Andreas Schwab  <schwab@suse.de>
38307         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
38309 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38311         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
38312         mtvsrd instruction in binary form.
38314 2014-11-03  Andreas Schwab  <schwab@suse.de>
38316         [BZ #17522]
38317         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
38318         for less than MB_LEN_MAX use a local buffer of that size.
38319         * libio/tst-fputws.c: New file.
38320         * libio/Makefile (tests): Add tst-fputws.
38322 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
38324         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
38325         the size of the fpu_fr.fpu_dregs[] array.
38327 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
38329         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
38330         (__nanosleep): Do not define as alias.
38331         (nanosleep): Define as alias of __nanosleep.
38332         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
38333         __libc_nanosleep name.
38335 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38337         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
38338         install.texi in comment.
38340 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38342         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
38343         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
38344         ... add here and use lwsync or sync ...
38345         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
38346         ... and add here using lwsync.
38348 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38350         * elf/dl-machine-reject-phdr.h: New file.
38351         * elf/dl-load.c: #include that.
38352         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
38353         if that returned true.
38355 2014-10-31  Roland McGrath  <roland@hack.frob.com>
38357         [BZ #17496]
38358         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
38359         gen-as-const-headers chunk.  Add a big scare comment after the last
38360         safe place to touch before-compile.
38362 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38364         * manual/install.texi (Tools for Compilation): Update autoconf
38365         version requirements.
38366         * INSTALL: Regenerated.
38368         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
38369         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
38370         (__libc_pselect): Likewise.
38372         [BZ #14138]
38373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
38374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38378 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38380         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
38381         correct barrier instruction.
38382         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
38383         Likewise.
38384         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
38385         Likewise.
38387 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38389         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
38390         after defining inlines.  Instead, just use parens to defeat macro
38391         expansion of __isctype in its declaration.
38393 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38395         * include/sys/uio.h (__libc_readv): Remove declaration.
38396         (__libc_writev): Likewise.
38397         * misc/readv.c (__libc_readv): Rename to __readv.
38398         (__readv): Do not define as alias.
38399         (readv): Define as alias of __readv.
38400         * misc/writev.c (__libc_writev): Rename to __writev.
38401         (__writev): Do not define as alias.
38402         (writev): Define as alias of __writev.
38403         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
38404         (__readv): Do not define as alias.
38405         (readv): Define unconditionally as alias of __readv.
38406         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
38407         (__writev): Do not define as alias.
38408         (writev): Define unconditionally as alias of __writev.
38409         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
38410         name.
38411         (writev): Do not define __libc_writev name.
38413 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38415         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
38416         (convert_charseq): New function, broken out of ...
38417         (use_from_charmap): ... here.  Call it.
38418         (use_to_charmap): Use convert_charseq and free instead of duplicating
38419         its code with a variable-length stack struct.
38421 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38423         * include/fcntl.h (__libc_creat): Remove declaration.
38424         * io/creat.c (__libc_creat): Rename to creat.
38425         (creat): Do not define as alias.
38426         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
38427         of creat instead of __libc_creat.
38428         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
38429         to creat.
38430         (creat): Do not define as alias.
38431         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
38432         __libc_creat.
38433         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
38434         __libc_creat name.
38435         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
38436         Likewise.
38438 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
38440         * manual/llio.texi: Add comments discussing why write() may be
38441         considered MT-unsafe on Linux.
38443 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
38445         * dl-load.c (local_strdup): Remove.
38446         (expand_dynamic_string_token): Use __strdup.
38447         (decompose_rpath): Likewise.
38448         (_dl_map_object): Likewise.
38450 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
38452         [BZ #14132]
38453         * sysdeps/generic/unwind-dw2-fde.c
38454         (__register_frame_info_bases_internal): Do not declare.
38455         (__register_frame_info_table_bases_internal): Likewise.
38456         (__deregister_frame_info_bases_internal): Likewise.
38457         (__register_frame_info_bases): Declare and use hidden_proto before
38458         definition.  Use hidden_def instead of INTDEF.
38459         (__register_frame_info_table_bases): Likewise.
38460         (__deregister_frame_info_bases): Likewise.
38461         (__register_frame_info): Do not use INTUSE.
38462         (__register_frame): Likewise.
38463         (__register_frame_info_table): Likewise.
38464         (__register_frame_table): Likewise.
38465         (__deregister_frame_info): Likewise.
38466         (__deregister_frame): Likewise.
38468 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
38470         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38471         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
38472         not undefine.
38473         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
38474         Likewise.
38475         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
38476         Likewise.
38478 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
38480         [BZ #14138]
38481         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
38482         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
38483         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
38484         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
38485         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
38486         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
38487         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
38488         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
38489         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
38490         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
38491         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
38492         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
38493         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
38494         syscall.
38495         (setfsuid): Likewise.
38496         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
38497         (setfsuid): Likewise.
38498         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
38499         (setfsuid): Likewise.
38500         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
38501         Likewise.
38502         (setfsuid): Likewise.
38503         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
38504         (setfsuid): Likewise.
38505         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
38506         Likewise.
38507         (setfsuid): Likewise.
38509 2014-10-27  Andreas Schwab  <schwab@suse.de>
38511         [BZ #17501]
38512         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
38513         check for Slow_SSE4_2 feature bit.
38514         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
38515         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38516         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
38517         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
38519 2014-10-24  Roland McGrath  <roland@hack.frob.com>
38521         * configure.ac: Validate compiler version with a empirical test of
38522         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
38523         $CC -v output.
38524         * configure: Regenerated.
38526         * inet/htons.c (htons): Prototypify.
38527         * inet/htonl.c (htonl): Likewise.
38529 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38531         * string/strncat.c (strncat): Improve performance by using strlen.
38533 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38535         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
38537 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38539         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
38540         Call libc_fetestexcept_aarch64.
38542 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38544         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
38545         Call libc_feholdexcept_aarch64.
38547 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38549         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
38550         Call get_rounding_mode.
38552 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38554         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38555         Simplify logic.
38557 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38559         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
38560         Simplify logic.
38562 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
38564         [BZ #14138]
38565         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
38566         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
38567         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
38568         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
38569         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
38570         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
38571         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
38572         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
38573         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
38574         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
38575         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38576         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
38577         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
38578         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
38579         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
38580         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
38581         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
38582         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
38583         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
38584         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
38585         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
38586         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
38587         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
38588         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
38589         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
38590         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
38591         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
38592         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
38593         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
38594         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
38595         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
38596         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
38597         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
38598         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
38599         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
38600         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
38601         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
38602         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
38603         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
38604         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
38605         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
38606         syscall.
38607         (geteuid): Likewise.
38608         (getgid): Likewise.
38609         (getuid): Likewise.
38610         (getresgid): Likewise.
38611         (getresuid): Likewise.
38612         (getgroups): Likewise.
38613         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
38614         (geteuid): Likewise.
38615         (getgid): Likewise.
38616         (getuid): Likewise.
38617         (getresgid): Likewise.
38618         (getresuid): Likewise.
38619         (getgroups): Likewise.
38620         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
38621         (geteuid): Likewise.
38622         (getgid): Likewise.
38623         (getuid): Likewise.
38624         (getresgid): Likewise.
38625         (getresuid): Likewise.
38626         (getgroups): Likewise.
38627         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
38628         Likewise.
38629         (geteuid): Likewise.
38630         (getgid): Likewise.
38631         (getuid): Likewise.
38632         (getresgid): Likewise.
38633         (getresuid): Likewise.
38634         (getgroups): Likewise.
38635         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
38636         (geteuid): Likewise.
38637         (getgid): Likewise.
38638         (getuid): Likewise.
38639         (getresgid): Likewise.
38640         (getresuid): Likewise.
38641         (getgroups): Likewise.
38642         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
38643         Likewise.
38644         (geteuid): Likewise.
38645         (getgid): Likewise.
38646         (getuid): Likewise.
38647         (getgroups): Likewise.
38649         [BZ #14138]
38650         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
38651         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
38652         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
38653         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38654         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
38655         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
38656         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
38657         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
38658         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
38659         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
38660         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
38661         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
38662         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
38663         __chown.
38664         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
38665         (lchown): Likewise.
38666         (fchown): Likewise.
38667         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
38668         Likewise.
38669         (lchown): Likewise.
38670         (fchown): Likewise.
38671         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
38672         (lchown): Likewise.
38673         (fchown): Likewise.
38674         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
38675         Likewise.
38676         (lchown): Likewise.
38677         (fchown): Likewise.
38679 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38681         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
38682         Simplify logic.
38684 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38686         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
38687         Cleanup logic.
38689 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38691         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
38692         Remove unused include.
38694 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38696         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
38697         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
38698         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
38699         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
38701 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
38702             Helge Deller <deller@gmx.de>
38704         [BZ #17508]
38705         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
38706         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
38707         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
38709 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
38711         [BZ #14132]
38712         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
38713         Remove macro definition.
38714         (__ashrdi3_v_glibc20): Likewise.
38715         (__lshrdi3_v_glibc20): Likewise.
38716         (__cmpdi2_v_glibc20): Likewise.
38717         (__ucmpdi2_v_glibc20): Likewise.
38718         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
38719         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38720         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38721         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38722         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38723         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
38725 2014-10-22  Roland McGrath  <roland@hack.frob.com>
38727         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
38728         old GNU extension [0] syntax.
38729         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
38730         alloca rather than an array member with variable length.
38731         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
38732         * nscd/nscd.c (invalidate_db): New function, broken out of ...
38733         (parse_opt): ... here.  Likewise use alloca there.
38734         Validate the -i argument before checking for rootness.
38735         (send_shutdown): New function, broken out of ...
38736         (parse_opt): ... here.
38738 2014-10-22  Roland McGrath  <roland@hack.frob.com>
38740         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
38741         macro to get at the _rt_local_ro field.
38742         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
38743         ([PIC] case) or _dl_hwcap ([!PIC] case).
38744         * sysdeps/arm/setjmp.S: Likewise.
38746         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
38747         * sysdeps/arm/configure.ac: New check to define it.
38748         * sysdeps/arm/configure: Regenerated.
38749         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
38750         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
38751         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
38752         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
38753         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
38754         Use move/movt pair instead of a load.
38755         (LDST_GLOBAL): Macro removed.
38756         (LDR_GLOBAL): New macro replaces it.
38757         (LDR_HIDDEN): New macro.
38758         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
38759         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
38761         * setjmp/tst-setjmp-static.c: New file.
38762         * setjmp/Makefile (tests): Add it.
38763         (tests-static): New variable.
38765 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
38767         [BZ #17485]
38768         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
38770 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
38772         [BZ #14132]
38773         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
38775 2014-10-21  Roland McGrath  <roland@hack.frob.com>
38777         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
38779 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38781         * io/fts.c (dirent_not_directory): New function.
38782         (fts_build): Call it.
38784 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38786         * nptl/version.c (__nptl_main): Use normal __write rather than
38787         INTERNAL_SYSCALL.
38788         (banner): Update copyright years.
38790         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
38791         gettimeofday.
38792         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38793         * nptl/pthread_cond_timedwait.c: Likewise.
38794         * nptl/pthread_mutex_timedlock.c: Likewise.
38795         * nptl/sem_timedwait.c: Likewise.
38797         * sysdeps/nptl/bits/libc-lock.h
38798         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38799         (__libc_lock_init_recursive): Return void, not 0.
38800         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
38801         (__libc_rwlock_init): Likewise.
38802         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
38804 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38806         [BZ #15215]
38807         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
38808         (__pthread_once_slow): ... here.
38809         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
38810         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
38812 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38814         [BZ #15215]
38815         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
38816         __PTHREAD_ONCE_FORK_GEN_INCR): New.
38817         * sysdeps/nptl/fork.c (__libc_fork): Use them.
38818         * nptl/pthread_once.c (__pthread_once): Likewise.
38819         Update comments.
38821 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
38823         [BZ #14138]
38824         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
38825         name.
38826         (writev): Use __libc_writev as strong name.
38827         * sysdeps/unix/sysv/linux/readv.c: Remove file.
38828         * sysdeps/unix/sysv/linux/writev.c: Likewise.
38830 2014-10-17  Roland McGrath  <roland@hack.frob.com>
38832         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
38834         * sysdeps/i386/nptl/tls.h
38835         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
38836         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
38837         New macros.
38838         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
38839         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
38840         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
38841         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
38842         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
38843         Call CHECK_THREAD_SYSINFO instead of doing an assert.
38845         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
38846         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
38847         on [__NR_futex].
38848         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
38849         broken out of ...
38850         (__pthread_mutex_init): ... here.  Call it.
38851         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
38852         Conditionalize PI cases on [__NR_futex].
38853         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
38854         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
38855         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
38857         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
38858         conditional on [SIGSETXID].
38859         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
38860         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
38861         is defined.  Likewise for SIGSETXID.
38862         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
38863         Conditionalize definitions on [SIGSETXID].
38864         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
38865         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
38866         unblocking on [SIGCANCEL].
38868         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
38869         [__NR_set_robust_list].
38871 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38873         * string/strcoll_l.c (get_next_seq): Fix up formatting.
38874         (do_compare): Likewise.
38876 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
38878         [BZ #15884]
38879         * string/strcoll_l.c: Don't include stdio.h.
38880         (coll_seq): Remove members idxarr and rulearr.
38881         (get_next_seq_cached): Remove function.
38882         (get_next_seq): Likewise.
38883         (get_next_seq_nocache): Rename to get_next_seq.
38884         (do_compare): Remove function.
38885         (do_compare_nocache): Rename to do_compare.
38886         (STRCOLL): Remove weight and rules cache.
38888 2014-10-16  Roland McGrath  <roland@hack.frob.com>
38890         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
38891         * sysdeps/arm/sfp-machine.h: ... to here.
38892         * sysdeps/arm/Implies: Remove arm/soft-fp.
38894 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
38896         * conform/data/sys/utsname.h-data (*_t): Allow.
38897         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
38898         [POSIX] (WEXITED): Do not expect constant.
38899         [POSIX] (WSTOPPED): Likewise.
38900         [POSIX] (WNOHANG): Likewise.
38901         [POSIX] (WNOWAIT): Likewise.
38902         [POSIX] (siginfo_t): Do not expect type or elements.
38903         [POSIX] (pid_t): Do not expect type.
38904         [POSIX] (signal.h): Do not allow header.
38905         [POSIX] (sys/resource.h): Likewise.
38906         [POSIX] (si_*): Do not allow pattern.
38907         [POSIX] (W*): Likewise.
38908         [POSIX] (P_*): Likewise.
38909         [POSIX] (BUS_*): Likewise.
38910         [POSIX] (CLD_*): Likewise.
38911         [POSIX] (FPE_*): Likewise.
38912         [POSIX] (ILL_*): Likewise.
38913         [POSIX] (POLL_*): Likewise.
38914         [POSIX] (SEGV_*): Likewise.
38915         [POSIX] (SI_*): Likewise.
38916         [POSIX] (TRAP_*): Likewise.
38917         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
38918         variable.
38920 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
38922         [BZ #12926]
38923         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
38924         infinite loop when __recvmsg returns 0.
38926 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
38928         * CANCEL-FCT-WAIVE: Remove file.
38929         * CANCEL-FILE-WAIVE: Likewise.
38931         [BZ #14132]
38932         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
38933         instead of INTVARDEF.
38934         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38935         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
38936         rtld_hidden_data_def instead of INTVARDEF.
38937         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38938         * elf/dl-deps.c (expand_dst): Likewise.
38939         * elf/dl-load.c (_dl_dst_count): Likewise.
38940         (_dl_dst_substitute): Likewise.
38941         (decompose_rpath): Likewise.
38942         (_dl_init_paths): Likewise.
38943         (open_path): Likewise.
38944         (_dl_map_object): Likewise.
38945         * elf/rtld.c (dl_main): Likewise.
38946         (process_dl_audit): Likewise.
38947         (process_envvars): Likewise.
38948         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
38949         Remove declaration.
38950         (__libc_enable_secure): Use rtld_hidden_proto.
38952 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38954         * elf/dl-load.c
38955         (add_path): New function broken out of _dl_rtld_di_serinfo.
38956         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
38958 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38960         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
38961         parentheses around macro arguments.
38962         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
38963         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
38964         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
38965         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
38966         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
38967         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38968         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38969         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
38970         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
38971         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
38972         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
38973         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
38974         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
38975         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
38976         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
38977         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
38978         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
38979         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
38980         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
38981         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
38982         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
38983         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
38984         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
38985         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38986         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38987         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
38988         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
38989         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
38990         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
38991         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
38992         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
38993         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
38994         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
38995         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
38996         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
38997         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
38998         Likewise.
38999         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
39000         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39001         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39002         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
39003         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
39004         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
39005         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
39006         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
39007         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
39008         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
39009         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
39010         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
39011         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
39012         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
39013         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
39014         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39015         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39016         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
39017         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
39018         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
39019         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
39020         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
39021         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
39022         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
39023         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
39024         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
39025         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
39026         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
39027         (_FP_FRAC_SRS_1): Likewise.
39028         (_FP_FRAC_CLZ_1): Likewise.
39029         (_FP_MUL_MEAT_1_imm): Likewise.
39030         (_FP_MUL_MEAT_1_wide): Likewise.
39031         (_FP_MUL_MEAT_1_hard): Likewise.
39032         (_FP_SQRT_MEAT_1): Likewise.
39033         (_FP_FRAC_ASSEMBLE_1): Likewise.
39034         (_FP_FRAC_DISASSEMBLE_1): Likewise.
39035         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
39036         (__FP_CLZ_2): Likewise.
39037         (_FP_MUL_MEAT_2_wide): Likewise.
39038         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39039         (_FP_MUL_MEAT_2_gmp): Likewise.
39040         (_FP_MUL_MEAT_2_120_240_double): Likewise.
39041         (_FP_SQRT_MEAT_2): Likewise.
39042         (_FP_FRAC_ASSEMBLE_2): Likewise.
39043         (_FP_FRAC_DISASSEMBLE_2): Likewise.
39044         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
39045         (_FP_FRAC_CLZ_4): Likewise.
39046         (_FP_MUL_MEAT_4_wide): Likewise.
39047         (_FP_MUL_MEAT_4_gmp): Likewise.
39048         (_FP_SQRT_MEAT_4): Likewise.
39049         (_FP_FRAC_ASSEMBLE_4): Likewise.
39050         (_FP_FRAC_DISASSEMBLE_4): Likewise.
39051         * soft-fp/op-common.h (_FP_CMP): Likewise.
39052         (_FP_CMP_EQ): Likewise.
39053         (_FP_CMP_UNORD): Likewise.
39054         (_FP_TO_INT): Likewise.
39055         (_FP_FROM_INT): Likewise.
39056         [!__FP_CLZ] (__FP_CLZ): Likewise.
39057         (_FP_DIV_HELP_imm): Likewise.
39058         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
39059         Likewise.
39060         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
39061         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
39062         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
39063         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
39064         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
39065         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39066         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39067         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
39068         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
39069         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
39070         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
39071         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
39072         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
39073         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
39074         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
39075         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
39076         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
39077         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
39078         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
39079         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
39080         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
39081         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
39082         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
39083         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39084         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39085         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
39086         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
39087         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
39088         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
39089         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
39090         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
39091         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
39092         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
39093         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
39094         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
39095         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
39096         (FP_UNPACK_RAW_SP): Likewise.
39097         (FP_PACK_RAW_S): Likewise.
39098         (FP_PACK_RAW_SP): Likewise.
39099         (FP_UNPACK_S): Likewise.
39100         (FP_UNPACK_SP): Likewise.
39101         (FP_UNPACK_SEMIRAW_S): Likewise.
39102         (FP_UNPACK_SEMIRAW_SP): Likewise.
39103         (FP_PACK_S): Likewise.
39104         (FP_PACK_SP): Likewise.
39105         (FP_PACK_SEMIRAW_S): Likewise.
39106         (FP_PACK_SEMIRAW_SP): Likewise.
39107         (_FP_SQRT_MEAT_S): Likewise.
39108         (FP_CMP_S): Likewise.
39109         (FP_CMP_EQ_S): Likewise.
39110         (FP_CMP_UNORD_S): Likewise.
39111         (FP_TO_INT_S): Likewise.
39112         (FP_FROM_INT_S): Likewise.
39114         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
39116         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
39117         (FP_EX_INVALID_IMZ): Likewise.
39118         (FP_EX_INVALID_IMZ_FMA): Likewise.
39119         (FP_EX_INVALID_ISI): Likewise.
39120         (FP_EX_INVALID_ZDZ): Likewise.
39121         (FP_EX_INVALID_IDI): Likewise.
39122         (FP_EX_INVALID_SQRT): Likewise.
39123         (FP_EX_INVALID_CVI): Likewise.
39124         (FP_EX_INVALID_VC): Likewise.
39125         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
39126         "invalid" exceptions.
39127         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
39128         (_FP_ADD_INTERNAL): Likewise.
39129         (_FP_MUL): Likewise.
39130         (_FP_FMA): Likewise.
39131         (_FP_DIV): Likewise.
39132         (_FP_CMP_CHECK_NAN): Likewise.
39133         (_FP_SQRT): Likewise.
39134         (_FP_TO_INT): Likewise.
39135         (FP_EXTEND): Likewise.
39137 2014-10-09  Allan McRae  <allan@archlinux.org>
39139         * po/fr.po: Update French translation from translation project.
39141 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39143         [BZ #14132]
39144         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
39145         of INTDEF.
39146         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
39147         (__cxa_atexit): Use libc_hidden_proto.
39148         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
39150         [BZ #14132]
39151         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
39152         declaration.
39153         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
39154         [!_ISOMAC] (__iswspace_l_internal): Likewise.
39155         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
39156         [!_ISOMAC] (__iswctype_internal): Likewise.
39157         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
39158         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
39159         alias.
39160         (fcntl): Remove __fcntl_internal alias.
39161         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
39162         __connect_internal alias.
39163         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
39164         Likewise.
39166         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
39167         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
39168         FP_DENORM_ZERO.
39169         (_FP_CHECK_FLUSH_ZERO): New macro.
39170         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
39171         (_FP_CMP): Likewise.
39172         (_FP_CMP_EQ): Likewise.
39173         (_FP_TO_INT): Do not set inexact for subnormal arguments if
39174         FP_DENORM_ZERO.
39175         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
39176         (FP_TRUNC): Likewise.
39178         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
39179         treated as invalid conversion, not as normal exponent.
39181         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
39182         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
39183         (_FP_CMP_EQ): Likewise.
39184         (_FP_CMP_UNORD): Likewise.
39185         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
39186         (FP_CMP_EQ_D): Likewise.
39187         (FP_CMP_UNORD_D): Likewise.
39188         * soft-fp/extended.h (FP_CMP_E): Likewise.
39189         (FP_CMP_EQ_E): Likewise.
39190         (FP_CMP_UNORD_E): Likewise.
39191         * soft-fp/quad.h (FP_CMP_Q): Likewise.
39192         (FP_CMP_EQ_Q): Likewise.
39193         (FP_CMP_UNORD_Q): Likewise.
39194         * soft-fp/single.h (FP_CMP_S): Likewise.
39195         (FP_CMP_EQ_S): Likewise.
39196         (FP_CMP_UNORD_S): Likewise.
39197         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
39198         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
39199         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
39200         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
39201         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
39202         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
39203         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
39204         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
39205         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
39206         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
39207         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
39208         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
39209         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
39210         to FP_CMP_Q.
39211         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
39212         FP_CMP_Q.
39213         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
39214         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
39215         FP_CMP_EQ_Q.
39216         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
39217         FP_CMP_Q.
39218         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
39219         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
39220         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
39221         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
39222         FP_CMP_EQ_Q.
39223         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
39224         FP_CMP_Q.
39225         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
39226         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
39227         FP_CMP_EQ_Q.
39228         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
39229         FP_CMP_Q.
39230         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
39231         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
39232         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
39233         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
39234         FP_CMP_EQ_Q.
39236         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
39237         a subnormal result, set the underflow exception if trapping on
39238         underflow is enabled.
39239         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
39240         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
39241         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
39242         redefine to 0.
39243         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
39244         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39245         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39246         * soft-fp/extendxftf2.c (__extendxftf2): Use
39247         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
39249         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
39250         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
39251         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39252         FP_HANDLE_EXCEPTIONS.
39253         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
39254         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39255         FP_HANDLE_EXCEPTIONS.
39256         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
39257         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39258         FP_HANDLE_EXCEPTIONS.
39259         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
39260         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39261         FP_HANDLE_EXCEPTIONS.
39263 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
39265         [BZ #14132]
39266         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
39267         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
39268         use INTUSE.
39269         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
39270         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
39271         Remove alias.
39272         (__adjtimex): Define using libc_hidden_ver.
39273         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
39274         Remove declaration.
39275         (ntp_gettime): Call __adjtimex directly.
39276         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
39277         Remove declaration.
39278         (ntp_gettimex): Call __adjtimex directly.
39279         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
39280         __adjtimex_internal alias.
39282 2014-10-08  Roland McGrath  <roland@hack.frob.com>
39284         [BZ #17460]
39285         * nscd/nscd.c (more_help): Rewrite list of tables collection
39286         using xstrdup and asprintf.
39288         * nscd/nscd_conf.c: Remove local xstrdup declaration.
39290 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39291             Roland McGrath  <roland@hack.frob.com>
39293         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
39294         (do_lookup_unique): ... local function 'enter' here; update callers.
39296 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
39298         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
39299         compat_symbol calls on [SHARED].
39300         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
39301         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
39302         Remove.
39303         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39304         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
39305         (oldsetrlimit): Remove.
39306         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39308         (lchown): New syscall entry.
39309         (oldsetrlimit): Remove.
39310         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39311         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
39312         (oldsetrlimit): Remove.
39313         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39315         [BZ #14138]
39316         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
39317         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
39318         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
39319         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
39320         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39321         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
39322         (fchown): Likewise.
39323         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
39324         (fchown): Likewise.
39325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
39326         Likewise.
39328 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39330         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
39331         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
39332         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
39333         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
39334         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
39335         Likewise.
39336         (__old_sem_post): Likewise.
39338 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
39340         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
39341         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
39342         HAVE_CLOCK_GETTIME_VSYSCALL macros.
39343         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
39344         Use INLINE_VSYSCALL macro.
39345         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
39346         __vdso_clock_gettime.
39347         * sysdeps/unix/sysv/linux/tile/init-first.c
39348         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
39349         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
39350         __vdso_clock_gettime.
39352         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
39353         to set up frame more cleanly.
39355         * sysdeps/tile/memcmp.c: New file.
39357         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
39359         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
39360         * sysdeps/tile/tilegx/strcasestr.c: New file.
39361         * sysdeps/tile/tilegx/strnlen.c: New file.
39362         * sysdeps/tile/tilegx/strstr.c: New file.
39364         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
39366 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
39368         * nptl/tst-setuid3.c: Write errors to stdout.
39370 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39372         * elf/dl-deps.c
39373         (preload): New functions broken out of _dl_map_object_deps.
39374         (_dl_map_object_deps):  Remove a nested function. Update call sites.
39376 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
39378         [BZ #14138]
39379         * sysdeps/unix/sysv/linux/execve.c: Remove file.
39380         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
39382 2014-10-01  Steve Ellcey  <sellcey@mips.com>
39384         * sysdeps/mips/strcmp.S: New.
39386 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
39388         [BZ #14138]
39389         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
39390         (linkat): Likewise.
39391         (mkdirat): Likewise.
39392         (readlinkat): Likewise.
39393         (renameat): Likewise.
39394         (symlinkat): Likewise.
39395         (unlinkat): Likewise.
39396         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
39397         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
39398         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
39399         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
39400         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
39401         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
39402         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
39404 2014-09-30  Will Newton  <will.newton@linaro.org>
39406         * math/math.h: Define long double math functions if
39407         _LIBC_TEST is defined.
39408         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
39410         * localedata/Makefile: Move assignment to tests-special
39411         into an ifdef testing run-built-tests.
39412         * timezone/Makefile: Likewise.
39414 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
39416         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
39417         with $(BASH) not $(SHELL).
39419 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
39420             Matthew LeGendre  <legendre1@llnl.gov>
39422         [BZ #17411]
39423         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
39424         l_reloc_result.
39426 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39428         * stdio-common/printf_fp.c
39429         (hack_digit): New function, broken out of ...
39430         (__printf_fp): ... local function here.  Update call sites.
39431         hack_digit now takes an additional parameter that is a pointer
39432         to a struct of the referenced locals.  Those locals moved inside
39433         the struct and references updated.
39435 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
39437         * aclocal.m4: Require autoconf 2.69.
39438         * configure: Regenerated.
39439         * sysdeps/aarch64/configure: Likewise.
39440         * sysdeps/alpha/configure: Likewise.
39441         * sysdeps/arm/armv7/configure: Likewise.
39442         * sysdeps/arm/configure: Likewise.
39443         * sysdeps/ia64/configure: Likewise.
39444         * sysdeps/mach/configure: Likewise.
39445         * sysdeps/mips/configure: Likewise.
39446         * sysdeps/s390/configure: Likewise.
39447         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
39448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
39450         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
39451         file.
39452         * sysdeps/ia64/configure.ac: Likewise.
39454 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
39456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
39457         specify symbol version for ld.so.  Do not include entry for
39458         libpthread.
39459         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39460         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39461         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39463         [BZ #14171]
39464         * Makeconfig [$(build-shared) = yes]
39465         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
39466         makefiles.
39467         [$(build-shared) = yes && $(soversions.mk-done) = t]
39468         ($(common-objpfx)gnu/lib-names.h): Remove rule.
39469         [$(build-shared) = yes && $(soversions.mk-done) = t]
39470         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
39471         to Makerules.
39472         [$(build-shared) = yes && $(soversions.mk-done) = t]
39473         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
39474         here.
39475         [$(build-shared) = yes && $(soversions.mk-done) = t]
39476         (common-generated): Don't append gnu/lib-names.h and
39477         gnu/lib-names.stmp here.
39478         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
39479         (lib-names-h-abi): New variable.
39480         [$(build-shared) = yes && $(soversions.mk-done) = t]
39481         (lib-names-stmp-abi): Likewise.
39482         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39483         abi-variants] (before-compile): Append
39484         $(common-objpfx)$(lib-names-h-abi).
39485         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39486         abi-variants] (common-generated): Append gnu/lib-names.h.
39487         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39488         abi-variants] (install-others-nosubdir): Depend on
39489         $(inst_includedir)/$(lib-names-h-abi).
39490         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39491         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
39492         [$(build-shared) = yes && $(soversions.mk-done) = t]
39493         ($(common-objpfx)$(lib-names-h-abi)): New rule.
39494         [$(build-shared) = yes && $(soversions.mk-done) = t]
39495         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
39496         [$(build-shared) = yes && $(soversions.mk-done) = t]
39497         (common-generated): Append $(lib-names-h-abi) and
39498         $(lib-names-stmp-abi).
39499         * scripts/lib-names.awk: Do not handle multi being set.
39500         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
39501         Remove variable.
39502         (abi-lp64_be-ld-soname): Likewise.
39503         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
39504         Likewise.
39505         (abi-hard-ld-soname): Likewise.
39506         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
39507         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
39508         Remove variable.
39509         (abi-o32_hard-ld-soname): Likewise.
39510         (abi-o32_soft_2008-ld-soname): Likewise.
39511         (abi-o32_hard_2008-ld-soname): Likewise.
39512         (abi-n32_soft-ld-soname): Likewise.
39513         (abi-n32_hard-ld-soname): Likewise.
39514         (abi-n32_soft_2008-ld-soname): Likewise.
39515         (abi-n32_hard_2008-ld-soname): Likewise.
39516         (abi-n64_soft-ld-soname): Likewise.
39517         (abi-n64_hard-ld-soname): Likewise.
39518         (abi-n64_soft_2008-ld-soname): Likewise.
39519         (abi-n64_hard_2008-ld-soname): Likewise.
39520         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
39521         Likewise.
39522         (abi-64-v2-ld-soname): Likewise.
39523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
39524         ld.so entries.
39525         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
39526         variable.
39527         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
39528         entry.
39529         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
39530         variable.
39531         (abi-64-ld-soname): Likewise.
39532         (abi-x32-ld-soname): Likewise.
39533         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
39534         entry.
39535         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39537 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
39539         [BZ #14138]
39540         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
39541         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
39542         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
39543         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
39544         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
39545         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
39546         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
39547         syscall entry for GLIBC_2.2 symbol version.
39548         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
39549         Likewise.
39550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39551         (setrlimit): Likewise.
39552         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
39553         Likewise.
39555 2014-09-23  Will Newton  <will.newton@linaro.org>
39557         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
39558         _LINUX_ARM_SYSDEP_H include guard too.
39559         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
39560         define.
39562 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
39564         * sysdeps/unix/sysv/linux/eventfd.c:
39565         Make first argument unsigned.
39566         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
39567         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
39569 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
39571         [BZ #16852]
39572         * socket/recvmmsg.c (recvmmsg): Drop const argument.
39573         * socket/sys/socket.h: Likewise.
39574         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
39576 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39578         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
39580 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
39582         * time/tst-ftime.c: New test.
39583         * time/Makefile (tests): Add tst-ftime.
39585 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
39587         * soft-fp/extended.h: Fix comment formatting.
39588         * soft-fp/op-1.h: Likewise.
39589         * soft-fp/op-2.h: Likewise.
39590         * soft-fp/op-4.h: Likewise.
39591         * soft-fp/op-8.h: Likewise.
39592         * soft-fp/op-common.h: Likewise.
39593         * soft-fp/soft-fp.h: Likewise.
39595         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
39597 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
39599         [BZ #6652]
39600         * Makeconfig (soversions-default-setname): Remove variable.
39601         ($(common-objpfx)soversions.i): Don't pass default_setname to
39602         soversions.awk.
39603         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
39604         oldest_abi to abi-versions.awk.
39605         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
39606         * config.make.in (oldest-abi): Remove variable.
39607         * configure.ac (--enable-oldest-abi): Remove configure option.
39608         * configure: Regenerated.
39609         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
39610         text.
39611         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
39612         * scripts/soversions.awk: Do not handle default_setname variable.
39613         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
39614         variable.
39615         * sysdeps/mach/hurd/configure: Regenerated.
39616         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
39617         variable.
39618         * sysdeps/unix/sysv/linux/configure: Regenerated.
39620 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39622         * elf/Makefile (CFLAGS-interp.c): Remove.
39623         ($(elf-objpfx)runtime-linker.h): Generate header with linker
39624         path string.
39625         * elf/interp.c: Include generated runtime-linker.h
39627         * Makerules (lib%.so): Don't include $(+interp) in
39628         prerequisites.
39629         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
39630         * dlfcn/eval.c: Remove file.
39632         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
39633         macros.
39635         [BZ #17266]
39636         * misc/sys/cdefs.h: Define __extern_always_inline for clang
39637         4.2 and newer.
39639         [BZ #17370]
39640         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
39642 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39643             Jakub Jelinek  <jakub@redhat.com>
39645         [BZ #17266]
39646         * libio/stdio.h: Check definition of __fortify_function
39647         instead of __extern_always_inline to include bits/stdio2.h.
39648         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
39649         check if __extern_always_inline is defined.
39650         [__USE_MISC || __USE_XOPEN]: Likewise.
39651         [__USE_ISOC99] Likewise.
39652         * misc/sys/cdefs.h (__fortify_function): Define only if
39653         __extern_always_inline is defined.
39654         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
39655         __extern_always_inline and __extern_inline only for g++-4.3
39656         and newer or a compatible gcc.
39658 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
39660         [BZ #17371]
39661         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39662         last change to handle zero prefix length.
39664 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39666         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
39667         _SC_REGEX_VERSION.
39669         * posix/getconf.c (vars): Add _POSIX_IPV6 and
39670         _POSIX_RAW_SOCKETS.
39672 2014-09-13  Allan McRae  <allan@archlinux.org>
39674         * po/ru.po: Update Russian translation from translation project.
39676 2014-09-12  Roland McGrath  <roland@hack.frob.com>
39678         * locale/programs/locale.c (show_locale_vars): Inline local function
39679         into its sole call site.  Clean up some style nits.
39680         (print_item): New function, broken out of ...
39681         (show_info): ... local function here.  Clean up style nits.
39683         * locale/programs/ld-ctype.c (set_one_default): New function, broken
39684         out of ...
39685         (set_class_defaults): ... local function set_default here.
39686         Define set_default as a macro locally to pass constant parameters.
39687         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
39688         rather than a shared local.
39690         * stdlib/rpmatch.c (try): New function, broken out of ...
39691         (rpmatch): ... local function here.  Also, prototypify definition.
39693 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
39695         * scripts/soversions.awk: Do not handle configuration names.
39696         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
39697         vendor and os variables to soversions.awk.
39698         * configure.ac: Do not modify gnu-* host_os.
39699         * configure: Regenerated
39700         * shlib-versions: Remove first column with configuration names.
39701         * nptl/shlib-versions: Likewise.
39702         * nptl_db/shlib-versions: Likewise.
39703         * sysdeps/hppa/shlib-versions: Likewise.
39704         * sysdeps/m68k/shlib-versions: Likewise.
39705         * sysdeps/mach/hurd/shlib-versions: Likewise.
39706         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
39707         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
39708         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
39709         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
39710         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
39711         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
39712         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
39713         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
39714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39715         Likewise.
39716         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39717         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39718         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39719         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39720         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39721         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
39722         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39723         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39726         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
39727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39728         Regenerated.
39729         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
39730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39731         Condition symbol version definitions on [HAVE_ELFV2_ABI].
39733         * shlib-versions: Remove OS-specific entries.  Moved to files in
39734         sysdeps.
39735         * sysdeps/mach/hurd/shlib-versions: New file.
39736         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39738         * nptl/shlib-versions: Remove architecture-specific entries.
39739         Moved to files in sysdeps.
39740         * shlib-versions: Likewise.
39741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
39742         file.
39743         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39744         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39745         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39746         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39748         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
39749         (UDP_NO_CHECK6_RX): Likewise.
39751 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39753         * sysdeps/posix/sysconf.c (__sysconf): Spell
39754         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
39756 2014-08-12  Florian Weimer  <fweimer@redhat.com>
39758         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
39759         loading.
39760         * iconv/Versions (__gconv_transliterate): Export for use from
39761         gconv modules.
39762         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
39763         (struct __gconv_trans_data, __gconv_trans_fct,
39764         __gconv_trans_context_fct, __gconv_trans_query_fct,
39765         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
39766         definitions.
39767         (struct __gconv_step_data): Remove __trans member.
39768         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
39769         longer hidden.  Remove unused trans_data argument.
39770         * iconv/gconv_int.h (struct trans_struct): Remove definition.
39771         (__gconv_translit_find): Remove declaration.
39772         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
39773         prototype.
39774         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
39775         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
39776         trans_data argument.  Add hidden definition.
39777         (__gconv_translit_find): Remove.
39778         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
39779         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
39780         * iconv/skeleton.c: Remove transliteration initialization.
39781         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
39782         __gconv_step_data initialization.
39783         * libio/iofwide.c (__libio_translit_): Remove.
39784         (_IO_fwide): Adjust struct __gconv_step_data initialization.
39785         * wcsmbs/btowc.c (__btowc): Likewise.
39786         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39787         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39788         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
39789         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
39790         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
39791         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
39792         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
39793         * wcsmbs/wctob.c (wctob): Likewise.
39795 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39797         [BZ #16194]
39798         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
39799         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
39800         register usage.
39801         * sysdeps/x86/Makefile: Adjust.
39803 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39804             Roland McGrath  <roland@hack.frob.com>
39806         * locale/weight.h: Add include guard.
39807         (findidx): Make static rather than auto; take new parameters
39808         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
39809         * locale/weightwc.h: Likewise.
39810         * posix/fnmatch_loop.c
39811         (FCT): Change type of EXTRA from int32_t to wint_t.
39812         Don't include either header inside the function.
39813         Call FINDIDX rather than findidx, and pass new arguments.
39814         #undef FINDIDX at the end of the file.
39815         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
39816         FINDIDX before including fnmatch_loop.c for the non-wide version.
39817         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
39818         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
39819         for the wide version.
39820         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
39821         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
39822         Pass new arguments to findidx.
39823         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
39824         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
39825         Don't #include it inside the function.  Pass new arguments to findidx.
39826         * posix/regex_internal.h
39827         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
39828         (re_string_elem_size_at): Don't #include it inside the function.
39829         Pass new arguments to findidx.
39830         * string/strcoll_l.c: #include WEIGHT_H at top level.
39831         (get_next_seq): Don't #include it inside the function.
39832         Pass new arguments to findidx.
39833         (get_next_seq_nocache): Likewise.
39834         * string/strxfrm_l.c: #include WEIGHT_H at top level.
39835         (STRXFRM): Don't #include it inside the function.
39836         Pass new arguments to findidx.
39838 2014-09-11  Florian Weimer  <fweimer@redhat.com>
39840         [BZ #17344]
39841         * malloc/malloc.c (unlink): Turn asserts into a call to
39842         malloc_printerr.
39844 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
39846         [BZ #17370]
39847         * libio/wfileops (do_ftell_wide): Free OUT.
39849 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
39851         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
39853 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39855         [BZ #17363]
39856         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
39857         group if the current group is empty.
39859 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39861         * benchtests/bench-memset.c (test_main): Add more test from size
39862         from 32 to 512 bytes.
39863         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39864         Add POWER8 memset object.
39865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39866         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
39867         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
39868         implementation.
39869         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
39870         Likewise.
39871         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
39872         multiarch POWER8 memset optimization.
39873         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
39874         POWER8 memset optimization.
39876         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39877         Remove bzero multiarch objects.
39878         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
39879         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
39880         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
39881         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
39882         Remove define.
39883         [__bzero]: Redefine to specific name.
39884         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
39885         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
39886         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
39887         define.
39888         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39889         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39891 2014-09-10  Florian Weimer  <fweimer@redhat.com>
39893         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
39894         warnings into errors.
39896         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
39897         __cxa_thread_atexit_impl prototype.
39899 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39901         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
39902         Fix capitalization of error message.
39904 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39906         * sysdeps/mips/preconfigure: Modify ABI tests.
39908 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
39910         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
39912 2014-09-07  Roland McGrath  <roland@hack.frob.com>
39913             Carlos O'Donell  <carlos@systemhalted.org>
39915         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
39916         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
39917         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
39918         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
39919         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
39920         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
39921         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
39922         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
39923         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
39924         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
39925         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
39926         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
39927         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
39928         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
39929         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
39930         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
39931         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
39932         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
39933         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
39934         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
39935         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
39936         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
39937         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
39938         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
39939         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
39940         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
39941         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
39942         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
39943         Deconditionalize the code that was previously under [RESET_PID].
39944         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
39945         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
39946         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
39947         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
39948         include sysdep.h.
39950 2014-09-08  Allan McRae  <allan@archlinux.org>
39952         * version.h (RELEASE): Set to "development".
39953         (VERSION): Set to "2.20.90"
39955 2014-09-07  Allan McRae  <allan@archlinux.org
39957         * version.h (RELEASE): Set to "stable".
39958         (VERSION): Set to "2.20"
39959         * include/features.h (__GLIBC_MINOR__): Set to 20.
39961         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
39962         Liebler.
39964         * po/ko.po: Update Korean translation from translation project.
39966 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
39968         [BZ #17354]
39969         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
39970         macro for handling signed relocations.
39972 2014-09-03  Florian Weimer  <fweimer@redhat.com>
39974         [BZ #17325]
39975         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
39976         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
39977         assert.
39978         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
39979         * iconvdata/ibm935.c (BODY): Likewise.
39980         * iconvdata/ibm937.c (BODY): Likewise.
39981         * iconvdata/ibm939.c (BODY): Likewise.
39982         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
39983         assert.
39984         * iconvdata/Makefile (iconv-test.out): Pass module list to test
39985         script.
39986         * iconvdata/run-iconv-test.sh: New test loop for checking for
39987         decoder crashers.
39989 2014-09-02  Khem Raj  <raj.khem@gmail.com>
39991         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
39992         libm_hidden_ver.
39994 2014-09-01  Allan McRae  <allan@archlinux.org>
39996         * po/eo.po: Update Esperanto translation from translation project.
39998         * po/ca.po: Update Catalan translation from translation project.
40000 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40002         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
40003         __proc_dostop call.
40005 2014-08-27  Mark Wielaard  <mjw@redhat.com>
40007         [BZ #17319]
40008         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
40009         to call set_thread_area instead of hand written asm.
40010         (__NR_set_thread_area): Removed define.
40011         (TLS_FLAG_WRITABLE): Likewise.
40012         (__ASSUME_SET_THREAD_AREA): Remove check.
40013         (TLS_EBX_ARG): Remove define.
40014         (TLS_LOAD_EBX): Likewise.
40016 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40018         Simplify atomicity of socket creation in bind.
40020         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
40021         looking up the name after linking the file.
40023 2014-08-27  Allan McRae  <allan@archlinux.org>
40025         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40027 2014-08-26  Florian Weimer  <fweimer@redhat.com>
40029         [BZ #17187]
40030         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
40031         trans_compare, open_translit, __gconv_translit_find):
40032         Remove module loading code.
40034 2014-08-26  Allan McRae  <allan@archlinux.org>
40036         * po/vi.po: Update Vietnamese translation from translation project.
40038         * po/uk.po: Update Ukrainian translation from translation project.
40040         * po/fr.po: Update French translation from translation project.
40042         * po/ru.po: Update Russian translation from translation project.
40044         * po/pl.po: Update Polish translation from translation project.
40046         * po/cs.po: Update Czech translation from translation project.
40048         * po/de.po: Update German translation from translation project.
40050         * po/bg.po: Update Bulgarian translation from translation project.
40052         * po/sv.po: Update Sweedish translation from translation project.
40054         * po/nl.po: Update Dutch translation from translation project.
40056         * po/es.po: Update Spanish translation from translation project.
40058 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40060         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
40062         * catgets/Makefile (CPPFLAGS-gencat): Remove.
40063         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
40064         (CPPFLAGS-iconvconfig): Likewise.
40065         * timezone/Makefile (CPPFLAGS-zic): Likewise.
40067         * include/libc-symbols.h: Remove unnecessary check for
40068         NOT_IN_libc.
40069         * nptl/pthreadP.h: Likewise.
40070         * sysdeps/aarch64/setjmp.S: Likewise.
40071         * sysdeps/alpha/setjmp.S: Likewise.
40072         * sysdeps/arm/sysdep.h: Likewise.
40073         * sysdeps/i386/setjmp.S: Likewise.
40074         * sysdeps/m68k/setjmp.c: Likewise.
40075         * sysdeps/posix/getcwd.c: Likewise.
40076         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40077         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40078         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40079         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40080         * sysdeps/sh/sh3/setjmp.S: Likewise.
40081         * sysdeps/sh/sh4/setjmp.S: Likewise.
40082         * sysdeps/unix/alpha/sysdep.h: Likewise.
40083         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40084         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40085         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40086         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40089         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40090         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40091         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40092         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40093         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40094         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40095         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40096         * sysdeps/x86_64/setjmp.S: Likewise.
40098 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
40100         [BZ #17263]
40101         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
40102         <stdint.h>.
40103         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
40104         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
40106 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40108         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
40110         [BZ #17262]
40111         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
40112         and __x86_64__ when disabling x87 inline functions.
40114 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
40116         [BZ #17259]
40117         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
40118         asm statement with __cpuid_count.
40120 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
40122         * configure.ac: Change __ehdr_start code to dereference the struct.
40123         Run readelf on the output to look for relocations.
40124         * configure: Regenerated.
40126 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
40128         [BZ #17261]
40129         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
40130         value to 0.
40131         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
40133 2014-08-12  Roland McGrath  <roland@hack.frob.com>
40135         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
40137 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
40139         [BZ #16892]
40140         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
40141         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
40143 2014-08-12  Sean Anderson  <seanga2@gmail.com>
40145         * malloc/malloc.c: Fix typo in comment.
40147 2014-08-09  Allan McRae  <allan@archlinux.org>
40149         * Regenerate libc.po.
40151 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
40153         * intl/tst-gettext2.sh: Check every lang file for creation.
40155 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40157         * sysdeps/aarch64/fpu/math_private.h
40158         (libc_feholdsetround_noex_aarch64_ctx): New function.
40160 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40162         * sysdeps/arm/armv6/strcpy.S (strcpy):
40163         Fix performance issue in misaligned cases.
40165 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40167         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
40168         Move definition from termios.h.
40169         (struct termio): Likewise.
40170         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40171         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40172         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40173         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40174         Likewise.
40175         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
40176         Move definition to ioctl-types.h
40177         (struct termio): Likewise.
40178         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40179         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40180         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40181         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40182         Likewise.
40184 2014-08-05  Richard Henderson  <rth@redhat.com>
40186         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
40187         exceptions.
40188         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
40189         Add fraiseexcpt.
40190         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
40191         Use __feraiseexcept.
40192         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
40193         Protect libm symbols with IS_IN_libm.
40195         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
40197 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
40199         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
40201 2014-08-04  Will Newton  <will.newton@linaro.org>
40203         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
40204         file.
40206 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
40208         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
40209         variants for each function.
40211 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40213         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
40214         appended ...
40215         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
40216         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
40217         appended ...
40218         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
40219         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
40220         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
40221         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
40222         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
40223         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
40224         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
40225         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
40226         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
40227         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
40228         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
40229         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
40230         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
40231         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
40232         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
40233         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
40234         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
40235         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
40236         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
40237         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
40238         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
40239         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
40240         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
40241         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
40242         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
40243         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
40244         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
40245         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
40246         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
40247         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
40248         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
40249         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
40250         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
40251         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
40252         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
40253         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
40254         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
40255         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
40256         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
40257         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
40258         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
40259         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
40260         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
40261         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
40262         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
40263         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
40264         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
40265         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
40266         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
40267         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
40268         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
40269         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
40270         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
40271         Update #include.
40272         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
40273         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
40275 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40277         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
40278         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
40279         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
40280         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
40281         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
40282         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
40284 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40286         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
40287         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
40288         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40289         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
40291 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40293         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
40294         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
40295         (__libc_vfork): Define function under this name.
40296         (__vfork): Define as an alias.
40297         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
40298         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
40300 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40302         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
40303         that was previously under [RESET_PID].
40304         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
40306 2014-08-04  Andreas Schwab  <schwab@suse.de>
40308         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
40310 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
40312         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
40313         (main): Likewise.
40315 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40317         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
40319 2014-08-01  Richard Henderon  <rth@redhat.com>
40321         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
40322         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
40323         typo in exact zero test.
40324         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40325         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40326         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40328 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40330         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
40331         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
40332         * sysdeps/arm/sysdep.h: ... here.
40333         [!__ASSEMBLER__]: Include <stdint.h>.
40335 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40337         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
40338         (HAVE_WCTYPE_H): Likewise.
40339         (HAVE_ISWCTYPE): Likewise.
40340         (ENABLE_NLS): Likewise.
40341         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
40342         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
40344         * posix/regex_internal.c: Check if DEBUG is defined and is
40345         set.
40347         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
40348         (HAVE_MBSRTOWCS): Likewise.
40349         * posix/fnmatch.c: Include string.h unconditionally.
40351 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40353         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
40354         reversal.
40356 2014-07-31  Roland McGrath  <roland@hack.frob.com>
40358         * sysdeps/generic/safe-fatal.h: New file.
40359         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
40360         * nptl/forward.c: Include it.
40361         (__pthread_unwind): Use __safe_fatal as default action, rather
40362         than a bogus use of INTERNAL_SYSCALL that could never work.
40364         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
40365         * configure.ac (libc_cv_builtin_trap): New test.
40366         * configure: Regenerated.
40367         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
40368         (ABORT_INSTRUCTION): Define using __builtin_trap.
40370         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
40371         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
40372         * sysdeps/nptl/nptl-signals.h: New file.
40373         * nptl/pthreadP.h: Include <nptl-signals.h>.
40375 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40377         * sysdeps/s390/s390-64/utf16-utf32-z9.c
40378         (ONE_DIRECTION): Define.
40379         * sysdeps/s390/s390-64/utf8-utf16-z9.c
40380         (ONE_DIRECTION): Define.
40381         * sysdeps/s390/s390-64/utf8-utf32-z9.c
40382         (ONE_DIRECTION): Define.
40384 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40386         * sysdeps/s390/Makefile: Delete file.
40387         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
40388         * sysdeps/s390/__longjmp.c: Delete file.
40389         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
40390         Remove fields __flags and __reserved.
40391         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
40392         and add versioning.
40393         * sysdeps/s390/rtld-__longjmp.c: Delete file.
40394         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
40395         * sysdeps/s390/rtld-setjmp.S: Likewise.
40396         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
40397         * sysdeps/s390/s390-32/__longjmp.c: ... here.
40398         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
40399         * sysdeps/s390/s390-32/setjmp.S: ... here.
40400         Add versioning.
40401         (__sigsetjmp): Remove setting __flags field.
40402         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
40403         * sysdeps/s390/s390-64/__longjmp.c: ... here.
40404         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
40405         * sysdeps/s390/s390-64/setjmp.S: ... here.
40406         Add versioning.
40407         (__sigsetjmp): Remove setting __flags field.
40408         * sysdeps/s390/setjmp.S: Delete file.
40409         * sysdeps/s390/sigjmp.c: Likewise.
40410         * sysdeps/s390/v1-longjmp.c: Likewise.
40411         * sysdeps/s390/v1-setjmp.h: Likewise.
40412         * sysdeps/s390/v1-sigjmp.c: Likewise.
40413         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
40414         Remove v1-longjmp_chk.
40415         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
40416         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
40417         Include debug/longjmp_chk.c and add versioning.
40418         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
40419         Include nptl/pt-longjmp.c and add versioning.
40420         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
40421         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
40422         Include __longjmp.c.
40423         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40424         Move to ...
40425         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
40426         (__getcontext): Remove setting __flags field.
40427         Add versioning.
40428         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40429         Don't restore upper high grps.
40430         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
40431         Likewise.
40432         (__swapcontext): Remove setting uc_flags field.
40433         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
40434         Delete file.
40435         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40436         Include __longjmp.c.
40437         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40438         Move to ...
40439         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
40440         (__getcontext): Remove setting __flags field.
40441         Add versioning.
40442         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
40443         (__swapcontext): Remove setting uc_flags field.
40444         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
40445         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
40446         Remove fields uc_high_gprs and __reserved.
40447         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
40448         New file with reverted content.
40449         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
40450         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
40451         Regenerated.
40452         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
40453         Regenerated.
40455 2014-07-31  Andreas Schwab  <schwab@suse.de>
40457         * config.h.in (HAVE_IFUNC): Define to 0.
40458         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
40459         definedness.
40461 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
40463         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40464         memmove-avx-unaligned, memcpy-avx-unaligned and
40465         mempcpy-avx-unaligned.
40466         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40467         Add tests for AVX memcpy functions.
40468         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
40469         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
40470         memcpy_chk.
40471         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
40472         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
40473         memmove_chk.
40474         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
40475         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
40476         mempcpy_chk.
40477         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
40478         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
40479         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
40481 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40483         [BZ #17213]
40484         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
40485         powerpc64le.
40487 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
40489         [BZ #16839]
40490         * manual/llio.texi: Add section about open file description locks.
40491         * manual/examples/ofdlocks.c: Example of open file description
40492         lock usage.
40493         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
40494         F_OFD_SETLK, and F_OFD_SETLKW.
40496 2014-07-23  Allan McRae  <allan@archlinux.org>
40498         * po/es.po: Update Spanish translation from translation project.
40500 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
40502         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
40504 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
40506         [BZ #17078]
40507         * sysdeps/arm/dl-machine.h (elf_machine_rela)
40508         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
40509         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
40511 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
40513         [BZ #17088]
40514         * math/fesetenv.c (__fesetenv)
40515         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
40516         * math/feupdateenv.c (__feupdateenv)
40517         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
40519         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
40520         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
40521         (__ASSUME_SOCKETCALL): Do not define.
40523         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
40524         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
40525         (__ASSUME_SOCKETCALL): Do not define.
40526         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
40527         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40528         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40529         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40530         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40531         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
40532         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40533         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40535         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
40536         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
40537         (__ASSUME_SOCKETCALL): Do not define.
40538         (__ASSUME_IPC64): Define unconditionally.
40539         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40540         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40541         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40542         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40543         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
40544         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40545         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
40546         Likewise.
40548         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
40549         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
40550         (__ASSUME_SOCKETCALL): Do not define.
40551         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
40552         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40553         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40554         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40555         (__ASSUME_REQUEUE_PI): Define unconditionally.
40556         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
40557         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
40558         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40559         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
40560         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40561         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40563         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
40564         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
40565         (__ASSUME_SOCKETCALL): Do not define.
40566         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
40567         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40568         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40569         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
40570         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40571         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40573         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
40574         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
40575         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40576         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
40577         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40578         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
40579         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40580         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
40581         (__ASSUME_GETCPU_SYSCALL): Likewise.
40583         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
40584         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
40585         cases for individual architectures.
40586         * sysdeps/gnu/configure: Regenerated.
40587         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
40588         LIBC_SLIBDIR_RTLDDIR.
40589         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
40590         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
40591         LIBC_SLIBDIR_RTLDDIR.
40592         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
40593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
40594         LIBC_SLIBDIR_RTLDDIR.
40595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40596         Regenerated.
40597         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
40598         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
40599         file.
40600         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
40601         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
40602         file.
40603         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
40604         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
40605         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
40606         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
40608         * sysdeps/aarch64/shlib-versions: Move to ...
40609         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
40610         * sysdeps/alpha/shlib-versions: Move to ...
40611         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
40612         * sysdeps/arm/shlib-versions: Move to ...
40613         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
40614         * sysdeps/hppa/shlib-versions: Move all contents except for
40615         libgcc_s entry to ...
40616         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
40617         entry from ...
40618         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
40619         * sysdeps/ia64/shlib-versions: Move to ...
40620         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
40621         entry from ...
40622         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
40623         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
40624         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
40625         * sysdeps/microblaze/shlib-versions: Move to ...
40626         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
40627         * sysdeps/mips/shlib-versions: Move to ...
40628         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
40629         entry from ...
40630         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
40631         * sysdeps/tile/shlib-versions: Move to ...
40632         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
40633         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
40634         from ...
40635         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
40636         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
40637         entry from ...
40638         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
40640 2014-07-17  Will Newton  <will.newton@linaro.org>
40642         * sysdeps/arm/bits/atomic.h
40643         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
40644         (__arch_compare_and_exchange_bool_16_int): Likewise.
40645         (__arch_compare_and_exchange_bool_64_int): Likewise.
40647         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
40648         into an #else block.
40650 2014-07-16  Roland McGrath  <roland@hack.frob.com>
40652         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
40653         just Linux configurations.  Test empirically that the compiler sets
40654         __ARM_EABI__, rather than using the tuple to decide.
40655         * sysdeps/arm/preconfigure: Regenerated.
40656         * sysdeps/unix/sysv/linux/arm/configure: File removed.
40657         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
40658         contents appended ...
40659         * sysdeps/arm/configure.ac: ... here.
40660         * sysdeps/arm/configure: Regenerated.
40662 2014-07-15  Roland McGrath  <roland@hack.frob.com>
40664         * nptl/pthread_kill.c: New file.
40665         * nptl/pthread_sigmask.c: New file.
40666         * nptl/pthread_sigqueue.c: New file.
40668         * sysdeps/nptl/lowlevellock.h: New file.
40669         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
40670         * sysdeps/nptl/lowlevellock-futex.h: New file.
40672         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
40673         Remove dead declarations.
40675 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
40677         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
40678         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
40679         config-cflags-avx2.
40680         * sysdeps/x86_64/configure.ac: Likewise.
40681         * sysdeps/i386/configure: Regenerated.
40682         * sysdeps/x86_64/configure: Likewise.
40683         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40684         memset-avx2 only if config-cflags-avx2 is yes.
40685         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40686         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
40687         defined.
40688         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
40689         only if HAVE_AVX2_SUPPORT is defined.
40690         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40692 2014-07-14  Alan Modra  <amodra@gmail.com>
40694         [BZ #17153]
40695         * elf/elf.h (DT_PPC64_NUM): Correct value.
40696         * NEWS: Add to fixed bug list.
40698 2014-07-13  Jim Meyering  <meyering@fb.com>
40700         [BZ 17150]
40701         regex: don't deref NULL upon heap allocation failure
40702         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
40703         failure in one more place.
40704         To trigger the segfault, configure grep -with-included-regex,
40705         build it, and run these commands:
40706         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
40708 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
40710         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
40712 2014-07-11  Richard Henderson  <rth@redhat.com>
40714         * sysdeps/aarch64/libm-test-ulps: Update.
40716 2014-07-10  Florian Weimer  <fweimer@redhat.com>
40718         [BZ #17135]
40719         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
40720         * nptl/allocatestack.c (__nptl_setxid_error): New function.
40721         (__nptl_setxid): Initialize error member.  Call
40722         __nptl_setxid_error.
40723         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
40724         * nptl/descr.h (struct xid_command): Add error member.
40725         * nptl/tst-setuid3.c: New file.
40726         * nptl/Makefile (tests): Add it.
40728 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40730         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
40731         New define.
40732         (__lll_trylock): Use __lll_base_trylock.
40733         (__lll_cond_trylock): Likewise.
40735 2014-07-10  Roland McGrath  <roland@hack.frob.com>
40737         * nptl/pthread_create.c (start_thread): Use atomic_or and
40738         lll_futex_wake directly rather than lll_robust_dead.
40739         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40740         (lll_robust_dead): Macro removed.
40741         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
40742         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40743         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40744         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40745         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40746         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40747         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40748         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40749         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40750         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40751         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40752         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40753         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40754         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40755         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40757         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
40758         Use atomic_compare_and_exchange_val_acq directly rather than
40759         lll_robust_trylock.
40760         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40761         (__lll_robust_trylock, lll_robust_trylock): Removed.
40762         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40763         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40764         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40765         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40766         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40767         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40768         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40769         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40770         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40771         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40772         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40773         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40774         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40775         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40777 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40779         * manual/locale.texi (Locale Names): New section documenting
40780         locale name syntax.  Adjust menu and node chaining accordingly.
40781         (Choosing Locale): Reference Locale Names, Locale Categories.
40782         Mention setting LC_ALL=C.  Reflect that name syntax is now
40783         documented.
40784         (Locale Categories): New section title.  Reference Locale Names.
40785         LC_ALL is an environment variable, but not a category.
40786         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
40787         description, now in Locale Name.  Reference that section.  Locale
40788         name syntax is now documented.
40790 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40792         [BZ #17137]
40793         * locale/findlocale.c (name_present, valid_locale_name): New
40794         functions.
40795         (_nl_find_locale): Use the loc_name variable to store name
40796         candidates.  Call name_present and valid_locale_name to check and
40797         validate locale names.  Return an error if the locale is invalid.
40799 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40801         * locale/setlocale.c (setlocale): Use strdup for allocating
40802         composite name copy.
40804 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40806         Sync up with gnulib.
40807         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
40808         [!_LIBC && ENABLE_NLS]: Include gettext.h.
40809         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
40810         and _GL_ARG_NONNULL.
40811         [USE_UNLOCKED_IO]: Include unlocked-io.h.
40812         [!_LIBC]: Include code for Windows and Cygwin.
40813         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
40814         Include prototype for int strerror_r.
40815         [!_LIBC] (is_open): New function.
40816         (flush_stdout): New function.
40817         (print_errno_message): Use it.
40818         (error): Likewise.
40819         (error_at_line): Likewise.
40820         (error_tail) Add function attribute macros.  Use
40821         __builtin_expect.
40823         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
40825         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
40827         * io/ftw.c: Include sys/param.h unconditionally.
40829         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
40831         [BZ #17125]
40832         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
40833         libc_freeres_ptr.
40834         (freecache): New function to free CACHE on exit.
40836         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
40837         initialization.
40839 2014-07-09  David S. Miller  <davem@davemloft.net>
40841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40843         * sysdeps/sparc/nptl/internaltypes.h: Delete.
40844         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
40845         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
40846         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
40847         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
40848         * sysdeps/sparc/nptl/sem_init.c: Likewise.
40849         * sysdeps/sparc/nptl/sem_post.c: Likewise.
40850         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
40851         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
40852         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
40853         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
40854         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
40855         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
40857 2014-07-09  Andreas Schwab  <schwab@suse.de>
40859         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
40860         output.
40861         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
40862         (do_test): Likewise.
40864         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40866 2014-07-09  Will Newton  <will.newton@linaro.org>
40868         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
40869         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
40870         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
40871         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
40872         * sysdeps/hppa/start.S (_start): Likewise.
40874 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40876         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
40878         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
40879         defined.
40881 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40883         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
40884         after checking that it is non-NULL.
40886         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
40888 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40890         * sysdeps/powerpc/memmove.c: Remove file.
40891         * sysdeps/powerpc/powerpc32/power4/memcopy.h
40892         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
40893         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40894         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
40895         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
40896         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
40897         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
40898         string memmove instead of removed powerpc one.
40900         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40901         [weak_alias]: Fix compiler warning due trailing data.
40902         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
40903         [weak_alias]: Likewise.
40904         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
40905         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
40907         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40908         (__libc_ifunc_impl_list): Add memmove functions.
40910 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40912         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
40913         Remove code.
40914         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
40915         Likewise.
40916         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
40917         Likewise.
40918         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
40919         Likewise.
40920         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
40921         Likewise.
40922         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
40923         Likewise.
40924         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
40925         Likewise.
40926         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
40927         Likewise.
40928         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
40929         Likewise.
40930         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
40931         Likewise.
40932         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
40933         Likewise.
40934         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
40935         Likewise.
40936         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
40937         Likewise.
40938         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
40939         Likewise.
40940         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
40941         Likewise.
40942         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
40943         Likewise.
40944         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
40945         Likewise.
40947 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40949         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
40950         to avoid alignment traps in non-cacheable memory.
40951         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40953         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
40954         multiarch objects.
40955         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
40956         file: multiarch power7 memmove.
40957         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
40958         multiarch default memmove.
40959         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
40960         multiarch memove for powerpc32/power4.
40962         * string/bcopy.c: Use full path to include memmove.c.
40963         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
40964         multiarch objects.
40965         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
40966         bcopy for powerpc64.
40967         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
40968         bcopy for powerpc64.
40969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
40970         and memmove implementations.
40971         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
40972         optimized multiarch memmove for POWER7/powerpc64.
40973         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
40974         default multiarch memmove for powerpc64.
40975         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
40976         multiarch for powerpc64.
40977         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
40978         for POWER7/powerpc64.
40979         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
40980         memmove for POWER7/powerpc64.
40982         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
40983         glibc default one.
40985         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
40986         __ELF_NATIVE_CLASS equal to 64.
40988 2014-07-07  Roland McGrath  <roland@hack.frob.com>
40990         * sysdeps/nptl/lowlevellock.h: File removed.
40992         * NEWS: NPTL is no longer an add-on!
40993         * nptl/internaltypes.h: Moved ...
40994         * sysdeps/nptl/internaltypes.h: ... here.
40995         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
40996         * sysdeps/nptl/fork.c: Likewise.
40997         * sysdeps/nptl/gai_misc.h: Likewise.
40998         * sysdeps/nptl/librt-cancellation.c: Likewise.
40999         * sysdeps/nptl/jmp-unwind.c: Likewise.
41000         * sysdeps/nptl/setxid.h: Likewise.
41001         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
41002         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
41003         * sysdeps/unix/sysv/linux/arm/Implies: New file.
41004         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
41005         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
41006         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
41007         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
41008         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
41009         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
41010         * sysdeps/unix/sysv/linux/mips/Implies: New file.
41011         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
41012         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
41013         * sysdeps/unix/sysv/linux/sh/Implies: New file.
41014         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
41015         * sysdeps/unix/sysv/linux/tile/Implies: New file.
41016         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
41017         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
41018         * nptl/Makeconfig: Moved ...
41019         * sysdeps/nptl/Makeconfig: ... here.
41020         * nptl/configure: File removed.
41021         * nptl/ANNOUNCE: File removed.
41022         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
41023         * sysdeps/unix/sysv/linux/configure: Regenerated.
41025         * nptl/Makefile (routines): Add libc_pthread_init,
41026         libc_multiple_threads, register-atfork and unregister-atfork.
41027         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
41028         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
41029         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
41030         pthread-pi-defines.sym, structsem.sym.
41031         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
41032         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
41033         [$(subdir) = nptl] (tests): Add tst-setgetname.
41034         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
41035         * sysdeps/unix/sysv/linux/sigaction.c: Just include
41036         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
41037         [!LIBC_SIGACTION]: Remove aliases.
41038         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41039         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41040         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41041         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
41042         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41043         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
41044         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41045         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41046         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41047         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
41048         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
41049         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
41050         __libc_allocate_rtsig_private.
41051         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
41052         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
41053         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
41054         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
41055         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
41056         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
41057         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
41058         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
41059         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
41060         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
41061         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
41062         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
41063         * nptl/internaltypes.h: ... here.
41064         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
41065         * sysdeps/nptl/jmp-unwind.c: ... here.
41066         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
41067         * nptl/libc-lowlevellock.c: ... here.
41068         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
41069         * nptl/libc_multiple_threads.c: ... here.
41070         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
41071         * nptl/libc_pthread_init.c: ... here.
41072         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
41073         * nptl/lowlevelbarrier.sym: ... here.
41074         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
41075         * nptl/lowlevelcond.sym: ... here.
41076         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
41077         * nptl/lowlevellock.c: ... here.
41078         * nptl/lowlevellock.h: Moved ...
41079         * sysdeps/nptl/lowlevellock.h: ... here.
41080         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
41081         * nptl/lowlevelrobustlock.c: ... here.
41082         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
41083         * nptl/lowlevelrobustlock.sym: ... here.
41084         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
41085         * nptl/lowlevelrwlock.sym: ... here.
41086         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
41087         * nptl/pt-fork.c: ... here.
41088         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
41089         * nptl/pthread-pi-defines.sym: ... here.
41090         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
41091         * nptl/pthread_attr_getaffinity.c: ... here.
41092         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
41093         * nptl/pthread_attr_setaffinity.c: ... here.
41094         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
41095         * nptl/pthread_mutex_cond_lock.c: ... here.
41096         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41097         Update #include.
41098         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
41099         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
41100         * nptl/pthread_once.c: ... here, replacing old file.
41101         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
41102         * nptl/pthread_yield.c: ... here.
41103         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
41104         * nptl/register-atfork.c: ... here.
41105         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
41106         * nptl/sem_post.c: ... here.
41107         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
41108         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
41109         * nptl/sem_timedwait.c: ... here.
41110         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
41111         * nptl/sem_trywait.c: ... here.
41112         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
41113         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
41114         * nptl/sem_wait.c: ... here.
41115         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
41116         * nptl/structsem.sym: ... here.
41117         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
41118         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
41119         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
41120         * nptl/unregister-atfork.c: ... here.
41121         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
41122         * nptl/unwindbuf.sym: ... here.
41123         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
41124         * sysdeps/nptl/fork.c: ... here.
41125         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
41126         * sysdeps/nptl/fork.h: ... here.
41127         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
41128         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
41129         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
41130         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
41131         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
41132         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
41133         * sysdeps/unix/sysv/linux/getpid.c: ... here.
41134         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
41135         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
41136         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
41137         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
41138         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
41139         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
41140         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
41141         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
41142         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
41143         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
41144         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
41145         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
41146         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
41147         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
41148         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
41149         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
41150         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
41151         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
41152         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
41153         * sysdeps/unix/sysv/linux/raise.c: ... here.
41154         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
41155         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
41156         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
41157         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
41158         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
41159         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
41160         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
41161         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
41162         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
41163         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
41164         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
41165         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
41166         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
41167         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
41168         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
41170 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41172         * sysdeps/generic/memcopy.h: Add comment for
41173         MEMCPY_OK_FOR_FWD_MEMMOVE.
41175 2014-07-04  Will Newton  <will.newton@linaro.org>
41177         * string/memchr.c: Merge from gnulib.
41178         [_LIBC]: Remove conditionals.
41179         (__ptr_t): Remove define.
41180         (LONG_MAX_32_BITS): Likewise.
41181         (LONG_MAX): Likewise.
41182         (MEMCHR): Use ANSI prototype and optimize algorithm.
41184         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
41186 2014-07-03  Roland McGrath  <roland@hack.frob.com>
41188         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
41189         (lll_futex_timed_wait_bitset): Fix syscall argument count.
41191         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
41192         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
41193         in a bare environment with no <stdlib.h> installed.
41194         * sysdeps/nptl/configure: Regenerated.
41196         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
41198         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
41199         AC_EGREP_CPP for kernel header checks, so they only succeed if
41200         including <linux/version.h> actually works right.
41201         * sysdeps/unix/sysv/linux/configure: Regenerated.
41203         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
41204         value so it's not diagnosed as unused.
41206         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
41207         thing) with "ifeq ($(subdir),rt)".
41209 2014-07-03  Richard Henderson  <rth@redhat.com>
41211         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
41212         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
41213         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
41215         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
41216         (math_force_eval): New.
41218         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
41219         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
41221         * sysdeps/alpha/fpu/s_round.c: Remove file.
41222         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
41224         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
41225         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
41226         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
41227         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
41228         (_dl_start, print_statistics): Likewise.
41229         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
41230         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
41232         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41233         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41234         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41235         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41236         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41237         (HP_SMALL_TIMING_AVAIL): Define.
41238         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41239         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41240         (HP_SMALL_TIMING_AVAIL): Define.
41241         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41242         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41244         * sysdeps/aarch64/hp-timing.h: New file.
41246         * sysdeps/generic/hp-timing.h: Remove dead comment.
41247         * sysdeps/generic/hp-timing-common.h: New file.
41248         * sysdeps/alpha/hp-timing.h: Include it.
41249         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
41250         * sysdeps/i386/i686/hp-timing.h: Likewise.
41251         * sysdeps/ia64/hp-timing.h: Likewise.
41252         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41253         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41254         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41255         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41256         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
41257         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
41258         (hp_timing_t): New.
41260         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
41261         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
41262         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
41263         * elf/rtld.c (_dl_start_final): Likewise.
41264         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
41265         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41266         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41267         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41268         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41269         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41270         (HP_TIMING_DIFF_INIT): Remove.
41271         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41272         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41273         (HP_TIMING_DIFF_INIT): Remove.
41274         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41275         * sysdeps/i386/i686/hp-timing.c: Remove file.
41276         * sysdeps/x86_64/hp-timing.c: Remove file.
41277         * sysdeps/ia64/hp-timing.c: Remove file.
41278         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
41279         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
41280         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
41281         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
41283         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
41284         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
41285         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
41286         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41287         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41288         (HP_TIMING_ACCUM): Remove.
41289         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41290         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
41291         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41293         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
41294         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
41295         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
41296         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
41297         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
41298         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41299         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
41300         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41302         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
41304 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
41306         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
41308 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41310         Sync up with gettext.
41311         * intl/loadmsgcat.c: Define O_BINARY if not defined.
41312         [_MSC_VER]: Include malloc.h
41313         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
41314         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
41315         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
41316         TEMP_FAILURE_RETRY.  Cast return of alloca.
41317         [!_LIBC] Call gl_rwlock_init.
41318         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
41320 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41322         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
41323         before checking its value.
41325 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41327         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
41329         * debug/memcpy_chk.c: Don't include pagecopy.h.
41330         * debug/mempcpy_chk.c: Likewise.
41331         * string/memcpy.c: Likewise.
41332         * string/memmove.c: Likewise.
41333         * sysdeps/powerpc/memmove.c: Likewise.
41334         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
41335         definition of PAGE_COPY_FWD_MAYBE here...
41336         * sysdeps/generic/pagecopy.h: ... from here.
41337         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
41339 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41340             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41342         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
41343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
41344         optimizations.
41345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41346         (__libc_ifunc_impl_list): Likewise.
41347         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
41348         multiarch strcat for PPC64.
41349         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
41350         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
41352 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41354         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
41356 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41358         * intl/loadmsgcat.c: Remove declaration of
41359         get_sysdep_segment_value.
41360         (get_sysdep_segment_value): Use ISO C style.
41361         (_nl_load_domain): Use ISO C style.  Get rid of redundant
41362         semicolon.  Fix typo and formatting in comment.
41363         (_nl_unload_domain): Use ISO C style.
41365         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
41367 2014-07-02  Will Newton  <will.newton@linaro.org>
41369         * malloc/obstack.c: Merge from gnulib master.
41370         [HAVE_CONFIG_H]: Remove conditional code.
41371         [!_LIBC]: Include config.h.
41372         [!ELIDE_CODE]: Don't include inttypes.h, include
41373         stdint.h unconditionally.
41374         (print_and_abort): Mark as _Noreturn.
41375         (_obstack_allocated_p): Mark as __attribute_pure__.
41376         (obstack_free): Rename to __obstack_free.
41377         [!__attribute__]: Remove conditional code.
41378         * malloc/obstack.h: Merge from gnulib master.
41379         [__cplusplus]: Move conditional down.
41380         [!__attribute_pure__]: Define __attribute_pure__ here
41381         if it is not already defined.
41382         (_obstack_memory_used): Mark as __attribute_pure__.
41383         [!__obstack_free]: Define as obstack_free.
41384         [__GNUC__]: Remove check for ancient NeXT gcc.
41386 2014-07-02  Will Newton  <will.newton@linaro.org>
41387             Paul Eggert  <eggert@cs.ucla.edu>
41389         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
41391 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41393         * resolv/gethnamaddr.c: Add comment warning that the file is
41394         not maintained.
41396 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
41398         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
41399         entries.
41401         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
41402         entry for aio_cancel and aio_cancel64.
41403         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
41404         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
41405         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
41406         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
41407         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
41408         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
41409         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
41410         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
41411         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
41412         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
41413         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
41414         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
41415         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
41417 2014-07-01  Roland McGrath  <roland@hack.frob.com>
41419         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
41420         * nptl/pthread_mutex_lock.c: Likewise.
41421         * nptl/pthread_mutex_timedlock.c: Likewise.
41422         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
41424 2014-07-01  Richard henderson  <rth@redhat.com>
41426         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
41427         (__isnan, __isnanl): Remove.
41428         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
41430         * sysdeps/alpha/fpu/libm-test-ulps: Update.
41432 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41434         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41436 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41438         * resolv/nss_dns/dns-host.c (getanswer_r)
41439         [MULTI_PTRS_ARE_ALIASES]: Remove code.
41441 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
41443         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41444         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
41445         undefine.
41446         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
41447         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
41449 2014-07-01  Roland McGrath <roland@hack.frob.com>
41451         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
41452         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
41454         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
41455         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
41457         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
41458         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
41459         ... here.
41460         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
41461         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
41463         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
41464         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
41465         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
41466         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
41468         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
41469         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
41470         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
41471         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
41472         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
41473         Moved ...
41474         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
41475         ... here.
41476         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
41477         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
41478         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
41479         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
41480         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
41481         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
41482         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
41483         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
41484         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
41485         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
41486         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
41487         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
41488         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
41489         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
41490         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
41491         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
41492         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
41493         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
41494         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
41495         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
41496         ... here.
41497         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
41498         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
41499         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
41500         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
41501         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
41502         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
41503         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
41504         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
41506 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
41508         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
41509         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
41510         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
41511         Add sysdep.
41513 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41517 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41519         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
41520         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41522         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41524         * sysdeps/arm/libm-test-ulps: Regenerated.
41526 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41527             Roland McGrath <roland@hack.frob.com>
41529         * test-skeleton.c (signal_handler): Kill the whole process group
41530         before killing the child individually.
41531         (main): Report any failure on `setpgid'.
41533 2014-06-30  Roland McGrath  <roland@hack.frob.com>
41535         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
41536         from _TLS_H to _ARM_NPTL_TLS_H.
41537         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
41538         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
41540 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41542         [BZ #16539]
41543         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
41544         (__expm1l): Return argument unchanged when small but not
41545         subnormal.
41547         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
41548         include macro name.
41549         (_FP_UNPACK_RAW_1_P): Likewise.
41550         (_FP_PACK_RAW_1): Likewise.
41551         (_FP_PACK_RAW_1_P): Likewise.
41552         (_FP_MUL_MEAT_1_wide): Likewise.
41553         (_FP_MUL_MEAT_DW_1_hard): Likewise.
41554         (_FP_MUL_MEAT_1_hard): Likewise.
41555         (_FP_DIV_MEAT_1_imm): Likewise.
41556         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
41557         (_FP_DIV_MEAT_1_udiv): Likewise.
41558         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
41559         (_FP_UNPACK_RAW_2): Likewise.
41560         (_FP_UNPACK_RAW_2_P): Likewise.
41561         (_FP_PACK_RAW_2): Likewise.
41562         (_FP_PACK_RAW_2_P): Likewise.
41563         (_FP_MUL_MEAT_DW_2_wide): Likewise.
41564         (_FP_MUL_MEAT_2_wide): Likewise.
41565         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
41566         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41567         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
41568         (_FP_MUL_MEAT_2_gmp): Likewise.
41569         (_FP_DIV_MEAT_2_udiv): Likewise.
41570         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
41571         (_FP_FRAC_SRL_4): Likewise.
41572         (_FP_FRAC_SRST_4): Likewise.
41573         (_FP_FRAC_SRS_4): Likewise.
41574         (_FP_UNPACK_RAW_4): Likewise.
41575         (_FP_UNPACK_RAW_4_P): Likewise.
41576         (_FP_PACK_RAW_4): Likewise.
41577         (_FP_PACK_RAW_4_P): Likewise.
41578         (_FP_MUL_MEAT_DW_4_wide): Likewise.
41579         (_FP_MUL_MEAT_4_wide): Likewise.
41580         (_FP_MUL_MEAT_4_gmp): Likewise.
41581         (umul_ppppmnnn): Likewise.
41582         (_FP_DIV_MEAT_4_udiv): Likewise.
41583         (__FP_FRAC_ADD_4): Likewise.
41584         (__FP_FRAC_SUB_3): Likewise.
41585         (__FP_FRAC_SUB_4): Likewise.
41586         (__FP_FRAC_DEC_3): Likewise.
41587         (__FP_FRAC_DEC_4): Likewise.
41588         (__FP_FRAC_ADDI_4): Likewise.
41589         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
41590         (_FP_FRAC_SRL_8): Likewise.
41591         (_FP_FRAC_SRS_8): Likewise.
41593         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
41594         include macro name.
41595         (FP_UNPACK_RAW_EP): Likewise.
41596         (FP_PACK_RAW_E): Likewise.
41597         (FP_PACK_RAW_EP): Likewise.
41598         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
41599         (_FP_ISSIGNAN): Likewise.
41600         (_FP_ADD_INTERNAL): Likewise.
41601         (_FP_FMA): Likewise.
41602         (_FP_CMP): Likewise.
41603         (_FP_SQRT): Likewise.
41604         (_FP_TO_INT): Likewise.
41605         (_FP_FROM_INT): Likewise.
41606         (FP_EXTEND): Likewise.
41607         (_FP_DIV_MEAT_N_loop): Likewise.
41609 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41611         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
41612         throughout.
41614 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
41616         [BZ #17097]
41617         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
41618         result with correct sign in case of exponents that produce
41619         overflow except for X very close to 1.
41621 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
41623         mktime: merge #if/#ifdef usage from glibc
41624         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
41625         as that works with both Glibc's and Gnulib's style.
41626         See thread starting at Siddhesh Poyarekar's bug report at:
41627         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
41629 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41631         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
41632         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
41633         * sysdeps/tile/tilegx/memmove.c: Remove file.
41635 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41637         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
41638         abi-name definition.
41639         * scripts/soversions.awk: Do not handle or generate ABI lines.
41640         * shlib-versions: Remove ABI entries.
41641         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
41642         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
41644 2014-06-27  Roland McGrath  <roland@hack.frob.com>
41646         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
41647         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
41648         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
41649         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
41650         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
41651         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
41652         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
41653         Moved ...
41654         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
41655         ... here.
41656         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
41657         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
41658         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
41659         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
41660         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
41661         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
41662         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
41663         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
41664         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
41665         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
41666         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
41667         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
41668         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
41669         Moved ...
41670         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
41671         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
41672         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
41673         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
41674         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
41675         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
41676         Moved ...
41677         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
41678         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
41679         Moved ...
41680         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
41681         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
41682         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
41683         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
41684         Moved ...
41685         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
41686         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
41687         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
41688         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
41689         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
41690         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
41691         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
41692         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
41693         Moved ...
41694         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
41695         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
41696         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
41697         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
41698         Moved ...
41699         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
41700         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
41701         Moved ...
41702         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
41703         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
41704         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
41705         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
41706         Moved ...
41707         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
41708         ... here.
41709         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
41710         Identical file removed.
41711         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
41712         Moved ...
41713         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
41714         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
41715         Identical file removed.
41716         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
41717         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
41718         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
41719         Moved ...
41720         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
41721         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
41722         Identical file removed.
41723         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
41724         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
41725         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
41726         Identical file removed.
41727         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
41728         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
41729         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
41730         Identical file removed.
41731         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
41732         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
41733         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
41734         Identical file removed.
41735         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
41736         Moved ...
41737         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
41738         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
41739         Identical file removed.
41740         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
41741         Moved ...
41742         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
41743         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
41744         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
41745         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
41746         Identical file removed.
41747         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
41748         Moved ...
41749         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
41750         ... here.
41751         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
41752         Identical file removed.
41753         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
41754         Moved ...
41755         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
41756         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
41757         Identical file removed.
41758         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
41759         Moved ...
41760         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
41761         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
41762         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
41763         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
41764         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
41765         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
41766         Moved ...
41767         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
41768         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
41769         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
41771         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
41772         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
41773         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
41774         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
41775         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
41777 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
41779         [BZ #17092]
41780         * nscd/nscd.c (monitor_child): Return exit status of child
41781         instead of return value from wait syscall.
41783 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41785         * configure.ac (libc_commonpagesize): Remove variable.
41786         (libc_relro_required): Likewise.
41787         (libc_cv_z_relro): Remove configure test.
41788         * configure: Regenerated.
41789         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
41790         variable.
41791         (libc_relro_required): Likewise.
41792         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
41793         (libc_relro_required): Likewise.
41794         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
41795         (libc_relro_required): Likewise.
41796         * sysdeps/arm/preconfigure: Regenerated.
41797         * sysdeps/ia64/preconfigure: Remove file.
41798         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
41799         variable.
41800         (libc_relro_required): Likewise.
41802         [BZ #16561]
41803         [BZ #16562]
41804         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
41805         (__ieee754_yn): Set FE_TONEAREST mode internally and then
41806         recompute overflowing results in original rounding mode.
41807         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
41808         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
41809         recompute overflowing results in original rounding mode.
41810         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
41811         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41812         recompute overflowing results in original rounding mode.
41813         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
41814         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41815         recompute overflowing results in original rounding mode.
41816         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
41817         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41818         recompute overflowing results in original rounding mode.
41819         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
41820         (libc_feholdsetround_ctx): New macro.
41821         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
41822         * sysdeps/i386/fpu/libm-test-ulps: Update.
41823         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
41825 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41827         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
41828         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
41829         corresponding .cpsetup call.
41831 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41833         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
41834         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
41835         * sysdeps/arm/Makefile [$(subdir) = csu]
41836         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
41837         (static-only-routines): Add aeabi_read_tp here.
41838         (shared-only-routines): Add libc-aeabi_read_tp here.
41839         (CFLAGS-libc-start.c): Add -fexceptions here.
41840         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
41841         (sysdep_routines, static-only-routines, shared-only-routines):
41842         Don't add to these here.
41843         (CFLAGS-libc-start.c): Likewise.
41845         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
41846         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41847         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
41848         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41849         * sysdeps/arm/Makefile [$(subdir) = rt]
41850         (librt-sysdep_routines, librt-shared-only-routines):
41851         Append rt-aeabi_unwind_cpp_pr1 here.
41852         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
41853         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
41854         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
41855         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41856         Append nptl-aeabi_unwind_cpp_pr1 here.
41857         (tests): Filter out tst-cleanupx4 here.
41858         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
41859         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
41860         Don't do those here.
41862 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41864         * scripts/list-sources.sh: Do not handle ports specially.
41866 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41868         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
41869         * sysdeps/arm/feupdateenv.c: Likewise.
41871         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
41873 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41875         * manual/texinfo.tex: Update to version 2014-05-05.10 with
41876         trailing whitespace removed.
41877         * scripts/config.guess: Update to version 2014-03-23.
41878         * scripts/config.sub: Update to version 2014-05-01
41879         * scripts/install-sh: Update to version 2013-12-25.23.
41880         * scripts/move-if-change: Update from gnulib.
41882 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41884         * debug/memmove_chk.c: Remove pagecopy.h include.
41886 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
41888         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
41889         identical to gnulib mktime.
41891 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41893         * configure.ac: Do not test for machine being rs6000.  Do not test
41894         for powerpc*-*soft.
41895         * configure: Regenerated.
41897         [BZ #11505]
41898         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
41899         test.
41900         * configure: Regenerated.
41901         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
41902         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
41903         Remove configure test.
41904         * sysdeps/arm/configure: Regenerated.
41905         * sysdeps/nptl/configure.ac: Do not check
41906         libc_cv_asm_cfi_directives.
41907         * sysdeps/nptl/configure: Regenerated.
41908         * sysdeps/x86_64/nptl/configure.ac: Remove file.
41909         * sysdeps/x86_64/nptl/configure: Remove generated file.
41910         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
41911         unconditional.
41912         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
41914 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41916         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
41917         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
41918         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
41919         it is defined.
41921         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
41922         instead of whether it is defined.
41923         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
41924         * sysdeps/hppa/dl-machine.h: Likewise.
41925         * sysdeps/ia64/dl-machine.h: Likewise.
41926         * sysdeps/m68k/dl-machine.h: Likewise.
41927         * sysdeps/microblaze/dl-machine.h: Likewise.
41928         * sysdeps/mips/dl-machine.: Likewise.
41929         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41930         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41931         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41932         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41933         * sysdeps/sh/dl-machine.h: Likewise.
41934         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41935         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41936         * sysdeps/tile/dl-machine.h: Likewise.
41937         * sysdeps/x86_64/dl-machine.h: Likewise.
41939         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
41940         code.
41941         (verify_persistent_db): Likewise.
41943 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
41946         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
41947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
41948         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
41949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41950         Moved ...
41951         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
41952         ... here.
41953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
41954         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
41955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
41956         Identical file removed.
41957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
41958         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
41959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
41960         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
41961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
41962         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
41963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
41964         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
41965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
41966         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
41967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41968         Moved ...
41969         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
41970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
41971         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
41972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
41973         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
41974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41975         Moved ...
41976         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
41977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
41978         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
41979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
41980         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
41981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41982         Identical file removed.
41983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
41984         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
41985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
41986         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
41987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41988         Moved ...
41989         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
41990         ... here.
41991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
41992         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
41993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
41994         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
41995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
41996         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
41997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
41998         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
41999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
42000         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
42001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42002         Moved ...
42003         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
42004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
42005         Moved ...
42006         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
42007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
42008         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
42009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42010         Moved ...
42011         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
42012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
42013         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
42015         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
42016         folded into ...
42017         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
42018         * sysdeps/unix/sysv/linux/s390/Versions
42019         (libpthread: GLIBC_2.19): New version set.
42020         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
42021         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
42022         (librt: GLIBC_2.3.3): New version set.
42023         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
42024         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
42025         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
42026         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
42027         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
42028         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
42029         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
42030         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
42031         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
42032         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
42033         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
42034         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
42035         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
42036         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
42037         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
42038         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
42039         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
42040         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
42041         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
42042         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
42043         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
42044         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
42045         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
42046         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
42047         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
42048         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
42049         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
42050         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
42051         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
42052         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
42053         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
42054         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
42055         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
42056         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
42057         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
42058         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
42059         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
42060         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
42061         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
42062         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
42063         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
42064         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
42065         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
42066         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
42067         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
42069         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
42070         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
42071         (__libc_vfork): Define the function under this name.
42072         [!NOT_IN_libc] (__vfork): Make this an alias.
42073         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42074         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
42075         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
42076         (__libc_vfork): Define the function under this name.
42077         [!NOT_IN_libc] (__vfork): Make this an alias.
42078         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42079         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
42080         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
42081         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
42082         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
42083         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42085         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
42086         code that was previously under [RESET_PID].
42087         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
42088         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
42089         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
42091         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
42092         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
42093         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
42094         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
42095         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
42096         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
42097         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
42098         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
42099         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
42100         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
42101         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
42102         Moved ...
42103         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
42104         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
42105         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
42106         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
42107         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
42108         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
42109         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
42110         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
42111         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
42112         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
42113         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
42114         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
42115         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
42116         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
42117         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
42118         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
42119         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
42120         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
42121         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
42122         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
42123         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
42124         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
42125         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
42126         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
42127         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
42128         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
42129         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
42130         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
42131         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
42133 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42135         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
42136         that was previously under [RESET_PID].
42137         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
42139 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42141         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
42142         not undefine and redefine.
42143         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
42144         [O_CLOEXEC]: Make code unconditional.
42145         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
42146         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
42147         <kernel-features.h>.
42148         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
42149         conditional variable definition.
42150         (shm_open) [O_CLOEXEC]: Make code unconditional.
42151         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
42152         code.
42154         * configure.ac (USE_REGPARMS): Don't define here.
42155         * configure: Regenerated.
42156         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
42157         * sysdeps/i386/configure: Regenerated.
42159         * nptl/createthread.c: Don't include kernel-features.h.
42160         * nptl/pthread_cancel.c: Likewise.
42161         * nptl/pthread_condattr_setclock.c: Likewise.
42162         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
42163         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
42164         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
42165         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
42166         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
42167         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
42168         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42169         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
42170         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42171         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
42172         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
42173         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
42174         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
42175         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
42176         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
42177         * nscd/gai.c: Likewise.
42178         * nss/nss_db/db-open.c: Likewise.
42179         * sysdeps/generic/ldsodefs.h: Likewise.
42180         * sysdeps/sh/nptl/tls.h: Likewise.
42181         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42182         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
42183         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
42184         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
42185         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
42186         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42187         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
42188         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42189         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42190         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
42191         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
42192         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42193         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
42194         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
42195         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
42196         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
42197         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
42198         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
42199         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
42200         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
42201         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
42202         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
42203         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
42204         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
42205         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
42206         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
42207         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
42208         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
42209         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42210         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
42211         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
42212         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
42213         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
42214         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42215         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42216         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42217         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42218         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
42219         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
42220         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
42221         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42222         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
42223         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
42224         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42225         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
42226         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
42227         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
42228         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
42229         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
42230         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
42231         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
42232         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
42233         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
42234         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42235         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
42236         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42237         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42238         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
42239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
42241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
42242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
42243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
42244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
42245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
42246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
42247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
42250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
42251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
42252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
42253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
42259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
42260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
42261         * sysdeps/unix/sysv/linux/pread.c: Likewise.
42262         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
42263         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
42264         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
42265         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
42266         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
42267         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
42268         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
42269         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
42270         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
42271         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
42272         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
42273         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
42274         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
42275         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
42276         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
42277         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42278         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
42279         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
42280         * sysdeps/unix/sysv/linux/system.c: Likewise.
42281         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
42282         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
42283         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42284         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42285         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42286         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42287         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42289         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
42290         * configure: Regenerated.
42291         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
42293         * configure.ac (base_machine): Do not set specially for particular
42294         machines here.
42295         * configure: Regenerated.
42296         * sysdeps/powerpc/preconfigure: Move machine and base_machine
42297         settings from configure.ac.
42298         * sysdeps/i386/preconfigure: New file.
42299         * sysdeps/s390/preconfigure: Likewise.
42300         * sysdeps/sh/preconfigure: Likewise.
42301         * sysdeps/sparc/preconfigure: Likewise.
42303 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42305         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
42306         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
42307         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
42308         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
42309         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
42310         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
42311         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
42312         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
42313         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
42314         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
42315         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
42316         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
42317         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
42318         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
42319         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
42320         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
42321         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
42322         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
42323         * sysdeps/sparc/sparc64/Makefile: ... appended here.
42325         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
42326         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
42327         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
42328         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
42329         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
42330         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
42331         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
42332         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
42333         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
42334         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
42335         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
42336         * sysdeps/sparc/sparc32/sem_post.c: ... here.
42337         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
42338         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
42339         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
42340         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
42341         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
42342         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
42343         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
42344         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
42345         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
42346         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
42347         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
42348         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
42349         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
42350         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
42351         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
42352         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
42353         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
42354         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
42355         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
42356         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
42357         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
42358         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
42359         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
42360         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
42361         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
42362         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
42364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
42365         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
42366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
42367         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
42368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42369         Moved ...
42370         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
42371         ... here.
42372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
42373         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
42374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
42375         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
42376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
42377         Moved ...
42378         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
42379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
42380         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
42381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
42382         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
42383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
42384         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
42385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42386         Moved ...
42387         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
42388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42389         Moved ...
42390         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
42391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
42392         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
42393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42394         Moved ...
42395         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
42396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
42397         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
42398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
42399         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
42400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
42401         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
42402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
42403         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
42404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42405         Moved ...
42406         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
42407         ... here.
42408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
42409         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
42410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
42411         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
42412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
42413         Moved ...
42414         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
42415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
42416         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
42417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
42418         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
42419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
42420         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
42421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42422         Moved ...
42423         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
42424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42425         Moved ...
42426         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
42427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
42428         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
42429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42430         Moved ...
42431         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
42432         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
42433         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
42434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
42435         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
42437 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42439         * timezone/checktab.awk: Update from tzcode 2014e.
42440         * timezone/private.h: Likewise.
42441         * timezone/tzfile.h: Likewise.
42442         * timezone/zdump.c: Likewise.
42443         * timezone/zic.c: Likewise.
42445         * sysdeps/unix/sysv/linux/kernel-features.h
42446         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
42447         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
42448         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
42449         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42450         Remove conditional code.
42452 2014-06-25  Will Newton  <will.newton@linaro.org>
42454         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
42455         (_dl_arm_cap_flags): Add HWCAP2 values.
42456         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
42457         (_DL_HWCAP_COUNT): Increase to 37.
42458         (_DL_HWCAP_LAST): New define.
42459         (_DL_HWCAP2_LAST): New define.
42460         (_dl_procinfo): Add support for printing
42461         AT_HWCAP2 entries.
42462         (_dl_string_hwcap): Use _dl_hwcap_string.
42464 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42468 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42470         * README: Do not mention ports directory.
42472         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
42473         Remove macro.
42474         * sysdeps/unix/sysv/linux/futimes.c: Do not include
42475         <kernel-features.h>.
42476         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
42477         conditional variable definition.
42478         (__futimes): Update comment.
42479         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
42480         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
42482         [BZ #16560]
42483         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
42484         arguments close to 0.
42485         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
42486         Likewise.
42487         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
42488         Likewise.
42489         * math/auto-libm-test-in: Add more tests of exp10.
42490         * math/auto-libm-test-out: Regenerated.
42491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42493         * sysdeps/unix/sysv/linux/kernel-features.h
42494         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
42495         * sysdeps/unix/sysv/linux/readv.c: Do not include
42496         <kernel-features.h>.
42497         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42498         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42499         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42500         unconditional.
42501         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42502         conditional code.
42503         * sysdeps/unix/sysv/linux/writev.c: Do not include
42504         <kernel-features.h>.
42505         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42506         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42507         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42508         unconditional.
42509         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42510         conditional code.
42512 2014-06-25  Will Newton  <will.newton@linaro.org>
42514         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
42515         comment changes throughout the file.  Remove checks
42516         for HAVE_*_H definitions that are not required.
42517         (__gen_tempname): Call abort if an unknown kind value is
42518         passed.
42520 2014-06-25  Andreas Schwab  <schwab@suse.de>
42522         [BZ #17086]
42523         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
42524         scalbln, scalblnf, scalblnl in libc.
42526 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42528         [BZ #17086]
42529         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
42530         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42531         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42533 2014-06-24  Roland McGrath  <roland@hack.frob.com>
42535         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
42536         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
42537         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
42538         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
42539         Update #include.
42540         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
42541         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
42542         Update #include.
42543         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
42544         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
42545         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
42546         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
42547         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
42548         * sysdeps/x86/bits/pthreadtypes.h: ... here.
42549         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
42550         * sysdeps/x86/bits/semaphore.h: ... here.
42551         * sysdeps/x86/nptl/elide.h: Moved ...
42552         * sysdeps/x86/elide.h: ... here.
42553         * sysdeps/x86_64/nptl/Implies: File removed.
42554         * sysdeps/i386/nptl/Implies: File removed.
42556 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
42558         [BZ #16539]
42559         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
42560         return the argument for normal arguments with exponent below -64.
42561         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42562         Likewise.
42563         * math/auto-libm-test-in: Add another test of expm1.
42564         * math/auto-libm-test-out: Regenerated.
42566         [BZ #16287]
42567         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
42568         calling __erfcl for arguments at least 16.
42569         * math/auto-libm-test-in: Add more tests of erf.
42570         * math/auto-libm-test-out: Regenerated.
42572         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
42573         individual architectures.
42574         * sysdeps/unix/sysv/linux/configure: Regenerated.
42575         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
42576         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
42577         * sysdeps/unix/sysv/linux/powerpc/configure.ac
42578         (ldd_rewrite_script): Define variable.
42579         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
42581         file.
42582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
42583         generated file.
42584         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
42585         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
42586         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
42587         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
42588         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
42589         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
42590         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
42591         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
42593 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42595         [BZ #17084]
42596         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
42597         Rename member __data.d to __data.__elision_data.
42599 2014-06-24  Wilco  <wdijkstr@arm.com>
42601         * NEWS: Add 16918 to fixed bug list.
42603 2014-06-24  Wilco  <wdijkstr@arm.com>
42605         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
42607 2014-06-24  Wilco  <wdijkstr@arm.com>
42609         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
42610         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
42611         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
42612         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
42613         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
42614         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
42615         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
42616         Use _FPU_MASK_RM.
42618 2014-06-24  Wilco  <wdijkstr@arm.com>
42620         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
42622 2014-06-24  Wilco  <wdijkstr@arm.com>
42624         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
42625         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
42626         * sysdeps/arm/fesetround.c (fesetround): Remove space.
42627         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
42629 2014-06-24  Wilco  <wdijkstr@arm.com>
42631         [BZ #16918]
42632         * sysdeps/arm/feupdateenv.c (feupdateenv):
42633         Rewrite to reduce FPSCR accesses and fix return value.
42635 2014-06-24  Wilco  <wdijkstr@arm.com>
42637         * sysdeps/arm/fclrexcpt.c (feclearexcept):
42638         Optimize to avoid unnecessary FPSCR writes.
42639         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
42640         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
42641         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
42642         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
42644 2014-06-24  Wilco  <wdijkstr@arm.com>
42646         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
42647         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
42648         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
42649         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
42650         Call libc_fetestexcept_vfp.
42651         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
42652         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
42653         __SOFTFP__ ifdef so that they can be built for softfp.
42655 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42657         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
42658         argument type signed char.
42660         * Makerules (check-abi): Dump diff of symlist if the test
42661         fails.
42663 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42665         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
42666         using abort.
42668         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42669         Remove unused variable ST.
42671 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42673         [BZ #16354]
42674         [BZ #17061]
42675         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
42676         small arguments before calling __expm1.
42677         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
42678         small arguments before calling __expm1f.
42679         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
42680         small arguments before calling __expm1l.
42681         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42682         Likewise.
42683         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
42684         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
42685         spurious underflow for some cosh tests.
42686         * math/auto-libm-test-out: Regenerated.
42687         * sysdeps/i386/fpu/libm-test-ulps: Update.
42689         [BZ #17050]
42690         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
42691         (__ieee754_y1): Set errno if return value overflows.
42692         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
42693         (__ieee754_y1f): Set errno if return value overflows.
42694         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
42695         (__ieee754_y1l): Set errno if return value overflows.
42696         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
42697         (__ieee754_y1l): Set errno if return value overflows.
42698         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
42699         * math/auto-libm-test-out: Regenerated.
42701         * math/gen-auto-libm-tests.c: Document use of
42702         ignore-zero-inf-sign.
42703         (input_flag_type): Add value flag_ignore_zero_inf_sign.
42704         (input_flags): Add ignore-zero-inf-sign.
42705         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
42706         * math/gen-libm-test.pl (generate_testfile): Handle
42707         ignore-zero-inf-sign.
42708         * math/auto-libm-test-in: Mark some cpow tests with
42709         ignore-zero-inf-sign and some with xfail-rounding.
42710         * math/auto-libm-test-out: Regenerated.
42711         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
42712         * sysdeps/i386/fpu/libm-test-ulps: Update.
42713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42715         [BZ #16315]
42716         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
42717         overflowing or underflowing operations take place with sign of
42718         result.
42719         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42720         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42721         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
42722         (__ieee754_pow): Recompute overflowing and underflowing results in
42723         original rounding mode.
42724         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
42725         (__powl_helper): Allow negative argument X and scale negated value
42726         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
42727         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
42728         overflowing or underflowing operations take place with sign of
42729         result.
42730         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
42731         Include <math.h>.
42732         * math/auto-libm-test-in: Add more tests of pow.
42733         * math/auto-libm-test-out: Regenerated.
42734         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
42735         (pow_tonearest_test_data): Remove.
42736         (pow_test_tonearest): Likewise.
42737         (pow_towardzero_test_data): Likewise.
42738         (pow_test_towardzero): Likewise.
42739         (pow_downward_test_data): Likewise.
42740         (pow_test_downward): Likewise.
42741         (pow_upward_test_data): Likewise.
42742         (pow_test_upward): Likewise.
42743         (main): Don't call removed functions.
42744         * sysdeps/i386/fpu/libm-test-ulps: Update.
42745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42747 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
42750         Moved ...
42751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
42752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42753         Moved ...
42754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
42755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42756         Moved ...
42757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
42758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42759         Moved ...
42760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
42761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42762         File removed.
42763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42764         File removed.
42765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
42766         File removed.
42767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
42768         File removed.
42769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
42770         File removed.
42771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
42772         File removed.
42773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
42774         File removed.
42775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42776         File removed.
42777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
42778         File removed.
42779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42780         File removed.
42781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
42782         File removed.
42783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
42784         File removed.
42785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
42786         Moved ...
42787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
42788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
42789         Moved ...
42790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
42791         ... here.
42792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
42793         Moved ...
42794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
42795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
42796         Moved ...
42797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
42798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
42799         Moved ...
42800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
42801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
42802         Moved ...
42803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
42804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
42805         Moved ...
42806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
42807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
42808         Moved ...
42809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
42810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
42811         Moved ...
42812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
42813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
42814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
42815         ... here.
42816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
42817         Moved ...
42818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
42819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42820         Moved ...
42821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
42822         ... here.
42823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
42824         Moved ...
42825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
42826         ... here.
42827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42828         Moved ...
42829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42830         ... here.
42831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42832         Moved ...
42833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
42834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42835         Moved ...
42836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
42837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
42838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
42839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42840         Moved ...
42841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
42842         ... here.
42843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42844         Moved ...
42845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
42846         ... here.
42847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42848         Moved ...
42849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
42850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42851         Moved ...
42852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
42853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42854         Moved ...
42855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
42856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42857         Moved ...
42858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
42859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42860         Moved ...
42861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
42862         ... here.
42863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42864         Moved ...
42865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
42866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42867         Moved ...
42868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
42869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42870         Moved ...
42871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
42872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42873         Moved ...
42874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
42875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
42876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
42877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42878         Moved ...
42879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
42880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42881         Moved ...
42882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
42883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42884         Moved ...
42885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
42886         ... here.
42887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42888         Moved ...
42889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
42890         ... here.
42891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42892         Moved ...
42893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
42894         ... here.
42895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42896         Moved ...
42897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
42898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42899         Moved ...
42900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
42901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42902         Moved ...
42903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
42904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42905         Moved ...
42906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
42907         ... here.
42908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42909         Moved ...
42910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
42911         ... here.
42912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42913         Moved ...
42914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
42915         ... here.
42916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42917         Moved ...
42918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
42919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42920         Moved ...
42921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
42923 2014-06-23  Will Newton  <will.newton@linaro.org>
42924             Wilco  <wdijkstr@arm.com>
42926         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
42927         implementation.  Include get-rounding-mode.h.
42928         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
42929         [!libc_feholdsetround_noex_ctx]: Define
42930         libc_feholdsetround_noex_ctx.
42931         [!libc_feholdsetround_noexf_ctx]: Define
42932         libc_feholdsetround_noexf_ctx.
42933         [!libc_feholdsetround_noexl_ctx]: Define
42934         libc_feholdsetround_noexl_ctx.
42935         (libc_feholdsetround_ctx): New function.
42936         (libc_feresetround_ctx): New function.
42937         (libc_feholdsetround_noex_ctx): New function.
42938         (libc_feresetround_noex_ctx): New function.
42940 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42942         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
42943         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
42944         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
42945         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
42946         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
42947         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
42949         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
42950         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
42951         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
42952         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
42953         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
42954         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
42955         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
42956         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
42957         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
42958         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
42959         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
42960         Moved ...
42961         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
42962         ... here.
42963         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
42964         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
42965         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
42966         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
42967         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
42968         Moved ...
42969         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
42970         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
42971         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
42972         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
42973         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
42974         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
42975         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
42976         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
42977         Moved ...
42978         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
42979         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
42980         Moved ...
42981         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
42982         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
42983         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
42984         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
42985         Moved ...
42986         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
42987         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
42988         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
42989         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
42990         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
42991         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
42992         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
42993         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
42994         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
42995         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
42996         Moved ...
42997         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
42998         ... here.
42999         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
43000         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
43001         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
43002         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
43003         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
43004         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
43005         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
43006         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
43007         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
43008         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
43009         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
43010         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
43011         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
43012         Moved ...
43013         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
43014         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
43015         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
43016         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
43017         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
43018         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
43019         Moved ...
43020         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
43021         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
43022         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
43023         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
43024         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
43026         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
43027         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
43028         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
43029         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
43030         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
43031         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
43032         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
43033         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
43034         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
43035         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
43036         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
43037         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
43038         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
43039         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
43040         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
43041         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
43042         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
43043         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
43044         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
43045         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
43046         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
43047         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
43048         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
43049         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
43050         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
43051         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
43052         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
43053         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
43055 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43057         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
43058         (FALLOC_FL_COLLAPSE_RANGE): New macro.
43059         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
43060         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
43061         (IPV6_PMTUDISC_INTERFACE): Likewise.
43062         (IPV6_PMTUDISC_OMIT): Likewise.
43064 2014-06-23  Andreas Schwab  <schwab@suse.de>
43066         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
43067         Remove unused errout label.
43069 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43071         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
43072         macro: hardware supports Vector Crypto instructions.
43074 2014-06-23  Will Newton  <will.newton@linaro.org>
43076         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
43077         rather than __builtin_expect.
43079         * elf/dl-lookup.c (undefined_msg): Remove variable.
43080         (_dl_lookup_symbol_x): Replace undefined_msg with string
43081         literal.
43083         * elf/dl-lookup.c (do_lookup_unique): New function.
43084         (do_lookup_x): Move STB_GNU_UNIQUE handling code
43085         to a separate function.
43087 2014-06-23  Andreas Schwab  <schwab@suse.de>
43089         [BZ #17079]
43090         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
43091         before reading the next line.
43093 2014-06-23  Will Newton  <will.newton@linaro.org>
43095         * test-skeleton.c (signal_handler): Use printf and %m
43096         rather than perror.  Use printf rather than fprintf to
43097         stderr.  Use puts rather than fputs to stderr.
43098         (main): Likewise.
43100 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
43102         * nscd/nscd.c (thread_info_t): Remove typedef.
43103         (thread_info): Remove variable.
43105 2014-06-21  Allan McRae  <allan@archlinux.org>
43107         * NEWS: Mention CVE-2014-4043.
43109 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43111         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
43112         * nptl/smp.h: ... here.
43114         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
43116         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
43117         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
43118         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
43119         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
43121         * nptl/allocatestack.c: Include <stack-aliasing.h>.
43122         * nptl/stack-aliasing.h: New file.
43123         * sysdeps/i386/i686/stack-aliasing.h: New file.
43124         * sysdeps/i386/i686/nptl/Makefile: File removed.
43125         * sysdeps/x86_64/stack-aliasing.h: New file.
43126         * sysdeps/x86_64/nptl/Makefile
43127         (CFLAGS-pthread_create.c): Variable removed.
43129         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
43130         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
43131         old file.
43132         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
43133         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
43134         old file.
43136 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
43138         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43139         (__ASSUME_SIGFRAME_V2): Remove macro.
43140         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
43141         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
43142         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
43143         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
43144         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
43145         Declare as function.  Remove conditional macro definitions.
43146         (__default_rt_sa_restorer): Likewise.
43147         (__default_sa_restorer_v1): Remove declaration.
43148         (__default_sa_restorer_v2): Likewise.
43149         (__default_rt_sa_restorer_v1): Likewise.
43150         (__default_rt_sa_restorer_v2): Likewise.
43151         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
43152         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
43153         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
43155 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43157         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
43158         (libpthread-routines): Add sysdep.
43159         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
43160         * sysdeps/unix/sysv/linux/sparc/Versions
43161         (libpthread: GLIBC_2.3.3): New version set.
43162         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
43163         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
43164         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
43165         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
43166         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
43167         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
43168         Moved ...
43169         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
43170         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
43171         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
43172         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
43173         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
43174         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
43175         * sysdeps/sparc/nptl/sem_init.c: ... here.
43176         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
43177         * sysdeps/sparc/nptl/sem_post.c: ... here.
43178         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
43179         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
43180         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
43181         * sysdeps/sparc/nptl/sem_wait.c: ... here.
43182         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
43183         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
43184         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
43185         (libpthread-routines): Add cpu_relax.
43186         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
43187         File removed.
43188         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
43189         (librt: GLIBC_2.3.3): New version set.
43190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
43191         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
43192         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
43193         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
43194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
43195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
43196         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
43197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
43198         Moved ...
43199         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
43200         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
43201         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
43202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
43203         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
43204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
43205         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
43206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
43207         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
43208         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
43209         Moved ...
43210         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
43211         Update #include.
43212         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
43213         Moved ...
43214         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
43215         Update #include.
43216         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
43217         Moved ...
43218         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
43219         Update #include.
43220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
43221         Moved ...
43222         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
43223         Update #include.
43224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
43225         Moved ...
43226         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
43227         Update #include.
43228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
43229         Moved ...
43230         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
43231         Update #include.
43232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
43233         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
43234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
43235         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
43236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
43237         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
43238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
43239         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
43240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
43241         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
43242         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43243         Moved ...
43244         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
43245         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
43246         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
43247         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
43248         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
43250 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43252         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
43253         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
43254         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43255         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
43256         * nscd/nscd.c: Likewise.
43257         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
43258         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
43259         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
43260         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
43262         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
43263         <kernel-features.h>.
43264         (init_mq_netlink): Remove conditional have_sock_cloexec
43265         definitions.  Remove code conditional on have_sock_cloexec < 0.
43266         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
43267         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
43268         * sysdeps/unix/sysv/linux/opensock.c: Do not include
43269         <kernel-features.h>.
43270         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
43271         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
43273 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43275         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43276         Add tests for memset_chk and memset.
43278         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
43279         with AVX2_Usable.
43281 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43283         [BZ #16046]
43284         * elf/tst-dl-iter-static.c: New file.
43285         * elf/Makefile (tests-static): Add tst-dl-iter-static.
43287         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
43288         error.
43290 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43292         * sysdeps/unix/sysv/linux/kernel-features.h
43293         (__ASSUME_F_GETOWN_EX): Remove macro.
43294         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
43295         <kernel-features.h>.
43296         (miss_F_GETOWN_EX): Remove variable or macro.
43297         (do_fcntl): Do not check miss_F_GETOWN_EX.
43298         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
43300         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
43301         Remove macro.
43302         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
43303         [!__ASSUME_AT_RANDOM]: Remove conditional code.
43304         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
43306         * sysdeps/unix/sysv/linux/kernel-features.h
43307         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
43308         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
43309         [ADJ_OFFSET_SS_READ]: Make code unconditional.
43310         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
43312 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43314         [BZ #17075]
43315         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
43316         Fix calculation of the symbol's value.
43317         * sysdeps/arm/tst-armtlsdescloc.c: New file.
43318         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
43319         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
43320         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
43321         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
43322         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
43323         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
43324         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
43325         (modules-names): Add `tst-armtlsdescmod',
43326         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
43327         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
43328         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43329         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
43330         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
43331         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43332         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
43333         ($(objpfx)tst-armtlsdescloc): New dependency.
43334         ($(objpfx)tst-armtlsdescextnow): Likewise.
43335         ($(objpfx)tst-armtlsdescextlazy): Likewise.
43336         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
43337         TLS scheme support.
43338         * sysdeps/arm/configure: Regenerate.
43340 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43342         * include/fcntl.h (__atfct_seterrno): Remove prototype.
43343         (__atfct_seterrno_2): Likewise.
43344         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
43345         <kernel-features.h>.
43346         (__ASSUME_ATFCTS): Do not undefine and redefine.
43347         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
43348         (__have_atfcts): Remove conditional definition.
43349         (__fxstatat([__NR_fstatat64]: Make code unconditional.
43350         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
43351         unreachable if [__ASSUME_ATFCTS].
43352         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
43353         not undefine and redefine.
43354         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
43355         <kernel-features.h>.
43356         (faccessat) [__NR_faccessat]: Make code unconditional.
43357         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
43358         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
43359         <kernel-features.h>.
43360         (fchmodat) [__NR_fchmodat]: Make code unconditional.
43361         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43362         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
43363         <kernel-features.h>.
43364         (fchownat) [__NR_fchownat]: Make code unconditional.
43365         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
43366         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
43367         <kernel-features.h>.
43368         (futimesat) [__NR_futimesat]: Make code unconditional.
43369         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
43370         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43371         <kernel-features.h>.
43372         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43373         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43374         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43375         <kernel-features.h>.
43376         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
43377         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43378         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
43379         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43380         <kernel-features.h>.
43381         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
43382         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43383         * sysdeps/unix/sysv/linux/linkat.c: Do not include
43384         <kernel-features.h>.
43385         (linkat) [__NR_linkat]: Make code unconditional.
43386         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43387         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
43388         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
43389         <kernel-features.h>.
43390         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
43391         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43392         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
43393         <kernel-features.h>.
43394         (mkdirat) [__NR_mkdirat]: Make code unconditional.
43395         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
43396         * sysdeps/unix/sysv/linux/openat.c: Do not include
43397         <kernel-features.h>.
43398         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
43399         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
43400         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
43401         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
43402         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
43403         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
43404         <kernel-features.h>.
43405         (readlinkat) [__NR_readlinkat]: Make code unconditional.
43406         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
43407         result of INLINE_SYSCALL directly, not via int variable.
43408         * sysdeps/unix/sysv/linux/renameat.c: Do not include
43409         <kernel-features.h>.
43410         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
43411         (renameat) [__NR_renameat]: Make code unconditional.
43412         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
43413         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
43414         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
43415         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
43416         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
43417         (__ASSUME_ATFCTS): Do not undefine and redefine.
43418         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
43419         <kernel-features.h>.
43420         (symlinkat) [__NR_symlinkat]: Make code unconditional.
43421         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43422         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
43423         <kernel-features.h>.
43424         (unlinkat) [__NR_unlinkat]: Make code unconditional.
43425         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43426         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
43427         (__ASSUME_ATFCTS): Do not undefine and redefine.
43428         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43429         <kernel-features.h>.
43430         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43431         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43432         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43433         <kernel-features.h>.
43434         (__xmknodat) [__NR_mknodat]: Make code unconditional.
43435         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43437 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43439         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
43441 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
43443         [BZ #17069]
43444         * posix/regcomp.c (parse_reg_exp): Deallocate partially
43445         constructed tree before returning error.
43446         * posix/bug-regexp36.c: Expand test case.
43448 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
43450         [BZ #6803]
43451         * math/libm-test.inc (scalbln_test_date):
43452         Add errno expectations.
43453         * math/w_scalblnf.c: New File.
43454         Add wrapper which checks for setting errno to ERANGE.
43455         Add weak_alias for corresponding scalbln function.
43456         * math/w_scalbln.c: Likewise.
43457         * math/w_scalblnl.c: Likewise.
43458         * math/Makefile (libm-calls): Add w_scalbln.
43459         * sysdeps/ieee754/flt-32/s_scalblnf.c:
43460         Remove weak_alias for corresponding scalbln function.
43461         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43462         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43463         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43464         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43465         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
43466         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43467         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
43468         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43469         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
43470         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
43471         Remove long_double_symbol for scalblnl function in libm, libc.
43472         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
43473         Add wrapper which checks for setting errno to ERANGE.
43474         Add long_double_symbol for scalblnl function in libm, libc.
43475         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
43476         Remove long_double_symbol for scalblnl in libm.
43477         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
43478         Add wrapper which checks for setting errno to ERANGE.
43479         Add long_double_symbol for scalblnl function in libm.
43480         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
43481         Do not use wrapper because of own implementation.
43483 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
43485         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
43486         3 bytes for __pad1 for x32.
43487         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
43489 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
43490             H.J. Lu  <hongjiu.lu@intel.com>
43492         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
43493         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
43494         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43495         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43496         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
43498 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
43500         [BZ #17069]
43501         * posix/regcomp.c (parse_expression): Deallocate partially
43502         constructed tree before returning error.
43503         * posix/Makefile.c (tests): Add bug-regex36.
43504         (generated): Add bug-regex36.mtrace.
43505         (tests-special): Add $(objpfx)bug-regex36-mem.out
43506         (bug-regex36-ENV): New variable.
43507         ($(objpfx)bug-regex36-mem.out): New rule.
43508         * posix/bug-regex36.c: New file.
43510 2014-06-19  Will Newton  <will.newton@linaro.org>
43512         * malloc/malloc.c (systrim): If extra is zero then return
43513         early.
43515 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43517         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
43519 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
43521         * sysdeps/aarch64/strchr.S: New file.
43523 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43525         [BZ #17022]
43526         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
43527         from arguments -2 or below.
43528         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43529         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
43531 2014-06-18  Andreas Schwab  <schwab@suse.de>
43533         [BZ #17062]
43534         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
43535         of a bracket expr not to run off the end of the string.
43536         * posix/Makefile (tests): Add tst-fnmatch3.
43537         * posix/tst-fnmatch3.c: New file.
43539 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43541         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
43542         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43543         [$(cross-compiling) = no]: Likewise.
43544         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43545         [$(cross-compiling) = no]: Likewise.
43547 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43549         [BZ #17031]
43550         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
43551         double, adjusted for any remainder from the high double.
43552         * math/libm-test.inc (nearbyint): Add tests.
43553         (rint): Likewise.
43555 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43557         * nptl/sysdeps/powerpc/Makefile: Moved ...
43558         * sysdeps/powerpc/nptl/Makefile: ... here.
43559         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
43560         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
43561         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
43562         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
43563         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
43564         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
43565         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
43566         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
43567         * nptl/sysdeps/powerpc/tls.h: Moved ...
43568         * sysdeps/powerpc/nptl/tls.h: ... here.
43570 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
43572         [BZ #16681]
43573         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
43574         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
43575         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
43576         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
43577         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
43578         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
43579         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
43580         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
43581         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
43583 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
43585         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43587 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
43589         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
43590         defined operator.
43592         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
43593         $TIMEOUTFACTOR.
43595 2014-06-16  Florian Weimer  <fweimer@redhat.com>
43597         [BZ #17058]
43598         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
43599         non-executed part of the test.
43601 2014-06-16  Andreas Schwab  <schwab@suse.de>
43603         * string/bits/string2.h (strdup, strndup): Update feature guard.
43605 2014-06-14  David S. Miller  <davem@davemloft.net>
43607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43609 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
43611         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
43612         that was previously under [RESET_PID].
43613         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
43615         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
43616         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
43617         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
43618         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43619         (__libc_vfork): New strong alias.
43620         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
43622 2014-06-14 Andi Kleen  <ak@linux.intel.com>
43624         * sysdeps/generic/elide.h: New file.
43626 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43628         * Makefile (installed-headers): Adjust path of pthread.h header.
43630 2014-06-13  Roland McGrath  <roland@hack.frob.com>
43632         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
43633         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
43634         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
43635         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
43637         * nptl/sysdeps/s390/Makefile: Moved ...
43638         * sysdeps/s390/nptl/Makefile: ... here.
43639         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
43640         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
43641         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
43642         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
43643         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
43644         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
43645         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
43646         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
43647         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
43648         * sysdeps/s390/nptl/pthreaddef.h: ... here.
43649         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
43650         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
43651         * nptl/sysdeps/s390/tls.h: Moved ...
43652         * sysdeps/s390/nptl/tls.h: ... here.
43654         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
43655         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
43657 2014-06-13  David S. Miller  <davem@davemloft.net>
43659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
43660         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
43661         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
43662         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
43663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
43664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
43665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
43666         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
43667         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
43668         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
43669         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
43670         Remove RESET_PID cpp guards.
43671         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
43672         Remove RESET_PID cpp guards.
43673         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
43675 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
43677         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
43678         __sp to uintptr_t.
43680 2014-06-13  Andi Kleen  <ak@linux.intel.com>
43682         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
43683         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
43684         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
43685         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
43686         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
43687         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
43688         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
43689         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
43690         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
43691         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
43692         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
43693         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
43694         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
43695         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
43696         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
43697         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
43698         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
43699         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
43700         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
43701         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
43703         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
43704         (pthread_rwlock_rdlock): Add elision.
43705         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
43706         (pthread_rwlock_wrlock): Add elision.
43707         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
43708         (pthread_rwlock_trywrlock): Add elision.
43709         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
43710         (pthread_rwlock_tryrdlock): Add elision.
43711         * nptl/pthread_rwlock_unlock.c: Include elide.h.
43712         (pthread_rwlock_tryrdlock): Add elision unlock.
43713         * nptl/sysdeps/pthread/pthread.h:
43714         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
43715         (PTHREAD_RWLOCK_INITIALIZER,
43716         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
43717         Handle new elision field.
43718         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
43719         * sysdeps/arm/nptl/bits/pthreadtypes.h
43720         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43721         * sysdeps/sh/nptl/bits/pthreadtypes.h
43722         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43723         * sysdeps/tile/nptl/bits/pthreadtypes.h
43724         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43725         * sysdeps/a/nptl/bits/pthreadtypes.h
43726         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43727         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43728         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43729         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43730         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43731         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
43732         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43733         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43734         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43735         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43736         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43737         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43738         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43739         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43740         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43741         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
43742         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43743         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
43744         (elision_init): Set try_xbegin to zero when no RTM.
43745         * sysdeps/x86/nptl/bits/pthreadtypes.h
43746         (pthread_rwlock_t): Change __pad1 to __rwelision.
43747         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43749 2014-06-13  Andi Kleen  <ak@linux.intel.com>
43751         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
43752         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
43753         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
43754         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
43756 2014-06-13  Meador Inge  <meadori@codesourcery.com>
43758         [BZ #16996]
43759         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
43760         that the cached result has been set before returning it.
43762 2014-06-12  Roland McGrath  <roland@hack.frob.com>
43764         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
43765         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
43766         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
43767         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
43768         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
43769         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
43771         * nptl/sysdeps/sparc/Makefile: Moved ...
43772         * sysdeps/sparc/nptl/Makefile: ... here.
43773         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
43774         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
43775         * nptl/sysdeps/sparc/tls.h: Moved ...
43776         * sysdeps/sparc/nptl/tls.h: ... here.
43777         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
43778         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
43779         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
43780         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
43781         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
43782         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
43783         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
43784         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
43785         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
43786         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
43787         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
43788         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
43789         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
43790         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
43791         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
43792         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
43793         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
43794         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
43795         Update #include.
43796         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
43797         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
43798         Update #include.
43799         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
43800         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
43801         Update #include.
43802         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
43803         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
43804         Update #include.
43806         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43808         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
43809         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
43811         * sysdeps/pthread/posix-timer.h: Include <list.h>.
43812         (struct list_links): Type removed.
43813         (struct thread_node, struct timer_node): Replace struct list_links
43814         with struct list_head.
43815         (list_unlink_ip): Likewise.
43816         * sysdeps/pthread/timer_routines.c
43817         (timer_free_list, thread_free_list, thread_active_list): Likewise.
43818         (list_append, list_insbefore): Likewise.
43819         (list_init): Function removed.
43820         (thread_init, init_module): Use INIT_LIST_HEAD instead.
43821         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
43822         * sysdeps/pthread/Makefile: ... here, new file.
43824         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
43825         * sysdeps/nptl/Implies: ... here.
43826         * sysdeps/unix/sysv/linux/Implies: Add nptl.
43827         * nptl/sysdeps/pthread/list.h: Moved ...
43828         * include/list.h: ... here.
43829         * nptl/sysdeps/pthread/createthread.c: Moved ...
43830         * nptl/createthread.c: ... here.
43831         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
43832         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
43833         * nptl/pt-longjmp.c: ... here.
43834         * nptl/sysdeps/pthread/Makefile: Moved ...
43835         * sysdeps/nptl/Makefile: ... here.
43836         * nptl/sysdeps/pthread/Subdirs: Moved ...
43837         * sysdeps/nptl/Subdirs: ... here.
43838         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
43839         * sysdeps/nptl/aio_misc.h: ... here.
43840         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
43841         * sysdeps/nptl/bits/libc-lock.h: ... here.
43842         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
43843         * sysdeps/nptl/bits/libc-lockP.h: ... here.
43844         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
43845         * sysdeps/nptl/bits/stdio-lock.h: ... here.
43846         * nptl/sysdeps/pthread/configure: Moved ...
43847         * sysdeps/nptl/configure: ... here.
43848         * nptl/sysdeps/pthread/configure.ac: Moved ...
43849         * sysdeps/nptl/configure.ac: ... here.
43850         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
43851         * sysdeps/nptl/gai_misc.h: ... here.
43852         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
43853         * sysdeps/nptl/librt-cancellation.c: ... here.
43854         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
43855         * sysdeps/nptl/malloc-machine.h: ... here.
43856         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
43857         * sysdeps/nptl/pthread-functions.h: ... here.
43858         * nptl/sysdeps/pthread/pthread.h: Moved ...
43859         * sysdeps/nptl/pthread.h: ... here.
43860         * nptl/sysdeps/pthread/setxid.h: Moved ...
43861         * sysdeps/nptl/setxid.h: ... here.
43862         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
43863         * sysdeps/nptl/sigfillset.c: ... here.
43864         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
43865         * sysdeps/nptl/tcb-offsets.h: ... here.
43866         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
43867         * sysdeps/nptl/tst-mqueue8x.c: ... here.
43868         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
43869         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
43870         * nptl/sysdeps/pthread/allocalim.h: Moved ...
43871         * sysdeps/pthread/allocalim.h: ... here.
43872         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
43873         * sysdeps/pthread/bits/sigthread.h: ... here.
43874         * nptl/sysdeps/pthread/flockfile.c: Moved ...
43875         * sysdeps/pthread/flockfile.c: ... here.
43876         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
43877         * sysdeps/pthread/ftrylockfile.c: ... here.
43878         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
43879         * sysdeps/pthread/funlockfile.c: ... here.
43880         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
43881         * sysdeps/pthread/posix-timer.h: ... here.
43882         * nptl/sysdeps/pthread/timer_create.c: Moved ...
43883         * sysdeps/pthread/timer_create.c: ... here.
43884         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
43885         * sysdeps/pthread/timer_delete.c: ... here.
43886         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
43887         * sysdeps/pthread/timer_getoverr.c: ... here.
43888         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
43889         * sysdeps/pthread/timer_gettime.c: ... here.
43890         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
43891         * sysdeps/pthread/timer_routines.c: ... here.
43892         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
43893         * sysdeps/pthread/timer_settime.c: ... here.
43894         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
43895         * sysdeps/pthread/tst-timer.c: ... here.
43896         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
43897         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
43899         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
43900         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
43902         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
43903         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
43904         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
43905         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
43906         Update #include target.
43907         * nptl/sysdeps/i386/i686/Makefile: Moved ...
43908         * sysdeps/i386/i686/nptl/Makefile: ... here.
43909         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
43910         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
43911         Update #include target.
43912         * nptl/sysdeps/i386/i686/tls.h: Moved ...
43913         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
43914         * nptl/sysdeps/i386/Makefile: Moved ...
43915         * sysdeps/i386/nptl/Makefile: ... here.
43916         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
43917         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
43918         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
43919         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
43920         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
43921         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
43922         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
43923         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
43924         * sysdeps/i386/nptl/pthreaddef.h: ... here.
43925         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
43926         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
43927         * nptl/sysdeps/i386/tls.h: Moved ...
43928         * sysdeps/i386/nptl/tls.h: ... here.
43930         * sysdeps/sh/Makefile [$(subdir) = csu]
43931         (gen-as-const-headers): Add tcb-offsets.sym.
43932         * nptl/sysdeps/sh/Makefile: File removed.
43933         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
43934         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
43935         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
43936         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
43937         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
43938         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
43939         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
43940         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
43941         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
43942         * sysdeps/sh/nptl/pthreaddef.h: ... here.
43943         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
43944         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
43945         * nptl/sysdeps/sh/tls.h: Moved ...
43946         * sysdeps/sh/nptl/tls.h: ... here.
43947         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
43948         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
43949         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
43950         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
43951         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
43952         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
43953         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
43954         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
43955         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
43956         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
43957         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
43958         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
43959         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
43960         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
43961         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
43962         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
43963         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
43964         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
43965         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
43966         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
43967         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
43968         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
43969         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
43970         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
43971         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
43972         Moved ...
43973         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
43974         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
43975         Moved ...
43976         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
43977         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
43978         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
43979         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
43980         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
43981         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
43982         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
43983         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
43984         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
43985         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
43986         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
43987         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
43988         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
43989         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
43990         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
43991         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
43992         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
43993         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
43994         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
43996 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
43998         * posix/spawn_faction_addopen.c: Include string.h.
44000 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44002         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
44003         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
44004         * nptl/sysdeps/x86_64/Makefile: Moved ...
44005         * sysdeps/x86_64/nptl/Makefile: ... here.
44006         * nptl/sysdeps/x86_64/configure: Moved ...
44007         * sysdeps/x86_64/nptl/configure: ... here.
44008         * nptl/sysdeps/x86_64/configure.ac: Moved ...
44009         * sysdeps/x86_64/nptl/configure.ac: ... here.
44010         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
44011         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
44012         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
44013         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
44014         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
44015         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
44016         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
44017         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
44018         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
44019         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
44020         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
44021         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
44022         * nptl/sysdeps/x86_64/tls.h: Moved ...
44023         * sysdeps/x86_64/nptl/tls.h: ... here.
44024         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
44025         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
44026         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
44027         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
44029         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
44031 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44035 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
44037         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
44038         type.
44039         [POSIX] (off_t): Likewise.
44040         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
44041         [POSIX] (S_ISBLK): Require macro.
44042         [POSIX] (S_ISCHR): Likewise.
44043         [POSIX] (S_ISDIR): Likewise.
44044         [POSIX] (S_ISFIFO): Likewise.
44045         [POSIX] (S_ISREG): Likewise.
44046         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
44047         optional-macro.
44048         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
44049         type.
44050         [POSIX] (time_t): Likewise.
44051         [POSIX] (timer_t): Likewise.
44053 2014-06-11  Florian Weimer  <fweimer@redhat.com>
44055         [BZ #17048]
44056         * posix/spawn_int.h (struct __spawn_action): Make the path string
44057         non-const to support deallocation.
44058         * posix/spawn_faction_addopen.c
44059         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
44060         * posix/spawn_faction_destroy.c
44061         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
44062         path in all spawn_do_open actions.
44063         * posix/tst-spawn.c (do_test): Exercise the copy operation in
44064         posix_spawn_file_actions_addopen.
44066 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
44068         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
44069         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
44070         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
44071         conditional code always true.
44072         (__libc_vfork): New alias.
44074 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44076         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44077         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
44079         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
44081         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44082         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
44084         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44085         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
44087         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44088         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
44090 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44092         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
44093         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
44094         multiarch strcmp for PPC64.
44095         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
44096         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
44097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
44098         multiarch optimizations.
44099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44100         (__libc_ifunc_impl_list): Likewise.
44102 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44104         * benchtests/scripts/validate_benchout.py: New script.
44105         * benchtests/Makefile (bench-func): Call it.
44106         * benchtests/scripts/benchout.schema.json: New file.
44108 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
44110         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
44111         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
44112         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
44113         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
44114         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
44115         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
44116         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
44117         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
44118         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
44119         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
44120         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
44121         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
44122         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
44123         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
44124         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
44125         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
44126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
44127         Moved ...
44128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
44129         ... here.
44130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
44131         Moved ...
44132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
44133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
44134         Moved ...
44135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
44136         ... here.
44137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
44138         Moved ...
44139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
44140         ... here.
44141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
44142         Moved ...
44143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
44144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
44145         Moved ...
44146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
44147         ... here.
44148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
44149         Moved ...
44150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
44151         ... here.
44152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
44153         Moved ...
44154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
44155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
44156         Moved ...
44157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
44158         ... here.
44159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
44160         Moved ...
44161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
44162         ... here.
44163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
44164         Moved ...
44165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
44166         ... here.
44167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
44168         Moved ...
44169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
44170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
44171         Moved ...
44172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
44173         ... here.
44174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
44175         Moved ...
44176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
44177         ... here.
44178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
44179         Moved ...
44180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
44181         ... here.
44182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
44183         Moved ...
44184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
44185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
44186         Moved ...
44187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
44188         ... here.
44189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
44190         Moved ...
44191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
44192         ... here.
44193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
44194         Moved ...
44195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
44196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
44197         Moved ...
44198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
44199         ... here.
44200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
44201         Moved ...
44202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
44203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
44204         Moved ...
44205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
44206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
44207         Moved ...
44208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
44209         ... here.
44210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
44211         Moved ...
44212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
44213         ... here.
44214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
44215         Moved ...
44216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
44217         ... here.
44218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
44219         Moved ...
44220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
44221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
44222         Moved ...
44223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
44224         ... here.
44225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
44226         Moved ...
44227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
44228         ... here.
44229         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
44230         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
44231         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
44232         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
44233         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
44234         Moved ...
44235         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
44236         ... here.
44237         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
44238         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
44239         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
44240         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
44241         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
44242         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
44243         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
44244         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
44245         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
44246         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
44247         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
44248         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
44249         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
44250         Moved ...
44251         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
44252         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
44253         Moved ...
44254         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
44255         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
44256         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
44257         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
44258         Moved ...
44259         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
44260         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
44261         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
44262         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
44263         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
44264         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
44265         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
44267 2014-06-10  Wilco  <wdijkstr@arm.com>
44269         * math/test-fenv-return.c: New file.
44270         * math/Makefile: Add new test test-fenv-return.
44272 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
44274         [BZ #17042]
44275         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
44276         when x - 1 is zero.
44277         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
44278         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
44279         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
44280         0.0L for an argument of 1.0L.
44281         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
44282         Likewise.
44283         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
44284         value when x - 1 is zero.
44285         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
44286         * sysdeps/i386/fpu/libm-test-ulps: Update.
44287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44289 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
44291         [BZ #15119]
44292         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
44294 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44296         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
44297         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
44299 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44301         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44302         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
44304         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44305         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
44307         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44308         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
44310         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44311         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
44313         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
44314         if not already defined.
44315         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
44316         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
44317         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
44318         (TLS_INIT_TP): Use it.
44319         (TLS_DEFINE_INIT_TP): New macro.
44320         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
44322 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
44324         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
44325         constant.
44326         [POSIX] (IXANY): Likewise.
44327         [POSIX] (OLCUC): Likewise.
44328         [POSIX || POSIX2008] (CBAUD): Do not allow.
44329         [POSIX || POSIX2008] (DEFECHO): Likewise.
44330         [POSIX || POSIX2008] (ECHOCTL): Likewise.
44331         [POSIX || POSIX2008] (ECHOKE): Likewise.
44332         [POSIX || POSIX2008] (ECHOPRT): Likewise.
44333         [POSIX || POSIX2008] (EXTA): Likewise.
44334         [POSIX || POSIX2008] (EXTB): Likewise.
44335         [POSIX || POSIX2008] (FLUSHO): Likewise.
44336         [POSIX || POSIX2008] (LOBLK): Likewise.
44337         [POSIX || POSIX2008] (PENDIN): Likewise.
44338         [POSIX || POSIX2008] (SWTCH): Likewise.
44339         [POSIX || POSIX2008] (VDISCARD): Likewise.
44340         [POSIX || POSIX2008] (VDSUSP): Likewise.
44341         [POSIX || POSIX2008] (VLNEXT): Likewise.
44342         [POSIX || POSIX2008] (VREPRINT): Likewise.
44343         [POSIX || POSIX2008] (VSTATUS): Likewise.
44344         [POSIX || POSIX2008] (VWERASE): Likewise.
44345         (B*): Change to B[0123456789]*.
44346         * conform/data/time.h-data [POSIX || UNIX98]
44347         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
44348         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44349         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
44350         [POSIX] (tm_*): Do not allow.
44352 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
44354         * Makefile (install): Don't set LANGUAGE.
44355         * Makefile.in (install): Likewise.
44356         * assert/Makefile (test-assert-ENV): Remove variable.
44357         (test-assert-perr-ENV): Likewise.
44358         * elf/Makefile (neededtest4-ENV): Likewise.
44359         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44360         [$(cross-compiling) = no]: Don't set LANGUAGE.
44361         * io/ftwtest-sh (LANG): Remove variable.
44362         * libio/Makefile (tst-widetext-ENV): Likewise.
44363         * manual/install.texi (Running make install): Don't refer to
44364         environment settings for make install.
44365         * INSTALL: Regenerated.
44366         * nptl/tst-tls6.sh: Don't set LANG.
44367         * posix/globtest.sh (LANG): Remove variable.
44368         * string/Makefile (tester-ENV): Likewise.
44369         (inl-tester-ENV): Likewise.
44370         (noinl-tester-ENV): Likewise.
44371         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44372         [$(cross-compiling) = no]: Don't set LANGUAGE.
44373         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
44374         without explicit environment settings.
44376 2014-06-06  Roland McGrath  <roland@hack.frob.com>
44378         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
44379         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
44380         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
44381         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
44383 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
44385         * crypt/crypt-private.h [DOS]: Add some includes taken from the
44386         other files in the crypt directory.
44387         * crypt/crypt.c: Remove duplicate includes.
44388         * crypt/crypt-entry.c: Likewise.
44389         * crypt/crypt_util.c: Likewise.
44391 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
44393         * Makeconfig (run-program-env): New variable.
44394         (run-program-prefix-before-env): Likewise.
44395         (run-program-prefix-after-env): Likewise.
44396         (run-program-prefix): Define in terms of new variables.
44397         (built-program-cmd-before-env): New variable.
44398         (built-program-cmd-after-env): Likewise.
44399         (built-program-cmd): Define in terms of new variables.
44400         (test-program-prefix-before-env): New variable.
44401         (test-program-prefix-after-env): Likewise.
44402         (test-program-prefix): Define in terms of new variables.
44403         (test-program-cmd-before-env): New variable.
44404         (test-program-cmd-after-env): Likewise.
44405         (test-program-cmd): Define in terms of new variables.
44406         * Rules (make-test-out): Use $(run-program-env).
44407         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
44408         (help): Do not mention environment variables.  Mention
44409         --timeoutfactor option.
44410         (timeoutfactor): New variable.
44411         (blacklist_exports): Remove function.
44412         (exports): Remove variable.
44413         (command): Do not include ${exports}.
44414         * manual/install.texi (Configuring and compiling): Do not mention
44415         test wrappers preserving environment variables.  Mention that last
44416         assignment to a variable must take precedence.
44417         * INSTALL: Regenerated.
44418         * benchtests/Makefile (run-bench): Use $(run-program-env).
44419         * catgets/Makefile ($(objpfx)test1.cat): Use
44420         $(built-program-cmd-before-env), $(run-program-env) and
44421         $(built-program-cmd-after-env).
44422         ($(objpfx)test2.cat): Do not specify environment variables
44423         explicitly.
44424         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
44425         $(run-program-env) and $(built-program-cmd-after-env).
44426         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
44427         $(run-program-env) and $(test-program-cmd-after-env).
44428         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
44429         explicitly.
44430         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
44431         run_program_env and test_program_cmd_after_env arguments.
44432         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
44433         * elf/tst-pathopt.sh: Use run_program_env argument.
44434         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
44435         $(test-wrapper-env) and $(run-program-env).
44436         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
44437         run_program_env arguments.
44438         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
44439         * intl/Makefile ($(objpfx)tst-gettext.out): Use
44440         $(test-program-prefix-before-env), $(run-program-env) and
44441         $(test-program-prefix-after-env).
44442         ($(objpfx)tst-gettext2.out): Likewise.
44443         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
44444         run_program_env and test_program_prefix_after_env arguments.
44445         * intl/tst-gettext2.sh: Likewise.
44446         * intl/tst-gettext4.sh: Do not set environment variables
44447         explicitly.
44448         * intl/tst-gettext6.sh: Likewise.
44449         * intl/tst-translit.sh: Likewise.
44450         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
44451         $(test-program-prefix-before-env), $(run-program-env) and
44452         $(test-program-prefix-after-env).
44453         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
44454         run_program_env and test_program_prefix_after_env arguments.
44455         * math/Makefile (run-regen-ulps): Use $(run-program-env).
44456         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
44457         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
44458         explicitly with each use of ${test_wrapper_env}.
44459         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
44460         $(test-program-prefix-before-env), $(run-program-env) and
44461         $(test-program-prefix-after-env).
44462         * posix/tst-getconf.sh: Do not set environment variables
44463         explicitly.
44464         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
44465         run_program_env and test_program_prefix_after_env arguments.
44466         * stdio-common/tst-printf.sh: Do not set environment variables
44467         explicitly.
44468         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
44469         $(test-program-prefix-before-env), $(run-program-env) and
44470         $(test-program-prefix-after-env).
44471         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
44472         run_program_env and test_program_prefix_after_env arguments.
44473         Split $test calls into $test_pre and $test.
44474         * timezone/Makefile (build-testdata): Use
44475         $(built-program-cmd-before-env), $(run-program-env) and
44476         $(built-program-cmd-after-env).
44478 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44480         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
44481         strlen for non SHARED builds.
44483 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44485         * nptl/allocatestack.c (check_list): Inlined function...
44486         (__reclaim_stacks): ... here.
44488 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44490         [BZ #15698]
44491         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44492         memory overrun.
44494 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
44496         * Rules (make-test-out): Include
44497         LOCPATH=$(common-objpfx)localedata in default environment.
44498         * debug/Makefile (tst-chk1-ENV): Remove variable.
44499         (tst-chk2-ENV): Likewise.
44500         (tst-chk3-ENV): Likewise.
44501         (tst-chk4-ENV): Likewise.
44502         (tst-chk5-ENV): Likewise.
44503         (tst-chk6-ENV): Likewise.
44504         (tst-lfschk1-ENV): Likewise.
44505         (tst-lfschk2-ENV): Likewise.
44506         (tst-lfschk3-ENV): Likewise.
44507         (tst-lfschk4-ENV): Likewise.
44508         (tst-lfschk5-ENV): Likewise.
44509         (tst-lfschk6-ENV): Likewise.
44510         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
44511         (tst-iconv7-ENV): Likewise.
44512         * intl/Makefile (LOCPATH-ENV): Likewise.
44513         (tst-codeset-ENV): Likewise.
44514         (tst-gettext3-ENV): Likewise.
44515         (tst-gettext5-ENV): Likewise.
44516         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
44517         (tst-fopenloc-ENV): Likewise.
44518         (tst-fgetws-ENV): Remove variable.
44519         (tst-ungetwc1-ENV): Likewise.
44520         (tst-ungetwc2-ENV): Likewise.
44521         (bug-ungetwc2-ENV): Likewise.
44522         (tst-swscanf-ENV): Likewise.
44523         (bug-ftell-ENV): Likewise.
44524         (tst-fgetwc-ENV): Likewise.
44525         (tst-fseek-ENV): Likewise.
44526         (tst-ftell-partial-wide-ENV): Likewise.
44527         (tst-ftell-active-handler-ENV): Likewise.
44528         (tst-ftell-append-ENV): Likewise.
44529         * posix/Makefile (tst-fnmatch-ENV): Likewise.
44530         (tst-regexloc-ENV): Likewise.
44531         (bug-regex1-ENV): Likewise.
44532         (tst-regex-ENV): Likewise.
44533         (tst-regex2-ENV): Likewise.
44534         (bug-regex5-ENV): Likewise.
44535         (bug-regex6-ENV): Likewise.
44536         (bug-regex17-ENV): Likewise.
44537         (bug-regex18-ENV): Likewise.
44538         (bug-regex19-ENV): Likewise.
44539         (bug-regex20-ENV): Likewise.
44540         (bug-regex22-ENV): Likewise.
44541         (bug-regex23-ENV): Likewise.
44542         (bug-regex25-ENV): Likewise.
44543         (bug-regex26-ENV): Likewise.
44544         (bug-regex30-ENV): Likewise.
44545         (bug-regex32-ENV): Likewise.
44546         (bug-regex33-ENV): Likewise.
44547         (bug-regex34-ENV): Likewise.
44548         (bug-regex35-ENV): Likewise.
44549         (tst-rxspencer-ENV): Likewise.
44550         (tst-rxspencer-no-utf8-ENV): Likewise.
44551         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
44552         (tst-sscanf-ENV): Likewise.
44553         (tst-swprintf-ENV): Likewise.
44554         (tst-swscanf-ENV): Likewise.
44555         (test-vfprintf-ENV): Likewise.
44556         (scanf13-ENV): Likewise.
44557         (bug14-ENV): Likewise.
44558         (tst-grouping-ENV): Likewise.
44559         * stdlib/Makefile (tst-strtod-ENV): Likewise.
44560         (tst-strtod3-ENV): Likewise.
44561         (tst-strtod4-ENV): Likewise.
44562         (tst-strtod5-ENV): Likewise.
44563         (testmb2-ENV): Likewise./
44564         * string/Makefile (tst-strxfrm-ENV): Likewise.
44565         (tst-strxfrm2-ENV): Likewise.
44566         (bug-strcoll1-ENV): Likewise.
44567         (test-strcasecmp-ENV): Likewise.
44568         (test-strncasecmp-ENV): Likewise.
44569         * time/Makefile (tst-strptime-ENV): Likewise.
44570         (tst-ftime_l-ENV): Likewise.
44571         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
44572         (tst-mbrtowc-ENV): Likewise.
44573         (tst-wcrtomb-ENV): Likewise.
44574         (tst-mbrtowc2-ENV): Likewise.
44575         (tst-c16c32-1-ENV): Likewise.
44576         (tst-mbsnrtowcs-ENV): Likewise.
44578 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44580         * manual/resource.texi (How to get information about the memory
44581         subsystem?): Fix typo.
44582         Reported by Peon de la Parra Ivan <peon@keba.com>
44584 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
44586         [BZ #16882]
44587         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
44588         (pthread_spin_lock): Branch out of spin loop to proper location.
44589         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
44590         (pthread_spin_lock): Likewise.
44592         * nptl/tst-spin4.c: New test.
44593         * nptl/Makefile (tests): Add tst-spin4.
44595 2014-06-03  Andreas Schwab  <schwab@suse.de>
44597         [BZ #15946]
44598         * resolv/res_send.c (send_dg): Reload file descriptor after
44599         calling reopen.
44601 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
44603         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44605 2014-06-03  Richard Henderson  <rth@redhat.com>
44607         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
44608         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
44609         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
44610         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
44611         in the SAVE_PID block.
44612         (__libc_vfork): New alias.
44613         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
44615         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
44616         child in registers, not on the stack.  Remove RESET_PID conditionals.
44617         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
44619 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44621         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44623 2014-06-03  Wilco  <wdijkstr@arm.com>
44625         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
44626         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
44627         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
44628         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
44629         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
44630         Likewise.
44632 2014-06-03  Wilco  <wdijkstr@arm.com>
44634         * sysdeps/aarch64/fpu/math_private.h
44635         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
44636         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
44637         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
44638         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
44639         Fix declarations.
44641 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44643         * crypt/crypt-private.h: Include ufc-crypt.h.
44644         (__b64_from_24bit): Declare extern.
44645         * crypt/crypt_util.c(__b64_from_24bit): New function.
44646         (b64t): New static const variable.
44647         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
44648         (b64t): Remove variable.
44649         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
44650         * crypt/sha256-crypt.c: Include crypt-private.h.
44651         (b64t): Remove variable.
44652         (__sha256_crypt_r): Remove b64_from_24bit and replace
44653         with __b64_from_24bit.
44654         * crypt/sha512-crypt.c: Likewise.
44656 2014-06-02  Roland McGrath  <roland@hack.frob.com>
44658         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
44659         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
44660         Label the code __libc_vfork rather than __vfork.
44661         [!NOT_IN_libc] (vfork): Define as weak alias.
44662         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
44663         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
44664         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
44666 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44668         * malloc/malloc.c (malloc_info): Fix format specifier for
44669         n_mmaps.
44671 2014-06-02  Wilco  <wdijkstr@arm.com>
44673         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
44674         FPCR write.
44676 2014-06-02  Wilco  <wdijkstr@arm.com>
44678         [BZ #17009]
44679         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
44680         Rewrite to reduce FPCR/FPSR accesses.
44682 2014-06-01  David S. Miller  <davem@davemloft.net>
44684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44686 2014-05-31  David S. Miller  <davem@davemloft.net>
44688         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
44689         to occur in round to nearest mode when |x| >= 2.0
44691 2014-05-30  Richard Henderson  <rth@twiddle.net>
44693         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
44694         (PSEUDO_RET_NOERRNO): Remove.
44695         (ret): Don't redefine.
44696         (ret_NOERRNO): Define in terms of ret.
44697         (ret_ERRVAL): Likewise.
44699         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
44700         use of PSEUDO_RET; perform the error check directly.
44702 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
44704         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
44705         with __int128_t.
44707 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44709         * malloc/malloc (malloc_info): Fix formatting.
44711 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44712             Roland McGrath  <roland@hack.frob.com>
44714         * malloc/malloc (malloc_info): Also print mmapped statistics.
44716 2014-05-30  Roland McGrath  <roland@hack.frob.com>
44718         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
44719         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
44721 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
44723         * malloc/malloc.c (malloc_info): Inline mi_arena.
44725 2014-05-29  Richard Henderson  <rth@twiddle.net>
44727         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
44728         Remove comma before expanding ASM_ARGS_##nr.
44729         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
44730         Make _x0 a strict output; make _x8 a strict input; adjust expansion
44731         of ASM_ARGS_##nr.
44732         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
44733         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
44734         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
44735         (ASM_ARGS_1): Add leading comma.
44737         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
44738         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
44739         to __errno_location.
44740         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
44741         Remove the expected plt for __errno_location.
44743         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44744         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
44745         call to __read_tp.
44747         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44748         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
44749         it and break it down.
44750         (DOCARGS_0, DOCARGS_1): Do nothing.
44751         (DOCARGS_2): Update to store into the new stack frame.
44752         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
44753         (UNDOCARGS_1): Update to restore from the new stack frame.
44754         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
44755         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
44757         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44758         (SINGLE_THREAD_P): New parameter for result regno.
44759         (PSEUDO): Update to match; use cbz instead of beq.
44761         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44762         Use ENTRY to define the _nocancel entry point.  Share the syscall
44763         and syscall error check paths with the cancel path.
44764         (PSEUDO_END): New.
44766         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
44767         whitespace; tabs before and after asm mnemonics.
44769 2014-05-29  Eric Wong  <normalperson@yhbt.net>
44771         [BZ #15132]
44772         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44773         Call fstat64 or stat64 internally, depending on arguments passed.
44774         Replace stat buffer argument with file descriptor argument.
44775         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
44776         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
44777         Pass fd to __internal_statvfs instead of calling fstat64.
44778         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
44779         Pass fd to __internal_statvfs64 instead of calling fstat64.
44780         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
44781         Pass -1 to __internal_statvfs instead of calling stat64.
44782         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
44783         Pass -1 to __internal_statvfs64 instead of calling stat64.
44785 2014-05-28  Roland McGrath  <roland@hack.frob.com>
44787         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
44788         that was previously under [RESET_PID].
44789         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
44791         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
44792         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
44794 2014-05-27  Roland McGrath  <roland@hack.frob.com>
44796         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
44798         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
44799         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
44801 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
44803         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
44805 2014-05-27  Andreas Schwab  <schwab@suse.de>
44807         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
44808         TLS_INIT_TP macro.
44809         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
44810         * elf/rtld.c (init_tls, dl_main): Likewise.
44811         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
44812         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
44813         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
44814         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
44815         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
44816         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
44817         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
44818         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
44819         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
44820         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
44821         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
44822         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
44823         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
44824         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
44825         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
44826         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
44827         * sysdeps/generic/tls.h: Update description.
44829 2014-05-27  Will Newton  <will.newton@linaro.org>
44831         [BZ #16990]
44832         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
44833         and restore r2 rather than just restoring.
44835 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44837         [BZ #16724]
44838         * libio/tst-ftell-append.c: New test case.
44839         * libio/Makefile (tests): Add test case.
44840         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
44841         append mode.
44842         * libio/wfileops.c (do_ftell_wide): Likewise.
44844 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44848         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
44849         ...
44850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
44851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44852         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
44853         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
44854         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
44855         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
44856         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
44857         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
44858         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
44859         Moved ...
44860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
44861         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
44862         Moved ...
44863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
44864         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
44865         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
44866         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
44867         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
44868         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
44869         ...
44870         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
44871         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
44872         Moved ...
44873         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
44874         here.
44875         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
44876         ...
44877         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
44878         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
44879         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
44881         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
44882         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
44883         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
44884         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
44886         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
44887         merge into ...
44888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
44889         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
44890         ...
44891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
44892         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
44893         ...
44894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
44895         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44896         Moved ...
44897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
44898         here.
44899         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44900         Moved ...
44901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
44902         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44903         Moved ...
44904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
44906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
44907         conditional [RESET_PID].
44908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
44909         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
44910         removed.
44911         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
44912         removed.
44914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
44915         <tcb-offsets.h>.
44916         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44917         (__libc_vfork): New strong alias.
44918         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
44919         removed.
44920         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
44921         Removed.
44923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
44924         <tcb-offsets.h>.
44925         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
44926         (__libc_vfork): New strong alias.
44927         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
44928         removed.
44929         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
44930         removed.
44932 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
44934         * malloc/malloc.c (mi_arena): New function.
44935         (malloc_info): Remove nested function mi_arena. Call non-nosted
44936         function mi_arena.
44938 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44940         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
44941         by insrwi.
44942         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
44943         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
44944         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
44945         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
44946         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
44947         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
44948         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
44950 2014-05-26  Andreas Schwab  <schwab@suse.de>
44952         [BZ #16984]
44953         * locale/programs/repertoire.c (repertoire_read): Add slash
44954         between I18NPATH element and file name.
44955         * locale/programs/locfile.c (locfile_read): Likewise.
44957 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44959         * nptl/pthread_mutexattr_settype.c
44960         (__pthread_mutexattr_settype):
44961         Disable lock elision for PTHREAD_MUTEX_NORMAL.
44963 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44965         * nptl/tst-mutex5 (do_test):
44966         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
44968 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44970         * benchtests/README: Document 'init' directive.
44971         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
44972         BENCH_INIT.
44973         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
44974         (parse_file): Recognize 'init' directive.
44976 2014-05-26  Kyle McMartin  <kyle@redhat.com>
44978         [BZ #16796]
44979         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
44980         alignment of struct pthread.
44982 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44984         [BZ #16878]
44985         * nscd/netgroupcache.c (addgetnetgrentX): Look for
44986         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44987         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
44988         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44990 2014-05-25  Richard Henderson  <rth@twiddle.net>
44992         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44993         (SINGLE_THREAD_P_PIC): Remove.
44994         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
44995         (SINGLE_THREAD_P_PIC): Remove.
44997         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
44998         branch to syscall error ...
44999         (PSEUDO): ... here.
45000         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
45001         from __local_syscall_error to .Lsyscall_error.
45002         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
45003         (SYSCALL_ERROR): Update label name.
45005         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45006         Do not use DOARGS/UNDOARGS.
45007         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
45008         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
45009         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
45010         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
45011         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
45013         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
45014         block comment.
45016         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
45017         define if !NOT_IN_libc.
45018         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
45019         define with non-default symbol versions.
45021 2014-05-23  Richard Henderson  <rth@twiddle.net>
45023         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
45024         (vfork, __vfork): Define via compat_symbol.
45026         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
45027         [!HAVE_IFUNC] (vfork_compat): Remove.
45028         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
45030 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45032         [BZ #16978]
45033         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
45034         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
45035         variable.
45037 2014-05-23  Richard Henderson  <rth@twiddle.net>
45039         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
45040         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
45041         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
45042         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
45044         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
45045         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
45046         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
45047         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
45048         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
45049         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
45050         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
45051         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
45052         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
45053         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
45054         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
45055         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
45056         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
45057         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
45058         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
45059         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
45060         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
45061         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
45062         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
45063         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
45064         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
45065         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
45066         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
45067         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
45068         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
45069         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
45070         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
45071         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
45072         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
45073         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
45074         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
45075         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
45076         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
45077         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
45078         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
45079         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
45080         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
45081         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
45082         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
45083         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
45084         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
45085         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
45086         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
45087         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
45088         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
45089         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
45090         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
45091         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
45092         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
45093         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
45094         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
45095         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
45096         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
45097         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
45098         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
45099         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
45101         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
45102         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
45103         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
45104         before exiting on error.
45105         (__libc_vfork): New strong alias.
45106         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
45107         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
45109         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
45110         that was previously under [RESET_PID].
45111         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
45113         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
45115 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45117         [BZ #16977]
45118         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
45119         value when x - 1 is zero.
45120         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
45121         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
45122         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
45123         0.0L for an argument of 1.0L.
45124         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
45125         Likewise.
45126         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
45127         value when x - 1 is zero.
45128         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
45129         * sysdeps/i386/fpu/libm-test-ulps: Update.
45130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45132 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
45134         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
45135         alphasort and versionsort.
45137 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45139         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
45140         macro.
45141         [copysignf]: Likewise.
45143 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45145         * crypt/md5-crypt.c: Fix formatting.
45147 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45149         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
45150         (b64_from_24bit): New function.
45152 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45154         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
45155         libc_hidden_builtin_def to ifunc.
45156         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45157         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
45159 2014-05-21  Roland McGrath  <roland@hack.frob.com>
45161         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
45162         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
45164 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
45166         * nscd/Depend (linuxthreads): Remove.
45167         (nptl): Add.
45168         * resolv/Depend (linuxthreads): Remove.
45169         * rt/Depend (linuxthreads): Remove.
45171         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
45172         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
45173         $(common-objpfx)elf/.
45174         (link-libc-before-gnulib): Likewise.
45175         (elfobjdir): Remove variable.
45176         * Makefile (install): Use $(elf-objpfx) instead of
45177         $(common-objpfx)elf/.
45178         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
45179         $(elfobjdir)/.
45180         (link-libc-deps): Likewise.
45181         ($(common-objpfx)libc.so): Likewise.
45182         ($(common-objpfx)linkobj/libc.so): Likewise.
45183         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
45184         instead of $(common-objpfx)elf/.
45185         (symbolic-link-list): Likewise.
45186         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45187         [$(cross-compiling) = no]: Likewise.
45188         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
45189         $(elfobjdir)/.
45190         (static-gnulib-arch): Likewise.
45191         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45192         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
45193         $(common-objpfx)elf/.
45195 2014-05-21  Richard Henderson  <rth@redhat.com>
45197         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45198         (SINGLE_THREAD_P): Use the correct width load.  Fold
45199         into the ldr offset.
45201         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
45202         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
45204 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
45206         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
45207         (libgcc_s_resume): Use __attribute_used__.
45208         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
45209         Likewise.
45211 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45213         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
45214         optimization when used with float constants.
45216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45218 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
45220         [BZ #16915]
45221         * locale/nl_langinfo_l.c: Make direct reference to every
45222         _nl_current_CATEGORY symbol.
45223         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
45224         (tests-static): Add tst-langinfo-static.
45225         (tests-special): Add tst-langinfo-static.out.
45226         ($(objpfx)tst-langinfo.out): Redirect output.
45227         ($(objpfx)tst-langinfo-static.out): New.
45228         * localedata/tst-langinfo.sh: Send output to stdout.
45229         * localedata/tst-langinfo-static.c: New file.
45231         [BZ #16965]
45232         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
45233         when the shift amount is modulo the limb size.
45235 2014-05-20  Richard Henderson  <rth@redhat.com>
45237         [BZ #16967]
45238         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
45239         Change type of sa_flags from unsigned int to int.
45241         [BZ #16966]
45242         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
45244         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
45246 2014-05-20  Will Newton  <will.newton@linaro.org>
45248         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45249         Test the return value of the system call in the nocancel case.
45251 2014-05-20  Will Newton  <will.newton@linaro.org>
45252             Yvan Roux  <yvan.roux@linaro.org>
45254         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
45255         #include of asm/ptrace.h.
45256         (PTRACE_GET_THREAD_AREA): Remove #undef.
45257         (PTRACE_GETHBPREGS): Likewise.
45258         (PTRACE_SETHBPREGS): Likewise.
45259         (struct user_regs_struct): New structure.
45260         (struct user_fpsimd_struct): New structure.
45261         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
45262         #include of asm/ptrace.h and second #include of sys/user.h.
45263         (PTRACE_GET_THREAD_AREA): Remove #undef.
45264         (PTRACE_GETHBPREGS): Likewise.
45265         (PTRACE_SETHBPREGS): Likewise.
45266         (ELF_NGREG): Use new struct user_regs_struct.
45267         (elf_fpregset_t): Use new struct user_fpsimd_struct.
45269 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45271         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
45272         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
45274 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
45276         [BZ #16958]
45277         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
45278         membar to avoid block loads/stores to overlap previous stores.
45280 2014-05-17  Richard Henderson  <rth@redhat.com>
45282         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
45283         Create the __##syscall_name##_nocancel entry point.
45284         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
45285         Remove; let the sysdep-cancel.h code create it.
45287 2014-05-17  David S. Miller  <davem@davemloft.net>
45289         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
45290         Protect with __USE_GNU.
45291         (TIOCSET_TEMPT): Likewise.
45292         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45293         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
45294         these are already provided in bits/ioctl-types.h
45296 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45298         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
45299         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
45301         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
45302         Use wait4 regardless of [__NR_waitpid].
45304 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45306         PR libgcc/60166
45307         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45308         (_FP_NANSIGN_Q): Set the quiet bit.
45310 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
45312         * benchtests/Makefile
45313         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
45314         not $(common-objpfx)math/libm.so.
45315         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
45316         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
45317         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
45318         $(common-objpfx)dlfcn/libdl.so.
45319         ($(objpfx)tst-audit8): Depend on $(libm), not
45320         $(common-objpfx)math/libm.so.
45321         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
45322         not $(common-objpfx)dlfcn/libdl.so.
45323         * math/Makefile
45324         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45325         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
45326         [$(build-shared) = yes].
45327         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
45328         $(common-objpfx)nptl/libpthread.so.
45329         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
45330         $(common-objpfx)math/libm.so$(libm.so-version) or
45331         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
45332         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
45333         $(common-objpfx)dlfcn/libdl.so.
45334         * setjmp/Makefile (link-libm): Remove variable.
45335         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
45336         * stdio-common/Makefile (link-libm): Remove variable.
45337         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
45338         * stdlib/Makefile (link-libm): Remove variable.
45339         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
45340         ($(objpfx)tst-strtod-round): Likewise.
45341         ($(objpfx)tst-tininess): Likewise.
45342         ($(objpfx)tst-strtod-underflow): Likewise.
45343         ($(objpfx)tst-strtod6): Likewise.
45344         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
45345         $(libdl), not $(common-objpfx)nptl/libpthread.so and
45346         $(common-objpfx)dlfcn/libdl.so.
45348 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45350         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
45351         BSD terminal modes definitions.
45353 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45355         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
45356         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
45358         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
45359         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
45360         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
45361         Don't do #include_next.
45362         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
45363         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
45364         Don't do #include_next.
45365         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
45366         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
45367         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
45368         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
45370 2014-05-16  Allan McRae  <allan@archlinux.org>
45372         * po/sv.po: Update Swedish translation from translation project.
45374         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
45375         in sed expression.
45377 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
45379         [BZ #16917]
45380         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
45381         errno if the TIOCGPTN ioctl fails with an error different than
45382         EINVAL.
45383         * login/tst-ptsname.c: New file.
45384         * login/Makefile (tests): Add tst-ptsname.
45386         [BZ #16943]
45387         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
45388         and prlimit64.
45390 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45392         [BZ #16849]
45393         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
45394         herrno to return EAI_AGAIN.
45396 2014-05-14  Roland McGrath  <roland@hack.frob.com>
45398         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
45399         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
45400         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
45401         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
45402         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
45403         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
45404         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
45405         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
45406         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
45407         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
45408         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
45409         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
45410         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
45411         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
45412         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
45413         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
45414         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
45415         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
45416         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
45417         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
45418         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
45419         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
45420         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
45421         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
45422         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
45423         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
45424         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
45425         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
45426         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
45427         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
45428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
45429         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
45430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
45431         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
45432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45433         Moved ...
45434         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
45435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
45436         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
45437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
45438         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
45439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
45440         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
45441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
45442         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
45443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
45444         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
45445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
45446         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
45447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
45448         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
45449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
45450         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
45451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
45452         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
45453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
45454         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
45455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
45456         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
45457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
45458         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
45459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
45460         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
45461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45462         Moved ...
45463         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
45464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
45465         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
45466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
45467         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
45468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
45469         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
45470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
45471         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
45472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
45473         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
45474         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
45475         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
45476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
45477         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
45478         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
45479         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
45480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
45481         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
45482         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45483         Moved ...
45484         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
45485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
45486         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
45488         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
45489         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
45490         (libpthread-sysdep_routines): Add elision-related stuff here instead.
45491         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
45492         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
45493         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
45494         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
45495         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
45496         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
45497         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
45498         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
45499         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
45500         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
45501         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
45502         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
45503         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
45504         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
45505         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
45506         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
45507         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
45508         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
45509         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
45510         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
45511         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
45512         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
45513         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
45514         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
45515         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
45516         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
45517         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
45518         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
45520         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
45521         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
45523         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
45524         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
45525         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
45526         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
45527         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
45528         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
45529         Moved ...
45530         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
45531         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
45532         Moved ...
45533         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
45534         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
45535         Moved ...
45536         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
45537         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
45538         Moved ...
45539         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
45540         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
45541         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
45542         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
45543         Moved ...
45544         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
45545         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
45546         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
45547         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
45548         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
45549         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
45550         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
45551         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
45552         Moved ...
45553         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
45554         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45555         Moved ...
45556         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45557         ... here.
45558         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
45559         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
45560         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
45561         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
45562         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45563         Moved ...
45564         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45565         ... here.
45566         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
45567         Moved ...
45568         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
45569         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
45570         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
45571         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
45572         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
45573         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
45574         Moved ...
45575         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
45576         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
45577         Moved ...
45578         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
45579         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
45580         Moved ...
45581         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
45582         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
45583         Moved ...
45584         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
45585         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
45586         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
45587         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
45588         Moved ...
45589         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
45590         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
45591         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
45592         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
45593         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
45594         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
45595         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
45596         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
45597         Moved ...
45598         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
45599         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45600         Moved ...
45601         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45602         ... here.
45603         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
45604         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
45605         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
45606         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
45607         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45608         Moved ...
45609         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45610         ... here.
45611         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
45612         Moved ...
45613         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
45614         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
45615         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
45616         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
45617         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
45618         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
45619         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
45620         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
45621         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
45622         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
45623         Moved ...
45624         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
45625         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
45626         Moved ...
45627         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
45628         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
45629         Moved ...
45630         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
45631         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
45632         Moved ...
45633         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
45634         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
45635         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
45636         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
45637         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
45638         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
45639         Moved ...
45640         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
45641         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
45642         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
45643         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
45644         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
45645         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
45646         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
45647         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
45648         Moved ...
45649         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
45650         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
45651         Moved ...
45652         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
45653         ... here.
45654         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
45655         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
45656         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
45657         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
45658         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
45659         Moved ...
45660         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
45661         ... here.
45662         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
45663         Moved ...
45664         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
45665         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
45666         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
45667         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
45668         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
45669         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
45670         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
45671         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
45672         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
45673         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
45674         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
45676         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
45677         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
45679         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
45680         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
45682         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
45683         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
45684         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
45685         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
45686         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
45687         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
45688         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
45689         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
45690         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
45691         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
45692         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
45693         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
45694         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
45695         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
45696         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
45697         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
45698         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
45699         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
45700         Moved ...
45701         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
45702         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
45703         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
45704         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
45705         Moved ...
45706         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
45707         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
45708         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
45709         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
45710         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
45711         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
45712         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
45713         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
45714         Moved ...
45715         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
45716         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
45717         Moved ...
45718         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
45719         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
45720         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
45721         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
45722         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
45723         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
45724         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
45725         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
45726         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
45727         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
45728         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
45729         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
45730         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
45731         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
45732         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
45733         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
45734         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
45736         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
45737         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
45738         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
45739         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
45740         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
45742         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
45743         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
45744         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
45745         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
45746         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
45747         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
45748         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
45749         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
45750         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
45751         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
45753         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
45754         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
45756         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
45757         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
45758         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
45759         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
45760         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
45761         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
45762         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
45763         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
45764         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
45765         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
45766         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
45767         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
45768         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
45769         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
45770         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
45771         Update #include.
45772         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
45773         Likewise.
45774         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45775         Likewise.
45776         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45777         Likewise.
45778         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45779         Likewise.
45780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
45781         Likewise.
45782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
45783         Likewise.
45784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45785         Likewise.
45786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
45787         Likewise.
45788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
45789         Likewise.
45790         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
45791         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
45792         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
45793         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
45794         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
45795         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
45796         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
45797         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
45798         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
45799         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
45800         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
45801         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
45802         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
45803         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
45804         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
45806         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
45807         that was previously under [RESET_PID].
45808         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45809         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
45810         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
45812         * sysdeps/i386/nptl/Implies: New file.
45813         * sysdeps/x86_64/nptl/Implies: New file.
45814         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
45815         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
45816         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
45817         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
45819         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
45820         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45821         (__libc_vfork): New strong alias.
45822         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
45823         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
45825         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
45826         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45827         (__libc_vfork): New strong alias.
45828         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
45829         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
45831         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
45832         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45833         (__libc_vfork): New strong alias.
45834         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
45835         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
45836         * nptl/pt-vfork.c: New file.
45837         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
45838         (libpthread: GLIBC_2.20): New version set (empty).
45840 2014-05-14  Will Newton  <will.newton@linaro.org>
45842         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
45843         rather than #if.
45845 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45847         [BZ #16564]
45848         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
45849         arguments with exponent 65 or above.
45850         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
45851         arguments 0x1p113L or above.
45852         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
45853         to arguments 0x1p107L or above.
45854         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
45855         positive arguments with exponent 65 or above.
45856         * math/auto-libm-test-in: Add more tests of log1p.
45857         * math/auto-libm-test-out: Regenerated.
45859         [BZ #16928]
45860         * math/s_cacos.c (__cacos): Ensure zero real part of result from
45861         non-finite arguments is +0.
45862         * math/s_cacosf.c (__cacosf): Likewise.
45863         * math/s_cacosl.c (__cacosl): Likewise.
45864         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
45865         * sysdeps/i386/fpu/libm-test-ulps: Update.
45866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45868         [BZ #16927]
45869         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
45870         value.
45871         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
45872         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
45873         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
45874         for explicit high bit of mantissa when testing for argument equal
45875         to 1.
45876         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
45877         * sysdeps/i386/fpu/libm-test-ulps: Update.
45878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45880         [BZ #16516]
45881         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
45882         (__erf): Scale by 16 instead of 8 in potentially underflowing
45883         case.  Ensure exception if result actually underflows.
45884         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
45885         (__erff): Scale by 16 instead of 8 in potentially underflowing
45886         case.  Ensure exception if result actually underflows.
45887         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
45888         (efx8): Remove variable.
45889         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45890         case.  Ensure exception if result actually underflows.
45891         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
45892         (efx8): Remove variable.
45893         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45894         case.  Ensure exception if result actually underflows.
45895         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
45896         (efx8): Remove variable.
45897         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45898         case.  Ensure exception if result actually underflows.
45899         * math/auto-libm-test-in: Add more tests of erf.
45900         * math/auto-libm-test-out: Regenerated.
45902 2014-05-14  Andreas Schwab  <schwab@suse.de>
45904         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
45905         Remove code conditionalized on USE___THREAD.
45907         * config.h.in (HAVE_PT_CHOWN): Define as 0.
45908         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
45909         not definedness.
45911 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45913         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
45914         Define unconditionally.
45915         (__ASSUME_O_CLOEXEC): Likewise.
45916         (__ASSUME_SOCK_CLOEXEC): Likewise.
45917         (__ASSUME_IN_NONBLOCK): Likewise.
45918         (__ASSUME_PIPE2): Likewise.
45919         (__ASSUME_EVENTFD2): Likewise.
45920         (__ASSUME_SIGNALFD4): Likewise.
45921         (__ASSUME_DUP3): Likewise.
45922         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45923         (__ASSUME_DUP3): Do not define.
45924         (__ASSUME_EVENTFD2): Likewise.
45925         (__ASSUME_IN_NONBLOCK): Likewise.
45926         (__ASSUME_O_CLOEXEC): Likewise.
45927         (__ASSUME_PIPE2): Likewise.
45928         (__ASSUME_SIGNALFD4): Likewise.
45929         (__ASSUME_SOCK_CLOEXEC): Likewise.
45930         (__ASSUME_UTIMES): Undefine.
45931         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45932         (__ASSUME_UTIMES): Do not define.
45933         (__ASSUME_O_CLOEXEC): Likewise.
45934         (__ASSUME_SOCK_CLOEXEC): Likewise.
45935         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
45936         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
45937         0x020621].
45938         (__ASSUME_PIPE2): Likewise.
45939         (__ASSUME_EVENTFD2): Likewise.
45940         (__ASSUME_SIGNALFD4): Likewise.
45941         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
45942         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
45943         Do not define.
45944         (__ASSUME_EVENTFD2): Likewise.
45945         (__ASSUME_SIGNALFD4): Likewise.
45946         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
45947         (__ASSUME_32BITUIDS): Likewise.
45948         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45949         (__ASSUME_IPC64): Likewise.
45950         (__ASSUME_ST_INO_64_BIT): Likewise.
45951         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
45952         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
45953         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45954         (__ASSUME_UTIMES): Do not define.
45955         (__ASSUME_PSELECT): Likewise.
45956         (__ASSUME_PPOLL): Likewise.
45957         (__ASSUME_O_CLOEXEC): Likewise.
45958         (__ASSUME_SOCK_CLOEXEC): Likewise.
45959         (__ASSUME_IN_NONBLOCK): Likewise.
45960         (__ASSUME_PIPE2): Likewise.
45961         (__ASSUME_EVENTFD2): Likewise.
45962         (__ASSUME_SIGNALFD4): Likewise.
45963         (__ASSUME_DUP3): Likewise.
45964         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45965         (__ASSUME_UTIMES): Likewise.
45966         (__ASSUME_O_CLOEXEC): Likewise.
45967         (__ASSUME_SOCK_CLOEXEC): Likewise.
45968         (__ASSUME_IN_NONBLOCK): Likewise.
45969         (__ASSUME_PIPE2): Likewise.
45970         (__ASSUME_EVENTFD2): Likewise.
45971         (__ASSUME_SIGNALFD4): Likewise.
45972         (__ASSUME_DUP3): Likewise.
45973         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45974         (__ASSUME_UTIMES): Likewise.
45975         (__ASSUME_O_CLOEXEC): Likewise.
45976         (__ASSUME_SOCK_CLOEXEC): Likewise.
45977         (__ASSUME_IN_NONBLOCK): Likewise.
45978         (__ASSUME_PIPE2): Likewise.
45979         (__ASSUME_EVENTFD2): Likewise.
45980         (__ASSUME_SIGNALFD4): Likewise.
45981         (__ASSUME_DUP3): Likewise.
45982         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
45983         Likewise.
45984         (__ASSUME_UTIMES): Likewise.
45985         (__ASSUME_EVENTFD2): Likewise.
45986         (__ASSUME_SIGNALFD4): Likewise.
45987         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45988         (__ASSUME_O_CLOEXEC): Likewise.
45989         (__ASSUME_SOCK_CLOEXEC): Likewise.
45990         (__ASSUME_IN_NONBLOCK): Likewise.
45991         (__ASSUME_PIPE2): Likewise.
45992         (__ASSUME_EVENTFD2): Likewise.
45993         (__ASSUME_SIGNALFD4): Likewise.
45994         (__ASSUME_DUP3): Likewise.
45995         (__ASSUME_UTIMES): Undefine.
45997         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
45998         feclearexcept.  Remove symbol versioning code.
45999         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
46000         symbol versioning code.
46001         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
46002         symbol versioning code.
46003         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
46004         feupdateenv.  Remove symbol versioning code.
46005         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
46006         fegetexceptflag.  Remove symbol versioning code.
46007         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
46008         fesetexceptflag.  Remove symbol versioning code.
46009         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
46010         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
46011         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
46012         (__posix_fadvise64_l32): Remove prototype.
46013         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
46014         code.
46016 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46018         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
46019         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
46020         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
46021         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
46023 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
46025         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
46026         current working directory
46028 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46030         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
46031         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
46032         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
46033         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
46034         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
46035         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
46036         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
46037         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
46038         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
46039         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
46040         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
46041         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
46042         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
46043         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
46044         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
46045         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
46046         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
46047         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
46048         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
46049         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
46050         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
46051         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
46052         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
46053         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
46054         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
46055         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
46056         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
46057         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
46058         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
46059         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
46060         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
46061         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
46062         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
46063         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
46064         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
46065         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
46066         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
46067         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
46068         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
46069         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
46070         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
46071         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
46073         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
46074         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
46076         * sysdeps/unix/sysv/linux/arm/Makefile
46077         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
46078         Add rt-aeabi_unwind_cpp_pr1.
46079         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
46080         Add nptl-aeabi_unwind_cpp_pr1.
46081         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
46082         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
46083         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
46084         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46085         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
46086         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46088         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
46089         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
46090         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
46091         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
46093         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
46094         Deconditionalize the code that was previously under [RESET_PID].
46095         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
46097         * sysdeps/generic/exit-thread.h: New file.
46098         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
46099         * include/unistd.h (__exit_thread): Remove declaration.
46100         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
46101         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
46102         * csu/libc-start.c: Include <exit-thread.h>.
46103         (LIBC_START_MAIN): Pass no argument to __exit_thread.
46104         * nptl/pthread_create.c: Include <exit-thread.h>.
46105         (start_thread): Call __exit_thread in place of __exit_thread_inline.
46106         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
46107         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
46108         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
46109         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
46110         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
46111         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
46112         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
46113         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
46114         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
46115         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
46116         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
46117         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
46118         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
46119         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
46120         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
46121         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
46123 2014-05-13  Andreas Schwab  <schwab@suse.de>
46125         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
46127 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
46129         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46130         (__ASSUME_UTIMES): Do not condition on kernel version.
46131         (__ASSUME_PSELECT): Define unconditionally.
46132         (__ASSUME_PPOLL): Likewise.
46133         (__ASSUME_ATFCTS): Likewise.
46134         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
46135         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
46136         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
46137         (__ASSUME_UTIMENSAT): Define unconditionally.
46138         (__ASSUME_PRIVATE_FUTEX): Likewise.
46139         (__ASSUME_FALLOCATE): Likewise.
46140         (__ASSUME_O_CLOEXEC): Likewise.
46141         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
46142         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
46143         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
46144         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
46145         (__ASSUME_IN_NONBLOCK): Likewise.
46146         (__ASSUME_PIPE2): Likewise.
46147         (__ASSUME_EVENTFD2): Likewise.
46148         (__ASSUME_SIGNALFD4): Likewise.
46149         (__ASSUME_DUP3): Likewise.
46150         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46151         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
46152         (__ASSUME_AT_RANDOM): Likewise.
46153         (__ASSUME_PREADV): Likewise.
46154         (__ASSUME_PWRITEV): Likewise.
46155         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
46156         (__ASSUME_F_GETOWN_EX): Define unconditionally.
46157         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
46158         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46159         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
46160         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46161         (__ASSUME_O_CLOEXEC): Define unconditionally.
46162         (__ASSUME_PSELECT): Do not undefine conditionally.
46163         (__ASSUME_PPOLL): Likewise.
46164         (__ASSUME_ATFCTS): Likewise.
46165         (__ASSUME_SET_ROBUST_LIST): Likewise.
46166         (__ASSUME_UTIMENSAT): Likewise.
46167         (__ASSUME_FDATASYNC): Define unconditionally.
46168         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46169         (__ASSUME_SIGFRAME_V2): Likewise.
46170         )__ASSUME_EVENTFD2): Likewise.
46171         (__ASSUME_SIGNALFD4): Likewise.
46172         (__ASSUME_PSELECT): Do not undefine conditionally.
46173         (__ASSUME_PPOLL): Likewise.
46174         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46175         (__ASSUME_PSELECT): Define unconditionally.
46176         (__ASSUME_PPOLL): Likewise.
46177         (__ASSUME_O_CLOEXEC): Likewise.
46178         (__ASSUME_SOCK_CLOEXEC): Likewise.
46179         (__ASSUME_IN_NONBLOCK): Likewise.
46180         (__ASSUME_PIPE2): Likewise.
46181         (__ASSUME_EVENTFD2): Likewise.
46182         (__ASSUME_SIGNALFD4): Likewise.
46183         (__ASSUME_DUP3): Likewise.
46184         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46185         (__ASSUME_O_CLOEXEC): Likewise.
46186         (__ASSUME_SOCK_CLOEXEC): Likewise.
46187         (__ASSUME_IN_NONBLOCK): Likewise.
46188         (__ASSUME_PIPE2): Likewise.
46189         (__ASSUME_EVENTFD2): Likewise.
46190         (__ASSUME_SIGNALFD4): Likewise.
46191         (__ASSUME_DUP3): Likewise.
46192         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46193         (__ASSUME_EVENTFD2): Likewise.
46194         (__ASSUME_SIGNALFD4): Likewise.
46195         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46197 2014-05-12  Andreas Schwab  <schwab@suse.de>
46199         [BZ #16932]
46200         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
46201         (_nss_nis_gethostbyname4_r): Return error if item length is larger
46202         than maximum RPC packet size.
46203         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
46204         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
46205         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
46206         (_nss_nis_getservbyport_r): Likewise.
46208 2014-05-12  Will Newton  <will.newton@linaro.org>
46210         * malloc/Makefile (tests): Add tst-mallopt.
46211         * malloc/tst-mallopt.c: New file.
46213 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46215         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
46216         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
46218 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46220         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
46221         (tst-tlsmod6.so): Likewise.
46223 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46225         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
46227 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
46229         [BZ #16064]
46230         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
46231         and <dl-procinfo.h>.
46232         (__fegetenv): Save SSE state in envp->__eip if supported.
46233         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
46234         envp->__eip if supported.
46235         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
46236         and <dl-procinfo.h>.
46237         (__fesetenv): Always set __eip, __cs_selector, __opcode,
46238         __data_offset and __data_selector in environment to 0.  Set SSE
46239         state if supported.
46240         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
46241         test-fenv-sse.
46242         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
46243         -mfpmath=sse.
46244         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
46246 2014-05-09  Will Newton  <will.newton@linaro.org>
46248         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
46249         and libc_relro_required for ARM.
46250         * sysdeps/arm/preconfigure: Regenerate.
46252 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
46253             Stefan Liebler  <stli@linux.vnet.ibm.com>
46255         * config.make.in (enable-lock-elision): New Makefile variable.
46256         * configure.ac: Likewise.
46257         * configure: Regenerate.
46258         * sysdeps/s390/configure.ac:
46259         Add check for gcc transactions support.
46260         * sysdeps/s390/configure: Regenerate.
46261         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
46262         Build elision files if enabled.
46263         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
46264         Add lock elision support for s390.
46265         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
46266         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
46267         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
46268         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
46269         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
46270         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
46271         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46272         Likewise.
46273         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
46274         Likewise.
46275         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
46276         Likewise.
46277         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
46278         Likewise.
46279         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
46280         (__lll_timedlock_elision, __lll_lock_elision)
46281         (__lll_unlock_elision, __lll_trylock_elision)
46282         (lll_timedlock_elision, lll_lock_elision)
46283         (lll_unlock_elision, lll_trylock_elision): Add.
46284         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46285         (pthread_mutex_t): Add lock elision support for s390.
46287 2014-05-14  Wilco  <wdijkstr@arm.com>
46289         * sysdeps/arm/fclrexcpt.c: Cleanup.
46290         * sysdeps/arm/fedisblxcpt.c: Cleanup.
46291         * sysdeps/arm/feenablxcpt.c: Cleanup.
46292         * sysdeps/arm/fegetenv.c: Cleanup.
46293         * sysdeps/arm/fegetexcept.c: Cleanup.
46294         * sysdeps/arm/fegetround.c: Cleanup.
46295         * sysdeps/arm/feholdexcpt.c: Cleanup.
46296         * sysdeps/arm/fesetenv.c: Cleanup.
46297         * sysdeps/arm/fesetround.c: Cleanup.
46298         * sysdeps/arm/feupdateenv.c: Cleanup.
46299         * sysdeps/arm/fgetexcptflg.c: Cleanup.
46300         * sysdeps/arm/fraiseexcpt.c: Cleanup.
46301         * sysdeps/arm/fsetexcptflg.c: Cleanup.
46302         * sysdeps/arm/ftestexcept.c: Cleanup.
46303         * sysdeps/arm/get-rounding-mode.h: Cleanup.
46304         * sysdeps/arm/setfpucw.c: Cleanup.
46306 2014-05-09  Will Newton  <will.newton@linaro.org>
46308         * sysdeps/arm/armv7/strcmp.S: New file.
46309         * NEWS: Mention addition of ARMv7 optimized strcmp.
46311 2014-05-08  Roland McGrath  <roland@hack.frob.com>
46313         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
46314         look for %.ac rather than %.in.
46316         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
46317         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
46318         * sysdeps/mach/hurd/configure: Regenerated.
46319         * sysdeps/unix/sysv/linux/configure: Regenerated.
46321         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
46323 2014-05-07  Steve Ellcey  <sellcey@mips.com>
46325         [BZ #16922]
46326         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
46327         (LONG_SUB): Ditto.
46328         (PTR_SUB): Ditto.
46330 2014-05-07  Andreas Schwab  <schwab@suse.de>
46332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
46333         when skipping over non-matching result from nscd.
46335 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
46337         [BZ #16876]
46338         * nptl/sockperf.c (client): Check socket return value.
46340         [BZ #16877]
46341         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
46342         nscd security class.
46344 2014-05-06  Roland McGrath  <roland@hack.frob.com>
46346         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
46347         * sysdeps/arm/unwind.h: ... here.
46349 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
46351         [BZ #16916]
46352         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
46353         Define.
46355 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46357         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
46358         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
46359         multiarch strncpy for PPC64.
46360         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
46361         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
46362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
46363         multiarch optimizations.
46364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46365         (__libc_ifunc_impl_list): Likewise.
46366         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
46367         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
46368         multiarch stpncpy for PPC64.
46369         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
46370         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
46372 2014-05-06  Andreas Schwab  <schwab@suse.de>
46374         [BZ #16912]
46375         * gmon/mcount.c (_MCOUNT_DECL): Use
46376         atomic_compare_and_exchange_bool_acq instead of
46377         catomic_compare_and_exchange_bool_acq.
46379 2014-05-05  Roland McGrath  <roland@hack.frob.com>
46381         * elf/Makefile (others, install-bin): Remove pldd.
46382         (pldd-modules): Variable removed.
46383         ($(objpfx)pldd): Target removed.
46384         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
46385         (others, install-bin): Append pldd here.
46386         ($(objpfx)pldd): New target.
46388         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
46389         to 0, so the first #if test emitted later doesn't see it undefined.
46390         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
46391         * sysdeps/gnu/errlist.c: Regenerated.
46393 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46395         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46396         [libc_hidden_builtin_def]: Define to empty value.
46397         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
46398         [libc_hidden_builtin_def]: Likewise.
46399         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
46400         [libc_hidden_builtin_def]: Likewise.
46401         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
46402         [libc_hidden_builtin_def]: Likewise.
46403         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
46404         __redirect_memcpy and define ifunc as default hidden symbol.
46405         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
46406         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
46408 2014-05-04  Adam Conrad  <adconrad@0c3.net>
46410         * locale/iso-4217.def: Reintroduce XDR currency.
46412 2014-05-04  Allan McRae  <allan@archlinux.org>
46414         * po/eo.po: Update Esperanto translation from translation project.
46416 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
46418         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
46419         and FEATURE_INDEX_MAX to 1.
46420         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
46422 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46424         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
46425         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
46426         * iconvdata/big5.c (ONE_DIRECTION): Define.
46427         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
46428         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
46429         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
46430         * iconvdata/cp932.c (ONE_DIRECTION): Define.
46431         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
46432         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
46433         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
46434         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
46435         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
46436         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
46437         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
46438         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
46439         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
46440         * iconvdata/gbk.c (ONE_DIRECTION): Define.
46441         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
46442         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
46443         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
46444         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
46445         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
46446         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
46447         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
46448         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
46449         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
46450         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
46451         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
46452         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
46453         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
46454         * iconvdata/iso646.c (ONE_DIRECTION): Define.
46455         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
46456         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
46457         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
46458         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
46459         * iconvdata/johab.c (ONE_DIRECTION): Define.
46460         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
46461         * iconvdata/sjis.c (ONE_DIRECTION): Define.
46462         * iconvdata/t.61.c (ONE_DIRECTION): Define.
46463         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
46464         * iconvdata/tscii.c (ONE_DIRECTION): Define.
46465         * iconvdata/uhc.c (ONE_DIRECTION): Define.
46466         * iconvdata/unicode.c (ONE_DIRECTION): Define.
46467         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
46468         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
46469         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
46471 2014-05-01  Roland McGrath  <roland@hack.frob.com>
46473         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
46474         (_IO_JUMPS_OFFSET): Define to 0.
46476         * nptl/sysdeps/pthread/bits/libc-lock.h
46477         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
46478         (__libc_lock_define_initialized_recursive): Always define using
46479         initializer.  Modern compilers treat uninitialized (implicit zero) and
46480         explicit zero initializers the same (i.e. put the datum in bss).
46482 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46484         * nscd/nscd-client.h: Include <string.h>.
46486 2014-05-01  David S. Miller  <davem@davemloft.net>
46488         [BZ #16885]
46489         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
46490         multiple zero bytes exist at the end of a string.
46491         Reported by Aurelien Jarno <aurelien@aurel32.net>
46493         * string/test-strcmp.c (check): Add explicit test for situations where
46494         there are multiple zero bytes after the first.
46496 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46498         [BZ #16890]
46499         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
46500         when compiling wprintf.
46501         * stdio-common/tstdiomisc.c (t3): New function.
46502         (main): Call it.
46504 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46506         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
46507         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
46508         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
46509         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
46511 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46513         * stdlib/longlong.h: Updated from GCC.
46515 2014-05-01  Will Newton  <will.newton@linaro.org>
46516             Bernard Ogden  <bernie.ogden@linaro.org>
46518         * NEWS: Update fixed bug list.
46520         [BZ #15119]
46521         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
46523 2014-04-30  David S. Miller  <davem@davemloft.net>
46525         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
46526         (libc_feholdexcept_setround_sparc_ctx): New function.
46527         (libc_fesetenv_sparc_ctx): Likewise.
46528         (libc_feupdateenv_sparc_ctx): Likewise.
46529         (libc_feholdsetround_sparc_ctx): Likewise.
46530         (libc_feholdexcept_setround_ctx): Define.
46531         (libc_feholdexcept_setroundf_ctx): Likewise.
46532         (libc_feholdexcept_setroundl_ctx): Likewise.
46533         (libc_fesetenv_ctx): Likewise.
46534         (libc_fesetenvf_ctx): Likewise.
46535         (libc_fesetenvl_ctx): Likewise.
46536         (libc_feupdateenv_ctx): Likewise.
46537         (libc_feupdateenvf_ctx): Likewise.
46538         (libc_feupdateenvl_ctx): Likewise.
46539         (libc_feresetround_ctx): Likewise.
46540         (libc_feresetroundf_ctx): Likewise.
46541         (libc_feresetroundl_ctx): Likewise.
46542         (libc_feholdsetround_ctx): Likewise.
46543         (libc_feholdsetroundf_ctx): Likewise.
46544         (libc_feholdsetroundl_ctx): Likewise.
46546         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46547         with __USE_GNU instead of XOPEN cpp guards.
46549         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
46550         0.
46552         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46553         with XOPEN cpp guards.
46555 2014-04-30  Julian Brown  <julian@codesourcery.com>
46557         [BZ #16888]
46558         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
46559         handling.
46561 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
46563         [BZ #9894]
46564         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
46565         Change to 2.6.32.
46566         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
46567         * sysdeps/unix/sysv/linux/configure: Regenerated.
46568         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
46569         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
46570         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
46571         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
46572         * README: Update reference to required Linux kernel version.
46573         * manual/install.texi (Linux): Update reference to required Linux
46574         kernel headers version.
46575         * INSTALL: Regenerated.
46577         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
46578         header inclusion.
46579         [POSIX] (limits.h): Likewise.
46580         [POSIX] (math.h): Likewise.
46581         [POSIX] (sys/wait.h): Likewise.
46582         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
46583         function.
46584         [POSIX] (stddef.h): Do not allow header inclusion.
46586 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46588         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
46590 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
46592         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
46593         Return immediately after lll_futex_wake.
46595 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46597         [BZ #16791]
46598         * nscd/nscd-client.h (datahead_init_common): Initialize entire
46599         structure.
46600         (datahead_init_pos): Call datahead_init_common early.
46601         (datahead_init_neg): Likewise.
46603         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
46604         datahead_init_neg): New functions.
46605         * nscd/aicache.c (addhstaiX): Use them.
46606         * nscd/grpcache.c (cache_addgr): Likewise.
46607         * nscd/hstcache.c (cache_addhst): Likewise.
46608         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46609         * nscd/netgroupcache.c (do_notfound): Likewise.
46610         (addgetnetgrentX): Likewise.
46611         (addinnetgrX): Likewise.
46612         * nscd/pwdcache.c (cache_addpw): Likewise.
46613         * nscd/servicescache.c (cache_addserv): Likewise.
46615 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46616             Atsushi Onoe  <atsushi@onoe.org>
46618         [BZ #14308]
46619         [BZ #12994]
46620         [BZ #13651]
46621         * resolv/res_query.c (__libc_res_nsearch): Return if at least
46622         one response is valid.
46623         * resolv/res_send.c (send_dg): Check for validity of other
46624         response if the current response is a referral.
46626 2014-04-29  Steve Ellcey  <sellcey@mips.com>
46628         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
46630 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
46632         [BZ #16823]
46633         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
46634         Always divide by positive zero when computing -Inf result.
46635         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46636         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
46638 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46640         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
46641         FPSCR if value do not change.
46642         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46643         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
46644         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
46645         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
46646         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
46647         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
46648         function.
46650 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
46652         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
46653         * sysdeps/unix/sysv/linux/hppa: Move directory from
46654         ports/systeps/unix/sysv/linux/hppa.
46655         * README: Update listing for hppa-*-linux-gnu.
46657 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
46659         [BZ #16754]
46660         * manual/stdio.texi (Hook functions): Fix types of stream hook
46661         functions.
46662         [BZ #16854]
46663         * socket/sys/socket.h: Fix typo in comment.
46665 2014-04-28  Wilco  <wdijkstr@arm.com>
46667         * sysdeps/arm/fenv_private.h: New file.
46668         * sysdeps/arm/math_private.h: New file.
46669         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
46671 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
46673         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
46674         with __int128_t.
46675         (La_x86_64_retval): Likewise.
46677 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
46679         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
46680         fpsr if value didn't change.
46681         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
46682         to fpcr if value didn't change.
46683         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
46684         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
46685         fpsr or fpcr if value didn't change.
46686         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46687         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
46688         fpcr if value didn't change.
46689         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
46690         to fpsr if value didn't change.
46692 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46694         * nptl/tst-sem3.c: Use test-skeleton.c
46695         (main): Rename to do_test.  Use return instead of
46696         exit.
46697         * nptl/tst-sem4.c: Use test-skeleton.c
46698         (main): Rename to do_test.
46700 2014-04-22  David S. Miller  <davem@davemloft.net>
46702         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
46703         (struct sigaction): New struct member __glibc_reserved0, change
46704         type of sa_flags to int.
46706 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
46708         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
46709         (COUNT_LEADING_ZEROS_0): Define for AArch64.
46711 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46713         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
46714         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
46716 2014-04-22  Will Newton  <will.newton@linaro.org>
46717             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
46719         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
46720         (__longjmp): Add longjmp and longjmp_target SystemTap
46721         probes.
46722         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
46723         (__sigsetjmp): Add setjmp SystemTap probe.
46725 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
46727         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
46728         match manual order.
46730 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46732         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
46734         * sysdeps/powerpc/fpu/fenv_private.h
46735         (libc_feholdexcept_setroundl_ctx): Define to
46736         libc_feholdexcept_setround_ppc_ctx.
46737         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
46738         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
46739         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
46740         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
46742 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
46744         * sysdeps/aarch64/math-tests.h: New file.
46746 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
46748         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
46749         New.
46750         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46751         Check and set bit_AVX2_Usable.
46752         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
46753         macro.
46754         (bit_AVX2): Likewise.
46755         (index_AVX2_Usable): Likewise.
46756         (CPUID_AVX2): Likewise.
46757         (HAS_AVX2): Likewise.
46759 2014-04-17  Will Newton  <will.newton@linaro.org>
46761         * manual/setjmp.texi (System V contexts): Add note that
46762         calling setcontext on a context created by a call to a
46763         signal handler is undefined.  Update text to note that
46764         setcontext from a signal handler is possible but not
46765         recommended.
46767         [BZ #16629]
46768         * stdlib/tst-setcontext.c: Include signal.h.
46769         (main): Check that the signal stack before and
46770         after swapcontext is the same.
46772         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
46773         Re-implement to restore registers in user code and avoid
46774         rt_sigreturn system call.
46776 2014-04-17  Wilco  <wdijkstr@arm.com>
46778         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
46779         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
46780         * math/test-fenv.c: Skip exception trap tests on targets which only
46781         support non-stop mode.
46783 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
46784             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46786         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
46787         (libc_feholdsetround_aarch64_ctx)
46788         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
46789         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
46790         (libc_feresetround_ctx, libc_feresetroundf_ctx)
46791         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
46792         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
46793         (libc_feresetround_noexl_ctx): Define.
46795 2014-04-16  Richard Henderson  <rth@redhat.com>
46797         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
46799         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
46800         unwind tables.
46802         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
46803         const from the non-libc, non-ldso copy.
46805         * sysdeps/alpha/libm-test-ulps: Regenerate.
46807 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
46808             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46810         * sysdeps/aarch64/fpu/math_private.h: New file.
46812 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46814         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46816 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
46818         [BZ #16275]
46819         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
46820         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
46821         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
46822         Intel MPX bound registers before _dl_profile_fixup.
46823         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
46824         registers after _dl_profile_fixup.  Save and restore bound
46825         registers bnd0/bnd1 when calling _dl_call_pltexit.
46826         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
46827         (LR_BND_OFFSET): Likewise.
46828         (LRV_BND0_OFFSET): Likewise.
46829         (LRV_BND1_OFFSET): Likewise.
46831 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46833         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
46834         to...
46835         * sysdeps/mach/hurd/i386/tls.h: ... here.
46836         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
46837         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
46838         fields.
46840 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46842         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
46844 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46846         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46848 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46850         [BZ #14770]
46851         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
46852         * sysdeps/s390/configure: Regenerate.
46854         [BZ #16824]
46855         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
46856         Set round-to-nearest internally to reduce error accumulation.
46858 2014-04-16  Alan Modra  <amodra@gmail.com>
46860         [BZ #16740]
46861         [BZ #16619]
46862         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
46863         * math/libm-test.inc (frexp_test_data): Add tests.
46864         * NEWS: Update fixed bug list.
46866 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46868         * benchtests/Makefile: Depend on libraries in build directory.
46869         (bench-math): Separate out math tests.
46870         (bench-pthread): Separate out pthread tests.
46871         (bench): Include math and pthread tests.
46873 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
46875         [BZ #16831]
46876         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
46877         _dl_debug_initialize.
46879         * configure.ac: Remove SELinux header check.
46880         * configure: Regenerate.
46881         * nscd/selinux.c (perms): Array of const char* to permission names.
46882         (nscd_request_avc_has_perm): Call security_deny_unknown to find
46883         default policy. Call string_to_security_class and string_to_av_perm to
46884         translate strings. Enforce default policy and call avs_has_perm with
46885         results of translated strings.
46887 2014-04-13  David S. Miller  <davem@davemloft.net>
46889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46891 2014-04-12  Allan McRae  <allan@archlinux.org>
46893         [BZ #16838]
46894         * manual/string.texi (Collation Functions): Fix qsort argument
46895         order in example.
46896         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46898 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
46900         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
46901         Make the test a no-op if there are no exceptions defined.
46903 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
46905         * elf/Makefile (tests): make tst-dlopen-aout conditional on
46906         enable-hardcoded-path-in-tests
46908 2014-04-11  Will Newton  <will.newton@linaro.org>
46910         * benchtests/Makefile (extra-objs): Add json-lib.o.
46911         (bench-func): Tidy up JSON output.
46912         * benchtests/bench-skeleton.c: Include json-lib.h.
46913         (main): Use JSON library functions to do output of
46914         benchmark results.
46915         * benchtests/bench-timing-type.c (main): Output the
46916         timing type simply, leaving formatting to the user.
46917         * benchtests/json-lib.c: New file.
46918         * benchtests/json-lib.h: Likewise.
46920 2014-04-11  Torvald Riegel  <triegel@redhat.com>
46922         [BZ #15215]
46923         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
46924         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
46925         memory barriers.  Add comments.
46926         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
46927         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
46928         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
46929         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
46930         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
46931         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
46933 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46935         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
46936         * sysdeps/s390/s390-64/configure.ac: ... this ...
46937         * sysdeps/s390/configure.ac: ... to here.
46938         * sysdeps/s390/s390-32/configure: Delete file.
46939         * sysdeps/s390/s390-64/configure: Delete file.
46940         * sysdeps/s390/configure: Regenerate.
46942 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
46944         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
46946 2014-04-11  Will Newton  <will.newton@linaro.org>
46948         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
46949         to zero if it is not defined elsewhere.  (mtrim): Test
46950         the value of MALLOC_DEBUG with #if rather than #ifdef.
46952 2014-04-10 Torvald Riegel  <triegel@redhat.com>
46954         * benchtests/pthread_once-inputs: New file.
46955         * benchtests/pthread_once-source.c: New file.
46956         * benchtests/README: Update documentation.
46958 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
46959             H.J. Lu  <hongjiu.lu@intel.com>
46961         [BZ #16275]
46962         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
46963         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
46964         * sysdeps/x86_64/configure: Regenerated.
46965         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
46966         macro.
46967         (REGISTER_SAVE_RAX): Likewise.
46968         (REGISTER_SAVE_RCX): Likewise.
46969         (REGISTER_SAVE_RDX): Likewise.
46970         (REGISTER_SAVE_RSI): Likewise.
46971         (REGISTER_SAVE_RDI): Likewise.
46972         (REGISTER_SAVE_R8): Likewise.
46973         (REGISTER_SAVE_R9): Likewise.
46974         (REGISTER_SAVE_BND0): Likewise.
46975         (REGISTER_SAVE_BND1): Likewise.
46976         (REGISTER_SAVE_BND2): Likewise.
46977         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
46978         bound registers when calling _dl_fixup.
46980 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46982         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
46983         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
46984         of its definition.
46985         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
46986         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
46987         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
46988         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
46989         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
46990         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
46991         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
46993 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
46995         [BZ #15514]
46996         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
46997         pathconf(_PC_NAME_MAX).
46999 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47001         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
47002         Remove macro usage.
47003         (__PTHREAD_SPINS): Move definition to ...
47004         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47005         (__PTHREAD_SPINS): ... here.
47006         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47007         (__PTHREAD_SPIN): Likewise.
47008         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
47009         (__PTHREAD_SPIN): Likewise.
47010         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
47011         (__PTHREAD_SPIN): Likewise.
47012         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
47013         (__PTHREAD_SPIN): Likewise.
47014         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47015         (__PTHREAD_SPIN): Likewise.
47016         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47017         (__PTHREAD_SPIN): Likewise.
47018         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
47019         (__PTHREAD_SPIN): Likewise.
47020         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47021         (__PTHREAD_SPIN): Likewise.
47022         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47023         (__PTHREAD_SPIN): Likewise.
47024         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47025         (__PTHREAD_SPIN): Likewise.
47026         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47027         (__PTHREAD_SPIN): Likewise.
47028         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
47029         (__PTHREAD_SPIN): Likewise.
47031         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
47032         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
47033         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
47034         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
47035         imply folder.
47036         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
47037         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
47038         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
47039         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
47040         correct imply path.
47041         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
47042         strlen symbol for non multi-arch builds.
47043         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
47044         missing hidden_def and weak_alias.
47046 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
47048         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
47050 2014-04-07  Will Newton  <will.newton@linaro.org>
47052         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
47053         and contents.  [!_LIBC] Remove #ifndef and contents.
47054         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
47055         * string/memccpy.c (__memccpy): Use ANSI prototype.
47056         * string/memfrob.c (memfrob): Likewise.
47057         * string/strcoll.c (STRCOLL): Likewise.
47058         * string/strlen.c (strlen): Likewise.
47059         * string/strtok.c (STRTOK): Likewise.
47060         * string/strcat.c: Remove unused #include of memcopy.h.
47061         (strcat): Use ANSI prototype.
47062         * string/strchr.c: Remove unused #include of memcopy.h.
47063         (strchr): Use ANSI prototype.
47064         * string/strcmp.c: Remove unused #include of memcopy.h.
47065         (strcmp): Use ANSI prototype.
47066         * string/strcpy.c: Remove unused #include of memcopy.h.
47067         (strcpy): Use ANSI prototype.
47069 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47071         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
47072         * config.make.in (config-extra-cppflags): Set it from
47073         libc_extra_cppflags.
47074         * configure.ac (libc_extra_cflags): Make it accumulate over
47075         configure fragments.
47076         (libc_extra_cppflags): New flag.
47077         * configure. Regenerate.
47078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
47079         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
47080         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
47081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
47083         [BZ #16815]
47084         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
47085         result for FE_DOWNWARD rounding mode.
47086         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
47087         Likewise.
47088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47090 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
47092         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
47093         in function argument name.
47095 2014-04-03  David Svoboda  <svoboda@cert.org>
47097         [BZ #5666]
47098         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
47099         explicitly.
47101 2014-04-03  Roland McGrath  <roland@hack.frob.com>
47103         * elf/dl-unmap-segments.h: New file.
47104         * sysdeps/generic/ldsodefs.h
47105         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
47106         * elf/dl-close.c: Include <dl-unmap-segments.h>.
47107         * elf/dl-fptr.c: Likewise.
47108         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
47109         * sysdeps/aarch64/tlsdesc.c: Likewise.
47110         * sysdeps/arm/tlsdesc.c: Likewise.
47111         * sysdeps/i386/tlsdesc.c: Likewise.
47112         * sysdeps/tile/dl-runtime.c: Likewise.
47113         * sysdeps/x86_64/tlsdesc.c: Likewise.
47114         * elf/dl-load.h: New file.
47115         * elf/dl-load.c: Include it.
47116         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
47117         Macros moved to dl-load.h.
47118         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
47119         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
47120         Use _dl_unmap_segments in place of __munmap.
47121         Break out segment-mapping loop into ...
47122         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
47124 2014-04-03  Will Newton  <will.newton@linaro.org>
47126         * elf/dl-lookup.c (do_lookup_x): Remove comment
47127         referring to nested function and move variable
47128         declarations down to before first use.
47130 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
47132         [BZ #16799]
47133         [BZ #16800]
47134         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
47135         with 0 numerator.
47136         * math/s_catanf.c (__catanf): Likewise.
47137         * math/s_catanh.c (__catanh): Likewise.
47138         * math/s_catanhf.c (__catanhf): Likewise.
47139         * math/s_catanhl.c (__catanhl): Likewise.
47140         * math/s_catanl.c (__catanl): Likewise.
47141         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
47142         by positive zero when computing -Inf result.
47143         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
47144         (catanh_test): Likewise.
47145         * sysdeps/i386/fpu/libm-test-ulps: Update.
47146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47148         [BZ #16789]
47149         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
47150         instead of using underflowing value in computing result.
47151         * math/s_clog10.c (__clog10): Likewise.
47152         * math/s_clog10f.c (__clog10f): Likewise.
47153         * math/s_clog10l.c (__clog10l): Likewise.
47154         * math/s_clogf.c (__clogf): Likewise.
47155         * math/s_clogl.c (__clogl): Likewise.
47156         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
47157         (clog10_test): Likewise.
47158         * sysdeps/i386/fpu/libm-test-ulps: Update.
47159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47161 2014-04-02  Alan Modra  <amodra@gmail.com>
47163         [BZ #16739]
47164         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
47165         output when value is near a power of two.  Use int64_t for lx and
47166         remove casts.  Use decimal rather than hex exponent constants.
47167         Don't use long double multiplication when double will suffice.
47168         * math/libm-test.inc (nextafter_test_data): Add tests.
47169         * NEWS: Add 16739 and 16786 to bug list.
47171         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
47173         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
47175 2014-04-01  Will Newton  <will.newton@linaro.org>
47177         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
47178         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
47180 2014-04-01  Florian Weimer  <fweimer@redhat.com>
47182         [BZ #13347]
47183         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
47184         * nptl/tst-setuid2.c: New file.
47185         * nptl/Makefile (xtests): Add tst-setuid2.
47187 2014-04-01  Alan Modra  <amodra@gmail.com>
47189         [BZ #16786]
47190         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
47192 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47194         [BZ #6803]
47195         [BZ #6804]
47196         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
47197         set errno as appropriate.
47198         * math/w_scalbf.c (__scalbf): Likewise.
47199         * math/w_scalbl.c (__scalbl): Likewise.
47200         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
47201         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
47202         * math/libm-test.inc (scalb_test_data): Add errno expectations.
47203         Add more NaN tests.
47205         [BZ #16349]
47206         * math/w_atan2.c: Include <errno.h>.
47207         (__atan2): Set errno for result underflowing to zero.
47208         * math/w_atan2f.c: Include <errno.h>.
47209         (__atan2f): Set errno for result underflowing to zero.
47210         * math/w_atan2l.c: Include <errno.h>.
47211         (__atan2l): Set errno for result underflowing to zero.
47212         * math/auto-libm-test-in: Don't allow missing errno for some atan2
47213         tests.
47214         * math/auto-libm-test-out: Regenerated.
47216 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47218         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
47219         Encode instruction correctly in little endian.
47220         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
47221         Likewise.
47222         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
47223         Likewise.
47224         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
47225         Likewise.
47226         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
47227         Likewise.
47229 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47231         [BZ #9894]
47232         * sysdeps/unix/sysv/linux/kernel-features.h
47233         [__sparc__ && !__arch64__ && !__sparc_v9__]
47234         (__ASSUME_SET_ROBUST_LIST): Do not define.
47235         [__sparc__ && !__arch64__ && !__sparc_v9__]
47236         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47237         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
47238         Likewise.
47239         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47240         (__ASSUME_FUTEX_LOCK_PI): Undefine.
47241         (__ASSUME_REQUEUE_PI): Likewise.
47242         (__ASSUME_SET_ROBUST_LIST): Likewise.
47243         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47244         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
47245         Undefine.
47246         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47247         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
47248         Likewise.
47249         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
47250         Likewise.
47251         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
47252         Likewise.
47253         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47254         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
47255         Undefine.
47256         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
47257         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
47258         Likewise.
47260         [BZ #16648]
47261         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47262         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
47263         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
47265 2014-03-31  Will Newton  <will.newton@linaro.org>
47267         * benchtests/Makefile (bench): Add ffs and ffsll to list
47268         of tests.
47269         * benchtests/ffs-inputs: New file.
47270         * benchtests/ffsll-inputs: Likewise.
47272 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
47274         [BZ #16770]
47275         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
47276         too large before casting to int.
47277         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
47278         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
47279         * math/libm-test.inc (scalb_test_data): Add more tests.
47281 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47283         * benchtests/Makefile (DETAILED_OPT): New make option.
47284         (bench-func): Run benchmark program with -d if DETAILED_OPT is
47285         set.
47286         * benchtests/bench-skeleton.c: Include stdbool.h.
47287         (main): Store and print timings per input.
47288         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
47289         member to each argument value.
47290         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
47291         (_print_arg_data): Initialize per-input timing to 0.
47293         * benchtests/Makefile (timing-type): New binary.
47294         (bench-clean): Also remove bench-timing-type.
47295         (bench): New target for timing-type.
47296         (bench-func): Print output in JSON format.
47297         * benchtests/bench-skeleton.c (main): Print output in JSON
47298         format.
47299         * benchtests/bench-timing-type.c: New file.
47300         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
47301         (TIMING_PRINT_STATS): Remove.
47302         * benchtests/scripts/bench.py (_print_arg_data): Store variant
47303         name separately.
47305         * benchtests/bench-modf.c: Remove.
47306         * benchtests/modf-inputs: New inputs file.
47308 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
47310         [BZ #16362]
47311         * math/s_clog10.c (M_PI_LOG10E): New macro.
47312         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
47313         imaginary parts are 0.
47314         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
47315         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
47316         imaginary parts are 0.
47317         * math/s_clog10l.c (M_PI_LOG10El): New macro.
47318         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
47319         imaginary parts are 0.
47320         * math/libm-test.inc (clog10_test_data): Update expected results
47321         for when real and imaginary parts are 0.
47323 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
47325         * elf/dl-load.c: Finish conversion of __builtin_expect into
47326         __glibc_{un}likely.
47328 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
47330         [BZ #16348]
47331         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
47332         1+x for argument with exponent below -67.
47333         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
47334         Likewise.
47335         * math/auto-libm-test-in: Add more tests of exp.
47336         * math/auto-libm-test-out: Regenerated.
47338 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47340         [BZ #16759]
47341         * inet/getnetgrent_r.c (get_nonempty_val): New function.
47342         (nscd_getnetgrent): Use it.
47344         [BZ #16760]
47345         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
47346         of stpcpy.
47348 2014-03-27  Andi Kleen  <ak@linux.intel.com>
47350         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
47351         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47352         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47353         (lll_robust_unlock): Remove out of line section. Use cfi
47354         intrinsics.
47355         (LLL_STUB_UNWIND_INFO*): Remove.
47356         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
47357         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47358         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47359         (lll_robust_unlock): Remove out of line section. Use cfi
47360         intrinsics.
47361         (LLL_STUB_UNWIND_INFO*): Remove.
47363 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47365         [BZ #16758]
47366         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
47367         blank values.
47369 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
47371         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
47373 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
47375         [BZ #16198]
47376         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
47377         fnstenv.
47378         * math/test-fenv-preserve.c: New file.
47379         * math/Makefile (tests): Add test-fenv-preserve.
47381 2014-03-26  Will Newton <will.newton@linaro.org>
47383         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
47385 2014-03-25  Roland McGrath  <roland@hack.frob.com>
47387         * scripts/versionlist.awk: Partition the version sets and emit all
47388         GLIBC_* (sorted) before all others (sorted).
47390 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47392         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
47393         GLIBC_2.2.5 version.
47395 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47397         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
47398         calls.
47400         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
47401         previous change.
47403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47405 2014-03-25  Andreas Schwab  <schwab@suse.de>
47407         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
47408         label to be used after in6ailist is initialized.
47410 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47412         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47413         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47415 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47417         [BZ #16357]
47418         [BZ #16599]
47419         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
47420         min_plus_half.
47421         (fp_formats): Update initializers.
47422         (init_fp_formats): Initialize new field.
47423         (output_for_one_input_case): Allow underflow for results up to
47424         min_plus_half.
47425         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
47426         * math/auto-libm-test-in: Don't mark some underflows from asin and
47427         atanh as spurious.
47428         * math/auto-libm-test-out: Regenerated.
47429         * sysdeps/i386/fpu/libm-test-ulps: Update.
47430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47432 2014-03-25  Andreas Schwab  <schwab@suse.de>
47434         * libio/Makefile (tst-ftell-partial-wide-ENV)
47435         (tst-ftell-active-handler-ENV): Define.
47437 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
47439         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
47441 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47443         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
47445 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47447         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
47448         * sysdeps/x86_64/fpu/multiarch/e_exp.c
47449         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
47451 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47453         [BZ #16634]
47454         * elf/dl-load.c (open_verify): Add mode parameter.
47455         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
47456         (open_path): Change from boolean 'secure' to complete flag 'mode'
47457         (_dl_map_object): Adjust.
47458         * elf/Makefile (tests): Add tst-dlopen-aout.
47459         * elf/tst-dlopen-aout.c: New test.
47461 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
47463         [BZ #16714]
47464         * sysdeps/unix/sysv/linux/s390/bits/stat.h
47465         (struct stat): Rename member pad0 to __glibc_reserved0.
47467         [BZ #16712]
47468         * sysdeps/s390/s390-32/bits/wordsize.h
47469         (__WORDSIZE32_SIZE_ULONG): New define.
47470         * sysdeps/s390/s390-64/bits/wordsize.h
47471         (__WORDSIZE32_SIZE_ULONG): Likewise.
47472         * sysdeps/generic/stdint.h (SIZE_MAX):
47473         Define as UL if __WORDSIZE32_SIZE_ULONG.
47475         [BZ #16713]
47476         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
47477         (__glibc_reserved0): New variable.
47478         (sa_flags): Change type to int.
47480         * posix/Makefile (before-compile): Use += before-compile instead
47481         of a :=.
47483         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47484         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47486 2014-03-20  Andreas Schwab  <schwab@suse.de>
47488         [BZ #16743]
47489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
47490         non-matching result from nscd.
47492 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47494         * scripts/bench.py: Moved to ...
47495         * benchtests/scripts/bench.py: ... here.
47496         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
47498 2014-03-24  Andreas Schwab  <schwab@suse.de>
47500         [BZ #16002]
47501         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
47502         alloca_account and account alloca use for struct in6ailist.
47504 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47506         [BZ #16284]
47507         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
47508         rounding mode to recompute results that overflow to infinity or
47509         underflow to zero.
47510         * math/auto-libm-test-in: Don't mark tests as expected to fail for
47511         bug 16284.
47512         * math/auto-libm-test-out: Regenerated.
47513         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
47514         (ccosh_test): Likewise.
47515         (csin_test_data): Use plus_oflow.
47516         (csin_test): Use ALL_RM_TEST.
47517         (csinh_test_data): Use plus_oflow.
47518         (csinh_test): Use ALL_RM_TEST.
47519         * sysdeps/i386/fpu/libm-test-ulps: Update.
47520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47522 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
47524         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
47525         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
47526         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
47528         [BZ #16731]
47529         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
47530         when x - 1 is zero.
47531         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
47532         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
47533         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47534         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
47535         argument is 1.
47536         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
47537         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
47538         zero.
47539         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
47540         * sysdeps/i386/fpu/libm-test-ulps: Update.
47541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47543 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47545         * scripts/bench.pl: Remove file.
47546         * scripts/bench.py: New benchmark script.
47547         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
47548         * benchtests/README: Mention python dependency.
47549         * scripts/pylintrc: New file.
47550         * scripts/pylint: New file.
47552         * bits/mathdef.h: Use #ifdef instead of #if.
47553         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
47554         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47555         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
47556         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47557         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
47558         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47560 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47561             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47563         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
47564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
47565         and strpbrk-ppc64 objects.
47566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47567         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
47568         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
47569         multiarch strpbrk for POWER7.
47570         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
47571         multiarch strpbrk for PPC64.
47572         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
47573         ifunc selector.
47574         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
47575         strpbrk for POWER7.
47577 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47579         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
47580         (atan_test): Likewise.
47581         (atanh_test_data): Use NO_TEST_INLINE for two tests.
47582         (atanh_test): Use ALL_RM_TEST.
47583         (atan2_test_data): Likewise.
47584         (cabs_test): Likewise.
47585         (cacosh_test): Likewise.
47586         (carg_test): Likewise.
47587         (casin_test): Likewise.
47588         (casinh_test): Likewise.
47589         (cbrt_test): Likewise.
47590         (csqrt_test): Likewise.
47591         (erf_test): Likewise.
47592         (erfc_test): Likewise.
47593         (pow10_test): Likewise.
47594         (exp2_test): Likewise.
47595         (hypot_test): Likewise.
47596         (j0_test): Likewise.
47597         (j1_test): Likewise.
47598         (lgamma_test): Likewise.
47599         (gamma_test): Likewise.
47600         (sincos_test): Likewise.
47601         (tanh_test): Likewise.
47602         (y0_test): Likewise.
47603         (y1_test): Likewise.
47604         * sysdeps/i386/fpu/libm-test-ulps: Update.
47605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47607 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47609         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
47610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
47611         and strcspn-ppc64 objects.
47612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47613         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
47614         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
47615         multiarch strcspn for POWER7.
47616         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
47617         multiarch strcspn for PPC64.
47618         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
47619         ifunc selector.
47620         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
47621         strcspn for POWER7.
47623 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47625         * math/gen-libm-test.pl (generate_testfile): Expect only function
47626         name as argument to AUTO_TESTS_* and pass results for all rounding
47627         modes to parse_args.
47628         (parse_auto_input): Separate inputs of automatic tests from
47629         outputs before storing in %auto_tests.
47630         * math/libm-test.inc (acos_test_data): Update call to
47631         AUTO_TESTS_f_f.
47632         (acos_test): Use ALL_RM_TEST.
47633         (acos_tonearest_test_data): Remove.
47634         (acos_test_tonearest): Likewise.
47635         (acos_towardzero_test_data): Likewise.
47636         (acos_test_towardzero): Likewise.
47637         (acos_downward_test_data): Likewise.
47638         (acos_test_downward): Likewise.
47639         (acos_upward_test_data): Likewise.
47640         (acos_test_upward): Likewise.
47641         (acosh_test_data): Update call to AUTO_TESTS_f_f.
47642         (asin_test_data): Likewise.
47643         (asin_test): Use ALL_RM_TEST.
47644         (asin_tonearest_test_data): Remove.
47645         (asin_test_tonearest): Likewise.
47646         (asin_towardzero_test_data): Likewise.
47647         (asin_test_towardzero): Likewise.
47648         (asin_downward_test_data): Likewise.
47649         (asin_test_downward): Likewise.
47650         (asin_upward_test_data): Likewise.
47651         (asin_test_upward): Likewise.
47652         (asinh_test_data): Update call to AUTO_TESTS_f_f.
47653         (atan_test_data): Likewise.
47654         (atanh_test_data): Likewise.
47655         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
47656         (cabs_test_data): Update call to AUTO_TESTS_c_f.
47657         (carg_test_data): Likewise.
47658         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
47659         (ccos_test_data): Update call to AUTO_TESTS_c_c.
47660         (ccosh_test_data): Likewise.
47661         (cexp_test_data): Likewise.
47662         (clog_test_data): Likewise.
47663         (clog10_test_data): Likewise.
47664         (cos_test_data): Update call to AUTO_TESTS_f_f.
47665         (cos_test): Use ALL_RM_TEST.
47666         (cos_tonearest_test_data): Remove.
47667         (cos_test_tonearest): Likewise.
47668         (cos_towardzero_test_data): Likewise.
47669         (cos_test_towardzero): Likewise.
47670         (cos_downward_test_data): Likewise.
47671         (cos_test_downward): Likewise.
47672         (cos_upward_test_data): Likewise.
47673         (cos_test_upward): Likewise.
47674         (cosh_test_data): Update call to AUTO_TESTS_f_f.
47675         (cosh_test): Use ALL_RM_TEST.
47676         (cosh_tonearest_test_data): Remove.
47677         (cosh_test_tonearest): Likewise.
47678         (cosh_towardzero_test_data): Likewise.
47679         (cosh_test_towardzero): Likewise.
47680         (cosh_downward_test_data): Likewise.
47681         (cosh_test_downward): Likewise.
47682         (cosh_upward_test_data): Likewise.
47683         (cosh_test_upward): Likewise.
47684         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
47685         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
47686         (ctan_test_data): Likewise.
47687         (ctan_test): Use ALL_RM_TEST.
47688         (ctan_tonearest_test_data): Remove.
47689         (ctan_test_tonearest): Likewise.
47690         (ctan_towardzero_test_data): Likewise.
47691         (ctan_test_towardzero): Likewise.
47692         (ctan_downward_test_data): Likewise.
47693         (ctan_test_downward): Likewise.
47694         (ctan_upward_test_data): Likewise.
47695         (ctan_test_upward): Likewise.
47696         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
47697         (ctanh_test): Use ALL_RM_TEST.
47698         (ctanh_tonearest_test_data): Remove.
47699         (ctanh_test_tonearest): Likewise.
47700         (ctanh_towardzero_test_data): Likewise.
47701         (ctanh_test_towardzero): Likewise.
47702         (ctanh_downward_test_data): Likewise.
47703         (ctanh_test_downward): Likewise.
47704         (ctanh_upward_test_data): Likewise.
47705         (ctanh_test_upward): Likewise.
47706         (erf_test_data): Update call to AUTO_TESTS_f_f.
47707         (erfc_test_data): Likewise.
47708         (exp_test_data): Likewise.
47709         (exp_test): Use ALL_RM_TEST.
47710         (exp_tonearest_test_data): Remove.
47711         (exp_test_tonearest): Likewise.
47712         (exp_towardzero_test_data): Likewise.
47713         (exp_test_towardzero): Likewise.
47714         (exp_downward_test_data): Likewise.
47715         (exp_test_downward): Likewise.
47716         (exp_upward_test_data): Likewise.
47717         (exp_test_upward): Likewise.
47718         (exp10_test_data): Update call to AUTO_TESTS_f_f.
47719         (exp10_test): Use ALL_RM_TEST.
47720         (exp10_tonearest_test_data): Remove.
47721         (exp10_test_tonearest): Likewise.
47722         (exp10_towardzero_test_data): Likewise.
47723         (exp10_test_towardzero): Likewise.
47724         (exp10_downward_test_data): Likewise.
47725         (exp10_test_downward): Likewise.
47726         (exp10_upward_test_data): Likewise.
47727         (exp10_test_upward): Likewise.
47728         (exp2_test_data): Update call to AUTO_TESTS_f_f.
47729         (expm1_test_data): Likewise.
47730         (expm1_test): Use ALL_RM_TEST.
47731         (expm1_tonearest_test_data): Remove.
47732         (expm1_test_tonearest): Likewise.
47733         (expm1_towardzero_test_data): Likewise.
47734         (expm1_test_towardzero): Likewise.
47735         (expm1_downward_test_data): Likewise.
47736         (expm1_test_downward): Likewise.
47737         (expm1_upward_test_data): Likewise.
47738         (expm1_test_upward): Likewise.
47739         (fma_test_data): Update call to AUTO_TESTS_fff_f.
47740         (fma_test): Use ALL_RM_TEST.
47741         (fma_towardzero_test_data): Remove.
47742         (fma_test_towardzero): Likewise.
47743         (fma_downward_test_data): Likewise.
47744         (fma_test_downward): Likewise.
47745         (fma_upward_test_data): Likewise.
47746         (fma_test_upward): Likewise.
47747         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
47748         (j0_test_data): Update call to AUTO_TESTS_f_f.
47749         (j1_test_data): Likewise.
47750         (jn_test_data): Update call to AUTO_TESTS_if_f.
47751         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
47752         (log_test_data): Update call to AUTO_TESTS_f_f.
47753         (log10_test_data): Likewise.
47754         (log1p_test_data): Likewise.
47755         (log2_test_data): Likewise.
47756         (pow_test_data): Update call to AUTO_TESTS_ff_f.
47757         (pow_tonearest_test_data): Likewise.
47758         (sin_test_data): Update call to AUTO_TESTS_f_f.
47759         (sin_test): Use ALL_RM_TEST.
47760         (sin_tonearest_test_data): Remove.
47761         (sin_test_tonearest): Likewise.
47762         (sin_towardzero_test_data): Likewise.
47763         (sin_test_towardzero): Likewise.
47764         (sin_downward_test_data): Likewise.
47765         (sin_test_downward): Likewise.
47766         (sin_upward_test_data): Likewise.
47767         (sin_test_upward): Likewise.
47768         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
47769         (sinh_test_data): Update call to AUTO_TESTS_f_f.
47770         (sinh_test): Use ALL_RM_TEST.
47771         (sinh_tonearest_test_data): Remove.
47772         (sinh_test_tonearest): Likewise.
47773         (sinh_towardzero_test_data): Likewise.
47774         (sinh_test_towardzero): Likewise.
47775         (sinh_downward_test_data): Likewise.
47776         (sinh_test_downward): Likewise.
47777         (sinh_upward_test_data): Likewise.
47778         (sinh_test_upward): Likewise.
47779         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
47780         (sqrt_test): Use ALL_RM_TEST.
47781         (sqrt_tonearest_test_data): Remove.
47782         (sqrt_test_tonearest): Likewise.
47783         (sqrt_towardzero_test_data): Likewise.
47784         (sqrt_test_towardzero): Likewise.
47785         (sqrt_downward_test_data): Likewise.
47786         (sqrt_test_downward): Likewise.
47787         (sqrt_upward_test_data): Likewise.
47788         (sqrt_test_upward): Likewise.
47789         (tan_test_data): Update call to AUTO_TESTS_f_f.
47790         (tan_test): Use ALL_RM_TEST.
47791         (tan_tonearest_test_data): Remove.
47792         (tan_test_tonearest): Likewise.
47793         (tan_towardzero_test_data): Likewise.
47794         (tan_test_towardzero): Likewise.
47795         (tan_downward_test_data): Likewise.
47796         (tan_test_downward): Likewise.
47797         (tan_upward_test_data): Likewise.
47798         (tan_test_upward): Likewise.
47799         (tanh_test_data): Update call to AUTO_TESTS_f_f.
47800         (tgamma_test_data): Likewise.
47801         (y0_test_data): Likewise.
47802         (y1_test_data): Likewise.
47803         (yn_test_data): Update call to AUTO_TESTS_if_f.
47804         (main): Do not call removed functions.
47806 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47808         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
47809         (ldexp_test_data): Remove.
47810         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
47811         scalbn_test_data.
47812         (scalb_test): Use ALL_RM_TEST.
47814 2014-03-19  Andreas Schwab  <schwab@suse.de>
47816         * nscd/nscd.service: Also invalidate netgroup cache on reload.
47818 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47820         [BZ #16649]
47821         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47822         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
47823         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
47824         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47825         (__ASSUME_PREADV): Undefine.
47826         (__ASSUME_PWRITEV): Likewise.
47828 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47830         * bits/mman-linux.h: Add comment about non-Linux use.
47831         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
47832         bits/mman-linux.h resting place.
47834         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
47835         * bits/mman-linux.h: ... here.
47837 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47839         * conform/conformtest.pl: Add standard definition when calling C
47840         preprocessor on data files.
47841         (checknamespace): Remove unused variable.
47843 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47845         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
47846         minus_oflow, plus_uflow and minus_uflow in expected results.
47847         * math/libm-test.inc (scalbn_test_data): Add more tests of
47848         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
47849         minus_uflow.
47850         (scalbn_test): Use ALL_RM_TEST.
47851         (scalbln_test_data): Add more tests of negative arguments.  Use
47852         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
47853         (scalbln_test): Use ALL_RM_TEST.
47855 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47857         * scripts/abilist.awk: Ignore symbols marked with .hidden.
47859 2014-03-18  Will Newton  <will.newton@linaro.org>
47861         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
47862         inaccurate comment.
47864 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47866         * Makerules [!subdir] (check-abi): Exit with error status if a
47867         test failed.
47869 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47871         * math/libm-test.inc (nearbyint_test_data): Include all tests used
47872         for rint.  Include results for all rounding modes.
47873         (nearbyint_test): Use ALL_RM_TEST.
47874         (rint_test_data): Include all tests used for nearbyint.
47876 2014-03-17  Will Newton  <will.newton@linaro.org>
47878         * nptl/sysdeps/pthread/pthread.h: Revert previous
47879         change.
47881         * sysdeps/generic/ldsodefs.h: Revert previous
47882         change.
47884         * libio/genops.c: Revert previous change.
47885         * libio/libioP.h: Likewise.
47886         * stdio-common/vfprintf.c: Likewise.
47888         * sysdeps/generic/math_private.h: Revert previous
47889         change.
47891         * sysdeps/generic/math_private.h: Check whether
47892         HAVE_RM_CTX is defined with #ifdef rather
47893         than #if.
47895         * argp/argp-fmtstream.h: Check whether
47896         __STRICT_ANSI__ is defined with #ifdef rather
47897         than #if.
47898         * argp/argp.h: Likewise.
47900         * libio/genops.c: Check whether
47901         _IO_JUMPS_OFFSET is defined with #ifdef rather
47902         than #if.
47903         * libio/libioP.h: Likewise.
47904         * stdio-common/vfprintf.c: Likewise.
47906         * sysdeps/generic/ldsodefs.h: Check whether
47907         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
47908         than #if.
47910         * nptl/sysdeps/pthread/pthread.h: Check
47911         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
47912         its value.
47914 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47916         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
47917         setting O_APPEND.
47918         * libio/tst-ftell-active-handler.c (do_append_test): Add a
47919         test case.
47921         [BZ #16680]
47922         * libio/fileops.c (_IO_file_open): Seek to end of file but
47923         don't cache the offset.
47924         (get_file_offset): Remove function.
47925         (do_ftell): Use cached offset when available.
47926         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
47927         don't cache the offset.
47928         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
47929         case.
47930         (do_one_test): Call it.
47931         (do_ftell_test): Fix up expected old offset for a+ mode.
47932         * libio/wfileops.c (do_ftell_wide): Used cached offset when
47933         available.
47935         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
47936         up test status with function return status.
47937         (do_write_test): Likewise.
47938         (do_append_test): Likewise.
47940         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
47941         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
47942         Remove.
47944 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47946         * math/gen-libm-test.pl (parse_args): Handle results specified for
47947         each rounding mode separately.
47948         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
47949         tests and results from lrint_tonearest_test_data,
47950         lrint_towardzero_test_data, lrint_downward_test_data and
47951         lrint_upward_test_data.
47952         (lrint_test): Use ALL_RM_TEST.
47953         (lrint_tonearest_test_data): Remove.
47954         (lrint_test_tonearest): Likewise.
47955         (lrint_towardzero_test_data): Likewise.
47956         (lrint_test_towardzero): Likewise.
47957         (lrint_downward_test_data): Likewise.
47958         (lrint_test_downward): Likewise.
47959         (lrint_upward_test_data): Likewise.
47960         (lrint_test_upward): Likewise.
47961         (llrint_test_data): Merge in per-rounding-mode tests and results
47962         from llrint_tonearest_test_data, llrint_towardzero_test_data,
47963         llrint_downward_test_data and llrint_upward_test_data.
47964         (llrint_test): Use ALL_RM_TEST.
47965         (llrint_tonearest_test_data): Remove.
47966         (llrint_test_tonearest): Likewise.
47967         (llrint_towardzero_test_data): Likewise.
47968         (llrint_test_towardzero): Likewise.
47969         (llrint_downward_test_data): Likewise.
47970         (llrint_test_downward): Likewise.
47971         (llrint_upward_test_data): Likewise.
47972         (llrint_test_upward): Likewise.
47973         (rint_test_data): Merge in per-rounding-mode tests and results
47974         from rint_tonearest_test_data, rint_towardzero_test_data,
47975         rint_downward_test_data and rint_upward_test_data.  Add
47976         per-rounding-mode results for tests not in those arrays.
47977         (rint_test): Use ALL_RM_TEST.
47978         (rint_tonearest_test_data): Remove.
47979         (rint_test_tonearest): Likewise.
47980         (rint_towardzero_test_data): Likewise.
47981         (rint_test_towardzero): Likewise.
47982         (rint_downward_test_data): Likewise.
47983         (rint_test_downward): Likewise.
47984         (rint_upward_test_data): Likewise.
47985         (rint_test_upward): Likewise.
47986         (main): Don't call removed functions.
47988 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47990         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
47991         "Compiled on ..." crapola.  It is anti-useful.
47993 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
47995         * scripts/evaluate-test.sh: Handle fourth argument to determine
47996         whether test run should stop on failure.
47997         * Makeconfig (stop-on-test-failure): New variable.
47998         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
47999         $(stop-on-test-failure).
48000         * Makefile (tests): Give a summary of results from testing and
48001         exit with failure status if they include an ERROR or FAIL.
48002         (xtests): Likewise.
48003         * manual/install.texi (Configuring and compiling): Mention
48004         stop-on-test-failure=y.
48005         * INSTALL: Regenerated.
48007 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48009         * scripts/versionlist.awk: New file.
48010         * Makerules [$(build-shared) = yes]
48011         (postclean-generated): Add Versions.def, not Versions.def.v and
48012         Versions.def.v.i.
48013         ($(common-objpfx)Versions.def.v.i): Target removed.
48014         ($(common-objpfx)Versions.def): New target.
48015         ($(common-objpfx)Versions.all): Depend on that rather that
48016         $(common-objpfx)Versions.def.v.
48017         * Versions.def: File removed.
48019         * Makeconfig (+gccwarn): Add -Wundef.
48020         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
48021         a dl-sysdep.h breaking its contract.
48022         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
48023         * include/stackinfo.h: New file.
48024         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
48025         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
48026         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
48027         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
48028         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
48029         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
48030         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48031         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48032         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48033         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48034         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48035         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
48036         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48037         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48038         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48040 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48042         [BZ #16707]
48043         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
48044         implementation.
48045         * math/libm-test.inc (round_test_data): Add more tests.
48047         [BZ #16706]
48048         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
48049         implementation.
48050         * math/libm-test.inc (nearbyint_test_data): Add more tests.
48052         [BZ #16701]
48053         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
48054         implementation.
48055         * math/libm-test.inc (ceil_test_data): Add more tests.
48057         * math/libm-test.inc (trunc_test_data): Add more tests related to
48058         BZ#16414.
48060 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48062         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
48063         with #if rather than #ifdef.
48064         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
48066 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
48068         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
48069         first.  Disable AVX-512 GCC support if assembler doesn't support
48070         it.
48071         * sysdeps/x86_64/configure: Regenerated.
48073 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
48075         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
48076         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
48077         (__old_pthread_attr_setstack): Likewise.
48078         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
48079         [!_STACK_GROWS_DOWN]: Likewise.
48081 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
48083         * config.make.in (have-bash2): Delete.
48084         * configure.ac (libc_cv_have_bash2): Delete.
48085         * configure: Regenerate.
48086         * elf/Makefile (common-ldd-rewrite): Rename to ...
48087         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
48088         (sh-ldd-rewrite): Delete.
48089         (bash-ldd-rewrite): Delete.
48090         (have-bash2): Delete checks.
48091         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
48092         ldd-rewrite.
48094         * config.make.in (have-ksh): Delete.
48095         (KSH): Delete.
48096         * configure.ac (libc_cv_have_ksh): Delete.
48097         * configure: Regenerate.
48099         * elf/Makefile: Delete $(have-ksh) check.
48100         ($(objpfx)sotruss): Change KSH to BASH.
48101         * elf/sotruss.ksh: Rename to ...
48102         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
48103         function style to match POSIX.  Drop ksh vim mode setting.
48105         * manual/time.texi (Specifying the Time Zone with TZ): Change
48106         Tuesday to Thursday.
48108         * debug/tst-longjmp_chk2.c: Update header comment.
48109         (stackoverflow_handler): Add comment.  Call assert on pass value.
48111 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
48113         [BZ #16194]
48114         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
48115         (HAVE_AVX512_ASM_SUPPORT): Likewise.
48116         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
48117         (La_x86_64_vector): Add zmm.
48118         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
48119         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
48120         ($(objpfx)tst-audit10): New target.
48121         ($(objpfx)tst-audit10.out): Likewise.
48122         (tst-audit10-ENV): New.
48123         (AVX512-CFLAGS): Likewise.
48124         (CFLAGS-tst-audit10.c): Likewise.
48125         (CFLAGS-tst-auditmod10a.c): Likewise.
48126         (CFLAGS-tst-auditmod10b.c): Likewise.
48127         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
48128         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
48129         * sysdeps/x86_64/configure: Regenerated.
48130         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
48131         AVX-512 zmm register support.
48132         (_dl_x86_64_save_sse): Likewise.
48133         (_dl_x86_64_restore_sse): Likewise.
48134         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
48135         size vector registers.
48136         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
48137         (ZMM_SIZE): Likewise.
48138         * sysdeps/x86_64/tst-audit10.c: New file.
48139         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
48140         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
48142 2014-03-13  Roland McGrath  <roland@hack.frob.com>
48144         * configure.ac (HAVE_EHDR_START): New check.
48145         * configure: Regenerated.
48146         * config.h.in (HAVE_EHDR_START): New #undef.
48147         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
48148         assuming the lowest-addressed segment maps the start of the file.
48150 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
48152         * INSTALL: Regenerated.
48154 2014-03-13  Will Newton  <will.newton@linaro.org>
48156         * manual/setjmp.texi (System V contexts): Improve
48157         clarity and grammar of documentation.
48159 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
48161         [BZ #16381]
48162         * elf/Makefile (tests): Add tst-pie2.
48163         (tests-pie): Add tst-pie2.
48164         * elf/tst-pie2.c: New file.
48165         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
48166         for ET_EXEC.
48167         * elf/rtld.c (map_doit): Load executable as lt_executable.
48168         (dl_main): Likewise.
48170 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
48172         [BZ #16642]
48173         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48174         (__ASSUME_PSELECT): Undefine.
48176 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48178         [BZ #16689]
48179         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
48180         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
48181         static build.
48182         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
48183         selector for static builds.
48185 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48187         [BZ #16695]
48188         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
48189         key in the buffer.
48191 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48193         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
48194         IFUNC selector for static builds.
48196 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
48198         * sysdeps/mips/math_private.h [__mips_hard_float]
48199         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
48200         libc_feresetround_mips_ctx.
48201         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
48202         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
48203         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
48205         [BZ #16677]
48206         * math/s_nextafter.c (__nextafter): Do not return value from
48207         overflowing computation.
48208         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
48209         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
48210         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
48211         Likewise.
48212         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
48213         Likewise.
48214         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
48215         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
48217 2014-03-11  Roland McGrath  <roland@hack.frob.com>
48219         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
48220         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
48221         Move sfi_sp use from the load-multiple (that no longer sets sp) to
48222         the new mov targetting sp.
48224 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48226         [BZ #16683]
48227         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
48228         Define it for static builds as well.
48229         (NO_BZERO_IMPL): Likewise.
48231 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48233         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
48234         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
48235         multiarch strspn for PPC64.
48236         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
48237         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
48238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48239         (__libc_ifunc_impl_list): Likewise.
48240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
48241         multiarch optimizations
48242         * string/strspn.c (strspn): Using macro to redefine symbol name.
48244 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48245             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48247         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
48248         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
48249         multiarch strncat for PPC64.
48250         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
48251         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
48252         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48253         (__libc_ifunc_impl_list): Likewise.
48254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
48255         multiarch optimizations
48257 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48259         [BZ #16639]
48260         * nscd/nscd.service: Make service type forking.
48262 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48264         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
48265         sign in non default rounding modes.
48266         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
48268 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
48270         * math/libm-test.inc (ALL_RM_TEST): New macro.
48271         (ceil_test): Use ALL_RM_TEST.
48272         (cimag_test): Likewise.
48273         (conj_test): Likewise.
48274         (copysign_test): Likewise.
48275         (cproj_test): Likewise.
48276         (creal_test): Likewise.
48277         (fabs_test): Likewise.
48278         (floor_test): Likewise.
48279         (fmax_test): Likewise.
48280         (fmin_test): Likewise.
48281         (fmod_test): Likewise.
48282         (fpclassify_test): Likewise.
48283         (frexp_test): Likewise.
48284         (ilogb_test): Likewise.
48285         (isfinite_test): Likewise.
48286         (finite_test): Likewise.
48287         (isgreater_test): Likewise.
48288         (isgreaterequal_test): Likewise.
48289         (isinf_test): Likewise.
48290         (isless_test): Likewise.
48291         (islessequal_test): Likewise.
48292         (islessgreater_test): Likewise.
48293         (isnan_test): Likewise.
48294         (isnormal_test): Likewise.
48295         (issignaling_test): Likewise.
48296         (isunordered_test): Likewise.
48297         (logb_test): Likewise.
48298         (logb_downward_test_data): Remove.
48299         (logb_test_downward): Likewise.
48300         (lround_test): Use ALL_RM_TEST.
48301         (llround_test): Likewise.
48302         (modf_test): Likewise.
48303         (nexttoward_test): Likewise.
48304         (remainder_test): Likewise.
48305         (drem_test): Likewise.
48306         (remainder_tonearest_test_data): Likewise.
48307         (remainder_test_tonearest): Likewise.
48308         (drem_test_tonearest): Likewise.
48309         (remainder_towardzero_test_data): Likewise.
48310         (remainder_test_towardzero): Likewise.
48311         (drem_test_towardzero): Likewise.
48312         (remainder_downward_test_data): Likewise.
48313         (remainder_test_downward): Likewise.
48314         (drem_test_downward): Likewise.
48315         (remainder_upward_test_data): Likewise.
48316         (remainder_test_upward): Likewise.
48317         (drem_test_upward): Likewise.
48318         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
48319         (round_test): Use ALL_RM_TEST.
48320         (signbit_test): Likewise.
48321         (trunc_test): Likewise.
48322         (significand_test): Likewise.
48323         (main): Don't call removed functions.
48325 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48327         [BZ #16674]
48328         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
48329         || __USE_XOPEN2K8].
48330         (ILL_ILLOPN): Likewise.
48331         (ILL_ILLADR): Likewise.
48332         (ILL_ILLTRP): Likewise.
48333         (ILL_PRVOPC): Likewise.
48334         (ILL_PRVREG): Likewise.
48335         (ILL_COPROC): Likewise.
48336         (ILL_BADSTK): Likewise.
48337         (FPE_INTDIV): Likewise.
48338         (FPE_INTOVF): Likewise.
48339         (FPE_FLTDIV): Likewise.
48340         (FPE_FLTOVF): Likewise.
48341         (FPE_FLTUND): Likewise.
48342         (FPE_FLTRES): Likewise.
48343         (FPE_FLTINV): Likewise.
48344         (FPE_FLTSUB): Likewise.
48345         (SEGV_MAPERR): Likewise.
48346         (SEGV_ACCERR): Likewise.
48347         (BUS_ADRALN): Likewise.
48348         (BUS_ADRERR): Likewise.
48349         (BUS_OBJERR): Likewise.
48350         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48351         (TRAP_TRACE): Likewise.
48352         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48353         __USE_XOPEN2K8].
48354         (CLD_KILLED): Likewise.
48355         (CLD_DUMPED): Likewise.
48356         (CLD_TRAPPED): Likewise.
48357         (CLD_STOPPED): Likewise.
48358         (CLD_CONTINUED): Likewise.
48359         (POLL_IN): Likewise.
48360         (POLL_OUT): Likewise.
48361         (POLL_MSG): Likewise.
48362         (POLL_ERR): Likewise.
48363         (POLL_PRI): Likewise.
48364         (POLL_HUP): Likewise.
48365         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
48366         Likewise.
48367         (ILL_ILLOPN): Likewise.
48368         (ILL_ILLADR): Likewise.
48369         (ILL_ILLTRP): Likewise.
48370         (ILL_PRVOPC): Likewise.
48371         (ILL_PRVREG): Likewise.
48372         (ILL_COPROC): Likewise.
48373         (ILL_BADSTK): Likewise.
48374         (FPE_INTDIV): Likewise.
48375         (FPE_INTOVF): Likewise.
48376         (FPE_FLTDIV): Likewise.
48377         (FPE_FLTOVF): Likewise.
48378         (FPE_FLTUND): Likewise.
48379         (FPE_FLTRES): Likewise.
48380         (FPE_FLTINV): Likewise.
48381         (FPE_FLTSUB): Likewise.
48382         (SEGV_MAPERR): Likewise.
48383         (SEGV_ACCERR): Likewise.
48384         (BUS_ADRALN): Likewise.
48385         (BUS_ADRERR): Likewise.
48386         (BUS_OBJERR): Likewise.
48387         (BUS_MCEERR_AR): Likewise.
48388         (BUS_MCEERR_AO): Likewise.
48389         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48390         (TRAP_TRACE): Likewise.
48391         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48392         __USE_XOPEN2K8].
48393         (CLD_KILLED): Likewise.
48394         (CLD_DUMPED): Likewise.
48395         (CLD_TRAPPED): Likewise.
48396         (CLD_STOPPED): Likewise.
48397         (CLD_CONTINUED): Likewise.
48398         (POLL_IN): Likewise.
48399         (POLL_OUT): Likewise.
48400         (POLL_MSG): Likewise.
48401         (POLL_ERR): Likewise.
48402         (POLL_PRI): Likewise.
48403         (POLL_HUP): Likewise.
48404         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
48405         (ILL_ILLOPN): Likewise.
48406         (ILL_ILLADR): Likewise.
48407         (ILL_ILLTRP): Likewise.
48408         (ILL_PRVOPC): Likewise.
48409         (ILL_PRVREG): Likewise.
48410         (ILL_COPROC): Likewise.
48411         (ILL_BADSTK): Likewise.
48412         (FPE_INTDIV): Likewise.
48413         (FPE_INTOVF): Likewise.
48414         (FPE_FLTDIV): Likewise.
48415         (FPE_FLTOVF): Likewise.
48416         (FPE_FLTUND): Likewise.
48417         (FPE_FLTRES): Likewise.
48418         (FPE_FLTINV): Likewise.
48419         (FPE_FLTSUB): Likewise.
48420         (SEGV_MAPERR): Likewise.
48421         (SEGV_ACCERR): Likewise.
48422         (BUS_ADRALN): Likewise.
48423         (BUS_ADRERR): Likewise.
48424         (BUS_OBJERR): Likewise.
48425         (BUS_MCEERR_AR): Likewise.
48426         (BUS_MCEERR_AO): Likewise.
48427         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48428         (TRAP_TRACE): Likewise.
48429         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48430         __USE_XOPEN2K8].
48431         (CLD_KILLED): Likewise.
48432         (CLD_DUMPED): Likewise.
48433         (CLD_TRAPPED): Likewise.
48434         (CLD_STOPPED): Likewise.
48435         (CLD_CONTINUED): Likewise.
48436         (POLL_IN): Likewise.
48437         (POLL_OUT): Likewise.
48438         (POLL_MSG): Likewise.
48439         (POLL_ERR): Likewise.
48440         (POLL_PRI): Likewise.
48441         (POLL_HUP): Likewise.
48442         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
48443         Likewise.
48444         (ILL_ILLOPN): Likewise.
48445         (ILL_ILLADR): Likewise.
48446         (ILL_ILLTRP): Likewise.
48447         (ILL_PRVOPC): Likewise.
48448         (ILL_PRVREG): Likewise.
48449         (ILL_COPROC): Likewise.
48450         (ILL_BADSTK): Likewise.
48451         (ILL_BADIADDR): Likewise.
48452         (ILL_BREAK): Likewise.
48453         (FPE_INTDIV): Likewise.
48454         (FPE_INTOVF): Likewise.
48455         (FPE_FLTDIV): Likewise.
48456         (FPE_FLTOVF): Likewise.
48457         (FPE_FLTUND): Likewise.
48458         (FPE_FLTRES): Likewise.
48459         (FPE_FLTINV): Likewise.
48460         (FPE_FLTSUB): Likewise.
48461         (FPE_DECOVF): Likewise.
48462         (FPE_DECDIV): Likewise.
48463         (FPE_DECERR): Likewise.
48464         (FPE_INVASC): Likewise.
48465         (FPE_INVDEC): Likewise.
48466         (SEGV_MAPERR): Likewise.
48467         (SEGV_ACCERR): Likewise.
48468         (SEGV_PSTKOVF): Likewise.
48469         (BUS_ADRALN): Likewise.
48470         (BUS_ADRERR): Likewise.
48471         (BUS_OBJERR): Likewise.
48472         (BUS_MCEERR_AR): Likewise.
48473         (BUS_MCEERR_AO): Likewise.
48474         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48475         (TRAP_TRACE): Likewise.
48476         (TRAP_BRANCH): Likewise.
48477         (TRAP_HWBKPT): Likewise.
48478         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48479         __USE_XOPEN2K8].
48480         (CLD_KILLED): Likewise.
48481         (CLD_DUMPED): Likewise.
48482         (CLD_TRAPPED): Likewise.
48483         (CLD_STOPPED): Likewise.
48484         (CLD_CONTINUED): Likewise.
48485         (POLL_IN): Likewise.
48486         (POLL_OUT): Likewise.
48487         (POLL_MSG): Likewise.
48488         (POLL_ERR): Likewise.
48489         (POLL_PRI): Likewise.
48490         (POLL_HUP): Likewise.
48491         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
48492         (ILL_ILLOPN): Likewise.
48493         (ILL_ILLADR): Likewise.
48494         (ILL_ILLTRP): Likewise.
48495         (ILL_PRVOPC): Likewise.
48496         (ILL_PRVREG): Likewise.
48497         (ILL_COPROC): Likewise.
48498         (ILL_BADSTK): Likewise.
48499         (FPE_INTDIV): Likewise.
48500         (FPE_INTOVF): Likewise.
48501         (FPE_FLTDIV): Likewise.
48502         (FPE_FLTOVF): Likewise.
48503         (FPE_FLTUND): Likewise.
48504         (FPE_FLTRES): Likewise.
48505         (FPE_FLTINV): Likewise.
48506         (FPE_FLTSUB): Likewise.
48507         (SEGV_MAPERR): Likewise.
48508         (SEGV_ACCERR): Likewise.
48509         (BUS_ADRALN): Likewise.
48510         (BUS_ADRERR): Likewise.
48511         (BUS_OBJERR): Likewise.
48512         (BUS_MCEERR_AR): Likewise.
48513         (BUS_MCEERR_AO): Likewise.
48514         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48515         (TRAP_TRACE): Likewise.
48516         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48517         __USE_XOPEN2K8].
48518         (CLD_KILLED): Likewise.
48519         (CLD_DUMPED): Likewise.
48520         (CLD_TRAPPED): Likewise.
48521         (CLD_STOPPED): Likewise.
48522         (CLD_CONTINUED): Likewise.
48523         (POLL_IN): Likewise.
48524         (POLL_OUT): Likewise.
48525         (POLL_MSG): Likewise.
48526         (POLL_ERR): Likewise.
48527         (POLL_PRI): Likewise.
48528         (POLL_HUP): Likewise.
48529         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
48530         (ILL_ILLOPN): Likewise.
48531         (ILL_ILLADR): Likewise.
48532         (ILL_ILLTRP): Likewise.
48533         (ILL_PRVOPC): Likewise.
48534         (ILL_PRVREG): Likewise.
48535         (ILL_COPROC): Likewise.
48536         (ILL_BADSTK): Likewise.
48537         (FPE_INTDIV): Likewise.
48538         (FPE_INTOVF): Likewise.
48539         (FPE_FLTDIV): Likewise.
48540         (FPE_FLTOVF): Likewise.
48541         (FPE_FLTUND): Likewise.
48542         (FPE_FLTRES): Likewise.
48543         (FPE_FLTINV): Likewise.
48544         (FPE_FLTSUB): Likewise.
48545         (SEGV_MAPERR): Likewise.
48546         (SEGV_ACCERR): Likewise.
48547         (BUS_ADRALN): Likewise.
48548         (BUS_ADRERR): Likewise.
48549         (BUS_OBJERR): Likewise.
48550         (BUS_MCEERR_AR): Likewise.
48551         (BUS_MCEERR_AO): Likewise.
48552         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48553         (TRAP_TRACE): Likewise.
48554         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48555         __USE_XOPEN2K8].
48556         (CLD_KILLED): Likewise.
48557         (CLD_DUMPED): Likewise.
48558         (CLD_TRAPPED): Likewise.
48559         (CLD_STOPPED): Likewise.
48560         (CLD_CONTINUED): Likewise.
48561         (POLL_IN): Likewise.
48562         (POLL_OUT): Likewise.
48563         (POLL_MSG): Likewise.
48564         (POLL_ERR): Likewise.
48565         (POLL_PRI): Likewise.
48566         (POLL_HUP): Likewise.
48567         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
48568         (ILL_ILLOPN): Likewise.
48569         (ILL_ILLADR): Likewise.
48570         (ILL_ILLTRP): Likewise.
48571         (ILL_PRVOPC): Likewise.
48572         (ILL_PRVREG): Likewise.
48573         (ILL_COPROC): Likewise.
48574         (ILL_BADSTK): Likewise.
48575         (FPE_INTDIV): Likewise.
48576         (FPE_INTOVF): Likewise.
48577         (FPE_FLTDIV): Likewise.
48578         (FPE_FLTOVF): Likewise.
48579         (FPE_FLTUND): Likewise.
48580         (FPE_FLTRES): Likewise.
48581         (FPE_FLTINV): Likewise.
48582         (FPE_FLTSUB): Likewise.
48583         (SEGV_MAPERR): Likewise.
48584         (SEGV_ACCERR): Likewise.
48585         (BUS_ADRALN): Likewise.
48586         (BUS_ADRERR): Likewise.
48587         (BUS_OBJERR): Likewise.
48588         (BUS_MCEERR_AR): Likewise.
48589         (BUS_MCEERR_AO): Likewise.
48590         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48591         (TRAP_TRACE): Likewise.
48592         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48593         __USE_XOPEN2K8].
48594         (CLD_KILLED): Likewise.
48595         (CLD_DUMPED): Likewise.
48596         (CLD_TRAPPED): Likewise.
48597         (CLD_STOPPED): Likewise.
48598         (CLD_CONTINUED): Likewise.
48599         (POLL_IN): Likewise.
48600         (POLL_OUT): Likewise.
48601         (POLL_MSG): Likewise.
48602         (POLL_ERR): Likewise.
48603         (POLL_PRI): Likewise.
48604         (POLL_HUP): Likewise.
48605         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
48606         (ILL_ILLOPN): Likewise.
48607         (ILL_ILLADR): Likewise.
48608         (ILL_ILLTRP): Likewise.
48609         (ILL_PRVOPC): Likewise.
48610         (ILL_PRVREG): Likewise.
48611         (ILL_COPROC): Likewise.
48612         (ILL_BADSTK): Likewise.
48613         (ILL_DBLFLT): Likewise.
48614         (ILL_HARDWALL): Likewise.
48615         (FPE_INTDIV): Likewise.
48616         (FPE_INTOVF): Likewise.
48617         (FPE_FLTDIV): Likewise.
48618         (FPE_FLTOVF): Likewise.
48619         (FPE_FLTUND): Likewise.
48620         (FPE_FLTRES): Likewise.
48621         (FPE_FLTINV): Likewise.
48622         (FPE_FLTSUB): Likewise.
48623         (SEGV_MAPERR): Likewise.
48624         (SEGV_ACCERR): Likewise.
48625         (BUS_ADRALN): Likewise.
48626         (BUS_ADRERR): Likewise.
48627         (BUS_OBJERR): Likewise.
48628         (BUS_MCEERR_AR): Likewise.
48629         (BUS_MCEERR_AO): Likewise.
48630         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48631         (TRAP_TRACE): Likewise.
48632         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48633         __USE_XOPEN2K8].
48634         (CLD_KILLED): Likewise.
48635         (CLD_DUMPED): Likewise.
48636         (CLD_TRAPPED): Likewise.
48637         (CLD_STOPPED): Likewise.
48638         (CLD_CONTINUED): Likewise.
48639         (POLL_IN): Likewise.
48640         (POLL_OUT): Likewise.
48641         (POLL_MSG): Likewise.
48642         (POLL_ERR): Likewise.
48643         (POLL_PRI): Likewise.
48644         (POLL_HUP): Likewise.
48645         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
48646         (ILL_ILLOPN): Likewise.
48647         (ILL_ILLADR): Likewise.
48648         (ILL_ILLTRP): Likewise.
48649         (ILL_PRVOPC): Likewise.
48650         (ILL_PRVREG): Likewise.
48651         (ILL_COPROC): Likewise.
48652         (ILL_BADSTK): Likewise.
48653         (FPE_INTDIV): Likewise.
48654         (FPE_INTOVF): Likewise.
48655         (FPE_FLTDIV): Likewise.
48656         (FPE_FLTOVF): Likewise.
48657         (FPE_FLTUND): Likewise.
48658         (FPE_FLTRES): Likewise.
48659         (FPE_FLTINV): Likewise.
48660         (FPE_FLTSUB): Likewise.
48661         (SEGV_MAPERR): Likewise.
48662         (SEGV_ACCERR): Likewise.
48663         (BUS_ADRALN): Likewise.
48664         (BUS_ADRERR): Likewise.
48665         (BUS_OBJERR): Likewise.
48666         (BUS_MCEERR_AR): Likewise.
48667         (BUS_MCEERR_AO): Likewise.
48668         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48669         (TRAP_TRACE): Likewise.
48670         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48671         __USE_XOPEN2K8].
48672         (CLD_KILLED): Likewise.
48673         (CLD_DUMPED): Likewise.
48674         (CLD_TRAPPED): Likewise.
48675         (CLD_STOPPED): Likewise.
48676         (CLD_CONTINUED): Likewise.
48677         (POLL_IN): Likewise.
48678         (POLL_OUT): Likewise.
48679         (POLL_MSG): Likewise.
48680         (POLL_ERR): Likewise.
48681         (POLL_PRI): Likewise.
48682         (POLL_HUP): Likewise.
48683         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
48684         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48686         [BZ #16670]
48687         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
48688         before #include of <time.h>.
48689         [!__USE_XOPEN2K] (__need_timespec): Likewise.
48690         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
48691         (test-xfail-UNIX98/sched.h/conform): Likewise.
48693 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48695         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
48696         error absence of trapping exception support.
48697         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
48699 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48701         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
48702         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
48703         * timezone/Makefile (testdata): Move definition above include of
48704         Rules.
48705         (test-zones): New variable.
48706         (tests-special): Add zone files.
48707         (build-testdata): Use $(evaluate-test).
48709         * elf/Makefile (tests-special): Rename tests to end with .out.
48710         ($(objpfx)noload-mem): Likewise.
48711         ($(objpfx)tst-leaks1-mem): Likewise.
48712         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
48713         * iconv/Makefile (xtests-special): Change test-iconvconfig to
48714         $(objpfx)test-iconvconfig.out.
48715         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
48716         set -e inside subshell and redirect output to file.
48717         * iconvdata/Makefile (generated): Rename tests to end with .out.
48718         Correct type.
48719         (tests-special): Rename tests to end with .out.
48720         ($(objpfx)mtrace-tst-loading): Likewise.
48721         * intl/Makefile (generated): Likewise.
48722         (tests-special): Likewise.
48723         ($(objpfx)mtrace-tst-gettext): Likewise.
48724         * misc/Makefile (generated): Likewise.
48725         (tests-special): Likewise.
48726         ($(objpfx)tst-error1-mem): Likewise.
48727         * nptl/Makefile (tests-special): Likewise.
48728         ($(objpfx)tst-stack3-mem): Likewise.
48729         (generated): Likewise.
48730         * posix/Makefile (generated): Likewise.
48731         (tests-special): Likewise.
48732         (xtests-special): Likewise.
48733         ($(objpfx)tst-fnmatch-mem): Likewise.
48734         ($(objpfx)bug-regex2-mem): Likewise.
48735         ($(objpfx)bug-regex14-mem): Likewise.
48736         ($(objpfx)bug-regex21-mem): Likewise.
48737         ($(objpfx)bug-regex31-mem): Likewise.
48738         ($(objpfx)tst-vfork3-mem): Likewise.
48739         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
48740         ($(objpfx)tst-pcre-mem): Likewise.
48741         ($(objpfx)tst-boost-mem): Likewise.
48742         ($(objpfx)bug-ga2-mem): Likewise.
48743         ($(objpfx)bug-glob2-mem): Likewise.
48744         * resolv/Makefile (generate): Likewise.
48745         (tests-special): Likewise.
48746         (xtests-special): Likewise.
48747         (generated): Likewise.
48748         ($(objpfx)mtrace-tst-leaks): Likewise.
48749         ($(objpfx)mtrace-tst-leaks2): Likewise.
48751         * scripts/merge-test-results.sh: New file.
48752         * Makefile (tests-special-notdir): New variable.
48753         (tests): Run merge-test-results.sh.
48754         (xtests): Likewise.
48755         * Rules (tests-special-notdir): New variable.
48756         (xtests-special-notdir): Likewise.
48757         (tests): Run merge-test-results.sh
48758         (xtests): Likewise.
48760         * Makeconfig (test-xfail-name): New variable.
48761         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
48762         compute variable name for expected failures.
48763         * conform/Makefile (conformtest-headers-data): New variable.
48764         (conformtest-standards): Likewise.
48765         (conformtest-headers-ISO): Likewise.
48766         (conformtest-headers-ISO99): Likewise.
48767         (conformtest-headers-ISO11): Likewise.
48768         (conformtest-headers-POSIX): Likewise.
48769         (conformtest-headers-XPG3): Likewise.
48770         (conformtest-headers-XPG4): Likewise.
48771         (conformtest-headers-UNIX98): Likewise.
48772         (conformtest-headers-XOPEN2K): Likewise.
48773         (conformtest-headers-POSIX2008): Likewise.
48774         (conformtest-headers-XOPEN2K8): Likewise.
48775         (conformtest-header-list-base): Likewise.
48776         (conformtest-header-list-tests): Likewise.
48777         (conformtest-header-base): Likewise.
48778         (conformtest-header-tests): Likewise.
48779         (tests-special): Add $(conformtest-header-list-tests).  If
48780         [$(fast-check) && !$(cross-compiling)], add
48781         $(conformtest-header-tests) instead of
48782         $(objpfx)run-conformtest.out.
48783         (generated): Add $(conformtest-header-list-base).  If
48784         [$(fast-check) && !$(cross-compiling)], add
48785         $(conformtest-header-base).  Remove previous setting.
48786         ($(conformtest-header-list-tests)): New target.
48787         (test-xfail-run-conformtest): Remove variable.
48788         ($(objpfx)run-conformtest.out): Remove target.
48789         (test-xfail-ISO11/complex.h/conform): New variable.
48790         (test-xfail-ISO11/stdalign.h/conform): Likewise.
48791         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
48792         (test-xfail-XPG3/varargs.h/conform): Likewise.
48793         (test-xfail-XPG4/varargs.h/conform): Likewise.
48794         (test-xfail-UNIX98/varargs.h/conform): Likewise.
48795         (test-xfail-XPG4/ndbm.h/conform): Likewise.
48796         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
48797         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
48798         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
48799         (test-xfail-XPG3/fcntl.h/conform): Likewise.
48800         (test-xfail-XPG3/ftw.h/conform): Likewise.
48801         (test-xfail-XPG3/grp.h/conform): Likewise.
48802         (test-xfail-XPG3/langinfo.h/conform): Likewise.
48803         (test-xfail-XPG3/limits.h/conform): Likewise.
48804         (test-xfail-XPG3/pwd.h/conform): Likewise.
48805         (test-xfail-XPG3/search.h/conform): Likewise.
48806         (test-xfail-XPG3/signal.h/conform): Likewise.
48807         (test-xfail-XPG3/stdio.h/conform): Likewise.
48808         (test-xfail-XPG3/stdlib.h/conform): Likewise.
48809         (test-xfail-XPG3/string.h/conform): Likewise.
48810         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
48811         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
48812         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
48813         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
48814         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
48815         (test-xfail-XPG3/sys/types.h/conform): Likewise.
48816         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
48817         (test-xfail-XPG3/termios.h/conform): Likewise.
48818         (test-xfail-XPG3/time.h/conform): Likewise.
48819         (test-xfail-XPG3/unistd.h/conform): Likewise.
48820         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
48821         (test-xfail-XPG4/fcntl.h/conform): Likewise.
48822         (test-xfail-XPG4/langinfo.h/conform): Likewise.
48823         (test-xfail-XPG4/netdb.h/conform): Likewise.
48824         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
48825         (test-xfail-XPG4/signal.h/conform): Likewise.
48826         (test-xfail-XPG4/stdio.h/conform): Likewise.
48827         (test-xfail-XPG4/stdlib.h/conform): Likewise.
48828         (test-xfail-XPG4/stropts.h/conform): Likewise.
48829         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
48830         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
48831         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
48832         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
48833         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
48834         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
48835         (test-xfail-XPG4/sys/time.h/conform): Likewise.
48836         (test-xfail-XPG4/sys/types.h/conform): Likewise.
48837         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
48838         (test-xfail-XPG4/termios.h/conform): Likewise.
48839         (test-xfail-XPG4/ucontext.h/conform): Likewise.
48840         (test-xfail-XPG4/unistd.h/conform): Likewise.
48841         (test-xfail-XPG4/utmpx.h/conform): Likewise.
48842         (test-xfail-POSIX/sched.h/conform): Likewise.
48843         (test-xfail-POSIX/signal.h/conform): Likewise.
48844         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48845         (test-xfail-POSIX/tar.h/conform): Likewise.
48846         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
48847         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
48848         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
48849         (test-xfail-UNIX98/netdb.h/conform): Likewise.
48850         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
48851         (test-xfail-UNIX98/sched.h/conform): Likewise.
48852         (test-xfail-UNIX98/signal.h/conform): Likewise.
48853         (test-xfail-UNIX98/stdio.h/conform): Likewise.
48854         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
48855         (test-xfail-UNIX98/stropts.h/conform): Likewise.
48856         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
48857         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
48858         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
48859         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
48860         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
48861         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
48862         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
48863         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
48864         (test-xfail-UNIX98/unistd.h/conform): Likewise.
48865         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
48866         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
48867         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
48868         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
48869         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
48870         (test-xfail-XOPEN2K/math.h/conform): Likewise.
48871         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
48872         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
48873         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
48874         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
48875         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
48876         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
48877         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
48878         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
48879         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
48880         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
48881         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
48882         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
48883         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
48884         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
48885         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
48886         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
48887         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
48888         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
48889         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
48890         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
48891         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
48892         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
48893         (test-xfail-POSIX2008/signal.h/conform): Likewise.
48894         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
48895         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
48896         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
48897         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
48898         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
48899         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
48900         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
48901         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
48902         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
48903         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
48904         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
48905         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
48906         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
48907         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
48908         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
48909         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
48910         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
48911         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
48912         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
48913         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
48914         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
48915         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
48916         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
48917         (conformtest-cc-flags): Likewise.
48918         ($(conformtest-header-tests): New target.
48919         * conform/check-header-lists.sh: New file.
48920         * conform/run-conformtest.sh: Remove.
48922         * conform/conformtest.pl: Allow ' and \ in values given for
48923         constants.
48924         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
48925         inclusion.
48926         [POSIX] (sys/types.h): Likewise.
48927         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
48928         inclusion.
48929         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
48930         inclusion.
48931         * conform/data/signal.h-data (SIGIO): Remove expectation.
48932         [XPG3] (SIGBUS): Do not expect.
48933         [POSIX || XPG3] (SIGPOLL): Likewise.
48934         [POSIX || XPG3] (SIGPROF): Likewise.
48935         [POSIX || XPG3] (SIGSYS): Likewise.
48936         [XPG3] (SIGTRAP): Likewise.
48937         [POSIX || XPG3] (SIGURG): Likewise.
48938         [POSIX || XPG3] (SIGVTALRM): Likewise.
48939         [POSIX || XPG3] (SIGXCPU): Likewise.
48940         [POSIX || XPG3] (SIGXFSZ): Likewise.
48941         [POSIX] (SA_SIGINFO): Expect.
48942         [XPG3] (siginfo_t): Do not expect type or contents.
48943         [POSIX] (si_pid): Do not expect element.
48944         [POSIX] (si_uid): Likewise.
48945         [POSIX] (si_addr): Likewise.
48946         [POSIX] (si_status): Likewise.
48947         [POSIX] (si_band): Likewise.
48948         [XPG4] (si_value): Likewise.
48949         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
48950         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
48951         [POSIX || XPG3] (ILL_ILLADR): Likewise.
48952         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
48953         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
48954         [POSIX || XPG3] (ILL_PRVREG): Likewise.
48955         [POSIX || XPG3] (ILL_COPROC): Likewise.
48956         [POSIX || XPG3] (ILL_BADSTK): Likewise.
48957         [POSIX || XPG3] (FPE_INTDIV): Likewise.
48958         [POSIX || XPG3] (FPE_INTOVF): Likewise.
48959         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
48960         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
48961         [POSIX || XPG3] (FPE_FLTUND): Likewise.
48962         [POSIX || XPG3] (FPE_FLTRES): Likewise.
48963         [POSIX || XPG3] (FPE_FLTINV): Likewise.
48964         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
48965         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
48966         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
48967         [POSIX || XPG3] (BUS_ADRALN): Likewise.
48968         [POSIX || XPG3] (BUS_ADRERR): Likewise.
48969         [POSIX || XPG3] (BUS_OBJERR): Likewise.
48970         [POSIX || XPG3] (CLD_EXITED): Likewise.
48971         [POSIX || XPG3] (CLD_KILLED): Likewise.
48972         [POSIX || XPG3] (CLD_DUMPED): Likewise.
48973         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
48974         [POSIX || XPG3] (CLD_STOPPED): Likewise.
48975         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
48976         [POSIX || XPG3] (POLL_IN): Likewise.
48977         [POSIX || XPG3] (POLL_OUT): Likewise.
48978         [POSIX || XPG3] (POLL_MSG): Likewise.
48979         [POSIX || XPG3] (POLL_ERR): Likewise.
48980         [POSIX || XPG3] (POLL_PRI): Likewise.
48981         [POSIX || XPG3] (POLL_HUP): Likewise.
48982         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
48983         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
48984         (SIG*): Do not allow.
48985         [XPG3] (si_*): Likewise.
48986         [XPG3] (SI_*): Likewise.
48987         [XPG3 || XPG4] (sigev_*): Likewise.
48988         [XPG3 || XPG4] (SIGEV_*): Likewise.
48989         [XPG3 || XPG4] (sival_*): Likewise.
48990         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
48991         [POSIX || XPG3] (BUS_*): Likewise.
48992         [POSIX || XPG3] (CLD_*): Likewise.
48993         [POSIX || XPG3] (FPE_*): Likewise.
48994         [POSIX || XPG3] (ILL_*): Likewise.
48995         [POSIX || XPG3] (POLL_*): Likewise.
48996         [POSIX || XPG3] (SEGV_*): Likewise.
48997         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
48998         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
48999         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
49000         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
49001         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
49002         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
49003         Specify type and value.
49004         (TVERSLEN): Likewise.
49005         (REGTYPE): Likewise.
49006         (AREGTYPE): Likewise.
49007         (LNKTYPE): Likewise.
49008         (SYMTYPE): Likewise.
49009         (CHRTYPE): Likewise.
49010         (BLKTYPE): Likewise.
49011         (DIRTYPE): Likewise.
49012         (FIFOTYPE): Likewise.
49013         (CONTTYPE): Likewise.
49014         (TSUID): Likewise.
49015         (TSGID): Likewise.
49016         (TSVTX): Likewise.
49017         (TUREAD): Likewise.
49018         (TUWRITE): Likewise.
49019         (TUEXEC): Likewise.
49020         (TGREAD): Likewise.
49021         (TGWRITE): Likewise.
49022         (TGEXEC): Likewise.
49023         (TOREAD): Likewise.
49024         (TOWRITE): Likewise.
49025         (TOEXEC): Likewise.
49026         [POSIX] (TSVTX): Expect constant.
49028 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
49030         * Makefile (tests): Change dependencies to ....
49031         (tests-special): ... additions to this variable.
49032         (tests): Depend on $(tests-special).
49033         * Makerules (check-abi-list): New variable.
49034         (check-abi): Depend on $(check-abi-list).
49035         [$(subdir) = elf] (tests-special): Add
49036         $(objpfx)check-abi-libc.out.
49037         [$(build-shared) = yes && subdir] (tests-special): Add
49038         $(check-abi-list).
49039         [$(build-shared) = yes && subdir] (tests): Do not depend on
49040         check-abi.
49041         * Rules (tests): Depend on $(tests-special).
49042         (xtests): Depend on $(xtests-special).
49043         * catgets/Makefile (tests): Change dependencies to ....
49044         (tests-special): ... additions to this variable.
49045         * conform/Makefile (tests): Change dependencies to ....
49046         (tests-special): ... additions to this variable.
49047         * elf/Makefile (tests): Change dependencies to ....
49048         (tests-special): ... additions to this variable.
49049         * grp/Makefile (tests): Change dependencies to ....
49050         (tests-special): ... additions to this variable.
49051         * iconv/Makefile (xtests): Change dependencies to ....
49052         (xtests-special): ... additions to this variable.
49053         * iconvdata/Makefile (tests): Change dependencies to ....
49054         (tests-special): ... additions to this variable.
49055         * intl/Makefile (tests): Change dependencies to ....
49056         (tests-special): ... additions to this variable.  Also add
49057         $(objpfx)tst-gettext.out.
49058         * io/Makefile (tests): Change dependencies to ....
49059         (tests-special): ... additions to this variable.
49060         * libio/Makefile (tests): Change dependencies to ....
49061         (tests-special): ... additions to this variable.
49062         * malloc/Makefile (tests): Change dependencies to ....
49063         (tests-special): ... additions to this variable.
49064         * misc/Makefile (tests): Change dependencies to ....
49065         (tests-special): ... additions to this variable.
49066         * nptl/Makefile (tests): Change dependencies to ....
49067         (tests-special): ... additions to this variable.
49068         * nptl_db/Makefile (tests): Change dependencies to ....
49069         (tests-special): ... additions to this variable.
49070         * posix/Makefile (tests): Change dependencies to ....
49071         (tests-special): ... additions to this variable.
49072         (xtests): Change dependencies to ....
49073         (xtests-special): ... additions to this variable.
49074         * resolv/Makefile (tests): Change dependencies to ....
49075         (tests-special): ... additions to this variable.
49076         (xtests): Change dependencies to ....
49077         (xtests-special): ... additions to this variable.
49078         * stdio-common/Makefile (tests): Change dependencies to ....
49079         (tests-special): ... additions to this variable.
49080         (do-tst-unbputc): Remove target.
49081         (do-tst-printf): Likewise.
49082         * stdlib/Makefile (tests): Change dependencies to ....
49083         (tests-special): ... additions to this variable.
49084         * string/Makefile (tests): Change dependencies to ....
49085         (tests-special): ... additions to this variable.
49086         * sysdeps/x86/Makefile (tests): Change dependencies to ....
49087         (tests-special): ... additions to this variable.
49089         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
49090         whole file.
49091         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
49092         whole file.
49093         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
49094         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
49096         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
49097         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
49098         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
49099         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
49100         * conform/data/libgen.h-data [XPG3]: Likewise.
49101         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
49102         * conform/data/ndbm.h-data [XPG3]: Likewise.
49103         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49104         * conform/data/netdb.h-data [XPG3]: Likewise.
49105         * conform/data/netinet/in.h-data [XPG3]: Likewise.
49106         * conform/data/poll.h-data [XPG3]: Likewise.
49107         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49108         * conform/data/strings.h-data [XPG3]: Likewise.
49109         * conform/data/stropts.h-data [XPG3]: Likewise.
49110         * conform/data/sys/mman.h-data [XPG3]: Likewise.
49111         * conform/data/sys/resource.h-data [XPG3]: Likewise.
49112         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
49113         Likewise.
49114         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
49115         * conform/data/sys/time.h-data [XPG3]: Likewise.
49116         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
49117         * conform/data/sys/uio.h-data [XPG3]: Likewise.
49118         * conform/data/sys/un.h-data [XPG3]: Likewise.
49119         * conform/data/syslog.h-data [XPG3]: Likewise.
49120         * conform/data/ucontext.h-data [XPG3]: Likewise.
49121         * conform/data/utmpx.h-data [XPG3]: Likewise.
49122         * conform/data/varargs.h-data [UNIX98]: Enable file.
49124         * manual/Makefile (INSTALL_INFO): Remove variable setting.
49126         * math/libm-test.inc (struct test_f_f_data): Move expected results
49127         into structure for each rounding mode.
49128         (struct test_ff_f_data): Likewise.
49129         (struct test_ff_f_data_nexttoward): Likewise.
49130         (struct test_fi_f_data): Likewise.
49131         (struct test_fl_f_data): Likewise.
49132         (struct test_if_f_data): Likewise.
49133         (struct test_fff_f_data): Likewise.
49134         (struct test_c_f_data): Likewise.
49135         (struct test_f_f1_data): Likewise.
49136         (struct test_fF_f1_data): Likewise.
49137         (struct test_ffI_f1_data): Likewise.
49138         (struct test_c_c_data): Likewise.
49139         (struct test_cc_c_data): Likewise.
49140         (struct test_f_i_data): Likewise.
49141         (struct test_ff_i_data): Likewise.
49142         (struct test_f_l_data): Likewise.
49143         (struct test_f_L_data): Likewise.
49144         (struct test_fFF_11_data): Likewise.
49145         (RM_): New macro.
49146         (RM_FE_DOWNWARD): Likewise.
49147         (RM_FE_TONEAREST): Likewise.
49148         (RM_FE_TOWARDZERO): Likewise.
49149         (RM_FE_UPWARD): Likewise.
49150         (RUN_TEST_LOOP_f_f): Update references to expected results.
49151         (RUN_TEST_LOOP_2_f): Likewise.
49152         (RUN_TEST_LOOP_fff_f): Likewise.
49153         (RUN_TEST_LOOP_c_f): Likewise.
49154         (RUN_TEST_LOOP_f_f1): Likewise.
49155         (RUN_TEST_LOOP_fF_f1): Likewise.
49156         (RUN_TEST_LOOP_fI_f1): Likewise.
49157         (RUN_TEST_LOOP_ffI_f1): Likewise.
49158         (RUN_TEST_LOOP_c_c): Likewise.
49159         (RUN_TEST_LOOP_cc_c): Likewise.
49160         (RUN_TEST_LOOP_f_i): Likewise.
49161         (RUN_TEST_LOOP_f_i_tg): Likewise.
49162         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49163         (RUN_TEST_LOOP_f_b): Likewise.
49164         (RUN_TEST_LOOP_f_b_tg): Likewise.
49165         (RUN_TEST_LOOP_f_l): Likewise.
49166         (RUN_TEST_LOOP_f_L): Likewise.
49167         (RUN_TEST_LOOP_fFF_11): Likewise.
49168         * math/gen-libm-test.pl (parse_args): Output four copies of
49169         expected results for each test.
49171         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49172         (__ASSUME_UTIMES): Remove.
49173         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49174         (__ASSUME_UTIMES): Likewise.
49176         * math/gen-auto-libm-tests.c: Update comment on output format.
49177         (output_for_one_input_case): Generate before-rounding and
49178         after-rounding information as conditions on output flags not
49179         floating-point format.
49180         * math/auto-libm-test-out: Regenerated.
49181         * math/gen-libm-test.pl (cond_value): New function.
49182         (or_cond_value): Use cond_value.
49183         (generate_testfile): Handle conditional exceptions.
49185 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
49187         * math/libm-test.inc (max_valid_error): New variable.
49188         (init_max_error): Take new argument specifying whether function
49189         results are exactly determined.  Set max_valid_error and bound
49190         other variables for errors based on this argument.
49191         (set_max_error): Do not record results above max_valid_error.
49192         (check_float_internal): Only accept errors of up to 0.5ulps if
49193         also at most max_valid_error.
49194         (START): Take new argument EXACT and pass it to init_max_error.
49195         (acos_test): Update call to START.
49196         (acos_test_tonearest): Likewise.
49197         (acos_test_towardzero): Likewise.
49198         (acos_test_downward): Likewise.
49199         (acos_test_upward): Likewise.
49200         (acosh_test): Likewise.
49201         (asin_test): Likewise.
49202         (asin_test_tonearest): Likewise.
49203         (asin_test_towardzero): Likewise.
49204         (asin_test_downward): Likewise.
49205         (asin_test_upward): Likewise.
49206         (asinh_test): Likewise.
49207         (atan_test): Likewise.
49208         (atanh_test): Likewise.
49209         (atan2_test): Likewise.
49210         (cabs_test): Likewise.
49211         (cacos_test): Likewise.
49212         (cacosh_test): Likewise.
49213         (carg_test): Likewise.
49214         (casin_test): Likewise.
49215         (casinh_test): Likewise.
49216         (catan_test): Likewise.
49217         (catanh_test): Likewise.
49218         (cbrt_test): Likewise.
49219         (ccos_test): Likewise.
49220         (ccosh_test): Likewise.
49221         (ceil_test): Likewise.
49222         (cexp_test): Likewise.
49223         (cimag_test): Likewise.
49224         (clog_test): Likewise.
49225         (clog10_test): Likewise.
49226         (conj_test): Likewise.
49227         (copysign_test): Likewise.
49228         (cos_test): Likewise.
49229         (cos_test_tonearest): Likewise.
49230         (cos_test_towardzero): Likewise.
49231         (cos_test_downward): Likewise.
49232         (cos_test_upward): Likewise.
49233         (cosh_test): Likewise.
49234         (cosh_test_tonearest): Likewise.
49235         (cosh_test_towardzero): Likewise.
49236         (cosh_test_downward): Likewise.
49237         (cosh_test_upward): Likewise.
49238         (cpow_test): Likewise.
49239         (cproj_test): Likewise.
49240         (creal_test): Likewise.
49241         (csin_test): Likewise.
49242         (csinh_test): Likewise.
49243         (csqrt_test): Likewise.
49244         (ctan_test): Likewise.
49245         (ctan_test_tonearest): Likewise.
49246         (ctan_test_towardzero): Likewise.
49247         (ctan_test_downward): Likewise.
49248         (ctan_test_upward): Likewise.
49249         (ctanh_test): Likewise.
49250         (ctanh_test_tonearest): Likewise.
49251         (ctanh_test_towardzero): Likewise.
49252         (ctanh_test_downward): Likewise.
49253         (ctanh_test_upward): Likewise.
49254         (erf_test): Likewise.
49255         (erfc_test): Likewise.
49256         (exp_test): Likewise.
49257         (exp_test_tonearest): Likewise.
49258         (exp_test_towardzero): Likewise.
49259         (exp_test_downward): Likewise.
49260         (exp_test_upward): Likewise.
49261         (exp10_test): Likewise.
49262         (exp10_test_tonearest): Likewise.
49263         (exp10_test_towardzero): Likewise.
49264         (exp10_test_downward): Likewise.
49265         (exp10_test_upward): Likewise.
49266         (pow10_test): Likewise.
49267         (exp2_test): Likewise.
49268         (expm1_test): Likewise.
49269         (expm1_test_tonearest): Likewise.
49270         (expm1_test_towardzero): Likewise.
49271         (expm1_test_downward): Likewise.
49272         (expm1_test_upward): Likewise.
49273         (fabs_test): Likewise.
49274         (fdim_test): Likewise.
49275         (floor_test): Likewise.
49276         (fma_test): Likewise.
49277         (fma_test_towardzero): Likewise.
49278         (fma_test_downward): Likewise.
49279         (fma_test_upward): Likewise.
49280         (fmax_test): Likewise.
49281         (fmin_test): Likewise.
49282         (fmod_test): Likewise.
49283         (fpclassify_test): Likewise.
49284         (frexp_test): Likewise.
49285         (hypot_test): Likewise.
49286         (ilogb_test): Likewise.
49287         (isfinite_test): Likewise.
49288         (finite_test): Likewise.
49289         (isgreater_test): Likewise.
49290         (isgreaterequal_test): Likewise.
49291         (isinf_test): Likewise.
49292         (isless_test): Likewise.
49293         (islessequal_test): Likewise.
49294         (islessgreater_test): Likewise.
49295         (isnan_test): Likewise.
49296         (isnormal_test): Likewise.
49297         (issignaling_test): Likewise.
49298         (isunordered_test): Likewise.
49299         (j0_test): Likewise.
49300         (j1_test): Likewise.
49301         (jn_test): Likewise.
49302         (ldexp_test): Likewise.
49303         (lgamma_test): Likewise.
49304         (gamma_test): Likewise.
49305         (lrint_test): Likewise.
49306         (lrint_test_tonearest): Likewise.
49307         (lrint_test_towardzero): Likewise.
49308         (lrint_test_downward): Likewise.
49309         (lrint_test_upward): Likewise.
49310         (llrint_test): Likewise.
49311         (llrint_test_tonearest): Likewise.
49312         (llrint_test_towardzero): Likewise.
49313         (llrint_test_downward): Likewise.
49314         (llrint_test_upward): Likewise.
49315         (log_test): Likewise.
49316         (log10_test): Likewise.
49317         (log1p_test): Likewise.
49318         (log2_test): Likewise.
49319         (logb_test): Likewise.
49320         (logb_test_downward): Likewise.
49321         (lround_test): Likewise.
49322         (llround_test): Likewise.
49323         (modf_test): Likewise.
49324         (nearbyint_test): Likewise.
49325         (nextafter_test): Likewise.
49326         (nexttoward_test): Likewise.
49327         (pow_test): Likewise.
49328         (pow_test_tonearest): Likewise.
49329         (pow_test_towardzero): Likewise.
49330         (pow_test_downward): Likewise.
49331         (pow_test_upward): Likewise.
49332         (remainder_test): Likewise.
49333         (drem_test): Likewise.
49334         (remainder_test_tonearest): Likewise.
49335         (drem_test_tonearest): Likewise.
49336         (remainder_test_towardzero): Likewise.
49337         (drem_test_towardzero): Likewise.
49338         (remainder_test_downward): Likewise.
49339         (drem_test_downward): Likewise.
49340         (remainder_test_upward): Likewise.
49341         (drem_test_upward): Likewise.
49342         (remquo_test): Likewise.
49343         (rint_test): Likewise.
49344         (rint_test_tonearest): Likewise.
49345         (rint_test_towardzero): Likewise.
49346         (rint_test_downward): Likewise.
49347         (rint_test_upward): Likewise.
49348         (round_test): Likewise.
49349         (scalb_test): Likewise.
49350         (scalbn_test): Likewise.
49351         (scalbln_test): Likewise.
49352         (signbit_test): Likewise.
49353         (sin_test): Likewise.
49354         (sin_test_tonearest): Likewise.
49355         (sin_test_towardzero): Likewise.
49356         (sin_test_downward): Likewise.
49357         (sin_test_upward): Likewise.
49358         (sincos_test): Likewise.
49359         (sinh_test): Likewise.
49360         (sinh_test_tonearest): Likewise.
49361         (sinh_test_towardzero): Likewise.
49362         (sinh_test_downward): Likewise.
49363         (sinh_test_upward): Likewise.
49364         (sqrt_test): Likewise.
49365         (sqrt_test_tonearest): Likewise.
49366         (sqrt_test_towardzero): Likewise.
49367         (sqrt_test_downward): Likewise.
49368         (sqrt_test_upward): Likewise.
49369         (tan_test): Likewise.
49370         (tan_test_tonearest): Likewise.
49371         (tan_test_towardzero): Likewise.
49372         (tan_test_downward): Likewise.
49373         (tan_test_upward): Likewise.
49374         (tanh_test): Likewise.
49375         (tgamma_test): Likewise.
49376         (trunc_test): Likewise.
49377         (y0_test): Likewise.
49378         (y1_test): Likewise.
49379         (yn_test): Likewise.
49380         (significand_test): Likewise.
49382         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
49383         individual tests in comment.
49384         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
49385         (prev_max_error): New variable.
49386         (prev_real_max_error): Likewise.
49387         (prev_imag_max_error): Likewise.
49388         (compare_ulp_data): Don't refer to test names in comment.
49389         (find_test_ulps): Remove function.
49390         (find_function_ulps): Likewise.
49391         (find_complex_function_ulps): Likewise.
49392         (init_max_error): Take function name as argument.  Look up ulps
49393         for that function.
49394         (print_ulps): Remove function.
49395         (print_max_error): Use prev_max_error instead of calling
49396         find_function_ulps.
49397         (print_complex_max_error): Use prev_real_max_error and
49398         prev_imag_max_error instead of calling find_complex_function_ulps.
49399         (check_float_internal): Take max_ulp parameter instead of calling
49400         find_test_ulps.  Don't call print_ulps.
49401         (check_float): Update call to check_float_internal.
49402         (check_complex): Update calls to check_float_internal.
49403         (START): Pass argument to init_max_error.
49404         * math/gen-libm-test.pl (%results): Don't include "kind"
49405         information.
49406         (parse_ulps): Don't handle ulps of individual tests.
49407         (print_ulps_file): Likewise.
49408         (output_ulps): Likewise.
49409         * math/README.libm-test: Update.
49410         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
49411         individual tests.
49412         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
49413         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
49414         * sysdeps/arm/libm-test-ulps: Likewise.
49415         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
49416         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
49417         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
49418         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
49419         * sysdeps/microblaze/libm-test-ulps: Likewise.
49420         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
49421         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
49422         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49423         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
49424         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49425         * sysdeps/sh/libm-test-ulps: Likewise.
49426         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49427         * sysdeps/tile/libm-test-ulps: Likewise.
49428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49430 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
49432         * math/libm-test.inc (print_complex_max_error): Check separately
49433         whether real and imaginary errors are within allowed range and
49434         pass 0 to print_complex_function_ulps instead of value within
49435         allowed range.
49437 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49439         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
49440         formatting.
49441         (get_handles_fopen): Likewise.
49442         (do_write_test): Likewise.
49444         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
49446         * libio/fileops.c (do_ftell): Use cached offset when
49447         available.
49448         * libio/iofwide.c (do_ftell_wide): Likewise.
49449         * libio/iofdopen.c (_IO_new_fdopen): Don't use
49450         _IO_file_attach.
49451         * libio/wfileops.c (_IO_fwide): Don't cache offset.
49453         [BZ #16532]
49454         * libio/libioP.h (get_file_offset): New function.
49455         * libio/fileops.c (get_file_offset): Likewise.
49456         (do_ftell): Likewise.
49457         (_IO_new_file_seekoff): Split out ftell logic.
49458         * libio/wfileops.c (do_ftell_wide): Likewise.
49459         (_IO_wfile_seekoff): Split out ftell logic.
49460         * libio/tst-ftell-active-handler.c: New test case.
49461         * libio/Makefile (tests): Add it.
49463 2014-03-03  Roland McGrath  <roland@hack.frob.com>
49465         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
49466         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
49468 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49470         [BZ #16639]
49471         * nscd/connections.c (nscd_init): Call do_exit.
49472         (start_threads): Call do_exit and notify_parent.
49473         (begin_drop_privileges): Call do_exit.
49474         (finish_drop_privileges): Likewise.
49475         * nscd/selinux.c (preserve_capabilities): Likewise.
49476         (install_real_capabilities): Likewise.
49477         (nscd_selinux_enabled): Likewise.
49478         (avc_create_thread): Likewise.
49479         (avc_alloc_lock): Likewise.
49480         (nscd_avc_init): Likewise.
49481         * nscd/nscd.c (parent_fd): New static variable.
49482         (main): Create a pipe between parent and child processes.
49483         Skip closing parent_fd.
49484         (monitor_child): New function.
49485         (do_exit): Likewise.
49486         (notify_parent): Likewise.
49487         * nscd/nscd.h (notify_parent): Likewise.
49488         (do_exit): Likewise.
49490 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
49492         * malloc/malloc.c (__libc_calloc): Revert last change.
49494 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49498 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49500         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
49501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
49502         implementation.
49503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49504         (__libc_ifunc_impl_list): Likewise.
49505         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
49506         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
49507         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
49508         * string/strrchr.c: Define STRRCHR.
49510 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
49512         * benchtest/bench-strtok.c (simple_strtok): Delete.
49513         (strtok_string): Use as benchmark.
49514         * string/strtok (STRTOK): New macro.
49516 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
49518         * manual/threads.texi: Add header and standard comments to all
49519         functions.
49521         * elf/dl-lookup.c (check_match): New function.
49522         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
49523         (do_lookup_x): Remove nested function check_match. Use non-nested
49524         function check_match.
49526 2014-02-28  Roland McGrath  <roland@hack.frob.com>
49528         * csu/Makefile (generated, before-compile): Use += rather than =.
49529         * catgets/Makefile (generated, generated-dirs): Likewise.
49530         * debug/Makefile (generated): Likewise.
49531         * dlfcn/Makefile (generated): Likewise.
49532         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
49533         * iconvdata/Makefile (before-compile, generated): Likewise.
49534         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
49535         * libio/Makefile (generated): Likewise.
49536         * malloc/Makefile (generated): Likewise.
49537         * manual/Makefile (generated, generated-dirs): Likewise.
49538         * misc/Makefile (generated): Likewise.
49539         * posix/Makefile (generated): Likewise.
49540         * resolv/Makefile (generated): Likewise.
49541         * sunrpc/Makefile (generated, generated-dirs): Likewise.
49542         * timezone/Makefile (generated, generated-dirs): Likewise.
49544         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
49546 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49548         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
49549         power8 implementation.
49550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
49551         file: POWER8 llround ifunc implementation.
49552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
49553         (__lllround): Add POWER8 implementation.
49554         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
49555         POWER8 llround implementation.
49557         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
49558         power8 implementation.
49559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
49560         file: POWER8 llrint ifunc implementation.
49561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
49562         Add POWER8 implementation.
49563         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
49564         POWER8 llrint implementation.
49566         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
49567         power8 implementation.
49568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
49569         file: POWER8 finite ifunc implementation.
49570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
49571         Add POWER8 implementation.
49572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
49573         Likewise.
49574         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
49575         POWER8 finite implementation.
49576         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
49578         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
49579         power8 implementation.
49580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
49581         file: POWER8 isinf ifunc implementation.
49582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
49583         POWER8 implementation.
49584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
49585         Likewise.
49586         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
49587         isinf implementation.
49588         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
49590         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
49591         (INIT_ARCH): Add hwcap2 initialization.
49592         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
49593         power8 implementation.
49594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
49595         file: POWER8 isnan ifunc implementation.
49596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
49597         POWER8 implementation.
49598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
49599         Likewise.
49600         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
49601         isnan implementation.
49602         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
49604 2014-02-27  Joey Ye  <joey.ye@arm.com>
49606         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
49607         (_FP_NANFRAC_Q): Set to zero.
49609 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49611         [BZ #16623]
49612         * math/auto-libm-test-in: New test inputs.
49613         * math/auto-libm-test-out: Regenerate.
49614         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
49615         and DA.
49616         (__cos): Likewise.
49617         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49619 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
49621         * scripts/evaluate-test.sh: Take new argument indicating whether
49622         failure is expected.
49623         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
49624         indicating whether failure is expected.
49625         * conform/Makefile (test-xfail-run-conformtest): New variable.
49626         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
49627         level.
49628         * posix/Makefile (test-xfail-annexc): New variable.
49629         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
49631 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
49633         * argp/Makefile: Include Makeconfig immediately after defining
49634         subdir.
49635         * assert/Makefile: Likewise.
49636         * benchtests/Makefile: Likewise.
49637         * catgets/Makefile: Likewise.
49638         * conform/Makefile: Likewise.
49639         * crypt/Makefile: Likewise.
49640         * csu/Makefile: Likewise.
49641         (all): Remove target.
49642         * ctype/Makefile: Include Makeconfig immediately after defining
49643         subdir.
49644         * debug/Makefile: Likewise.
49645         * dirent/Makefile: Likewise.
49646         * dlfcn/Makefile: Likewise.
49647         * gmon/Makefile: Likewise.
49648         * gnulib/Makefile: Likewise.
49649         * grp/Makefile: Likewise.
49650         * gshadow/Makefile: Likewise.
49651         * hesiod/Makefile: Likewise.
49652         * hurd/Makefile: Likewise.
49653         (all): Remove target.
49654         * iconvdata/Makefile: Include Makeconfig immediately after
49655         defining subdir.
49656         * inet/Makefile: Likewise.
49657         * intl/Makefile: Likewise.
49658         * io/Makefile: Likewise.
49659         * libio/Makefile: Likewise.
49660         (all): Remove target.
49661         * locale/Makefile: Include Makeconfig immediately after defining
49662         subdir.
49663         * login/Makefile: Likewise.
49664         * mach/Makefile: Likewise.
49665         (all): Remove target.
49666         * malloc/Makefile: Include Makeconfig immediately after defining
49667         subdir.
49668         (all): Remove target.
49669         * manual/Makefile: Include Makeconfig immediately after defining
49670         subdir.
49671         * math/Makefile: Likewise.
49672         * misc/Makefile: Likewise.
49673         * nis/Makefile: Likewise.
49674         * nss/Makefile: Likewise.
49675         * po/Makefile: Likewise.
49676         (all): Remove target.
49677         * posix/Makefile: Include Makeconfig immediately after defining
49678         subdir.
49679         * pwd/Makefile: Likewise.
49680         * resolv/Makefile: Likewise.
49681         * resource/Makefile: Likewise.
49682         * rt/Makefile: Likewise.
49683         * setjmp/Makefile: Likewise.
49684         * shadow/Makefile: Likewise.
49685         * signal/Makefile: Likewise.
49686         * socket/Makefile: Likewise.
49687         * soft-fp/Makefile: Likewise.
49688         * stdio-common/Makefile: Likewise.
49689         * stdlib/Makefile: Likewise.
49690         * streams/Makefile: Likewise.
49691         * string/Makefile: Likewise.
49692         * sunrpc/Makefile: Likewise.
49693         (all): Remove target.
49694         * sysvipc/Makefile: Include Makeconfig immediately after defining
49695         subdir.
49696         * termios/Makefile: Likewise.
49697         * time/Makefile: Likewise.
49698         * timezone/Makefile: Likewise.
49699         (all): Remove target.
49700         * wcsmbs/Makefile: Include Makeconfig immediately after defining
49701         subdir.
49702         * wctype/Makefile: Likewise.
49704 2014-02-26  Steve Ellcey  <sellcey@mips.com>
49706         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
49707         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
49708         (libc_feholdexcept_setround_mips): Ditto.
49709         (libc_feholdsetround): New.
49710         (libc_feholdsetroundf): New.
49711         (libc_feholdsetroundl): New.
49712         (libc_feupdateenv_test_mips): New.
49713         (libc_feupdateenv_test): New.
49714         (libc_feupdateenv_testf): New.
49715         (libc_feupdateenv_testl): New.
49716         (libc_feresetround): New.
49717         (libc_feresetroundf): New.
49718         (libc_feresetroundl): New.
49719         (libc_fetestexcept_mips): New.
49720         (libc_fetestexcept): New.
49721         (libc_fetestexceptf): New.
49722         (libc_fetestexceptl): New.
49723         (HAVE_RM_CTX): New.
49724         (libc_feholdexcept_setround_mips_ctx): New.
49725         (libc_feholdexcept_setround_ctx): New.
49726         (libc_feholdexcept_setroundf_ctx): New.
49727         (libc_feholdexcept_setroundl_ctx): New.
49728         (libc_fesetenv_mips_ctx): New.
49729         (libc_fesetenv_ctx): New.
49730         (libc_fesetenv_ctxf): New.
49731         (libc_fesetenv_ctxl): New.
49732         (libc_feupdateenv_mips_ctx): New.
49733         (libc_feupdateenv_ctx): New.
49734         (libc_feupdateenvf_ctx): New.
49735         (libc_feupdateenvl_ctx): New.
49736         (libc_feholdsetround_mips_ctx): New.
49737         (libc_feholdsetround_ctx): New.
49738         (libc_feholdsetroundf_ctx): New.
49739         (libc_feholdsetroundl_ctx): New.
49740         (libc_feresetround_mips_ctx): New.
49741         (libc_feresetround_ctx): New.
49742         (libc_feresetroundf_ctx): New.
49743         (libc_feresetroundl_ctx): New.
49745 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
49747         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
49749         * manual/ipc.texi: New file.
49750         * manual/Makefile (chapters): Add ipc.
49751         * manual/job.texi: Add "Inter-Process Communication" to next.
49752         * manual/process.texi: Add "Inter-Process Communication" to prev.
49754 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49758 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
49760         * malloc/malloc.c (__libc_calloc): Simplify implementation.
49762         * manual/arith.texi: Fix spaces after sentences.
49763         * manual/charset.texi: Likewise.
49764         * manual/errno.texi: Likewise.
49765         * manual/install.texi: Likewise.
49766         * manual/llio.texi: Likewise.
49767         * manual/locale.texi: Likewise.
49768         * manual/maint.texi: Likewise.
49769         * manual/math.texi: Likewise.
49770         * manual/memory.texi: Likewise.
49771         * manual/message.texi: Likewise.
49772         * manual/probes.texi: Likewise.
49773         * manual/resource.texi: Likewise.
49774         * manual/signal.texi: Likewise.
49775         * manual/socket.texi: Likewise.
49776         * manual/stdio.texi: Likewise.
49777         * manual/string.texi: Likewise.
49778         * manual/time.texi: Likewise.
49779         * manual/users.texi: Likewise.
49781 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
49783         [BZ #16632]
49784         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
49785         _DEFAULT_SOURCE is defined.
49787 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
49788             Carlos O'Donell  <carlos@redhat.com>
49790         [BZ #16613]
49791         * elf/dl-tls.c (_dl_count_modids): New function.
49792         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
49793         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
49794         audit library and increment generation counter.
49795         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
49796         * elf/tst-audit9.c: New file.
49797         * elf/tst-auditmod9a.c: New file.
49798         * elf/tst-auditmod9b.c: New file.
49799         * elf/Makefile: Add rules to build and run tst-audit9.
49801 2014-02-25  Florian Weimer  <fweimer@redhat.com>
49803         [BZ #15347]
49804         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
49806 2014-02-25  Will Newton  <will.newton@linaro.org>
49808         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
49809         (__longjmp): Restore sp and lr before restoring callee
49810         saved registers.  Add longjmp and longjmp_target
49811         SystemTap probe point.
49812         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
49813         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
49814         Define to zero to match jmpbuf layout.
49815         * sysdeps/arm/setjmp.S: Include stap-probe.h.
49816         (__sigsetjmp): Save sp and lr before saving callee
49817         saved registers.  Add setjmp SystemTap probe point.
49819 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
49821         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49823 2014-02-24  Andreas Schwab  <schwab@suse.de>
49825         [BZ #15804]
49826         * elf/pldd.c (wait_for_ptrace_stop): New function.
49827         (main): Call it after attaching.
49829 2014-02-22  Roland McGrath  <roland@hack.frob.com>
49831         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
49832         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
49833         Versions files is now verboten.
49834         * hurd/Versions (libc: GLIBC_2.0):
49835         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
49836         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
49837         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
49838         * mach/Versions: Likewise.
49840         * csu/Versions: Remove unused %include.
49841         * resolv/Versions: Likewise.
49843 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
49845         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
49846         ($(objpfx)check-local-headers.out): Likewise.
49847         ($(objpfx)begin-end-check.out): Likewise.
49848         * Makerules (check-abi-%.out): Likewise.
49849         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
49850         ($(objpfx)test2.cat): Likewise.
49851         ($(objpfx)de/libc.cat): Likewise.
49852         ($(objpfx)test-gencat.out): Likewise.
49853         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
49854         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
49855         ($(objpfx)noload-mem): Likewise.
49856         ($(objpfx)tst-pathopt.out): Likewise.
49857         ($(objpfx)tst-rtld-load-self.out): Likewise.
49858         ($(objpfx)tst-array1-cmp.out): Likewise.
49859         ($(objpfx)tst-array1-static-cmp.out): Likewise.
49860         ($(objpfx)tst-array2-cmp.out): Likewise.
49861         ($(objpfx)tst-array3-cmp.out): Likewise.
49862         ($(objpfx)tst-array4-cmp.out): Likewise.
49863         ($(objpfx)tst-array5-cmp.out): Likewise.
49864         ($(objpfx)tst-array5-static-cmp.out): Likewise.
49865         ($(objpfx)check-textrel.out): Likewise.
49866         ($(objpfx)check-execstack.out): Likewise.
49867         ($(objpfx)check-localplt.out): Likewise.
49868         ($(objpfx)order2-cmp.out): Likewise.
49869         ($(objpfx)tst-leaks1-mem): Likewise.
49870         ($(objpfx)tst-leaks1-static-mem): Likewise.
49871         ($(objpfx)tst-initorder-cmp.out): Likewise.
49872         ($(objpfx)tst-initorder2-cmp.out): Likewise.
49873         ($(objpfx)tst-unused-dep.out): Likewise.
49874         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
49875         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
49876         * iconv/Makefile (test-iconvconfig): Likewise.
49877         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
49878         ($(objpfx)iconv-test.out): Likewise.
49879         ($(objpfx)tst-tables.out): Likewise.
49880         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
49881         ($(objpfx)tst-gettext.out): Likewise.
49882         ($(objpfx)tst-translit.out): Likewise.
49883         ($(objpfx)tst-gettext2.out): Likewise.
49884         ($(objpfx)tst-gettext4.out): Likewise.
49885         ($(objpfx)tst-gettext6.out): Likewise.
49886         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
49887         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
49888         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
49889         ($(objpfx)tst-fopenloc-mem.out): Likewise.
49890         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
49891         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
49892         * posix/Makefile ($(objpfx)globtest.out): Likewise.
49893         ($(objpfx)wordexp-tst.out): Likewise.
49894         ($(objpfx)annexc.out): Likewise.
49895         ($(objpfx)tst-fnmatch-mem): Likewise.
49896         ($(objpfx)bug-regex2-mem): Likewise.
49897         ($(objpfx)bug-regex14-mem): Likewise.
49898         ($(objpfx)bug-regex21-mem): Likewise.
49899         ($(objpfx)bug-regex31-mem): Likewise.
49900         ($(objpfx)tst-vfork3-mem): Likewise.
49901         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49902         ($(objpfx)tst-pcre-mem): Likewise.
49903         ($(objpfx)tst-boost-mem): Likewise.
49904         ($(objpfx)tst-getconf.out): Likewise.
49905         ($(objpfx)bug-ga2-mem): Likewise.
49906         ($(objpfx)bug-glob2-mem): Likewise.
49907         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
49908         ($(objpfx)mtrace-tst-leaks2): Likewise.
49909         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
49910         ($(objpfx)tst-printf.out): Likewise.
49911         ($(objpfx)tst-setvbuf1.out): Likewise.
49912         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
49913         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
49914         ($(objpfx)tst-fmtmsg.out): Likewise.
49915         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
49916         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
49918         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
49919         * bits/sigaction.h [__USE_MISC]: Likewise.
49920         * bits/waitstatus.h: Update #endif comments.
49921         * ctype/ctype.h: Likewise.
49922         * dirent/dirent.h: Likewise.
49923         [__USE_MISC]: Remove redundant conditionals.
49924         * grp/grp.h: Update #endif comments.
49925         [__USE_GNU]: Remove redundant conditionals.
49926         [__USE_MISC]: Likewise.
49927         * inet/netinet/in.h [__USE_GNU]: Likewise.
49928         * io/sys/stat.h [__USE_MISC]: Likewise.
49929         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
49930         * libio/bits/stdio.h: Update #endif comments.
49931         [__USE_MISC]: Remove redundant conditionals.
49932         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
49933         * libio/stdio.h: Update #endif comments.
49934         [__USE_MISC]: Remove redundant conditionals.
49935         * math/bits/math-finite.h [__USE_MISC]: Likewise.
49936         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
49937         * math/math.h: Update #else and #endif comments.
49938         [__USE_MISC]: Remove redundant conditionals.
49939         * misc/sys/uio.h: Update #endif comments.
49940         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
49941         * posix/glob.h [__USE_MISC]: Likewise.
49942         * posix/sys/types.h: Update #endif comments.
49943         [__USE_MISC]: Remove redundant conditionals.
49944         * posix/sys/wait.h: Update #endif comments.
49945         [__USE_MISC]: Remove redundant conditionals.
49946         * posix/unistd.h: Update #endif comments.
49947         [__USE_MISC]: Remove redundant conditionals.
49948         * pwd/pwd.h [__USE_GNU]: Likewise.
49949         [__USE_MISC]: Likewise.
49950         * resolv/netdb.h [__USE_GNU]: Likewise.
49951         * signal/signal.h: Update #endif comments.
49952         [__USE_MISC]: Remove redundant conditionals.
49953         * stdlib/stdlib.h: Update #else and #endif comments.
49954         [__USE_MISC]: Remove redundant conditionals.
49955         [__USE_GNU]: Likewise.
49956         * string/bits/string2.h [__USE_MISC]: Likewise.
49957         * string/string.h: Update #endif comments.
49958         [__USE_MISC]: Remove redundant conditionals.
49959         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
49960         Likewise.
49961         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
49962         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
49963         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
49964         Likewise.
49965         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
49966         Likewise.
49967         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
49968         comments.
49969         [__USE_MISC]: Remove redundant conditionals.
49970         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
49971         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
49972         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
49973         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
49974         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
49975         Likewise.
49976         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
49977         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
49978         Likewise.
49979         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
49980         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
49981         Likewise.
49982         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
49983         Likewise.
49984         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
49985         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
49986         Likewise.
49987         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
49988         Likewise.
49989         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
49990         * sysdeps/x86/bits/string.h: Update #endif comments.
49991         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
49992         conditionals.
49993         * time/sys/time.h: Update #endif comments.
49994         * time/time.h: Likewise.
49995         [__USE_MISC]: Remove redundant conditionals.
49997 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
49999         [BZ #16600]
50000         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
50002 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
50004         * Versions.def (librt): Add GLIBC_2.17.
50006 2014-02-21  Adam Conrad  <adconrad@0c3.net>
50008         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
50009         synonym for _SYS_AUXV_H to allow direct inclusion.
50010         * sysdeps/sparc/bits/hwcap.h: Likewise.
50011         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
50012         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
50013         * sysdeps/sparc/sysdep.h: Likewise.
50015 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50017         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
50019 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50021         * benchtests/bench-strrchr.c: Print length instead of position.
50023 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
50025         [BZ #16611]
50026         * sysdeps/unix/sysv/linux/kernel-features.h
50027         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
50028         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
50029         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
50030         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
50031         Likewise.
50032         [__i386__ || __powerpc__ || __sh__ || __sparc__]
50033         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50034         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
50035         (__ASSUME_SENDMMSG): Define instead of using previous
50036         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
50037         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50038         (__ASSUME_SENDMMSG_SYSCALL): Define.
50039         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50040         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
50041         Likewise.
50042         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50043         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50044         Likewise.
50045         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50046         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50047         Likewise.
50048         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
50049         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50050         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50051         [__ASSUME_SENDMMSG]: Change conditionals to
50052         [__ASSUME_SENDMMSG_SOCKETCALL].
50053         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50054         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
50055         Define.
50056         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50057         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
50058         Likewise.
50059         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
50060         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50061         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50062         [!__ASSUME_SENDMMSG]: Change conditional to
50063         [!__ASSUME_SENDMMSG_SOCKETCALL].
50064         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50065         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50066         Define.
50068         [BZ #16610]
50069         * sysdeps/unix/sysv/linux/kernel-features.h
50070         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
50071         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
50072         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
50073         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
50074         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
50075         [__i386__ || __sparc__]
50076         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50077         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
50078         (__ASSUME_RECVMMSG): Define instead of using previous
50079         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
50080         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50081         (__ASSUME_RECVMMSG_SYSCALL): Define.
50082         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50083         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50084         Likewise.
50085         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50086         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50087         Likewise.
50088         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50089         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50090         Likewise.
50091         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
50092         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50093         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50094         [__ASSUME_RECVMMSG]: Change condition to
50095         [__ASSUME_RECVMMSG_SOCKETCALL].
50096         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50097         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50098         Define.
50099         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50100         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50101         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50102         Likewise.
50103         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
50104         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50105         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50106         [!__ASSUME_RECVMMSG]: Change condition to
50107         [!__ASSUME_RECVMMSG_SOCKETCALL].
50108         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50109         (__ASSUME_RECVMMSG_SYSCALL): Define.
50111         [BZ #16609]
50112         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
50113         __powerpc__ || __s390__ || __sh__ || __sparc__]
50114         (__ASSUME_SOCKETCALL): Define.
50115         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
50116         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
50117         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
50118         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
50119         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50120         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
50121         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
50122         (__ASSUME_ACCEPT4): Define instead of using previous
50123         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
50124         __powerpc__ || __sparc__ || __s390__)] condition.
50125         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50126         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50127         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
50128         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50129         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50130         [!__ASSUME_ACCEPT4]: Change condition to
50131         [!__ASSUME_ACCEPT4_SOCKETCALL].
50132         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50133         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
50134         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
50135         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50136         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
50137         __ASSUME_ACCEPT4_SYSCALL.
50138         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
50139         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
50140         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50141         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
50142         __ASSUME_ACCEPT4_SYSCALL.
50143         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
50144         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50145         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50146         [__ASSUME_ACCEPT4]: Change condition to
50147         [__ASSUME_ACCEPT4_SOCKETCALL].
50148         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50149         (__ASSUME_SOCKETCALL): Define.
50150         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
50151         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50152         (__ASSUME_SOCKETCALL): Define.
50153         (__ASSUME_ACCEPT4): Remove.
50154         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
50155         Define.
50156         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50157         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
50158         Likewise.
50159         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50160         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50162         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
50163         macro.
50164         (HWCAP_ARM_LPAE): Likewise.
50165         (HWCAP_ARM_EVTSTRM): Likewise.
50166         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
50167         Add vpfd32, lpae and evtstrm.
50168         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
50169         Increase to 22.
50171 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
50173         * math/auto-libm-test-in: Add tests of clog10.
50174         * math/auto-libm-test-out: Regenerated.
50175         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
50176         * sysdeps/i386/fpu/libm-test-ulps: Update.
50177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50179 2014-02-18  Andreas Schwab  <schwab@suse.de>
50181         [BZ #16574]
50182         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
50183         Store non-zero if the second buffer was newly allocated.
50184         (send_dg): Likewise.
50185         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
50186         to send_vc and send_dg.
50187         (res_nsend): Pass NULL for ansp2_malloced.
50188         * resolv/res_query.c (__libc_res_nquery): Add parameter
50189         answerp2_malloced and pass it down to __libc_res_nsend.
50190         (res_nquery): Pass additional NULL to __libc_res_nquery.
50191         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
50192         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
50193         second answer buffer if answerp2_malloced was set.
50194         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
50195         (__libc_res_nquerydomain): Add parameter
50196         answerp2_malloced and pass it down to __libc_res_nquery.
50197         (res_nquerydomain): Pass additional NULL to
50198         __libc_res_nquerydomain.
50199         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
50200         additional NULL to __libc_res_nsend and __libc_res_nquery.
50201         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
50202         additional NULL to __libc_res_nsearch.
50203         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
50204         parameter of __libc_res_nsearch to check for separately allocated
50205         second buffer.
50206         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
50207         __libc_res_nquery.
50208         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
50209         additional NULL to __libc_res_nquery.
50210         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
50211         __libc_res_nsearch.
50212         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
50213         * include/resolv.h: Update prototypes of __libc_res_nquery,
50214         __libc_res_nsearch, __libc_res_nsend.
50216 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
50218         * math/auto-libm-test-in: Add tests of fma.
50219         * math/auto-libm-test-out: Regenerated.
50220         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
50221         (fma_towardzero_test_data): Likewise.
50222         (fma_downward_test_data): Likewise.
50223         (fma_upward_test_data): Likewise.
50224         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
50225         mpc_mode.
50226         (rounding_modes): Add values for new field.
50227         (func_calc_method): Add value mpfr_fff_f.
50228         (func_calc_desc): Add mpfr_fff_f union field.
50229         (test_function): Add field exact_args.
50230         (FUNC): Add macro argument EXACT_ARGS.
50231         (FUNC_mpfr_f_f): Update call to FUNC.
50232         (FUNC_mpfr_f_f): Likewise.
50233         (FUNC_mpfr_ff_f): Likewise.
50234         (FUNC_mpfr_if_f): Likewise.
50235         (FUNC_mpc_c_f): Likewise.
50236         (FUNC_mpc_c_c): Likewise.
50237         (test_functions): Add fma.  Update calls to FUNC.
50238         (handle_input_arg): Add argument exact_args.
50239         (add_test): Update call to handle_input_arg.
50240         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
50241         (output_for_one_input_case): Update call to calc_generic_results.
50242         Recalculate exact zero results in each rounding mode.
50244         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
50245         non-negative before setting low bit.
50246         * math/auto-libm-test-in: Mark one asin test possibly having
50247         spurious underflow.
50248         * math/auto-libm-test-out: Regenerated.
50249         * sysdeps/i386/fpu/libm-test-ulps: Update.
50250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50252 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
50254         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
50255         * sysdeps/unix/sysv/linux/microblaze: Move directory from
50256         ports/sysdeps/unix/sysv/linux/microblaze.
50257         * README: Add missing listing for microblaze*-*-linux-gnu.
50259 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
50261         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
50262         duplicate code
50264 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
50266         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
50267         * sysdeps/unix/sysv/linux/ia64: Move directory from
50268         ports/sysdeps/unix/sysv/linux/ia64.
50269         * README: Update listing for ia64-*-linux-gnu.
50271 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
50272             Joseph Myers  <joseph@codesourcery.com>
50274         * Makeconfig (test-name): New variable.
50275         (evaluate-test): Likewise.
50276         * Makerules (do-test-clean): Remove .test-result files.
50277         (common-mostlyclean): Likewise.
50278         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
50279         * scripts/evaluate-test.sh: New file.
50281 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
50283         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
50284         separate $(objpfx)tst-fopenloc-cmp.out and
50285         $(objpfx)tst-fopenloc-mem.out targets.
50286         (tests): Update dependencies.
50287         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
50288         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
50289         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
50290         (tst-rxspencer-no-utf8-ARGS): New variable.
50291         (tst-rxspencer-no-utf8-ENV): Likewise.
50292         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
50293         instead of $(objpfx)tst-rxspencer-mem.
50294         ($(objpfx)tst-rxspencer-mem): Change target to
50295         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
50296         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
50297         * posix/tst-rxspencer-no-utf8.c: New file.
50299         * elf/Makefile ($(objpfx)order.out): Remove rule.
50300         [$(run-built-tests) = yes] (tests): Depend on
50301         $(objpfx)order-cmp.out.
50302         ($(objpfx)order-cmp.out): New rule.
50303         [$(run-built-tests) = yes] (tests): Depend on
50304         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
50305         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
50306         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
50307         $(objpfx)tst-array5-static-cmp.out.
50308         ($(objpfx)tst-array1.out): Remove rule.
50309         ($(objpfx)tst-array1-cmp.out): New rule.
50310         ($(objpfx)tst-array1-static.out): Remove rule.
50311         ($(objpfx)tst-array1-static-cmp.out): New rule.
50312         ($(objpfx)tst-array2.out): Remove rule.
50313         ($(objpfx)tst-array2-cmp.out): New rule.
50314         ($(objpfx)tst-array3.out): Remove rule.
50315         ($(objpfx)tst-array3-cmp.out): New rule.
50316         ($(objpfx)tst-array4.out): Remove rule.
50317         ($(objpfx)tst-array4-cmp.out): New rule.
50318         ($(objpfx)tst-array5.out): Remove rule.
50319         ($(objpfx)tst-array5-cmp.out): New rule.
50320         ($(objpfx)tst-array5-static.out): Remove rule.
50321         ($(objpfx)tst-array5-static-cmp.out): New rule.
50322         [$(run-built-tests) = yes] (tests): Depend on
50323         $(objpfx)order2-cmp.out.
50324         ($(objpfx)order2.out): Remove rule.
50325         ($(objpfx)order2-cmp.out): New rule.
50326         ($(objpfx)tst-initorder.out): Remove rule.
50327         [$(run-built-tests) = yes] (tests): Depend on
50328         $(objpfx)tst-initorder-cmp.out.
50329         ($(objpfx)tst-initorder-cmp.out): New rule.
50330         ($(objpfx)tst-initorder2.out): Remove rule.
50331         [$(run-built-tests) = yes] (tests): Depend on
50332         $(objpfx)tst-initorder2-cmp.out.
50333         ($(objpfx)tst-initorder2-cmp.out): New rule.
50334         [$(run-built-tests) = yes] (tests): Depend on
50335         $(objpfx)tst-unused-dep-cmp.out.
50336         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
50337         ($(objpfx)tst-unused-dep-cmp.out): New rule.
50338         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
50339         on $(objpfx)tst-setvbuf1-cmp.out.
50340         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
50341         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
50342         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
50343         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
50344         ($(objpfx)tst-svc.out): Remove rule.
50345         ($(objpfx)tst-svc-cmp.out): New rule.
50347 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
50349         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
50350         * ctype/ctype.h [__USE_MISC]: Likewise.
50351         * dirent/dirent.h [__USE_MISC]: Likewise.
50352         * grp/grp.h [__USE_MISC]: Likewise.
50353         * io/fcntl.h [__USE_MISC]: Likewise.
50354         * io/sys/stat.h [__USE_MISC]: Likewise.
50355         * libio/stdio.h [__USE_MISC]: Likewise.
50356         * posix/unistd.h [__USE_MISC]: Likewise.
50357         * pwd/pwd.h [__USE_MISC]: Likewise.
50358         * stdlib.h [__USE_MISC]: Likewise.
50359         * string/bits/string2.h [__USE_MISC]: Likewise.
50360         * string/string.h [__USE_MISC]: Likewise.
50361         * time/time.h [__USE_MISC]: Likewise.
50363 2014-02-13  Andreas Schwab  <schwab@suse.de>
50365         [BZ #16574]
50366         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
50367         second answer buffer if it was separately allocated.
50369 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
50371         * sysdeps/mips/math-tests.h: Include <features.h>.
50372         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50373         (ROUNDING_TESTS_long_double): Do not define.
50374         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50375         (EXCEPTION_TESTS_long_double): Likewise.
50376         * sysdeps/mips/mips64/libm-test-ulps: Update.
50378         * include/features.h (__USE_BSD): Remove macro definitions.
50379         (__USE_SVID): Likewise.
50380         (_BSD_SOURCE): Likewise.
50381         (_SVID_SOURCE): Likewise.
50382         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
50383         from definition of _DEFAULT_SOURCE.
50384         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
50385         [_DEFAULT_SOURCE].
50386         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
50387         * bits/mman.h [__USE_BSD]: Likewise.
50388         * bits/termios.h [__USE_BSD]: Likewise.
50389         * bits/waitstatus.h [__USE_BSD]: Likewise.
50390         * ctype/ctype.h [__USE_SVID]: Likewise.
50391         * dirent/dirent.h [__USE_BSD]: Likewise.
50392         * grp/grp.h [__USE_SVID]: Likewise.
50393         [__USE_BSD]: Likewise.
50394         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
50395         * io/fcntl.h [__USE_BSD]: Likewise.
50396         * io/ftw.h [__USE_BSD]: Likewise.
50397         * io/sys/stat.h [__USE_BSD]: Likewise.
50398         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
50399         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
50400         * libio/stdio.h [__USE_SVID]: Likewise.
50401         [__USE_BSD]: Likewise.
50402         * math/math.h [__USE_SVID]: Likewise.
50403         [__USE_BSD]: Likewise.
50404         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
50405         * misc/bits/syslog.h [__USE_BSD]: Likewise.
50406         * misc/search.h [__USE_SVID]: Likewise.
50407         * misc/sys/mman.h [__USE_BSD]: Likewise.
50408         * misc/sys/syslog.h [__USE_BSD]: Likewise.
50409         * misc/sys/uio.h [__USE_BSD]: Likewise.
50410         * posix/bits/unistd.h [__USE_BSD]: Likewise.
50411         * posix/glob.h [__USE_BSD]: Likewise.
50412         * posix/regex.h [__USE_BSD]: Likewise.
50413         * posix/sys/types.h [__USE_BSD]: Likewise.
50414         [__USE_SVID]: Likewise.
50415         * posix/sys/utsname.h [__USE_SVID]: Likewise.
50416         * posix/sys/wait.h [__USE_BSD]: Likewise.
50417         [__USE_SVID]: Likewise.
50418         * posix/unistd.h [__USE_BSD]: Likewise.
50419         [__USE_SVID]: Likewise.
50420         * pwd/pwd.h [__USE_SVID]: Likewise.
50421         * resolv/netdb.h [__USE_BSD]: Likewise.
50422         * setjmp/setjmp.h [__USE_BSD]: Likewise.
50423         * signal/signal.h [__USE_BSD]: Likewise.
50424         [__USE_SVID]: Likewise.
50425         * socket/sys/socket.h [__USE_BSD]: Likewise.
50426         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
50427         * stdlib/stdlib.h [__USE_BSD]: Likewise.
50428         [__USE_SVID]: Likewise.
50429         * string/bits/string2.h [__USE_BSD]: Likewise.
50430         [__USE_SVID]: Likewise.
50431         * string/bits/string3.h [__USE_BSD]: Likewise.
50432         * string/endian.h [__USE_BSD]: Likewise.
50433         * string/string.h [__USE_SVID]: Likewise.
50434         [__USE_BSD]: Likewise.
50435         * string/strings.h [__USE_BSD]: Likewise.
50436         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
50437         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
50438         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
50439         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
50440         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
50441         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
50442         Likewise.
50443         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
50444         Likewise.
50445         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
50446         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
50447         Likewise.
50448         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
50449         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
50450         Likewise.
50451         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
50452         Likewise.
50453         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
50454         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
50455         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
50456         Likewise.
50457         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
50458         Likewise.
50459         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
50460         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
50461         * termios/termios.h [__USE_BSD]: Likewise.
50462         * time/sys/time.h [__USE_BSD]: Likewise.
50463         * time/time.h [__USE_BSD]: Likewise.
50464         [__USE_SVID]: Likewise.
50466         * Makefile (subdir_targets): Remove subdir_lint.out.
50468         * stdio-common/Makefile (do-tst-unbputc): Remove target.
50469         (do-tst-printf): Likewise.
50470         (tests): Depend directly on $(objpfx)tst-unbputc.out and
50471         $(objpfx)tst-printf.out.
50473         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
50475         * Makerules (check-abi-%): Change target to
50476         $(objpfx)check-abi-%.out.
50477         (check-abi target): Update dependencies.
50478         (check-abi-pattern variable): Redirect output of diff to $@.
50479         (check-abi variable): Likewise.
50480         * elf/Makefile (check-abi): Update dependencies.
50482         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
50483         unused.
50484         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
50485         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
50486         subnormal range.
50487         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
50488         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
50489         value has largest subnormal exponent.
50490         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
50491         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
50492         * sysdeps/aarch64/soft-fp/sfp-machine.h
50493         (_FP_TININESS_AFTER_ROUNDING): New macro.
50494         * sysdeps/alpha/soft-fp/sfp-machine.h
50495         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50496         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50497         Likewise.
50498         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
50499         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50500         * sysdeps/mips/soft-fp/sfp-machine.h
50501         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50502         * sysdeps/powerpc/soft-fp/sfp-machine.h
50503         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50504         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50505         Likewise.
50506         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50507         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50508         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50509         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50510         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50511         Likewise.
50513 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
50515         [BZ #16545]
50516         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
50517         model 1.
50519 2014-02-12  Richard Henderson  <rth@redhat.com>
50521         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
50522         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
50523         * sysdeps/unix/sysv/linux/alpha: Move directory from
50524         ports/sysdeps/unix/sysv/linux/alpha.
50525         * README: Update listing for alpha-*-linux-gnu.
50527 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
50529         * include/features.h: Update comment documenting feature test
50530         macros.
50531         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
50532         _DEFAULT_SOURCE.
50533         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
50534         (_SVID_SOURCE): Likewise.
50535         (_DEFAULT_SOURCE): Update description of default features.
50536         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
50537         with _GNU_SOURCE.
50538         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
50539         (S_ISVTX): Likewise.
50540         * manual/math.texi (Mathematical Constants): Likewise.
50541         * manual/signal.texi (Interrupted Primitives): Likewise.
50542         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
50543         * math/test-matherr.c (_SVID_SOURCE): Do not define.
50544         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
50545         Don't refer to _SVID_SOURCE in warning text.
50547         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50549         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
50550         already defined.
50551         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
50552         * sysdeps/mips/dl-lookup.c: Remove.
50553         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
50555 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
50557         [BZ #16447]
50558         * math/auto-libm-test-in: Add testcase for expl.
50559         * math/auto-libm-test-out: Regenerate.
50560         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
50561         calculation of unsafe.
50562         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
50564 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50566         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
50567         * sysdeps/unix/sysv/linux/aarch64: Move directory from
50568         ports/sysdeps/unix/sysv/linux/aarch64.
50569         * README: Update listing for aarch64*-*-linux-gnu.
50571 2014-02-11  Will Newton  <will.newton@linaro.org>
50573         * manual/probes.texi (Mathematical Function Probes): Use
50574         "triggered" instead of "hit".
50576         * manual/probes.texi (Internal Probes): Add documentation
50577         of setjmp, longjmp and longjmp_target probes.
50579         * include/stap-probe.h: Add comment about probe argument
50580         format.
50582         * malloc/mtrace.c (attribute_hidden): Remove unused macro
50583         definition.  (tr_where, tr_freehook, tr_mallochook,
50584         tr_reallochook, tr_memalignhook): Use ANSI protoype.
50586 2014-02-11  David S. Miller  <davem@davemloft.net>
50588         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
50589         processing int_tests.
50591 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
50593         * sysdeps/mips: Move directory from ports/sysdeps/mips.
50594         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
50595         * sysdeps/unix/sysv/linux/mips: Move directory from
50596         ports/sysdeps/unix/sysv/linux/mips.
50597         * README: Update listing for mips-*-linux-gnu and
50598         mips64-*-linux-gnu.
50600 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
50602         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
50603         * sysdeps/unix/sysv/linux/m68k: Move directory from
50604         ports/sysdeps/unix/sysv/linux/m68k.
50605         * README: Update listing for m68k-*-linux-gnu.
50607 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
50609         * sysdeps/tile: Move directory from ports/sysdeps/tile.
50610         * sysdeps/unix/sysv/linux/generic: Move directory from
50611         ports/sysdeps/unix/sysv/linux/generic.
50612         * sysdeps/unix/sysv/linux/tile: Move directory from
50613         ports/sysdeps/unix/sysv/linux/tile.
50614         * README: Update listing for tile*-*-linux-gnu.
50616 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
50618         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
50619         __builtin_expect.
50620         * benchtests/bench-memmem.c (simple_memmem): Likewise.
50621         * catgets/open_catalog.c (__open_catalog): Likewise.
50622         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
50623         * debug/confstr_chk.c: Likewise.
50624         * debug/fread_chk.c (__fread_chk): Likewise.
50625         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
50626         * debug/getgroups_chk.c: Likewise.
50627         * debug/mbsnrtowcs_chk.c: Likewise.
50628         * debug/mbsrtowcs_chk.c: Likewise.
50629         * debug/mbstowcs_chk.c: Likewise.
50630         * debug/memcpy_chk.c: Likewise.
50631         * debug/memmove_chk.c: Likewise.
50632         * debug/mempcpy_chk.c: Likewise.
50633         * debug/memset_chk.c: Likewise.
50634         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50635         * debug/strcat_chk.c (__strcat_chk): Likewise.
50636         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
50637         * debug/strncat_chk.c (__strncat_chk): Likewise.
50638         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
50639         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
50640         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
50641         * debug/wcpncpy_chk.c: Likewise.
50642         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50643         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
50644         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
50645         * debug/wcsncpy_chk.c: Likewise.
50646         * debug/wcsnrtombs_chk.c: Likewise.
50647         * debug/wcsrtombs_chk.c: Likewise.
50648         * debug/wcstombs_chk.c: Likewise.
50649         * debug/wmemcpy_chk.c: Likewise.
50650         * debug/wmemmove_chk.c: Likewise.
50651         * debug/wmempcpy_chk.c: Likewise.
50652         * debug/wmemset_chk.c: Likewise.
50653         * dirent/scandirat.c (SCANDIRAT): Likewise.
50654         * dlfcn/dladdr1.c (dladdr1): Likewise.
50655         * dlfcn/dladdr.c (dladdr): Likewise.
50656         * dlfcn/dlclose.c (dlclose_doit): Likewise.
50657         * dlfcn/dlerror.c (__dlerror): Likewise.
50658         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
50659         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
50660         * dlfcn/dlopen.c (dlopen_doit): Likewise.
50661         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
50662         * dlfcn/dlsym.c (dlsym_doit): Likewise.
50663         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
50664         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
50665         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
50666         Likewise.
50667         * elf/dl-conflict.c: Likewise.
50668         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
50669         * elf/dl-dst.h: Likewise.
50670         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
50671         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
50672         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
50673         * elf/dl-init.c (call_init, _dl_init): Likewise.
50674         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
50675         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
50676         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
50677         Likewise.
50678         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
50679         Likewise.
50680         * elf/dl-minimal.c (__libc_memalign): Likewise.
50681         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
50682         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50683         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
50684         * elf/dl-sym.c (do_sym): Likewise.
50685         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
50686         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
50687         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
50688         * elf/dl-writev.h (_dl_writev): Likewise.
50689         * elf/ldconfig.c (search_dir): Likewise.
50690         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
50691         (dl_main): Likewise.
50692         * elf/setup-vdso.h (setup_vdso): Likewise.
50693         * grp/compat-initgroups.c (compat_call): Likewise.
50694         * grp/fgetgrent.c (fgetgrent): Likewise.
50695         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
50696         * grp/putgrent.c (putgrent): Likewise.
50697         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50698         Likewise.
50699         * hurd/hurdinit.c: Likewise.
50700         * iconvdata/8bit-gap.c (struct): Likewise.
50701         * iconvdata/ansi_x3.110.c : Likewise.
50702         * iconvdata/big5.c : Likewise.
50703         * iconvdata/big5hkscs.c : Likewise.
50704         * iconvdata/cp1255.c: Likewise.
50705         * iconvdata/cp1258.c : Likewise.
50706         * iconvdata/cp932.c : Likewise.
50707         * iconvdata/euc-cn.c: Likewise.
50708         * iconvdata/euc-jisx0213.c : Likewise.
50709         * iconvdata/euc-jp.c: Likewise.
50710         * iconvdata/euc-jp-ms.c : Likewise.
50711         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
50712         * iconvdata/gb18030.c : Likewise.
50713         * iconvdata/gbbig5.c (const): Likewise.
50714         * iconvdata/gbgbk.c: Likewise.
50715         * iconvdata/gbk.c : Likewise.
50716         * iconvdata/ibm1364.c : Likewise.
50717         * iconvdata/ibm930.c : Likewise.
50718         * iconvdata/ibm932.c: Likewise.
50719         * iconvdata/ibm933.c : Likewise.
50720         * iconvdata/ibm935.c : Likewise.
50721         * iconvdata/ibm937.c : Likewise.
50722         * iconvdata/ibm939.c : Likewise.
50723         * iconvdata/ibm943.c: Likewise.
50724         * iconvdata/iso_11548-1.c: Likewise.
50725         * iconvdata/iso-2022-cn.c : Likewise.
50726         * iconvdata/iso-2022-cn-ext.c : Likewise.
50727         * iconvdata/iso-2022-jp-3.c: Likewise.
50728         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
50729         * iconvdata/iso-2022-kr.c : Likewise.
50730         * iconvdata/iso646.c (gconv_end): Likewise.
50731         * iconvdata/iso_6937-2.c : Likewise.
50732         * iconvdata/iso_6937.c : Likewise.
50733         * iconvdata/iso8859-1.c: Likewise.
50734         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
50735         * iconvdata/shift_jisx0213.c : Likewise.
50736         * iconvdata/sjis.c : Likewise.
50737         * iconvdata/t.61.c : Likewise.
50738         * iconvdata/tcvn5712-1.c : Likewise.
50739         * iconvdata/tscii.c: Likewise.
50740         * iconvdata/uhc.c : Likewise.
50741         * iconvdata/unicode.c (gconv_end): Likewise.
50742         * iconvdata/utf-16.c (gconv_end): Likewise.
50743         * iconvdata/utf-32.c (gconv_end): Likewise.
50744         * iconvdata/utf-7.c (base64): Likewise.
50745         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
50746         * iconv/gconv_close.c (__gconv_close): Likewise.
50747         * iconv/gconv_open.c (__gconv_open): Likewise.
50748         * iconv/gconv_simple.c (internal_ucs4_loop_single)
50749         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
50750         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
50751         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
50752         (ucs4le_internal_loop_single): Likewise.
50753         * iconv/iconv.c (iconv): Likewise.
50754         * iconv/iconv_close.c: Likewise.
50755         * iconv/loop.c (SINGLE): Likewise.
50756         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
50757         * include/atomic.h: Likewise.
50758         * inet/inet6_option.c (option_alloc): Likewise.
50759         * intl/bindtextdom.c (set_binding_values): Likewise.
50760         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
50761         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
50762         * intl/localealias.c (read_alias_file): Likewise.
50763         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
50764         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
50765         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
50766         * libio/fmemopen.c (fmemopen): Likewise.
50767         * libio/iofgets.c (_IO_fgets): Likewise.
50768         * libio/iofgets_u.c (fgets_unlocked): Likewise.
50769         * libio/iofgetws.c (fgetws): Likewise.
50770         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
50771         * libio/iogetdelim.c (_IO_getdelim): Likewise.
50772         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
50773         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
50774         * locale/findlocale.c (_nl_find_locale): Likewise.
50775         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
50776         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
50777         Likewise.
50778         * locale/setlocale.c (setlocale): Likewise.
50779         * login/programs/pt_chown.c (main): Likewise.
50780         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
50781         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
50782         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
50783         (mmap, mmap64, mremap, munmap): Likewise.
50784         * math/e_exp2l.c: Likewise.
50785         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
50786         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
50787         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
50788         * math/s_catan.c (__catan): Likewise.
50789         * math/s_catanf.c (__catanf): Likewise.
50790         * math/s_catanh.c (__catanh): Likewise.
50791         * math/s_catanhf.c (__catanhf): Likewise.
50792         * math/s_catanhl.c (__catanhl): Likewise.
50793         * math/s_catanl.c (__catanl): Likewise.
50794         * math/s_ccosh.c (__ccosh): Likewise.
50795         * math/s_ccoshf.c (__ccoshf): Likewise.
50796         * math/s_ccoshl.c (__ccoshl): Likewise.
50797         * math/s_cexp.c (__cexp): Likewise.
50798         * math/s_cexpf.c (__cexpf): Likewise.
50799         * math/s_cexpl.c (__cexpl): Likewise.
50800         * math/s_clog10.c (__clog10): Likewise.
50801         * math/s_clog10f.c (__clog10f): Likewise.
50802         * math/s_clog10l.c (__clog10l): Likewise.
50803         * math/s_clog.c (__clog): Likewise.
50804         * math/s_clogf.c (__clogf): Likewise.
50805         * math/s_clogl.c (__clogl): Likewise.
50806         * math/s_csin.c (__csin): Likewise.
50807         * math/s_csinf.c (__csinf): Likewise.
50808         * math/s_csinh.c (__csinh): Likewise.
50809         * math/s_csinhf.c (__csinhf): Likewise.
50810         * math/s_csinhl.c (__csinhl): Likewise.
50811         * math/s_csinl.c (__csinl): Likewise.
50812         * math/s_csqrt.c (__csqrt): Likewise.
50813         * math/s_csqrtf.c (__csqrtf): Likewise.
50814         * math/s_csqrtl.c (__csqrtl): Likewise.
50815         * math/s_ctan.c (__ctan): Likewise.
50816         * math/s_ctanf.c (__ctanf): Likewise.
50817         * math/s_ctanh.c (__ctanh): Likewise.
50818         * math/s_ctanhf.c (__ctanhf): Likewise.
50819         * math/s_ctanhl.c (__ctanhl): Likewise.
50820         * math/s_ctanl.c (__ctanl): Likewise.
50821         * math/w_pow.c: Likewise.
50822         * math/w_powf.c: Likewise.
50823         * math/w_powl.c: Likewise.
50824         * math/w_scalb.c (sysv_scalb): Likewise.
50825         * math/w_scalbf.c (sysv_scalbf): Likewise.
50826         * math/w_scalbl.c (sysv_scalbl): Likewise.
50827         * misc/error.c (error_tail): Likewise.
50828         * misc/pselect.c (__pselect): Likewise.
50829         * nis/nis_callback.c (__nis_create_callback): Likewise.
50830         * nis/nis_call.c (__nisfind_server): Likewise.
50831         * nis/nis_creategroup.c (nis_creategroup): Likewise.
50832         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
50833         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
50834         * nis/nis_getservlist.c (nis_getservlist): Likewise.
50835         * nis/nis_lookup.c (nis_lookup): Likewise.
50836         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
50837         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
50838         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
50839         * nis/nis_xdr.c (xdr_endpoint): Likewise.
50840         * nis/nss_compat/compat-grp.c (getgrent_next_file)
50841         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
50842         * nis/nss_compat/compat-initgroups.c (add_group)
50843         (internal_getgrent_r): Likewise.
50844         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
50845         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
50846         * nis/nss_compat/compat-spwd.c (getspent_next_file)
50847         (internal_getspnam_r): Likewise.
50848         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
50849         (_nss_nis_getaliasbyname_r): Likewise.
50850         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
50851         (_nss_nis_getntohost_r): Likewise.
50852         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
50853         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
50854         (_nss_nis_getgrgid_r): Likewise.
50855         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
50856         (internal_nis_gethostent_r, internal_gethostbyname2_r)
50857         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
50858         (_nss_nis_gethostbyname4_r): Likewise.
50859         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
50860         (initgroups_netid): Likewise.
50861         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
50862         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
50863         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
50864         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
50865         (_nss_nis_getprotobynumber_r): Likewise.
50866         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
50867         (_nss_nis_getsecretkey): Likewise.
50868         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
50869         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
50870         (_nss_nis_getpwuid_r): Likewise.
50871         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
50872         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
50873         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
50874         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
50875         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
50876         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
50877         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
50878         Likewise.
50879         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
50880         (_nss_nisplus_getntohost_r): Likewise.
50881         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
50882         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
50883         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
50884         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
50885         Likewise.
50886         * nis/nss_nisplus/nisplus-initgroups.c
50887         (_nss_nisplus_initgroups_dyn): Likewise.
50888         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
50889         (_nss_nisplus_getnetbyaddr_r): Likewise.
50890         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
50891         (_nss_nisplus_getprotobynumber_r): Likewise.
50892         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
50893         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
50894         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
50895         Likewise.
50896         * nis/nss_nisplus/nisplus-service.c
50897         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
50898         (_nss_nisplus_getservbyport_r): Likewise.
50899         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
50900         (_nss_nisplus_getspnam_r): Likewise.
50901         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
50902         Likewise.
50903         * nscd/aicache.c (addhstaiX): Likewise.
50904         * nscd/cache.c (cache_search, prune_cache): Likewise.
50905         * nscd/connections.c (register_traced_file, send_ro_fd)
50906         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
50907         (main_loop_epoll): Likewise.
50908         * nscd/grpcache.c (addgrbyX): Likewise.
50909         * nscd/hstcache.c (addhstbyX): Likewise.
50910         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50911         * nscd/mem.c (gc, mempool_alloc): Likewise.
50912         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
50913         (addinnetgrX): Likewise.
50914         * nscd/nscd-client.h (__nscd_acquire_maplock)
50915         (__nscd_drop_map_ref): Likewise.
50916         * nscd/nscd_getai.c (__nscd_getai): Likewise.
50917         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
50918         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
50919         Likewise.
50920         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
50921         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50922         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
50923         (__nscd_get_map_ref): Likewise.
50924         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
50925         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
50926         Likewise.
50927         * nscd/pwdcache.c (addpwbyX): Likewise.
50928         * nscd/selinux.c (preserve_capabilities): Likewise.
50929         * nscd/servicescache.c (addservbyX): Likewise.
50930         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
50931         * posix/fnmatch.c (fnmatch): Likewise.
50932         * posix/getopt.c (_getopt_internal_r): Likewise.
50933         * posix/glob.c (glob, glob_in_dir): Likewise.
50934         * posix/wordexp.c (exec_comm_child): Likewise.
50935         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
50936         (getanswer_r, gaih_getanswer_slice): Likewise.
50937         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
50938         * resolv/res_init.c: Likewise.
50939         * resolv/res_mkquery.c (res_nmkquery): Likewise.
50940         * resolv/res_query.c (__libc_res_nquery): Likewise.
50941         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
50942         Likewise.
50943         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
50944         * stdio-common/perror.c (perror): Likewise.
50945         * stdio-common/printf_fp.c (___printf_fp): Likewise.
50946         * stdio-common/tmpnam.c (tmpnam): Likewise.
50947         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50948         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
50949         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
50950         Likewise.
50951         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
50952         * stdlib/putenv.c (putenv): Likewise.
50953         * stdlib/setenv.c (__add_to_environ): Likewise.
50954         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50955         * stdlib/strtol_l.c (INTERNAL): Likewise.
50956         * string/memmem.c (memmem): Likewise.
50957         * string/strerror.c (strerror): Likewise.
50958         * string/strnlen.c (__strnlen): Likewise.
50959         * string/test-memmem.c (simple_memmem): Likewise.
50960         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
50961         * sunrpc/pm_getport.c (__get_socket): Likewise.
50962         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
50963         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
50964         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
50965         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
50966         Likewise.
50967         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
50968         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
50969         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
50970         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
50971         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
50972         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
50973         Likewise.
50974         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
50975         Likewise.
50976         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
50977         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
50978         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50979         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
50980         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
50981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
50982         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50983         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
50984         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
50985         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
50986         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50987         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
50988         Likewise.
50989         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
50990         Likewise.
50991         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
50992         Likewise.
50993         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
50994         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50995         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
50996         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
50997         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
50998         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
50999         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51000         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
51001         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
51002         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
51003         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
51004         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51005         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51006         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
51007         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51008         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
51009         Likewise.
51010         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
51011         Likewise.
51012         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
51013         Likewise.
51014         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
51015         Likewise.
51016         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51017         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51018         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
51019         Likewise.
51020         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
51021         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
51022         * sysdeps/posix/opendir.c (__opendirat): Likewise.
51023         * sysdeps/posix/sleep.c: Likewise.
51024         * sysdeps/posix/tempname.c: Likewise.
51025         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
51026         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51027         Likewise.
51028         * sysdeps/powerpc/powerpc32/dl-machine.h
51029         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
51030         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51031         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51032         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
51033         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
51034         Likewise.
51035         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
51036         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
51037         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51038         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
51039         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51040         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
51041         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
51042         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
51043         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51044         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
51045         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
51046         (elf_machine_lazy_rel): Likewise.
51047         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51048         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
51049         (elf_machine_lazy_rel): Likewise.
51050         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
51051         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
51052         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
51053         * sysdeps/unix/grantpt.c (grantpt): Likewise.
51054         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
51055         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
51056         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
51057         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51058         Likewise.
51059         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
51060         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
51061         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
51062         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
51063         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51064         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51065         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
51066         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
51067         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
51068         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51069         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51070         Likewise.
51071         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
51072         (__posix_fallocate64_l64): Likewise.
51073         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
51074         (posix_fallocate): Likewise.
51075         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
51076         Likewise.
51077         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51078         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
51079         (getifaddrs_internal): Likewise.
51080         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
51081         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
51082         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
51083         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
51084         * sysdeps/unix/sysv/linux/posix_fallocate64.c
51085         (__posix_fallocate64_l64): Likewise.
51086         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
51087         Likewise.
51088         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
51089         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
51090         (__get_clockfreq): Likewise.
51091         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
51092         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
51093         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
51094         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51095         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51096         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
51097         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
51098         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
51099         Likewise.
51100         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
51101         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
51102         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
51103         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
51104         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51105         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
51106         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
51107         Likewise.
51108         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51109         (posix_fallocate): Likewise.
51110         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51111         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
51112         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
51113         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
51114         (elf_machine_rela, elf_machine_rela_relative)
51115         (elf_machine_lazy_rel): Likewise.
51116         * time/asctime.c (asctime_internal): Likewise.
51117         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
51118         * time/tzset.c (__tzset_parse_tz): Likewise.
51119         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
51120         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
51121         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
51122         * wcsmbs/wcsmbsload.h: Likewise.
51124         [BZ #15894]
51125         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
51127         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
51128         (arena_get2): Remove THREAD_STATS conditionals.
51129         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
51130         (__malloc_stats, int): Likewise.
51132 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
51134         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
51135         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
51137         * manual/setjmp.texi: Fix typos/grammar errors.
51139         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
51140         Only return early when n is <= 0.  Delete unused return statement.
51142         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
51143         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
51144         * debug/tst-longjmp_chk3.c: New file.
51146         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
51147         (test_main): Replace code with set_fortify_handler call.
51148         * debug/test-strcpy_chk.c: Likewise.
51149         * debug/tst-chk1.c: Likewise.
51150         * debug/tst-longjmp_chk.c: Likewise.
51151         * test-skeleton.c: Include fcntl.h & paths.h
51152         (set_fortify_handler): Define.
51154         * debug/tst-longjmp_chk.c: Add header comment and include
51155         ../test-skeleton.c.
51156         (do_test): Mark static.
51157         (TEST_FUNCTION): Define.
51159         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
51160         (IP_PMTUDISC_INTERFACE): Likewise.
51161         (IP_MULTICAST_IF): Likewise.
51162         (IP_MULTICAST_TTL): Likewise.
51163         (IP_MULTICAST_LOOP): Likewise.
51164         (IP_ADD_MEMBERSHIP): Likewise.
51165         (IP_DROP_MEMBERSHIP): Likewise.
51166         (IP_UNBLOCK_SOURCE): Likewise.
51167         (IP_BLOCK_SOURCE): Likewise.
51168         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
51169         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
51170         (IP_MSFILTER): Likewise.
51171         (MCAST_JOIN_GROUP): Likewise.
51172         (MCAST_BLOCK_SOURCE): Likewise.
51173         (MCAST_UNBLOCK_SOURCE): Likewise.
51174         (MCAST_LEAVE_GROUP): Likewise.
51175         (MCAST_JOIN_SOURCE_GROUP): Likewise.
51176         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
51177         (MCAST_MSFILTER): Likewise.
51178         (IP_MULTICAST_ALL): Likewise.
51179         (IP_UNICAST_IF): Likewise.
51181         * timezone/Makefile: Delete $(have-ksh) check.
51182         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
51183         * timezone/tzselect.ksh: Add +x mode bits.
51185         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
51186         (ANON_INODE_FS_MAGIC): Likewise.
51187         (BDEVFS_MAGIC): Likewise.
51188         (BINFMTFS_MAGIC): Likewise.
51189         (BTRFS_TEST_MAGIC): Likewise.
51190         (CRAMFS_MAGIC_WEND): Likewise.
51191         (DEBUGFS_MAGIC): Likewise.
51192         (ECRYPTFS_SUPER_MAGIC): Likewise.
51193         (EXT3_SUPER_MAGIC): Likewise.
51194         (EXT4_SUPER_MAGIC): Likewise.
51195         (FUTEXFS_SUPER_MAGIC): Likewise.
51196         (HOSTFS_SUPER_MAGIC): Likewise.
51197         (HUGETLBFS_MAGIC): Likewise.
51198         (MINIX3_SUPER_MAGIC): Likewise.
51199         (MTD_INODE_FS_MAGIC): Likewise.
51200         (NILFS_SUPER_MAGIC): Likewise.
51201         (OPENPROM_SUPER_MAGIC): Likewise.
51202         (PIPEFS_MAGIC): Likewise.
51203         (PSTOREFS_MAGIC): Likewise.
51204         (QNX6_SUPER_MAGIC): Likewise.
51205         (RAMFS_MAGIC): Likewise.
51206         (REISERFS_SUPER_MAGIC_STRING): Likewise.
51207         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
51208         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
51209         (SECURITYFS_MAGIC): Likewise.
51210         (SELINUX_MAGIC): Likewise.
51211         (SMACK_MAGIC): Likewise.
51212         (SOCKFS_MAGIC): Likewise.
51213         (SQUASHFS_MAGIC): Likewise.
51214         (STACK_END_MAGIC): Likewise.
51215         (TMPFS_MAGIC): Likewise.
51216         (USBDEVICE_SUPER_MAGIC): Likewise.
51217         (V9FS_MAGIC): Likewise.
51218         (XENFS_SUPER_MAGIC): Likewise.
51219         (CRAMFS_MAGIC): Fix typo in comment.
51220         (EXT2_SUPER_MAGIC): Update comment.
51221         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
51223 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
51225         * sysdeps/arm: Move directory from ports/sysdeps/arm.
51226         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
51227         * sysdeps/unix/sysv/linux/arm: Move directory from
51228         ports/sysdeps/unix/sysv/linux/arm.
51229         * README: Update listing for arm-*-linux-gnueabi.
51231         * README: Remove mention of am33.
51233 2014-02-07  Roland McGrath  <roland@hack.frob.com>
51235         * bits/sigset.h (__sigemptyset): Use a statement expression rather
51236         than the comma operator, to avoid "rhs of comma has no effect"
51237         compiler warnings.
51238         (__sigfillset, __sigandset, __sigorset): Likewise.
51239         * include/signal.h (__sigemptyset): Likewise.
51240         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
51242 2014-02-07  Allan McRae  <allan@archlinux.org>
51244         * version.h (RELEASE): Set to "development".
51245         (VERSION): Set to "2.19.90"
51246         * NEWS: Add 2.20 section.
51248 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
51250         [BZ #16529]
51251         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
51253 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51255         * manual/contrib.texi: Update entry for Carlos O'Donell,
51256         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
51258 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
51260         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
51262         * sysdeps/unix/sysv/linux/kernel-features.h
51263         [__LINUX_KERNEL_VERSION >= 0x020621]
51264         (__ASSUME_PROC_PID_TASK_COMM): Define.
51266 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51268         [BZ #16398]
51269         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
51270         conversion when destination buffer does not have enough space.
51271         * libio/tst-ftell-partial-wide.c: New test case.
51272         * libio/Makefile (tests): Add tst-ftell-partial-wide.
51274         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
51275         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
51276         Leonard and Allan McRae.
51278 2014-02-04  David S. Miller  <davem@davemloft.net>
51280         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
51281         32-bit.
51283 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
51286         New file
51287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
51288         New file
51289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
51290         New file.
51291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
51292         New file.
51293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
51294         New file.
51295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
51296         New file.
51297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
51298         New file.
51299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
51300         New file.
51301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
51302         New file.
51303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
51304         New file.
51305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
51306         New file.
51307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
51308         New file.
51309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
51310         New file.
51312 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51314         * nptl/shlib-versions: Change powerpc*le start to 2.17.
51315         * shlib-versions: Likewise.
51317 2014-02-04  Roland McGrath  <roland@hack.frob.com>
51318             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51320         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
51321         (abilist-pattern): New variable, set to %-le.abilist.
51323         * Makerules (abilist-pattern): New variable.
51324         (vpath): Use $(abilist-pattern) in place of %.abilist.
51325         (check-abi-% pattern rule): Likewise.
51326         (check-abi, update-abi): Likewise.
51328 2014-02-04  Eric Wong  <normalperson@yhbt.net>
51330         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51332 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
51334         * manual/startup.texi: Add next, previous, and top entries for
51335         the `Program Arguments' and `Environment Variables' nodes.
51337 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
51339         * manual/macros.texi: Add comments before MTASC-safety macros.
51341         * manual/users.texi: Document MTASC-safety properties.
51343         * manual/threads.texi (pthread_key_create, pthread_key_delete)
51344         (pthread_getspecific, pthread_setspecific): Format with
51345         @deftypefun, and add @safety note.
51346         * manual/signal.texi: Move comments that analyze the above
51347         functions to their home place.
51349 2014-02-03  Allan McRae  <allan@archlinux.org>
51351         * po/sl.po: Update Slovenian translation from translation project.
51353 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
51355         * manual/time.texi (timegm): Add missing blank after @c.
51356         Reported by Joseph Myers <joseph@codesourcery.com>.
51358 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
51360         * manual/check-safety.sh: New.
51361         * manual/Makefile ($(objpfx)stamp-summary): Run it.
51363         * manual/terminal.texi: Document MTASC-safety properties.
51365         * manual/filesys.texi: Document MTASC-safety properties.
51367         * manual/errno.texi: Document MTASC-safety properties.
51369         * manual/intro.texi: Document safety identifiers and
51370         conditionals.
51372         * manual/string.texi (wcstok): Fix prototype.
51373         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
51375         * manual/time.texi: Document MTASC-safety properties.
51377         * manual/string.texi: Document MTASC-safety properties.
51379         * manual/threads.texi: Document MTASC-safety properties.
51381         * manual/stdio.texi: Document MTASC-safety properties.
51383         * manual/syslog.texi: Document MTASC-safety properties.
51385         * manual/sysinfo.texi: Document MTASC-safety properties.
51387         * manual/startup.texi: Document MTASC-safety properties.
51389         * manual/socket.texi: Document MTASC-safety properties.
51391         * manual/signal.texi: Document MTASC-safety properties.
51393 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
51395         * manual/setjmp.texi: Document MTASC-safety properties.
51397         * manual/search.texi: Document MTASC-safety properties.
51399         * manual/resource.texi: Document MTASC-safety properties.
51401         * manual/process.texi: Document MTASC-safety properties.
51403         * manual/platform.texi: Document MTASC-safety properties.
51405         * manual/pipe.texi: Document MTASC-safety properties.
51407         * manual/pattern.texi: Document MTASC-safety properties.
51409         * manual/message.texi: Document MTASC-safety properties.
51411         [BZ #12751]
51412         * manual/memory.texi: Document MTASC-safety properties.
51414         * manual/math.texi: Document MTASC-safety properties.
51416         * manual/locale.texi: Document MTASC-safety properties.
51418         * manual/llio.texi: Document MTASC-safety properties.
51420         * manual/libdl.texi: New.
51422         * manual/lang.texi: Document MTASC-safety properties.
51424         * manual/job.texi: Document MTASC-safety properties.
51426         * manual/getopt.texi: Document MTASC-safety properties.
51428         * manual/ctype.texi: Document MTASC-safety properties.
51430 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
51432         [BZ #16046]
51433         * csu/libc-tls.c (static_map): Remove variable.
51434         (__libc_setup_tls): Use main executable's link map for TLS data.
51435         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
51436         casing for LM_ID_BASE and GL(dl_nns).
51437         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
51438         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
51439         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
51440         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
51441         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
51442         member.
51443         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
51444         l_phnum members.
51446 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
51448         * manual/debug.texi: Document MTASC-safety properties.
51450 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
51452         [BZ #16510]
51453         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
51454         of __x86_64__ when disabling x87 inline functions.
51456 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
51458         * manual/charset.texi: Document MTASC-safety properties.
51460         * manual/crypt.texi: Document MTASC-safety properties.
51462         * manual/conf.texi: Document MTASC-safety properties.
51464         * manual/arith.texi: Document MTASC-safety properties.
51466         * manual/argp.texi: Document MTASC-safety properties.
51468         * manual/macros.texi: Introduce macros to document multi
51469         thread, asynchronous signal and asynchronous cancellation
51470         safety properties.
51471         * manual/intro.texi: Introduce the properties themselves.
51473 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51475         * sysdeps/sh/sh4/Makefile: New file.
51477 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
51479         * math/gen-libm-test.pl ($srcdir): New variable.
51480         ($auto_input): Use it.
51482 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51484         [BZ #16506]
51485         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
51486         access beyond array bounds when parsing netgroups file.
51488         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
51489         the old buffer before realloc.
51491 2014-01-27  Allan McRae  <allan@archlinux.org>
51493         * po/fr.po: Update French translation from translation project.
51495 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51497         * sysdeps/sh/libm-test-ulps: Regenerate.
51499 2014-01-24  David S. Miller  <davem@davemloft.net>
51501         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
51503 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51505         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
51506         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
51508 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51510         [BZ #16474]
51511         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
51512         string pointers after reallocation.
51514 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51516         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
51517         __SH4A__ instead of __SH_FPU_ANY__.
51519 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51521         * sysdeps/sh/fpu_control.h: New file.
51522         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
51523         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
51524         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
51525         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
51526         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
51527         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
51528         * sysdeps/sh/sys/ucontext.h: Remove.
51529         * sysdeps/sh/sys: Remove directory.
51531 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51533         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
51534         s390/sys/ucontext.h.
51535         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
51536         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
51538 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
51540         [BZ #15605]
51541         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
51543 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51545         [BZ #16431]
51546         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51547         Adjust the vDSO correctly for internal calls.
51548         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
51550 2014-01-20  Allan McRae  <allan@archlinux.org>
51552         * po/ca.po: Update Catalan translation from translation project.
51554 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
51556         * sysdeps/s390/sotruss-lib.c: New file.
51558 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51560         [BZ #16430]
51561         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
51562         (__GI___gettimeofday): Alias for a different internal symbol to avoid
51563         local calls issues by not having a PLT stub required for IFUNC calls.
51564         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
51566 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
51568         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
51569         * math/test-fpucw-static.c: Likewise.
51571 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51573         [BZ #16453]
51574         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
51576 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51578         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
51579         implementation for powerpc.
51581 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
51583         [BZ #14782]
51584         * sysdeps/posix/system.c (__libc_system): Do not enable
51585         asynchronous cancellation.
51587 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51589         [BZ #16427]
51590         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
51591         handling only for numbers special also in the IEEE case.
51593 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51595         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51597 2014-01-11  Allan McRae  <allan@archlinux.org>
51599         * po/bg.po: Update Bulgarian translation from translation project.
51601         * po/de.po: Update German translation from translation project.
51603 2014-01-10  Roland McGrath  <roland@hack.frob.com>
51605         * sysdeps/generic/gcc-compat.h: New file.
51607 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51609         * benchtests/asin-inputs: Correct slow inputs.
51610         * benchtests/acos-inputs: Likewise.
51612 2014-01-10  Allan McRae  <allan@archlinux.org>
51614         * po:sv.po: Update Swedish translation from translation project.
51616         * po/vi.po: Update Vietnamese translation from translation project.
51618         * po/eo.po: Update Esperanto translation from translation project.
51620         * po/cs.po: Update Czech translation from translation project.
51622         * po/nl.po: Update Dutch translation from translation project.
51624         * po/pl.po: Update Polish translation from translation project.
51626         * po/ru.po: Update Russian translation from translation project.
51628         * po/uk.po: Update Ukrainian translation from translation project.
51630 2014-01-08  Brooks Moses  <bmoses@google.com>
51632         * elf/dl-load.c: Fix comment typo.
51634 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
51636         * po/header.pot: Rename to...
51637         * po/pot.header: ... this.
51638         * po/Makefile: Use pot.header.
51640 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
51641             Maxim Kuvyrkov  <maxim@kugelworks.com>
51643         [BZ #16394]
51644         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
51645         SRC and DEST against LEN.
51647 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51649         [BZ #16414]
51650         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
51651         implementation.
51652         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
51654 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51658 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
51660         [BZ #16408]
51661         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
51662         for large positive arguments.
51664 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
51666         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51668         * math/auto-libm-test-in: Mark various tests with
51669         xfail-rounding:ldbl-128ibm.
51670         * math/auto-libm-test-out: Regenerated.
51672         [BZ #16407]
51673         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
51674         Increase overflow threshold.
51676 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
51678         [BZ #14286]
51679         * stdio-common/vfprintf.c: Check for integer overflow.
51681 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51683         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
51684         the first argument and return value of __tls_get_addr_internal.
51686 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51688         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
51689         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
51691 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51693         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
51694         * sysdeps/s390/rtld-global-offsets.sym: New file.
51695         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
51696         GLIBC_2.19 symbol.
51697         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
51698         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
51699         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
51700         ... this.
51701         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
51702         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
51703         ... this.
51704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51705         Regenerate.
51706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51707         Regenerate.
51708         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
51709         halfs of GPRs for high_gprs contexts.
51710         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
51711         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
51712         field.
51713         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
51714         uc_flags field.
51715         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
51716         64 bit versions:
51717         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
51718         for high GPRs (uc_high_gprs) and for future extensions
51719         (__reserved).
51720         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
51721         for future extensions (__reserved).
51722         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
51723         64 bit versions:
51724         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
51725         SC_HIGHGPRS offset definition.
51726         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
51727         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
51729         * Versions.def: Add GLIBC_2.19 for libpthread.
51730         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
51731         siglongjmp for libpthread with GLIBC_2.19 symver.
51732         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
51733         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
51734         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
51735         * sysdeps/s390/__longjmp.c: New file.
51736         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
51737         * sysdeps/s390/longjmp.c: New file.
51738         * sysdeps/s390/setjmp.S: New file.
51739         * sysdeps/s390/sigjmp.S: New file.
51740         * sysdeps/s390/v1-longjmp.c: New file.
51741         * sysdeps/s390/v1-setjmp.h: New file.
51742         * sysdeps/s390/v1-sigjmp.c: New file.
51743         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
51744         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
51745         GLIBC_2.19 version.
51746         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
51747         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
51748         versioned symbols for ____longjmp_chk.
51749         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
51750         Likewise.
51751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51752         Regenerate.
51753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51754         Regenerate.
51755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51756         Regenerate.
51757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51758         Regenerate.
51759         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
51760         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
51761         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
51762         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
51763         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
51764         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
51765         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
51766         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
51767         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
51768         * sysdeps/s390/rtld-__longjmp.c: New file.
51769         * sysdeps/s390/rtld-setjmp.S: New file.
51771 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
51773         [BZ #16400]
51774         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51775         Return -__logl (x) for small positive arguments without evaluating
51776         a polynomial.
51778 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
51780         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
51781         Rename to ...
51782         (__ptrace_peeksiginfo_args): ... this.
51783         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51784         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51785         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51787 2014-01-06  Allan McRae  <allan@archlinux.org>
51789         * inet/netinet/in.h: Fix typo in comment.
51791 2014-01-05  Andreas Jaeger  <aj@suse.de>
51793         * sysdeps/i386/fpu/libm-test-ulps: Update.
51795 2014-01-05  Allan McRae  <allan@archlinux.org>
51797         * po/libc.pot: Regenerated.
51799         * malloc/memusagestat.c: Fix gettext call formatting.
51801 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
51803         * nscd/nscd.c: Improve usage() output.
51805 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
51807         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
51808         * sysdeps/unix/sysv/linux/configure: Regenerated.
51809         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
51810         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
51812 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51814         [BZ #16390]
51815         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51816         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
51818 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51820         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
51821         extra tokens at end of #undef directive.
51822         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
51823         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
51824         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
51826 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51828         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51830         * math/auto-libm-test-in: Mark various tests with
51831         xfail-rounding:ldbl-128ibm.
51832         * math/auto-libm-test-out: Regenerated.
51834 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
51836         [BZ #16386]
51837         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
51838         numbers with subnormal high part when calculating exponent.
51840         [BZ #16385]
51841         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
51842         fabs.
51844         [BZ #16384]
51845         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
51846         M_LN2l.
51847         (__ieee754_acoshl): Use __log1pl not __log1p.
51849 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
51851         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
51852         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
51853         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
51854         (grow_heap, heap_trim, _int_new_arena, get_free_list)
51855         (reused_arena, arena_get2): Convert to GNU style.
51856         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
51857         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
51858         (memalign_check, __malloc_set_state): Likewise.
51859         * malloc/mallocbug.c (main): Likewise.
51860         * malloc/malloc.c (__malloc_assert, malloc_init_state)
51861         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
51862         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
51863         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
51864         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
51865         (__posix_memalign, malloc_info): Likewise.
51866         * malloc/malloc.h: Likewise.
51867         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
51868         (mallochook, memalignhook, reallochook, mabort): Likewise.
51869         * malloc/mcheck.h: Likewise.
51870         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
51871         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
51872         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
51873         * malloc/morecore.c (__default_morecore): Likewise.
51874         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
51875         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
51876         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
51877         (print_and_abort): Likewise.
51878         * malloc/obstack.h: Likewise.
51879         * malloc/set-freeres.c (__libc_freeres): Likewise.
51880         * malloc/tst-mallocstate.c (main): Likewise.
51881         * malloc/tst-mtrace.c (main): Likewise.
51882         * malloc/tst-realloc.c (do_test): Likewise.
51884 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51886         [BZ #16366]
51887         * nscd/netgroupcache.c (do_notfound): New function.
51888         (addgetnetgrentX): Use it.
51890         [BZ # 16365]
51891         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
51892         NSS_STATUS_NOTFOUND.
51894 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
51896         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51899 2014-01-01  Allan McRae  <allan@archlinux.org>
51901         * scripts/update-copyrights: Update configure input file suffix.
51903         * NEWS: Update copyright year.
51904         * catgets/gencat.c: Likewise.
51905         * csu/version.c: Likewise.
51906         * debug/catchsegv.sh: Likewise.
51907         * debug/pcprofiledump.c: Likewise.
51908         * debug/xtrace.sh: Likewise.
51909         * elf/ldconfig.c: Likewise.
51910         * elf/ldd.bash.in: Likewise.
51911         * elf/pldd.c: Likewise.
51912         * elf/sotruss.ksh: Likewise.
51913         * elf/sprof.c: Likewise.
51914         * iconv/iconv_prog.c: Likewise.
51915         * iconv/iconvconfig.c: Likewise.
51916         * locale/programs/locale.c: Likewise.
51917         * locale/programs/localedef.c: Likewise.
51918         * login/programs/pt_chown.c: Likewise.
51919         * malloc/memusage.sh: Likewise.
51920         * malloc/memusagestat.c: Likewise.
51921         * malloc/mtrace.pl: Likewise.
51922         * manual/libc.texinfo: Likewise.
51923         * nscd/nscd.c: Likewise.
51924         * nss/getent.c: Likewise.
51925         * nss/makedb.c: Likewise.
51926         * posix/getconf.c: Likewise.
51927         * scripts/test-installation.pl: Likewise.
51929         * All files with FSF copyright notices: Update copyright dates
51930         using scripts/update-copyrights.
51931         * intl/plural.c: Regenerated.
51932         * locale/programs/charmap-kw.h: Likewise.
51933         * locale/programs/locfile-kw.h: Likewise.
51935 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
51937         * sysdeps/unix/sysv/linux/configure: Regenerated.
51938         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
51939         the linux/fanotify.h header.
51940         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
51941         HAVE_LINUX_FANOTIFY_H is defined.
51943 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51945         * benchtests/cos-inputs: New inputs.
51946         * benchtests/sin-inputs: Likewise.
51948         * benchtests/atan-inputs: New inputs. Fix name of multiple
51949         precision fallback inputs.
51951         * benchtests/atanh-inputs: New inputs.
51952         * benchtests/tanh-inputs: Likewise.
51954         * benchtests/acosh-inputs: New inputs.
51955         * benchtests/asinh-inputs: Likewise.
51957         * benchtests/cosh-inputs: New inputs.
51958         * benchtests/sinh-inputs: Likewise.
51960         * benchtests/acos-inputs: Add more inputs.
51961         * benchtests/asin-inputs: Likewise.
51963 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
51965         [BZ #16375]
51966         * manual/arith.texi: Fix spelling.
51967         * manual/charset.texi: Likewise.
51968         * manual/errno.texi: Likewise.
51969         * manual/filesys.texi: Likewise.
51970         * manual/lang.texi: Likewise.
51971         * manual/llio.texi: Likewise.
51972         * manual/locale.texi: Likewise.
51973         * manual/message.texi: Likewise.
51974         * manual/resource.texi: Likewise.
51975         * manual/search.texi: Likewise.
51976         * manual/setjmp.texi: Likewise.
51977         * manual/stdio.texi: Likewise.
51978         * manual/string.texi: Likewise.
51979         * manual/sysinfo.texi: Likewise.
51980         * manual/time.texi: Likewise.
51982 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
51984         * po/sl.po: New file.
51986 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
51988         * .gitignore: Add core/.gdbinit/.gdb_history.
51990 2013-12-27  Allan McRae  <allan@archlinux.org>
51992         [BZ #16369]
51993         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
51994         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
51996 2013-12-24  Brooks Moses  <bmoses@google.com>
51998         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
51999         all compilers that claim C++98 compliance, not just GCC.
52000         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
52001         Likewise.
52003 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52005         * NEWS: Restore accidentally deleted bug-fix entries.
52007 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52008             Ondřej Bílka  <neleai@seznam.cz>
52010         [BZ #15073]
52011         * malloc/malloc.c (_int_free): Perform sanity check only if we
52012         have_lock.
52014 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
52016         [BZ #12986]
52017         * manual/stdio.texi (String Input Conversions): Clarify that character
52018         classes are not supported.
52020 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52024 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
52026         [BZ #16337]
52027         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52028         Calculate results for small negative arguments directly rather
52029         than using reflection formula with special underflow handling.
52031         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
52032         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
52033         sysdeps/unix/bsd/bsd4.4/syscalls.list.
52034         (fchflags): Likewise.
52035         (revoke): Likewise.
52036         (setlogin): Likewise.
52037         (sigaltstack): Likewise.
52038         (wait4): Likewise.
52039         (sigblock): Remove.
52040         (sigsetmask): Likewise.
52041         (wait3): Likewise.
52042         (waitpid): Likewise.
52043         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
52044         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
52045         file.
52046         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
52047         * sysdeps/unix/bsd/Makefile: ... here.
52048         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
52049         * sysdeps/unix/bsd/Versions: ... here.
52050         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
52051         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
52052         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
52053         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
52054         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
52055         * sysdeps/unix/bsd/sigblock.c: ... here.
52056         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
52057         * sysdeps/unix/bsd/sigsetmask.c: ... here.
52058         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
52059         * sysdeps/unix/bsd/sigvec.c: ... here.
52060         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
52061         * sysdeps/unix/bsd/tcdrain.c: ... here.
52062         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
52063         * sysdeps/unix/bsd/tcgetattr.c: ... here.
52064         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
52065         * sysdeps/unix/bsd/tcsetattr.c: ... here.
52066         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
52067         * sysdeps/unix/bsd/wait.c: ... here.
52068         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
52069         * sysdeps/unix/bsd/wait3.c: ... here.
52070         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
52071         * sysdeps/unix/bsd/waitpid.c: ... here.
52073 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
52075         [BZ #16356]
52076         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
52077         round-to-nearest for [!USE_AS_EXPM1L].
52078         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
52079         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
52080         more tests of exp and exp10.  Expect some exp10 tests to miss
52081         exceptions or fail in directed rounding modes.
52082         * math/auto-libm-test-out: Regenerated.
52083         * math/libm-test.inc (exp10_tonearest_test_data): New array.
52084         (exp10_test_tonearest): New function.
52085         (exp10_towardzero_test_data): New array.
52086         (exp10_test_towardzero): New function.
52087         (exp10_downward_test_data): New array.
52088         (exp10_test_downward): New function.
52089         (exp10_upward_test_data): New array.
52090         (exp10_test_upward): New function.
52091         (main): Call the new functions.
52092         * sysdeps/i386/fpu/libm-test-ulps: Update.
52093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52095 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
52097         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
52098         asinh, atan, atan2, atanh, cbrt, cos and cosh.
52099         * math/auto-libm-test-out: Regenerated.
52100         * math/libm-test.inc (acosh_test_data): Add more tests.
52101         (atanh_test_data): Likewise.
52102         (ceil_test_data): Likewise.
52103         (copysign_test_data): Likewise.
52104         * sysdeps/i386/fpu/libm-test-ulps: Update.
52105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52107         * timezone/checktab.awk: Update from tzcode 2013i.
52108         * timezone/private.h: Likewise.
52109         * timezone/scheck.c: Likewise.
52110         * timezone/tzfile.h: Likewise.
52111         * timezone/tzselect.ksh: Likewise.
52112         * timezone/zdump.c: Likewise.
52113         * timezone/zic.c: Likewise.
52115         * math/auto-libm-test-in: Add tests of cpow.
52116         * math/auto-libm-test-out: Regenerated.
52117         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
52118         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52119         mpc_cc_c.
52120         (func_calc_desc): Add mpc_cc_c union field.
52121         (test_functions): Add cpow.
52122         (special_fill_2pi): New function.
52123         (special_real_inputs): Add 2pi.
52124         (calc_generic_results): Handle mpc_cc_c.
52125         * sysdeps/i386/fpu/libm-test-ulps: Update.
52126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52128         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
52129         csqrt, ctan and ctanh.
52130         * math/auto-libm-test-out: Regenerated.
52131         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52132         (TEST_COND_x86): Likewise.
52133         (ccos_test_data): Use AUTO_TESTS_c_c.
52134         (ccosh_test_data): Likewise.
52135         (cexp_test_data): Likewise.
52136         (clog_test_data): Likewise.
52137         (csqrt_test_data): Likewise.
52138         (ctan_test_data): Likewise.
52139         (ctan_tonearest_test_data): Likewise.
52140         (ctan_towardzero_test_data): Likewise.
52141         (ctan_downward_test_data): Likewise.
52142         (ctan_upward_test_data): Likewise.
52143         (ctanh_test_data): Likewise.
52144         (ctanh_tonearest_test_data): Likewise.
52145         (ctanh_towardzero_test_data): Likewise.
52146         (ctanh_downward_test_data): Likewise.
52147         (ctanh_upward_test_data): Likewise.
52148         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52149         mpc_c_c.
52150         (func_calc_desc): Add mpc_c_c union field.
52151         (FUNC_mpc_c_c): New macro.
52152         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
52153         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
52154         ctanh.
52155         (special_fill_min_subnorm_p120): New function.
52156         (special_real_inputs): Add min_subnorm_p120.
52157         (calc_generic_results): Handle mpc_c_c.
52158         * sysdeps/i386/fpu/libm-test-ulps: Update.
52159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52161 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52163         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
52164         (do_sin_slow): New functions.
52165         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
52166         (cslow2, csloww1, csloww2): Use the new functions.
52168         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
52169         Use M to change sign of result instead of X.  Assume X is
52170         positive.
52171         (csloww1): Likewise.
52172         (__sin): Adjust.
52173         (__cos): Adjust.
52175         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
52176         arguments A and DA.
52177         (__sin): Adjust.
52178         (__cos): Likewise.
52180         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
52181         (__cos): Likewise.
52182         (sloww1): Don't adjust sign of DX.
52183         (csloww1): Likewise.
52184         (sloww2): Use X directly and don't adjust sign of DX.
52185         (csloww2): Likewise.
52187 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52189         * math/auto-libm-test-in: Add tests of cabs and carg.
52190         * math/auto-libm-test-out: Regenerated.
52191         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
52192         (carg_test_data): Likewise.
52193         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52194         mpc_c_f.
52195         (func_calc_desc): Add mpc_c_f union field.
52196         (test_functions): Add cabs and carg.
52197         (calc_generic_results): Handle mpc_c_f.
52199         * sysdeps/powerpc/powerpc32/libgcc-compat.S
52200         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
52201         as a macro and a compat symbol.
52202         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
52203         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
52204         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
52205         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
52206         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
52207         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
52208         not use .hidden.
52209         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
52210         Likewise.
52211         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
52212         Likewise.
52213         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
52214         Likewise.
52215         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
52216         Likewise.
52217         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
52218         Likewise.
52219         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
52220         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
52221         from GLIBC_2.3.2.
52223 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52227 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52229         * manual/texinfo.tex: Update to version 2013-11-26.10 with
52230         trailing whitespace removed.
52231         * scripts/config.guess: Update to version 2013-11-29.
52232         * scripts/config.sub: Update to version 2013-10-01.
52234         * math/auto-libm-test-in: Add tests of sincos.
52235         * math/auto-libm-test-out: Regenerated.
52236         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
52237         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52238         mpfr_f_11.
52239         (func_calc_desc): Add mpfr_f_11 union field.
52240         (test_functions): Add sincos.
52241         (calc_generic_results): Handle mpfr_f_11.
52242         * sysdeps/i386/fpu/libm-test-ulps: Update.
52243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52245 2013-12-19  Andreas Schwab  <schwab@suse.de>
52247         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
52248         CALL_MCOUNT.
52249         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52250         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
52251         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
52253 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52255         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
52256         * sysdeps/i386/fpu/libm-test-ulps: Update.
52257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52259         [BZ #16293]
52260         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
52261         round-to-nearest mode when using frndint.
52262         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
52263         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52264         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
52265         Likewise.
52266         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
52267         sinh test to fail.
52268         * math/auto-libm-test-out: Regenerated.
52269         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
52270         (TEST_COND_x86): Likewise.
52271         (expm1_tonearest_test_data): New array.
52272         (expm1_test_tonearest): New function.
52273         (expm1_towardzero_test_data): New array.
52274         (expm1_test_towardzero): New function.
52275         (expm1_downward_test_data): New array.
52276         (expm1_test_downward): New function.
52277         (expm1_upward_test_data): New array.
52278         (expm1_test_upward): New function.
52279         (main): Run the new test functions.
52280         * sysdeps/i386/fpu/libm-test-ulps: Update.
52281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52283         * include/features.h: Update comment documenting feature test
52284         macros.  Mention _DEFAULT_SOURCE in comment.
52285         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
52286         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
52287         _BSD_SOURCE and _SVID_SOURCE.
52288         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
52289         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
52290         !_SVID_SOURCE]: Likewise.
52291         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52292         (__USE_POSIX_IMPLICITLY): Define.
52293         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52294         (_POSIX_SOURCE): Undefine and redefine.
52295         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52296         (_POSIX_C_SOURCE): Likewise.
52297         * manual/creature.texi (_DEFAULT_SOURCE): Document.
52298         (Feature Test Macros): Update documentation of default features.
52300 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52302         * benchtests/Makefile: Add bench-strtok.
52303         * benchtests/bench-strtok.c: New file: strtok benchtest.
52305 2013-12-19  Allan McRae  <allan@archlinux.org>
52307         * manual/install.texi: Suppress menu for plain text output.
52308         * INSTALL: Regenerated.
52310 2013-12-18  Brooks Moses  <bmoses@google.com>
52312         [BZ #15846]
52313         * misc/getauxval.c: Include errno.h.
52314         (__getauxval): Set errno to ENOENT if the requested type is not
52315         found.
52316         * misc/sys/auxv.h (getauxval): Document that it may set errno;
52317         don't declare with __attribute_const__.
52318         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
52319         * manual/startup.texi: Document that getauxval sets errno.
52321 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52323         * math/auto-libm-test-in: Add tests of jn and yn.
52324         * math/auto-libm-test-out: Regenerated.
52325         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
52326         (yn_test_data): Likewise.
52327         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52328         mpfr_if_f.
52329         (func_calc_desc): Add mpfr_if_f union field.
52330         (FUNC_mpfr_if_f): New macro.
52331         (test_functions): Add jn and yn.
52332         (calc_generic_results): Assert type of second input for
52333         mpfr_ff_f.  Handle mpfr_if_f.
52334         (output_for_one_input_case): Disable all checking for arguments
52335         fitting floating-point types in case of an integer argument.
52336         * sysdeps/i386/fpu/libm-test-ulps: Update.
52337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52340         Don't expect fegetround reference in libm.so.
52342 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52344         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
52345         $(config-cflags-nofma).
52347 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52349         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
52350         * math/auto-libm-test-out: Regenerated.
52352         [BZ #16338]
52353         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
52354         to determine exponent and adjust argument to have exponent of -1.
52355         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
52356         log2.
52357         * math/auto-libm-test-out: Regenerated.
52358         * sysdeps/i386/fpu/libm-test-ulps: Update.
52359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52361 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
52363         * manual/probes.texi: Remove cases when per-thread arenas are
52364         disabled.
52366 2013-12-18  Andreas Schwab  <schwab@suse.de>
52368         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
52369         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
52370         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
52371         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
52372         * sysdeps/i386/i686/multiarch/Makefile: Update.
52373         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
52375 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52377         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
52378         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
52380 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
52382         [BZ #15968]
52383         Support TZ transition times < 00:00:00.
52384         This is needed for version-3 tz-format files; it supports time
52385         stamps past 2037 for America/Godthab (the only entry in the tz
52386         database for which this change is relevant).
52387         * manual/time.texi (TZ Variable): Document transition times
52388         from -167:59:59 through -00:00:01.
52389         * time/tzset.c (tz_rule): Time of day is now signed.
52390         (__tzset_parse_tz): Parse negative time of day.
52392         Document TZ transition times >= 25:00:00.
52393         * manual/time.texi (TZ Variable): Document transition times from
52394         25:00:00 through 167:59:59.  These are already supported, and this
52395         support will help with version-3 tz-format files.
52397         * manual/time.texi (TZ Variable): Modernize North America example
52398         to reflect current (i.e., 2007-and-later) daylight saving rules.
52400         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
52402 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52404         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
52405         * sysdeps/unix/bsd/bits/stat.h: Likewise.
52406         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
52407         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52408         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
52409         * sysdeps/unix/bsd/bsdstat.h: Likewise.
52410         * sysdeps/unix/bsd/clock.c: Likewise.
52411         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
52412         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
52413         * sysdeps/unix/bsd/init-posix.c: Likewise.
52414         * sysdeps/unix/bsd/poll.c: Likewise.
52415         * sysdeps/unix/bsd/ptsname.c: Likewise.
52416         * sysdeps/unix/bsd/seekdir.c: Likewise.
52417         * sysdeps/unix/bsd/setegid.c: Likewise.
52418         * sysdeps/unix/bsd/seteuid.c: Likewise.
52419         * sysdeps/unix/bsd/setgid.c: Likewise.
52420         * sysdeps/unix/bsd/setrgid.c: Likewise.
52421         * sysdeps/unix/bsd/setruid.c: Likewise.
52422         * sysdeps/unix/bsd/setsid.c: Likewise.
52423         * sysdeps/unix/bsd/setuid.c: Likewise.
52424         * sysdeps/unix/bsd/sigaction.c: Likewise.
52425         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
52426         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
52427         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
52428         * sysdeps/unix/bsd/telldir.c: Likewise.
52429         * sysdeps/unix/bsd/times.c: Likewise.
52430         * sysdeps/unix/bsd/usleep.c: Likewise.
52432         * misc/Makefile (install-lib): Remove libbsd-compat.a.
52433         ($(objpfx)libbsd-compat.a): Remove rule.
52435         * include/features.h (__FAVOR_BSD): Do not define.
52436         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
52437         features conflicting with POSIX.
52438         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
52439         (_BSD_SOURCE): Remove description of not being a subset of other
52440         feature test macros.
52441         * manual/job.texi (getpgrp): Do not document BSD version.
52442         (getpgid): Do not document by reference to BSD getpgrp.
52443         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
52444         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
52445         * signal/signal.h [__FAVOR_BSD]: Likewise.
52446         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
52447         instead of making contents conditional on [__FAVOR_BSD].
52448         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
52450 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52454 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52456         [BZ #16314]
52457         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
52458         values below 2**-450, not 2**-500.
52459         * math/auto-libm-test-in: Don't allow spurious underflow from
52460         hypot.
52461         * math/auto-libm-test-out: Regenerated.
52463         [BZ #16316]
52464         [BZ #16330]
52465         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
52466         values of ha and hb and sort them after adjusting subnormal
52467         arguments.
52468         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
52469         Likewise.
52470         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
52471         values of ea and eb and sort them after adjusting subnormal
52472         arguments.
52473         * math/auto-libm-test-in: Do not expect some hypot tests of
52474         subnormals to fail.  Add more hypot tests.
52475         * math/auto-libm-test-out: Regenerated.
52477 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52479         [BZ #13304]
52480         * sysdeps/sh/s_fma.c: New file.
52481         * sysdeps/sh/s_fmaf.c: New file.
52482         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
52483         version.
52484         * sysdeps/sh/Implies: Add sh/soft-fp.
52486 2013-12-16  Roland McGrath  <roland@hack.frob.com>
52488         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
52489         level of indirection to members `objname', `errstring', `malloced'.
52490         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
52491         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
52492         it as the __longjmp argument (just pass 1 instead).
52493         (_dl_catch_error): Initialize C with argument pointers and address of
52494         volatile local ERRCODE rather than copying values out of C at return.
52496 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
52498         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
52499         * math/auto-libm-test-out: Regenerated.
52500         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
52501         (hypot_test_data): Likewise.
52502         (pow_test_data): Likewise.
52503         (pow_tonearest_test_data): Likewise.
52504         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52505         mpfr_ff_f.
52506         (func_calc_desc): Add mpfr_ff_f union field.
52507         (FUNC_mpfr_ff_f): New macro.
52508         (test_functions): Add atan2, hypot and pow.
52509         (special_fill_min): New function.
52510         (special_fill_minus_min): Likewise.
52511         (special_fill_min_subnorm): Likewise.
52512         (special_fill_minus_min_subnorm): Likewise.
52513         (special_real_inputs): Add min, -min, min_subnorm and
52514         -min_subnorm.
52515         (calc_generic_results): Handle mpfr_ff_f.
52516         * sysdeps/i386/fpu/libm-test-ulps: Update.
52517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52519 2013-12-16  Will Newton  <will.newton@linaro.org>
52521         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
52522         (Aligned Memory Blocks): Add documentation for aligned_alloc
52523         and suggest it as an alternative to posix_memalign.
52524         (Hooks for Malloc): Document __memalign_hook is also called
52525         for aligned_alloc.  (Summary of Malloc): Add summary for
52526         aligned alloc.  Document __memalign_hook is also called
52527         for aligned_alloc.
52529 2013-12-16  Will Newton  <will.newton@linaro.org>
52531         * manual/memory.texi (Malloc Examples): Clarify default
52532         alignment documentation.  Suggest posix_memalign rather
52533         than memalign or valloc.
52534         (Aligned Memory Blocks): Remove suggestion to use memalign
52535         or valloc.  Remove obsolete comment about BSD.
52536         Document memalign errno values and mark the function obsolete.
52537         Document posix_memalign returned error codes.  Mark valloc
52538         as obsolete.  (Hooks for Malloc): __memalign_hook is also
52539         called for posix_memalign and valloc.
52540         (Summary of Malloc): Add posix_memalign to function summary.
52541         __memalign_hook is also called for posix_memalign and valloc.
52543 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52545         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
52546         TAYLOR_SIN.
52547         (__sin): Adjust.
52548         (__cos): Likewise.
52549         (sloww): Use mynumber union.  Expand ternary operator into
52550         if-else statements.
52551         (cslow): use mynumber union.
52553 2013-12-16  Allan McRae  <allan@archlinux.org>
52555         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
52556         * configure: Regenerated.
52558         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
52560         [BZ #14120]
52561         * configure.ac: Added --enable-maintainer-mode. Check for
52562         autoconf when enabled.
52563         * configure: Regenerated.
52565         * nscd/nscd.service: New file.
52566         * nscd/nscd.tmpfiles: New file.
52568 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
52570         [BZ #12100]
52571         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
52572         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
52573         * sysdeps/x86_64/multiarch/strstr.c: ... here.
52574         (strstr): Add __strstr_sse2_unaligned ifunc.
52575         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
52576         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
52577         (strcasestr): Remove __strcasestr_sse42 ifunc.
52578         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
52579         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52580         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52582 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52584         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
52585         * sysdeps/sh/bits/fenv.h: ... here.
52586         * sysdeps/sh/sh4/fpu/bits: Remove directory.
52588 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52590         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
52592         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
52593         hypotf multiarch implementations.
52594         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
52595         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
52596         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
52597         multiarch hypot for PPC64.
52598         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
52599         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
52600         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
52601         multiarch hypotf for PPC64.
52603         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
52604         modff multiarch implementations.
52605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
52606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
52607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
52608         multiarch modf for PPC64.
52609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
52610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
52611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
52612         multiarch modff for PPC64.
52614         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
52615         and logl multiarch implementations.
52616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
52617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
52618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
52619         multiarch logb for PPC64.
52620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
52621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
52622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
52623         multiarch logb for PPC64.
52624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
52625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
52626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
52627         multiarch logb for PPC64.
52629         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
52630         isinff multiarch implementation.
52631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
52632         file.
52633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
52634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
52635         multiarch isinf for PPC64.
52636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
52637         file.
52638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
52639         multiarch isinff for PPC64.
52641         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
52642         finitef multiarch implementation.
52643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
52644         file.
52645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
52646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
52647         multiarch finite for PPC64.
52648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
52649         file.
52650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
52651         multiarch finitef for PPC64.
52653         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
52654         lrint multiarch implementation.
52655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
52656         file.
52657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
52658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
52659         multiarch llrint for PPC64.
52660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
52661         multiarch lrint for PPC64.
52663         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
52664         copysignf multiarch implementation.
52665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
52666         file.
52667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
52668         file.
52669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
52670         multiarch copysign for PPC64.
52671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
52672         multiarch copysignf for PPC64.
52674         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
52675         multiarch implementation.
52676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
52677         file.
52678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
52679         file.
52680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
52681         file.
52682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
52683         file.
52684         multiarch llround for PPC64.
52685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
52686         multiarch trunc for PPC64.
52687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
52688         multiarch truncf for PPC64.
52690         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
52691         multiarch implementation.
52692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
52693         file.
52694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
52695         file.
52696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
52697         file.
52698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
52699         file.
52700         multiarch llround for PPC64.
52701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
52702         multiarch round for PPC64.
52703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
52704         multiarch roundf for PPC64.
52706         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
52707         multiarch implementation.
52708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
52709         file.
52710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
52711         file.
52712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
52713         file.
52714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
52715         file.
52716         multiarch llround for PPC64.
52717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
52718         multiarch floor for PPC64.
52719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
52720         multiarch floorf for PPC64.
52722         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
52723         multiarch implementation.
52724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
52725         file.
52726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
52727         file.
52728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
52729         file.
52730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
52731         file.
52732         multiarch llround for PPC64.
52733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
52734         multiarch ceil for PPC64.
52735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
52736         multiarch ceilf for PPC64.
52738         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52739         multiarch implementation.
52740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
52741         file.
52742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
52743         file.
52744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
52745         file.
52746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
52747         multiarch llround for PPC64.
52748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
52749         multiarch lround for PPC64.
52751         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52752         multiarch implementation.
52753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
52754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
52755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
52756         file.
52757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
52758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
52759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
52760         multiarch isnan for PPC64.
52761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
52762         multiarch isnanf for PPC64.
52764         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
52765         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
52766         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
52767         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
52768         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
52769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
52771         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
52772         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52773         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52774         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
52777         multiarch implementations.
52778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52779         (__libc_ifunc_impl_list): Likewise.
52780         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
52781         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
52782         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
52783         multiarch stpcpy for PPC64.
52785         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
52786         multiarch implementations.
52787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52788         (__libc_ifunc_impl_list): Likewise.
52789         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
52790         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
52791         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
52792         multiarch strcpy for PPC64.
52794         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
52795         redefine function name.
52796         (_wordcopy_fwd_dest_aligned): Likewise.
52797         (_wordcopy_bwd_aligned): Likewise.
52798         (_wordcopy_bwd_dest_aligned): Likewise.
52799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
52800         multiarch implementations.
52801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52802         (__libc_ifunc_impl_list): Likewise.
52803         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
52804         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
52805         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
52806         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
52807         multiarch wcscpy for PPC64.
52809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
52810         multiarch implementations.
52811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52812         (__libc_ifunc_impl_list): Likewise.
52813         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
52814         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
52815         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
52816         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
52817         multiarch wcscpy for PPC64.
52819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
52820         multiarch implementations.
52821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52822         (__libc_ifunc_impl_list): Likewise.
52823         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
52824         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
52825         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
52826         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
52827         multiarch wcsrchr for PPC64.
52829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
52830         multiarch implementations.
52831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52832         (__libc_ifunc_impl_list): Likewise.
52833         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
52834         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
52835         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
52836         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
52837         multiarch wcschr for PPC64.
52839         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
52840         multiarch implementations.
52841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52842         (__libc_ifunc_impl_list): Likewise.
52843         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
52844         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
52845         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
52846         multiarch strchrnul for PPC64.
52848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
52849         implementations.
52850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52851         (__libc_ifunc_impl_list): Likewise.
52852         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
52853         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
52854         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
52855         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
52856         strchr for PPC64.
52858         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
52859         implementations.
52860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52861         (__libc_ifunc_impl_list): Likewise.
52862         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
52863         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
52864         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
52865         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
52866         strncmp for PPC64.
52868         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
52869         multiarch implementations.
52870         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52871         (__libc_ifunc_impl_list): Likewise.
52872         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
52873         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
52874         strncasecmp for PPC64.
52875         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
52876         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
52877         multiarch strncasecmp_l for PPC64.
52879         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
52880         multiarch implementations.
52881         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52882         (__libc_ifunc_impl_list): Likewise.
52883         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
52884         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
52885         multiarch strcasecmp for PPC64.
52886         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
52887         file.
52888         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
52889         multiarch strcasecmp_l for PPC64.
52891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
52892         implementations.
52893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52894         (__libc_ifunc_impl_list): Likewise.
52895         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
52896         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
52897         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
52898         strnlen for PPC64.
52900         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
52901         implementations.
52902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52903         (__libc_ifunc_impl_list): Likewise.
52904         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
52905         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
52906         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
52907         strlen for PPC64.
52909         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
52910         implementations.
52911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52912         (__libc_ifunc_impl_list): Likewise.
52913         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
52914         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
52915         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
52916         rawmemrchr for PPC64.
52918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
52919         implementation.
52920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52921         (__libc_ifunc_impl_list): Likewise.
52922         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
52923         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
52924         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
52925         memrchr for PPC64.
52927         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
52928         implementation.
52929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52930         (__libc_ifunc_impl_list): Likewise.
52931         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
52932         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
52933         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
52934         memchr for PPC64.
52936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
52937         implementation.
52938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52939         (__libc_ifunc_impl_list): Likewise.
52940         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
52941         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
52942         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
52943         mempcpy for PPC64.
52945         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
52946         avoid cretion of __bzero symbol.
52947         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
52948         Likewise.
52949         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
52950         Likewise.
52951         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
52952         Likewise.
52953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
52954         multiarch implementations.
52955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52956         (__libc_ifunc_impl_list): Likewise.
52957         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
52958         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
52959         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
52960         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
52961         bzero for PPC32.
52962         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
52963         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
52964         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
52965         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
52966         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
52967         memset for PPC64.
52968         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
52970         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
52971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
52972         implementations.
52973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52974         (__libc_ifunc_impl_list): Likewise.
52975         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
52976         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
52977         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
52978         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
52979         memcmp for PPC64.
52981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
52982         multiarch for POWER/PPC64.
52983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
52984         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
52985         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
52986         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
52987         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
52988         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
52989         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
52990         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
52991         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
52992         memcpy for PPC64.
52994         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
52995         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
52996         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
52997         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
52998         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
52999         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
53000         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
53001         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
53002         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
53003         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
53004         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
53005         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
53006         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
53007         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
53008         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
53009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
53010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
53011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
53012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
53013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
53014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
53015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
53017 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53019         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
53021 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53023         * benchtests/Makefile (bench): Add exp2 and log2.
53024         (LDLIBS-bench-exp2): Add -lm.
53025         (LDLIBS-bench-log2): Likewise.
53026         * benchtests/exp2-inputs: New inputs file.
53027         * benchtests/log2-inputs: New inputs file.
53028         * benchtests/log-inputs: Add new inputs.
53029         * benchtests/tan-inputs: Likewise.
53031 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53033         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
53034         definition...
53035         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
53036         (csloww2): ... from here.
53038         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
53039         instead of structures.
53040         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
53041         (POLYNOMIAL): Likewise.
53042         (TAYLOR_SLOW): Likewise.
53043         (__sin): Likewise.
53044         (__cos): Likewise.
53045         (slow1): Likewise.
53046         (slow2): Likewise.
53047         (sloww): Likewise.
53048         (sloww1); Likewise.
53049         (sloww2): Likewise.
53050         (bsloww1): Likewise.
53051         (bsloww2): Likewise.
53052         (cslow2): Likewise.
53053         (csloww): Likewise.
53054         (csloww1): Likewise.
53055         (csloww2): Likewise.
53057 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
53059         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
53060         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
53061         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
53062         * malloc/hooks.c (realloc_check): Likewise.
53064         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
53065         * malloc/arena.c: Remove PER_THREAD conditional.
53066         [!PER_THREAD]: Remove code.
53067         (ptmalloc_unlock_all2): Likewise.
53068         (ptmalloc_init): Likewise.
53069         (_int_new_arena): Likewise.
53070         (arena_get2): Likewise.
53071         * malloc/hooks.c (__malloc_get_state): Likewise.
53072         (__malloc_set_state): Likewise.
53073         * malloc/malloc.c: Likewise.
53074         (struct malloc_state): Likewise.
53075         (struct malloc_par): Likewise.
53076         (__libc_realloc): Likewise.
53077         (__libc_mallopt): Likewise.
53079 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53081         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
53083 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
53085         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
53086         macro to a function.  Check for zero perturb_byte.
53087         (_int_malloc, _int_free): Remove zero perturb_byte checks.
53089         * malloc/malloc.c: (force_reg): Remove.
53090         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
53091         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
53092         force_reg by atomic_forced_read.
53093         * malloc/arena.c (ptmalloc_init): Likewise.
53094         * malloc/hooks.c (top_check): Likewise.
53096 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53100 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
53102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53104 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
53106         * math/auto-libm-test-in: Add tests of lgamma.
53107         * math/auto-libm-test-out: Regenerated.
53108         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
53109         (M_LOG_2_SQRT_PIl): Likewise.
53110         (lgamma_test_data): Use AUTO_TESTS_f_f1.
53111         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53112         mpfr_f_f1.
53113         (func_calc_desc): Add mpfr_f_f1 union field.
53114         (ARGS1): New macro.
53115         (ARGS2): Likewise.
53116         (ARGS3): Likewise.
53117         (ARGS4): Likewise.
53118         (RET1): Likewise.
53119         (RET2): Likewise.
53120         (CALC): Likewise.
53121         (FUNC): Likewise.
53122         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
53123         (test_functions): Add lgamma.
53124         (calc_generic_results): Handle mpfr_f_f1.
53125         * sysdeps/i386/fpu/libm-test-ulps: Update.
53126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53128 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53130         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
53131         __mpn_add_n for PowerPC64/POWER7.
53132         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
53133         __mpn_sub_n for PowerPC64/POWER7.
53135         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
53136         __mpn_addmul_1 for PowerPC64.
53137         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
53138         __mpn_submul_1 for PowerPC64.
53139         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
53140         for PowerPC64.
53141         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
53142         for PowerPC64.
53144 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
53146         [BZ #15089]
53147         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
53149 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53151         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
53153         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
53154         add multiarch folders.
53155         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
53156         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
53157         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
53158         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
53159         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
53160         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
53161         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
53162         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
53163         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
53164         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
53165         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
53166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
53167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
53168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
53169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
53170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
53171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
53173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53174         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
53175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
53176         New file.
53177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
53178         New file.
53179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
53180         multiarch __ieee754_hypot for PowerPC32.
53181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
53182         New file.
53183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
53184         New file.
53185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
53186         multiarch __ieee754_hypotf for PowerPC32.
53188         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
53189         long_double_symbol only if __logbl is defined.
53190         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
53191         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
53192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
53193         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
53194         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
53195         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
53196         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
53197         path for implementation.
53198         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
53199         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
53200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
53201         logb, and logbl multiarch implementations for PowerPC32.
53202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
53203         file.
53204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
53205         file.
53206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
53207         multiarch logb for PowerPC32.
53208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
53209         file.
53210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
53211         file.
53212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
53213         multiarch logbf for PowerPC32.
53214         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
53215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
53216         file.
53217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
53218         multiarch logbl implementation for PowerPC32.
53220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
53221         and modff multiarch implementations.
53222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
53223         New file.
53224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
53225         New file.
53226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
53227         multiarch modf for PowerPC32.
53228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
53229         New file.
53230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
53231         New file.
53232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
53233         multiarch modff for PowerPC32.
53235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
53236         and lrintf multiarch implementations.
53237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
53238         New file.
53239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
53240         New file.
53241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
53242         multiarch lrint for PowerPC32.
53243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
53244         file: multiarch lrintf for PowerPC32.
53246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
53247         and lroundf multiarch implementations.
53248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
53249         New file.
53250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
53251         New file.
53252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
53253         New file.
53254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
53255         multiarch lround for PowerPC32.
53256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
53257         file: multiarch lroundf for PowerPC32.
53259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53260         copysign and copysignf multiarch implementations.
53261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
53262         New file.
53263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
53264         New file.
53265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
53266         file: multiarch copysign for PowerPC32.
53267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
53268         file: multiarch copysignf for PowerPC32.
53270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
53271         and truncf multiarch implementations.
53272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
53273         New file.
53274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
53275         file.
53276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
53277         multiarch trunc for PowerPC32.
53278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
53279         New file.
53280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
53281         New file.
53282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
53283         multiarch truncf for PowerPC32.
53285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
53286         and roundf multiarch implementations.
53287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
53288         New file.
53289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
53290         file.
53291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
53292         multiarch round for PowerPC32.
53293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
53294         New file.
53295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
53296         New file.
53297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
53298         multiarch roundf for PowerPC32.
53300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
53301         and floorf multiarch implementations.
53302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
53303         New file.
53304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
53305         file.
53306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
53307         multiarch floor for PowerPC32.
53308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
53309         New file.
53310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
53311         New file.
53312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
53313         multiarch floorf for PowerPC32.
53315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
53316         and ceilf multiarch implementations.
53317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
53318         New file.
53319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
53320         file.
53321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
53322         multiarch ceil for PowerPC32.
53323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
53324         New file.
53325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
53326         file.
53327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
53328         multiarch ceilf for PowerPC32.
53330         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
53331         is defined.
53332         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
53333         FINITEF is defined.
53334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
53335         and finitef multiarch implementations.
53336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
53337         New file.
53338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
53339         file.
53340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
53341         multiarch finite for PowerPC32.
53342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
53343         New file.
53344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
53345         file: multiarch finitef for PowerPC32.
53347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
53348         and isinff multiarch implementations.
53349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
53350         file.
53351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
53352         file.
53353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
53354         multiarch isinf for PowerPC32.
53355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
53356         New file.
53357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
53358         multiarch isinff for PowerPC32.
53360         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
53361         alias when __isnan is defined.
53362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
53363         and isnanf multiarch implementations.
53364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
53365         file.
53366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
53367         file.
53368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
53369         file.
53370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
53371         file.
53372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
53373         multiarch isnan for PowerPC32.
53374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
53375         New file.
53376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
53377         New file.
53378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
53379         multiarch isnanf for PowerPC32.
53381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
53382         and sqrtf multiarch implementations.
53383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
53384         file.
53385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
53386         file.
53387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
53388         multiarch sqrt for PowerPC32.
53389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
53390         file.
53391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
53392         file.
53393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
53394         multiarch sqrtf for PowerPC32.
53396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
53397         and llroundf multiarch implementations.
53398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
53399         New file.
53400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
53401         New file.
53402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
53403         New file.
53404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
53405         file: multiarch llround for PowerPC32.
53406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
53407         file: multiarch llroundf for PowerPC32.
53409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
53410         multiarch PowerPC32 fpu implementations.
53411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
53412         New file.
53413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
53414         New file.
53415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
53416         multiarch llrint for PowerPC32.
53417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
53418         New file.
53419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
53420         New file.
53421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
53422         file.
53424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
53426         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
53427         file.
53428         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
53429         file.
53430         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
53431         file.
53432         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
53433         multiarch wordcopy for PPC32.
53434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53435         wordcopy objects.
53436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53437         (__libc_ifunc_impl_list): Likewise.
53438         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
53439         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
53440         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
53441         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
53442         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
53443         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
53445         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
53446         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
53447         file.
53448         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
53449         file.
53450         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
53451         file.
53452         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
53453         multiarch wcscpy for PPC32.
53454         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53455         multiarch objects.
53456         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53457         (__libc_ifunc_impl_list): Likewise.
53458         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53459         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53460         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
53461         sysdeps/powerpc/power6/wcscpy.c.
53463         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
53464         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
53465         file.
53466         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
53467         file.
53468         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
53469         file.
53470         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
53471         multiarch wcsrchr for PPC32.
53472         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53473         multiarch objects.
53474         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53475         (__libc_ifunc_impl_list): Likewise.
53476         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53477         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53478         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
53479         sysdeps/powerpc/power6/wcsrchr.c.
53481         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
53482         file.
53483         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
53484         file.
53485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
53486         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
53487         multiarch wcschr for PPc32.
53488         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53489         multiarch objects.
53490         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53491         (__libc_ifunc_impl_list): Likewise.
53492         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
53493         * sysdeps/powerpc/power6/wcschr.c: ... to here.
53494         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
53495         sysdeps/powerpc/power6/wcschr.c.
53497         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
53498         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
53499         file.
53500         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
53501         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
53502         file: multiarch strchr for PPC32.
53503         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
53504         multiarch objects.
53505         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53506         (__libc_ifunc_impl_list): Likewise.
53508         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
53509         name.
53510         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
53511         file.
53512         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
53513         file.
53514         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
53515         multiarch strchrnul for PPC32.
53516         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
53517         multiarch objects.
53518         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53519         (__libc_ifunc_impl_list): Likewise.
53521         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
53522         file.
53523         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
53524         multiarch strncasecmp for PPC32.
53525         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
53526         file.
53527         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
53528         multiarch strncasecmp_l for PPC32.
53529         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
53530         strncasecmp multiarch objects.
53531         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53532         (__libc_ifunc_impl_list): Likewise.
53534         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
53535         file.
53536         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
53537         multiarch strncasecmp for PPC32.
53538         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
53539         New file.
53540         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
53541         multiarch strcasecmp_l for PPC32.
53542         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
53543         multiarch objects.
53544         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53545         (__libc_ifunc_impl_list): Likewise.
53547         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
53548         file.
53549         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
53550         file.
53551         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
53552         multiarch strncmp for PPC32.
53553         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
53554         multiarch objects.
53555         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53556         (__libc_ifunc_impl_list): Likewise.
53558         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
53559         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
53560         file.
53561         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
53562         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
53563         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
53564         multiarch objects.
53565         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53566         (__libc_ifunc_impl_list): Likewise.
53568         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
53569         file.
53570         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
53571         file.
53572         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
53573         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
53574         multiarch objects.
53575         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53576         (__libc_ifunc_impl_list): Likewise.
53578         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
53579         file.
53580         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
53581         file.
53582         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
53583         multiarch rawmemchr for PPC32.
53584         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
53585         multiarch objects.
53586         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53587         (__libc_ifunc_impl_list): Likewise.
53589         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
53590         file.
53591         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
53592         file.
53593         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
53594         file: memrchr multiarch for PPC32.
53595         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
53596         multiarch objects.
53597         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53598         (__libc_ifunc_impl_list): Likewise.
53600         * string/memchr.c (__memchr): Using macro to redefine symbol name.
53601         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
53602         file.
53603         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
53604         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
53605         multiarch memchr for PPC32.
53606         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
53607         multiarch objects.
53608         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53609         (__libc_ifunc_impl_list): Likewise.
53611         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
53612         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
53613         file.
53614         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
53615         file.
53616         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
53617         file: multiarch mempcpy for PPC32.
53618         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
53619         multiarch objects.
53620         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53621         (__libc_ifunc_impl_list): Likewise.
53623         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
53624         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
53625         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
53626         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
53627         multiarch bzero for PPC32.
53628         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
53629         file.
53630         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
53631         file.
53632         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
53633         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
53634         file: multiarch memset for PPC32.
53635         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
53636         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
53637         memset multiarch objects.
53638         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53639         (__libc_ifunc_impl_list): Likewise.
53641         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
53642         file.
53643         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
53644         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
53645         memcmp for PPC32.
53646         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
53647         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
53648         multiarch objects.
53649         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53650         (__libc_ifunc_impl_list): Likewise.
53652         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
53653         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
53654         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
53655         file.
53656         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
53657         file.
53658         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
53659         file.
53660         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
53661         multiarch memcpy for PPC32.
53662         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
53663         multiarch objects.
53664         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53665         (__libc_ifunc_impl_list): Likewise.
53667         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
53668         support multiarch for POWER/PPC32.
53669         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
53670         Likewise.
53671         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
53672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
53673         Implies file to make multiarch folder appers before the fpu and
53674         default folder for power4 configuration.
53676 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53678         * scripts/bench.pl: Append volatile keyword to type.
53680 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53682         * sysdeps/sh/sotruss-lib.c: New file.
53683         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
53685 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53689 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
53691         [BZ #6810]
53692         * math/w_tgamma.c: Include <errno.h>.
53693         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
53694         * math/w_tgammaf.c: Include <errno.h>.
53695         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
53696         * math/w_tgammal.c: Include <errno.h>.
53697         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
53698         * math/auto-libm-test-in: Do not allow missing errno on tgamma
53699         underflow.  Add more tgamma tests.
53700         * math/auto-libm-test-out: Regenerated.
53701         * sysdeps/i386/fpu/libm-test-ulps: Update.
53702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53704         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
53705         sin, sinh, tan, tanh, tgamma, y0 and y1.
53706         * math/auto-libm-test-out: Regenerated.
53707         * math/libm-test.inc (TEST_COND_x86_64): New macro.
53708         (TEST_COND_x86): Likewise.
53709         (M_E2l): Remove macro.
53710         (M_E3l): Likewise.
53711         (M_2_SQRT_PIl): Likewise.
53712         (M_SQRT_PIl): Likewise.
53713         (M_1_DIV_El): Likewise.
53714         (log_test_data): Use AUTO_TESTS_f_f.
53715         (log10_test_data): Likewise.
53716         (log1p_test_data): Likewise.
53717         (log2_test_data): Likewise.
53718         (sin_test_data): Likewise.
53719         (sin_tonearest_test_data): Likewise.
53720         (sin_towardzero_test_data): Likewise.
53721         (sin_downward_test_data): Likewise.
53722         (sin_upward_test_data): Likewise.
53723         (sinh_test_data): Likewise.
53724         (sinh_tonearest_test_data): Likewise.
53725         (sinh_towardzero_test_data): Likewise.
53726         (sinh_downward_test_data): Likewise.
53727         (sinh_upward_test_data): Likewise.
53728         (tan_test_data): Likewise.
53729         (tan_tonearest_test_data): Likewise.
53730         (tan_towardzero_test_data): Likewise.
53731         (tan_downward_test_data): Likewise.
53732         (tan_upward_test_data): Likewise.
53733         (tanh_test_data): Likewise.
53734         (tgamma_test_data): Likewise.
53735         (y0_test_data): Likewise.
53736         (y1_test_data): Likewise.
53737         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
53738         (special_real_inputs): Add pi/4.
53739         * sysdeps/i386/fpu/libm-test-ulps: Update.
53740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53742 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53744         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
53745         "longjmp_target" static probes.
53746         (__longjmp): Rename to __longjmp_symbol.
53747         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53748         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
53749         on which longjmp to generate.
53750         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
53751         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
53752         probe.
53753         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53754         (__sigjmp_save): Rename to __sigjmp_save_symbol.
53755         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
53756         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
53757         and __sigjmp_save_symbol based on which sigsetjmp to generated.
53758         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
53760         __longjmp_symbol based on which __longjmp to generate.
53761         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
53762         probe.
53763         (setjmp): Rename to setjmp_symbol.
53764         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53765         (_setjmp): Rename to _setjmp_symbol.
53766         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53767         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
53768         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
53769         which setjmp to generate.
53770         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
53771         "longjmp_target" static probes.
53773 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53775         * benchtests/README: Add note about output arguments.
53776         * benchtests/bench-sincos.c: Remove file.
53777         * benchtests/sincos-inputs: New file.
53778         * scripts/bench.pl: Identify output arguments and define
53779         static variables for them.
53781         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
53783         [BZ #15941]
53784         * Makefile (INSTALL): Add install-plain.texi as the primary
53785         dependency.
53786         * manual/install-plain.texi: New file.
53787         * manual/install.texi: Include node directive only for
53788         non-plaintext output.
53790 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
53792         * stdlib/longlong.h: Update from GCC.
53794         [BZ #6807]
53795         [BZ #15901]
53796         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
53797         * math/w_j0f.c (y0f): Likewise.
53798         * math/w_j0l.c (__y0l): Likewise.
53799         * math/w_j1.c (y1): Likewise.
53800         * math/w_j1f.c (y1f): Likewise.
53801         * math/w_j1l.c (__y1l): Likewise.
53802         * math/w_jn.c (yn): Likewise.
53803         * math/w_jnf.c (ynf): Likewise.
53804         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
53805         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
53806         value for Bessel function domain errors outside _SVID_ mode.
53807         Adjust sign of return value for yn (negative integer, 0).
53808         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
53809         by zero in return for negative x and set sign appropriately for
53810         negative n.
53811         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
53812         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53813         * math/libm-test.inc (y0_test_data): Add more tests and adjust
53814         expectations in error cases.
53815         (y1_test_data): Likewise.
53816         (yn_test_data): Likewise.
53817         * sysdeps/i386/fpu/libm-test-ulps: Update.
53818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53820 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53822         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
53823         "64" to "64-v1".  Add "64-v2".
53824         (abi-64-options): Rename to ...
53825         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
53826         (abi-64-condition): Rename to ...
53827         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
53828         (abi-64-ld-soname): Rename to ...
53829         (abi-64-v1-ld-soname): ... this.
53830         (abi-64-v2-options): Define.
53831         (abi-64-v2-condition): Likewise.
53832         (abi-64-v2-ld-soname): Likewise.
53833         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
53834         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
53835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
53836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
53837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
53839 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53840             Alan Modra  <amodra@gmail.com>
53842         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
53843         New versions for use with the ELFv2 ABI.
53844         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
53845         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
53846         declaration.
53847         (struct La_ppc64v2_retval): Likewise.
53848         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
53849         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
53850         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
53851         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
53852         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
53853         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53854         Do not save or restore CR.
53855         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
53856         (_dl_profile_resolve): Do no save or restore CR.  Support extended
53857         return values for ELFv2 ABI.  Fix location of FPR return registers.
53858         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
53859         updated values for _CALL_ELF == 2.
53860         (La_regs, La_retval, int_retval): Likewise.
53862 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53864         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
53865         (FRAME_MIN_SIZE_PARM): Likewise.
53866         (FRAME_BACKCHAIN): Likewise.
53867         (FRAME_CR_SAVE): Likewise.
53868         (FRAME_LR_SAVE): Likewise.
53869         (FRAME_TOC_SAVE): Likewise.
53870         (FRAME_PARM_SAVE): Likewise.
53871         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
53872         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
53873         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53874         (call_mcount_parm_offset): New macro.
53875         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
53876         (PROF): Use symbolic stack frame offsets.
53877         (TAIL_CALL_SYSCALL_ERROR): Likewise.
53878         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
53879         Redefine in terms of FRAME_MIN_SIZE.
53880         (_dl_runtime_resolve): Use symbolic stack frame offsets.
53881         (_dl_profile_resolve): Likewise.  Update comment.
53882         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
53883         symbols stack frame offsets.
53884         (__sigsetjmp): Likewise.
53885         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
53886         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
53887         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
53888         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
53890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
53891         (FRAME_BACKCHAIN): Remove.
53892         (FRAME_CR_SAVE): Likewise.
53893         (FRAME_LR_SAVE): Likewise.
53894         (FRAME_COMPILER_DW): Likewise.
53895         (FRAME_LINKER_DW): Likewise.
53896         (FRAME_TOC_SAVE): Likewise.
53897         (FRAME_PARM_SAVE): Likewise.
53898         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
53899         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
53900         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
53902         (CHECK_SP): Use symbolic stack frame offsets.
53903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
53904         zone" instead of caller's parameter save area for temp storage.
53905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53906         Likewise.  Also, use symbolic stack frame offsets.
53907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
53908         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
53909         our own stack frame instead of the caller's.
53910         (__socket): Use symbolic stack frame offsets.
53912 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53913             Alan Modra  <amodra@gmail.com>
53915         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
53916         Define.
53917         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
53918         (PPC64_LOCAL_ENTRY_OFFSET): Define.
53919         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
53920         New function.
53921         (elf_machine_fixup_plt): Call it.
53922         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
53923         reloc arguments.
53924         (elf_machine_rela): Update call to elf_machine_plt_conflict.
53925         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53926         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
53927         r2 before calling target.
53929 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53930             Alan Modra  <amodra@gmail.com>
53932         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
53933         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
53934         versions of macros to support ELFv2 ABI.
53935         (LOCALENTRY): New macro.
53936         (ENTRY, EALIGN): Use it.
53937         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
53938         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
53939         fall through into ENTRY entry point.
53940         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
53941         Only define if _CALL_ELF != 2.
53943         (elf_machine_matches_host): Verify ABI version matches.
53944         (RTLD_START): Use LOCALENTRY.
53945         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
53946         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
53947         (PLT_ENTRY_WORDS): New macro.
53948         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
53949         (elf_machine_runtime_setup): Support ELFv2 ABI.
53950         (elf_machine_fixup_plt): Likewise.
53951         (elf_machine_plt_conflict): Likewise.
53952         (resolve_ifunc): Likewise.
53953         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53954         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53955         Likewise.
53956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
53957         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
53958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53959         (makecontext): Support ELFv2 ABI.
53960         * elf/elf.h (EF_PPC64_ABI): Define.
53962 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53964         * sysdeps/powerpc/powerpc64/sysdep.h
53965         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
53966         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
53967         (ENTRY) [ASSEMBLER]: ... but instead here ...
53968         (EALIGN) [ASSEMBLER]: ... and here.
53969         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
53970         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
53971         (ENTRY_2) [!ASSEMBLER]: Use it.
53972         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
53973         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
53974         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53975         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
53976         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
53977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
53978         Use PPC64_LOAD_FUNCPTR.
53980         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
53982 2013-12-04  Alan Modra  <amodra@gmail.com>
53984         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
53985         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
53986         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
53987         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
53989         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
53990         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
53991         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
53992         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
53993         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
53994         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
53996 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53999         (__makecontext): Fix incorrect CFI when backtracing out of
54000         context created via makecontext.
54001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
54002         (__setcontext): Fix incorrect CFI during switch to new context.
54003         (__novec_setcontext): Likewise.
54005 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54007         [BZ #4772]
54008         * time/strptime_l.c (__strptime_internal): Allow modifiers
54009         in strptime.
54010         * time/tst-strptime.c (day_tests): Add testcase.
54012 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54014         * scripts/bench.pl: Skip over blank lines.
54016 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
54018         [BZ #926]
54019         * manual/time.texi (Calendar Time): Clarify what timezone functions
54020         use.
54022 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54026 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54028         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
54029         implementation.
54030         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
54031         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
54032         * debug/memset_chk.c (__memset_chk): Likewise.
54033         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
54034         * debug/strncpy_chk.c: Likewise.
54036 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54038         [BZ #15268]
54039         [BZ #15425]
54040         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
54041         (__ieee754_exp): For possibly underflowing results, check size of
54042         result and force underflow exception if required.
54043         * math/auto-libm-test-in: Add more tests of exp.
54044         * math/auto-libm-test-out: Regenerated.
54045         * sysdeps/i386/fpu/libm-test-ulps: Update.
54046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54048         [BZ #16283]
54049         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
54050         * math/w_exp2f.c (__exp2f): Likewise.
54051         * math/w_exp2l.c (__exp2l): Likewise.
54052         * math/auto-libm-test-in: Do not allow missing errno on exp2
54053         underflow.
54054         * math/auto-libm-test-out: Regenerated.
54056 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
54058         [BZ #16274]
54059         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
54060         handle filename validation.
54061         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
54062         (do_open): Delete.
54064 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54066         [BZ #6786]
54067         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
54068         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
54069         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
54070         <float.h>.
54071         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
54072         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
54073         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54074         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
54075         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54076         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
54077         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54078         * math/auto-libm-test-in: Don't allow missing errno from erfc.
54079         Add more erfc tests.
54080         * math/auto-libm-test-out: Regenerated.
54081         * sysdeps/i386/fpu/libm-test-ulps: Update.
54082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54084         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
54085         exp2, expm1, j0 and j1.
54086         * math/auto-libm-test-out: Regenerated.
54087         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
54088         (erfc_test_data): Likewise.
54089         (exp_test_data): Likewise.
54090         (exp_tonearest_test_data): Likewise.
54091         (exp_towardzero_test_data): Likewise.
54092         (exp_downward_test_data): Likewise.
54093         (exp_upward_test_data): Likewise.
54094         (exp10_test_data): Likewise.
54095         (exp2_test_data): Likewise.
54096         (expm1_test_data): Likewise.
54097         (j0_test_data): Likewise.
54098         (j1_test_data): Likewise.
54099         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
54100         (input_flag_type): Add flag_xfail_rounding.
54101         (input_flags): Add xfail-rounding.
54102         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
54103         (output_for_one_input_case): Handle flag_xfail_rounding.
54104         * sysdeps/i386/fpu/libm-test-ulps: Update.
54105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54107 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
54109         [BZ #16289]
54110         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
54111         division by 0.
54113 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54115         [BZ #16195]
54116         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
54117         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
54118         (STAP_PROBE0): New macro.
54119         (STAP_PROBE1): Likewise.
54120         (STAP_PROBE2): Likewise.
54121         (STAP_PROBE3): Likewise.
54122         (STAP_PROBE4): Likewise.
54124 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
54126         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
54128 2013-12-02  Steve Ellcey  <sellcey@mips.com>
54130         * benchtests/Makefile (bench): Add sqrt.
54131         (LDLIBS-bench-sqrt): New.
54132         * benchtests/sqrt-input: New.
54134 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
54136         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
54137         (GAIH_EAI): Likewise.
54138         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
54139         (gaih_inet): Likewise.
54140         (getaddrinfo): Don't use GAIH_EAI.
54142         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
54143         (struct gaih): Remove definition.
54145 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54147         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
54148         Use HERRNOP directly.
54150 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54154 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
54156         * math/gen-auto-libm-tests.c (test_functions): Add more
54157         single-argument functions.
54158         (special_fill_pi_2): New function.
54159         (special_fill_minus_pi_2): Likewise.
54160         (special_fill_pi_6): Likewise.
54161         (special_fill_minus_pi_6): Likewise.
54162         (special_fill_pi_3): Likewise.
54163         (special_fill_2pi_3): Likewise.
54164         (special_fill_e): Likewise.
54165         (special_fill_1_e): Likewise.
54166         (special_fill_e_minus_1): Likewise.
54167         (special_real_inputs): Add more special inputs.
54168         (output_for_one_input_case): Do not require ERANGE on underflow to
54169         zero if round-to-nearest result does not underflow to zero, unless
54170         exact results required.
54171         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
54172         atan, atanh, cbrt, cos and cosh.
54173         * math/auto-libm-test-out: Regenerated.
54174         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
54175         (acos_tonearest_test_data): Likewise.
54176         (acos_towardzero_test_data): Likewise.
54177         (acos_downward_test_data): Likewise.
54178         (acos_upward_test_data): Likewise.
54179         (acosh_test_data): Likewise.
54180         (asin_test_data): Likewise.
54181         (asin_tonearest_test_data): Likewise.
54182         (asin_towardzero_test_data): Likewise.
54183         (asin_upward_test_data): Likewise.
54184         (asinh_test_data): Likewise.
54185         (atan_test_data): Likewise.
54186         (atanh_test_data): Likewise.
54187         (cbrt_test_data): Likewise.
54188         (cos_test_data): Likewise.
54189         (cos_tonearest_test_data): Likewise.
54190         (cos_towardzero_test_data): Likewise.
54191         (cos_downward_test_data): Likewise.
54192         (cos_upward_test_data): Likewise.
54193         (cosh_test_data): Likewise.
54194         (cosh_tonearest_test_data): Likewise.
54195         (cosh_towardzero_test_data): Likewise.
54196         (cosh_downward_test_data): Likewise.
54197         (cosh_upward_test_data): Likewise.
54198         * sysdeps/i386/fpu/libm-test-ulps: Update.
54199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54201 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
54203         [BZ #6787]
54204         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
54205         * math/w_exp10f.c (__exp10f): Likewise.
54206         * math/w_exp10l.c (__exp10l): Likewise.
54207         * math/libm-test.inc (exp10_test_data): Add more tests and expect
54208         errno settings in existing tests.
54210         [BZ #14032]
54211         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
54212         precision control set to double precision.
54213         * sysdeps/i386/fpu/w_sqrt.c: New file.
54214         * math/auto-libm-test-in: Add more tests.
54215         * math/auto-libm-test-out: Update.
54217         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
54218         (sqrt_test_tonearest): New function.
54219         (sqrt_towardzero_test_data): New variable.
54220         (sqrt_test_towardzero): New function.
54221         (sqrt_downward_test_data): New variable.
54222         (sqrt_test_downward): New function.
54223         (sqrt_upward_test_data): New variable.
54224         (sqrt_test_upward): New function.
54225         (main): Call the new functions.
54227         * math/gen-auto-libm-tests.c: New file.
54228         * math/auto-libm-test-in: Likewise.
54229         * math/auto-libm-test-out: New generated file.
54230         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
54231         variables.
54232         (%beautify): Add generated representations of zero.
54233         (top level): Set $auto_input and call parse_auto_input.
54234         (beautify): Remove trailing "f" from hex float constants.
54235         (parse_args): Handle XFAIL_TEST.
54236         (convert_condition): New function.
54237         (or_value): Likewise.
54238         (or_cond_value): Likewise.
54239         (generate_testfile): Handle AUTO_TESTS_* lines.
54240         (parse_auto_input): New function.
54241         * math/libm-test.inc (XFAIL_TEST): New macro.
54242         (ERRNO_UNCHANGED): Update value.
54243         (ERRNO_EDOM): Likewise.
54244         (ERRNO_ERANGE): Likewise.
54245         (IGNORE_RESULT): Likewise.
54246         (TEST_COND_flt_32): New macro.
54247         (TEST_COND_dbl_64): Likewise.
54248         (TEST_COND_ldbl_96_intel): Likewise.
54249         (TEST_COND_ldbl_96_m68k): Likewise.
54250         (TEST_COND_ldbl_128): Likewise.
54251         (TEST_COND_ldbl_128ibm): Likewise.
54252         (TEST_COND_long32): Likewise.
54253         (TEST_COND_long64): Likewise.
54254         (TEST_COND_before_rounding): Likewise.
54255         (TEST_COND_after_rounding): Likewise.
54256         (enable_test): Handle XFAIL_TEST flag.
54257         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
54258         with finite results.
54259         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
54260         auto-libm-test-out.
54262 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54263             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54265         [BZ #16214]
54266         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
54267         __tls_get_addr_internal instead of __tls_get_offset in order to
54268         avoid GOT pointer dependency.  Make rtld export
54269         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
54270         __tls_get_addr since we are a __tls_get_offset platform.
54271         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
54272         GOT pointer being set up before.
54273         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
54275 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
54277         * manual/math.texi (Errors in Math Functions): Document accuracy
54278         goals.
54280         [BZ #15004]
54281         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
54282         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
54283         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54284         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54285         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54286         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54287         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54288         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54289         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54290         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54291         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54292         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54293         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54294         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54295         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54296         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54298         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
54299         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
54300         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
54301         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
54302         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
54303         Likewise.
54304         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
54305         Likewise.
54306         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
54307         Likewise.
54308         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
54309         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
54310         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
54311         atomic-feupdateenv and flt-rounds.
54312         * sysdeps/powerpc/nofpu/Versions (libc): Add
54313         __atomic_feholdexcept, __atomic_feclearexcept,
54314         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
54315         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
54316         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
54317         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
54318         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
54319         here.
54320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
54321         Update.
54323         * manual/arith.texi (FP Exceptions): Document that exceptions may
54324         not be raised when matherr is used.
54325         (Math Error Reporting): Document overflow in directed rounding
54326         modes.  Document that errno may not be set when finite values are
54327         returned on overflow.  Document intent to set errno on underflow
54328         only for underflow to zero.
54330         [BZ #16271]
54331         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
54332         round-to-nearest then adjust result for other rounding modes.
54333         * include/fenv.h (fegetround): Use libm_hidden_proto.
54334         * math/fegetround.c (fegetround): Use libm_hidden_def.
54335         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
54336         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
54337         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54338         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
54339         Likewise.
54340         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
54341         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54342         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
54343         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
54345 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54347         [BZ #16077]
54348         * nss/Versions (libnss_files): Add
54349         _nss_files_gethostbyname3_r.
54350         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
54351         New function.
54352         (HOST_DB_LOOKUP): Remove macro.
54353         (_nss_files_gethostbyname_r): Implement function without the
54354         HOST_DB_LOOKUP macro.
54355         (_nss_files_gethostbyname2_r): Likewise.
54357 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
54359         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
54361 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
54363         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
54364         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
54365         warning.
54367 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54369         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
54370         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
54371         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
54372         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
54373         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
54374         __fe_nomask_env_priv and attribute_hidden.
54375         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
54376         (libc_feupdateenv_test_ppc): Likewise.
54377         (libc_feresetround_ppc): Likewise.
54378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54379         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
54380         compat_symbol macro.
54381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54382         (__fe_nomask_env): Likewise.
54383         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
54385 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54387         * string/Makefile: Remove ifunc tests.
54388         * string/test-string.h: Define TEST_IFUNC.
54389         * string/test-bcopy-ifunc.c: Remove.
54390         * string/test-bzero-ifunc.c: Likewise.
54391         * string/test-memccpy-ifunc.c: Likewise.
54392         * string/test-memchr-ifunc.c: Likewise.
54393         * string/test-memcmp-ifunc.c: Likewise.
54394         * string/test-memcpy-ifunc.c: Likewise.
54395         * string/test-memmem-ifunc.c: Likewise.
54396         * string/test-memmove-ifunc.c: Likewise.
54397         * string/test-mempcpy-ifunc.c: Likewise.
54398         * string/test-memrchr-ifunc.c: Likewise.
54399         * string/test-memset-ifunc.c: Likewise.
54400         * string/test-rawmemchr-ifunc.c: Likewise.
54401         * string/test-stpcpy-ifunc.c: Likewise.
54402         * string/test-stpncpy-ifunc.c: Likewise.
54403         * string/test-strcasecmp-ifunc.c: Likewise.
54404         * string/test-strcasestr-ifunc.c: Likewise.
54405         * string/test-strcat-ifunc.c: Likewise.
54406         * string/test-strchr-ifunc.c: Likewise.
54407         * string/test-strchrnul-ifunc.c: Likewise.
54408         * string/test-strcmp-ifunc.c: Likewise.
54409         * string/test-strcpy-ifunc.c: Likewise.
54410         * string/test-strcspn-ifunc.c: Likewise.
54411         * string/test-strlen-ifunc.c: Likewise.
54412         * string/test-strncasecmp-ifunc.c: Likewise.
54413         * string/test-strncat-ifunc.c: Likewise.
54414         * string/test-strncmp-ifunc.c: Likewise.
54415         * string/test-strncpy-ifunc.c: Likewise.
54416         * string/test-strnlen-ifunc.c: Likewise.
54417         * string/test-strpbrk-ifunc.c: Likewise.
54418         * string/test-strrchr-ifunc.c: Likewise.
54419         * string/test-strspn-ifunc.c: Likewise.
54420         * string/test-strstr-ifunc.c: Likewise.
54422 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54424         * benchtests/Makefile: Remove ifunc tests.
54425         * benchtests/bench-string.h: Define TEST_IFUNC.
54426         * benchtests/bench-bcopy-ifunc.c: Remove.
54427         * benchtests/bench-bzero-ifunc.c: Likewise.
54428         * benchtests/bench-memccpy-ifunc.c: Likewise.
54429         * benchtests/bench-memchr-ifunc.c: Likewise.
54430         * benchtests/bench-memcmp-ifunc.c: Likewise.
54431         * benchtests/bench-memcpy-ifunc.c: Likewise.
54432         * benchtests/bench-memmem-ifunc.c: Likewise.
54433         * benchtests/bench-memmove-ifunc.c: Likewise.
54434         * benchtests/bench-mempcpy-ifunc.c: Likewise.
54435         * benchtests/bench-memrchr-ifunc.c: Likewise.
54436         * benchtests/bench-memset-ifunc.c: Likewise.
54437         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
54438         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
54439         * benchtests/bench-stpcpy-ifunc.c: Likewise.
54440         * benchtests/bench-stpncpy-ifunc.c: Likewise.
54441         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
54442         * benchtests/bench-strcasestr-ifunc.c: Likewise.
54443         * benchtests/bench-strcat-ifunc.c: Likewise.
54444         * benchtests/bench-strchr-ifunc.c: Likewise.
54445         * benchtests/bench-strchrnul-ifunc.c: Likewise.
54446         * benchtests/bench-strcmp-ifunc.c: Likewise.
54447         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
54448         * benchtests/bench-strcpy-ifunc.c: Likewise.
54449         * benchtests/bench-strcspn-ifunc.c: Likewise.
54450         * benchtests/bench-strlen-ifunc.c: Likewise.
54451         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
54452         * benchtests/bench-strncat-ifunc.c: Likewise.
54453         * benchtests/bench-strncmp-ifunc.c: Likewise.
54454         * benchtests/bench-strncpy-ifunc.c: Likewise.
54455         * benchtests/bench-strnlen-ifunc.c: Likewise.
54456         * benchtests/bench-strpbrk-ifunc.c: Likewise.
54457         * benchtests/bench-strrchr-ifunc.c: Likewise.
54458         * benchtests/bench-strsep-ifunc.c: Likewise.
54459         * benchtests/bench-strspn-ifunc.c: Likewise.
54460         * benchtests/bench-strstr-ifunc.c: Likewise.
54462 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54464         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
54466 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54468         * resolv/netdb.h: Use __glibc_reserved instead __unused.
54469         * rt/aio.h: Likewise.
54470         * sysdeps/gnu/bits/utmp.h: Likewise.
54471         * sysdeps/gnu/bits/utmpx.h: Likewise.
54472         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54473         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
54474         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
54475         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
54476         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
54477         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
54478         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
54479         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
54480         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
54481         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
54482         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
54483         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
54484         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
54485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
54486         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54487         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
54488         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
54489         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
54490         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
54491         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
54492         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
54493         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
54494         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
54495         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54496         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
54497         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54498         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
54499         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
54500         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
54501         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
54502         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
54503         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
54504         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
54505         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
54506         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
54507         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
54508         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
54509         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
54510         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
54511         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
54512         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
54513         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
54515 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
54517         [BZ #16245]
54518         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
54519         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
54521 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
54523         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
54524         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
54525         Likewise.
54527 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54529         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
54530         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
54531         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
54532         (__fesetround): Remove define.
54533         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
54534         rounding and exceptions handling.
54535         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
54536         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
54537         (__fe_nomask_env): Likewise.
54538         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
54539         __fegetround instead of fegetround.
54540         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54541         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
54543 2013-11-21  Roland McGrath  <roland@hack.frob.com>
54545         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
54546         it's there.
54548         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
54550 2013-11-21  Meador Inge  <meadori@codesourcery.com>
54552         [BZ #11157]
54553         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
54554         (encrypt_r): Likewise.
54555         * malloc/obstack.h (obstack_free): Likewise.
54556         * posix/unistd.h (encrypt): Likewise.
54558 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
54560         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
54561         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
54562         DL_CALL_DT_FINI() that call the functions directly.
54563         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
54564         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
54565         * elf/dl-fini.c: Likewise.
54567 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
54569         * malloc/hooks.c (memalign_check): Add alignment rounding.
54570         * malloc/malloc.c (_mid_memalign): New function.
54571         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
54572         Implement by calling _mid_memalign.
54573         * manual/probes.texi (Memory Allocation Probes): Remove
54574         memory_valloc_retry and memory_pvalloc_retry.
54576 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54578         * locale/programs/locarchive.c (open_archive): Add const
54579         qualifier to ARCHIVEFNAME and copy default fname to
54580         DEFAULT_FNAME.
54582         [BZ #15601]
54583         * libio/tst-widetext.input: Rename Oriya to Odia.
54584         * locale/iso-639.def: Likewise.
54586         * manual/probes.texi (Mathematical Function Probes): Add
54587         documentation for sin, cos, asin and acos probes.
54588         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
54589         (__sin32): Add slowasin probe.
54590         (__cos32): Add slowacos probe.
54591         (__mpsin): Add slowsin probe.
54592         (__mpcos): Add slowcos probe.
54594 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
54596         [BZ #15483]
54597         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
54598         thread-local __sim_exceptions_thread and global
54599         __sim_exceptions_global.
54600         (__sim_disabled_exceptions): Change to thread-local
54601         __sim_disabled_exceptions_thread and global
54602         __sim_disabled_exceptions_global.
54603         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54604         and global __sim_round_mode_global.
54605         (__simulate_exceptions): Use thread-local floating-point state and
54606         set global state from it as needed.
54607         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
54608         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
54609         __sim_round_mode_thread.
54610         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
54611         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
54612         and global __sim_exceptions_global.
54613         (__sim_disabled_exceptions): Change to thread-local
54614         __sim_disabled_exceptions_thread and global
54615         __sim_disabled_exceptions_global.
54616         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54617         and global __sim_round_mode_global.
54618         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
54619         (SIM_SET_GLOBAL): Likewise.
54620         * sysdeps/powerpc/soft-fp/sfp-machine.h
54621         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
54622         __sim_round_mode_thread.
54623         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
54624         __sim_disabled_exceptions_thread.
54625         (__sim_exceptions): Change to __sim_exceptions_thread.
54626         (__sim_disabled_exceptions): Change to
54627         __sim_disabled_exceptions_thread.
54628         (__sim_round_mode): Change to __sim_round_mode_thread.
54629         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
54630         thread-local floating-point state and set global state from it as
54631         needed.
54632         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
54633         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
54634         (__sim_disabled_exceptions): Remove extern declaration.
54635         (feenableexcept): Use thread-local floating-point state and set
54636         global state from it as needed.
54637         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
54638         extern declaration.
54639         (__sim_disabled_exceptions): Likewise.
54640         (__sim_round_mode): Likewise.
54641         (__fegetenv): Use thread-local floating-point state.
54642         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
54643         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54644         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
54645         floating-point state and set global state from it as needed.
54646         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
54647         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
54648         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
54649         Likewise.
54650         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
54651         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
54652         Likewise.
54653         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
54654         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
54655         Use __sim_round_mode_thread.
54656         * math/test-fenv-tls.c: New file.
54657         * math/Makefile (tests): Add test-fenv-tls.
54658         ($(objpfx)test-fenv-tls): Depend on
54659         $(common-objpfx)nptl/libpthread.so.
54661 2013-11-19  Andreas Schwab  <schwab@suse.de>
54663         * locale/programs/locale.c (show_info): Decode wordarray elements.
54664         * locale/categories.def (LC_MONETARY): Add element for
54665         _NL_MONETARY_CRNCYSTR.
54666         * locale/C-monetary.c (conversion_rate): New variable.
54667         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
54668         element.
54670 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
54672         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
54673         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
54675 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
54677         * elf/Makefile (tst-auxv): New test.
54678         * elf/tst-auxv.c: New
54679         * elf/rtld.c (dl_main): Adjust AT_EXECFN
54681 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
54683         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
54684         (hidden_proto): Caller changed.
54685         (hidden_tls_proto): New macro.
54686         (libc_hidden_tls_proto): Likewise.
54687         (rtld_hidden_tls_proto): Likewise.
54688         (libm_hidden_tls_proto): Likewise.
54689         (libresolv_hidden_tls_proto): Likewise.
54690         (librt_hidden_tls_proto): Likewise.
54691         (libdl_hidden_tls_proto): Likewise.
54692         (libnss_files_hidden_tls_proto): Likewise.
54693         (libnsl_hidden_tls_proto): Likewise.
54694         (libnss_nisplus_hidden_tls_proto): Likewise.
54695         (libutil_hidden_tls_proto): Likewise.
54697 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
54699         [BZ #10253]
54700         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
54701         (decompose_rpath): Defer expansion to fillin_rpath.
54702         (_dl_init_paths): Pass linkmap to fillin_rpath.
54704 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54706         * benchtests/Makefile: Add strsep.
54707         * benchtests/bench-strsep.c: New file: strsep benchtest.
54708         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
54710 2013-11-18  Andreas Schwab  <schwab@suse.de>
54712         * locale/programs/locale.c (show_info) [case byte]: Check for
54713         '\377' instead of '\177'.
54714         * locale/C-monetary.c (not_available): Always use "\377".
54715         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
54716         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
54717         detect unavailable sign_posn locale elements.
54718         * locale/localeconv.c (__localeconv): For grouping and
54719         mon_grouping handle "\177" and "\377" like no grouping.
54720         (INT_ELEM): New macro.  Use it to set all numeric members.
54721         * locale/programs/ld-monetary.c (monetary_read)
54722         <tok_mon_grouping>: Normalize single -1 to the empty string.
54723         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
54724         Likewise.
54726 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54728         [BZ #16055]
54729         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
54730         when we match (nil).
54731         * stdio-common/tst-sscanf.c (struct test): Add testcase.
54733 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
54735         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
54736         (NO_TEST_INLINE): Update value.
54737         (ERRNO_UNCHANGED): Likewise.
54738         (ERRNO_EDOM): Likewise.
54739         (ERRNO_ERANGE): Likewise.
54740         (IGNORE_RESULT): Likewise.
54741         (check_float_internal): Check signs of NaN results if
54742         TEST_NAN_SIGN used.
54743         (check_complex): Pass TEST_NAN_SIGN flag through to second
54744         check_float_internal call.
54745         (copysign_test_data): Add tests with quiet NaNs as second
54746         argument.  Use TEST_NAN_SIGN.
54747         (fabs_test_data): Add test of negative quiet NaN argument.  Use
54748         TEST_NAN_SIGN.
54749         (signbit_test_data): Add tests of quiet NaN argument.
54750         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
54752         * math/gen-libm-test.pl (show_exceptions): Take extra argument
54753         $ignore_result.
54754         (parse_args): Handle function results specified as IGNORE.
54755         * math/libm-test.inc (IGNORE_RESULT): New macro.
54756         (check_float_internal): Do not check numerical result if flag
54757         IGNORE_RESULT set.
54758         (check_complex): Pass through IGNORE_RESULT to second
54759         check_float_internal call.
54760         (check_int): Do not check numerical result if flag IGNORE_RESULT
54761         set.
54762         (check_long): Likewise.
54763         (check_bool): Likewise.
54764         (check_longlong): Likewise.
54765         (lrint_test_data): Add tests of infinite and NaN arguments.
54766         (lrint_tonearest_test_data): Likewise.
54767         (lrint_towardzero_test_data): Likewise.
54768         (lrint_downward_test_data): Likewise.
54769         (lrint_upward_test_data): Likewise.
54770         (llrint_test_data): Likewise.
54771         (llrint_tonearest_test_data): Likewise.
54772         (llrint_towardzero_test_data): Likewise.
54773         (llrint_downward_test_data): Likewise.
54774         (llrint_upward_test_data): Likewise.
54775         (lround_test_data): Likewise.
54776         (llround_test_data): Likewise.
54778         * math/libm-test.inc (NO_TEST_INLINE): New macro.
54779         (ERRNO_UNCHANGED): Update value.
54780         (ERRNO_EDOM): Likewise.
54781         (ERRNO_ERANGE): Likewise.
54782         (NO_TEST_INLINE_FLOAT): New macro.
54783         (NO_TEST_INLINE_DOUBLE): Likewise.
54784         (enable_test): New function.
54785         (RUN_TEST_f_f): Check enable_test before running test.
54786         (RUN_TEST_2_f): Likewise.
54787         (RUN_TEST_fff_f): Likewise.
54788         (RUN_TEST_c_f): Likewise.
54789         (RUN_TEST_f_f1): Likewise.
54790         (RUN_TEST_fF_f1): Likewise.
54791         (RUN_TEST_fI_f1): Likewise.
54792         (RUN_TEST_ffI_f1): Likewise.
54793         (RUN_TEST_c_c): Likewise.
54794         (RUN_TEST_cc_c): Likewise.
54795         (RUN_TEST_f_i): Likewise.
54796         (RUN_TEST_f_i_tg): Likewise.
54797         (RUN_TEST_ff_i_tg): Likewise.
54798         (RUN_TEST_f_b): Likewise.
54799         (RUN_TEST_f_b_tg): Likewise.
54800         (RUN_TEST_f_l): Likewise.
54801         (RUN_TEST_f_L): Likewise.
54802         (RUN_TEST_fFF_11): Likewise.
54803         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
54804         conditionals.
54805         (cosh_test_data): Likewise.
54806         (exp_test_data): Likewise.
54807         (expm1_test_data): Likewise.
54808         (hypot_test_data): Likewise.
54809         (pow_test_data): Likewise.
54810         (sinh_test_data): Likewise.
54811         (tanh_test_data): Likewise.
54812         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
54813         flags argument.
54815         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
54816         tests with quiet NaN input and output.
54817         (acosh_test_data): Likewise.
54818         (asin_test_data): Likewise.
54819         (asinh_test_data): Likewise.
54820         (atan_test_data): Likewise.
54821         (atanh_test_data): Likewise.
54822         (atan2_test_data): Likewise.
54823         (cbrt_test_data): Likewise.
54824         (cos_test_data): Likewise.
54825         (cosh_test_data): Likewise.
54826         (erf_test_data): Likewise.
54827         (erfc_test_data): Likewise.
54828         (exp_test_data): Likewise.
54829         (exp10_test_data): Likewise.
54830         (exp2_test_data): Likewise.
54831         (expm1_test_data): Likewise.
54832         (hypot_test_data): Likewise.
54833         (j0_test_data): Likewise.
54834         (j1_test_data): Likewise.
54835         (jn_test_data): Likewise.
54836         (lgamma_test_data): Likewise.
54837         (log_test_data): Likewise.
54838         (log10_test_data): Likewise.
54839         (log1p_test_data): Likewise.
54840         (log2_test_data): Likewise.
54841         (pow_test_data): Likewise.
54842         (scalb_test_data): Likewise.
54843         (sin_test_data): Likewise.
54844         (sincos_test_data): Likewise.
54845         (sinh_test_data): Likewise.
54846         (tan_test_data): Likewise.
54847         (tanh_test_data): Likewise.
54848         (tgamma_test_data): Likewise.
54849         (y0_test_data): Likewise.
54850         (y1_test_data): Likewise.
54851         (yn_test_data): Likewise.
54853         [BZ #16167]
54854         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
54855         argument being NaN and avoid computations with second argument in
54856         that case.
54857         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54858         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
54859         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54861 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
54863         * locale/iso-639.def: Add Chitwani Tharu (the).
54865 2013-11-14  Andreas Schwab  <schwab@suse.de>
54867         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
54868         word instead of empty string.
54870 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54873         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
54874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54875         (__fe_nomask_env): Likewise.
54877 2013-11-13  Steve Ellcey  <sellcey@mips.com>
54879         * benchtests/bench-timing.h: Include time.h.
54881 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
54883         [BZ #15997]
54884         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
54885         to 3.4.0 for x32.
54886         * sysdeps/unix/sysv/linux/configure: Regenerated.
54888 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
54890         [BZ #16151]
54891         * stdlib/strtod_l.c (round_and_return): Do not consider
54892         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
54893         exponent one less than half the least subnormal exponent.
54894         * stdlib/test-strtod-round-data: Add more tests.
54895         * stdlib/tst-strtod-round.c (tests): Regenerated.
54897 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54899         [BZ #14143]
54900         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
54901         (__fe_mask_env): Likewise.
54902         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
54903         libm_hidden_proto and add function prototype.
54904         (__fe_mask_env): Add function prototype.
54905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54906         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
54907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54908         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
54909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54910         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
54912 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54914         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
54915         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
54917 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54919         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
54920         of htab_find_slot().
54922 2013-11-11  David S. Miller  <davem@davemloft.net>
54924         [BZ #16150]
54925         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
54926         symbol in the non-vis3 case in static builds.
54927         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
54928         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
54929         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
54930         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
54932 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
54934         [BZ #387]
54935         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
54936         it is empty.
54938 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54940         * benchtests/Makefile: Add bench-strtod.
54941         * benchtests/bench-strtod.c: New file: strtod benchtest
54943 2013-11-11  Andreas Schwab  <schwab@suse.de>
54945         [BZ #16153]
54946         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
54947         terminating NUL in key length.
54949 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54951         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54952         Add artificial ODP entry for vDSO symbol for PPC64.
54953         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
54954         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
54956 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54958         [BZ #15374]
54959         * nss/getent.c (services_keys): Recognize services starting with digit.
54961 2013-11-06  David S. Miller  <davem@davemloft.net>
54963         [BZ #15985]
54964         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
54965         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
54967 2013-11-06  Will Newton  <will.newton@linaro.org>
54969         * manual/memory.texi (Malloc Examples): Remove register
54970         keyword from examples.
54972 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
54974         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
54976 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
54978         [BZ #6981]
54979         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
54980         depending on [__GCC_IEC_559 > 0].
54981         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
54982         depending on [__GCC_IEC_559_COMPLEX > 0].
54984 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
54986         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
54987         to iso-639.def.
54989 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
54991         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
54993 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
54995         [BZ #16112]
54996         * malloc/malloc (malloc_info): Do not handle first bin as
54997         special case.
54999 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
55001         * locale/iso-639.def: Add Central Nahuatl (nhn).
55003 2013-11-01  Bruno Haible  <bruno@clisp.org>
55005         [BZ #7003]
55006         * manual/math.texi (BSD Random): Specify range upper bound as
55007         in POSIX.
55009 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
55011         * locale/iso-639.def: Add Meadow Mari (mhr).
55013 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
55015         [BZ #14752], [BZ #15763]
55016         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
55017         Validate name.
55018         * rt/tst_shm.c: Add test for escaping directory.
55020 2013-10-31  Andreas Schwab  <schwab@suse.de>
55022         [BZ #15917]
55023         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
55024         followed by 'x' as part of digit sequence.
55025         * stdio-common/tst-sscanf.c (double_tests2): New tests.
55027 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
55029         [BZ #16037]
55030         * configure.ac: allow GNU Make 4.0 and greater.
55031         * configure: Regenerated.
55033 2013-10-30  Will Newton  <will.newton@linaro.org>
55035         [BZ #16038]
55036         * malloc/hooks.c (memalign_check): Limit alignment to the
55037         maximum representable power of two.
55038         * malloc/malloc.c (__libc_memalign): Likewise.
55039         * malloc/tst-memalign.c (do_test): Add test for very
55040         large alignment values.
55041         * malloc/tst-posix_memalign.c (do_test): Likewise.
55043 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55045         [BZ #11087]
55046         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
55047         (munmap_chunk): Likewise.
55048         (mremap_chunk): Likewise.
55050 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55052         [BZ #15799]
55053         * stdlib/div.c (div): Remove obsolete code.
55054         * stdlib/ldiv.c (ldiv): Likewise.
55055         * stdlib/lldiv.c (lldiv): Likewise.
55057 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55059         [BZ #16071]
55060         * nss/nss_files/files-XXX.c (get_contents_ret): New
55061         enumerator.
55062         (get_contents): New function.
55063         (internal_getent): Use it.  Expand size of LINEBUFLEN.
55065 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
55067         * configure.in: Moved to ...
55068         * configure.ac: ... here. Change reference to configure.in
55069         to configure.ac.
55070         * sysdeps/arm/preconfigure.ac: ... here.
55071         configure.in to configure.ac.
55072         * sysdeps/gnu/configure.in: Moved to ...
55073         * sysdeps/gnu/configure.ac: ... here.
55074         * sysdeps/i386/configure.in: Moved to ...
55075         * sysdeps/i386/configure.ac: ... here.
55076         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
55077         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
55078         * sysdeps/mach/configure.in: Moved to ...
55079         * sysdeps/mach/configure.ac: ... here.
55080         * sysdeps/mach/hurd/configure.in: Moved to ...
55081         * sysdeps/mach/hurd/configure.ac: ... here.
55082         * sysdeps/powerpc/configure.in: Moved to ...
55083         * sysdeps/powerpc/configure.ac: ... here.
55084         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
55085         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
55086         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
55087         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
55088         * sysdeps/s390/s390-32/configure.in: Moved to ...
55089         * sysdeps/s390/s390-32/configure.ac: ... here.
55090         * sysdeps/s390/s390-64/configure.in: Moved to ...
55091         * sysdeps/s390/s390-64/configure.ac: ... here.
55092         * sysdeps/sh/configure.in: Moved to ...
55093         * sysdeps/sh/configure.ac: ... here.
55094         * sysdeps/sparc/configure.in: Moved to ...
55095         * sysdeps/sparc/configure.ac: ... here.
55096         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
55097         * sysdeps/unix/sysv/linux/configure.ac: ... here.
55098         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
55099         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
55100         * sysdeps/x86_64/configure.in: Moved to ...
55101         * sysdeps/x86_64/configure.ac: ... here.
55102         * sysdeps/x86_64/preconfigure.in: Moved to ...
55103         * sysdeps/x86_64/preconfigure.ac: ... here.
55104         * aclocal.m4: Change reference to configure.in to configure.ac.
55105         * config.h.in: Likewise.
55106         * manual/install.texi: Likewise.
55107         * manual/maint.texi: Likewise.
55108         * Makefile: Likewise.
55109         * malloc/Makefile: Likewise.
55110         * nscd/Makefile: Likewise.
55111         * Makeconfig: Change reference to configure.in and
55112         preconfigure.in to configure.ac and preconfigure.ac
55113         respectively.
55114         * INSTALL: Regenerated.
55115         * configure: Likewise.
55116         * sysdeps/gnu/configure: Likewise.
55117         * sysdeps/i386/configure: Likewise.
55118         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
55119         * sysdeps/mach/configure: Likewise.
55120         * sysdeps/mach/hurd/configure: Likewise.
55121         * sysdeps/powerpc/configure: Likewise.
55122         * sysdeps/powerpc/powerpc32/configure: Likewise.
55123         * sysdeps/powerpc/powerpc64/configure: Likewise.
55124         * sysdeps/s390/s390-32/configure: Likewise.
55125         * sysdeps/s390/s390-64/configure: Likewise.
55126         * sysdeps/sh/configure: Likewise.
55127         * sysdeps/sparc/configure: Likewise.
55128         * sysdeps/unix/sysv/linux/configure: Likewise.
55129         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
55130         * sysdeps/x86_64/configure: Likewise.
55131         * sysdeps/x86_64/preconfigure: Likewise.
55133 2013-10-29  Andreas Schwab  <schwab@suse.de>
55135         * stdio-common/Makefile (tst-swscanf-ENV): Define.
55137 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55139         * benchtests/pow-inputs: Add new inputs.
55141         * benchtests/exp-inputs: Add new inputs.
55143         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
55144         conditional check for return value.
55145         (__cos32): Likewise.
55147 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55149         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
55150         to provide a boost for large inputs with word alignment.
55151         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
55152         implementation based on optimized PPC64 strcpy.
55153         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
55154         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
55155         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
55156         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
55158 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55160         [BZ #2801]
55161         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
55163 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55165         [BZ #14876]
55166         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
55167         * time/tst-strptime.c (day_tests): Add testcase.
55169 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55171         [BZ #14029]
55172         * manual/pattern.texi: Acknowledge that fnmatch can fail.
55174 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
55176         [BZ #16074]
55177         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
55178         MAP_FAILED on error.
55180 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55182         [BZ #16072]
55183         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
55184         heap for large requests.
55186 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
55188         [BZ #9954]
55189         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
55190         result if the result has no associated interface.
55191         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
55192         interface for all 127.X.Y.Z addresses.
55194 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
55196         * locale/iso-639.def: Add Ligurian (lij)
55198 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
55200         [BZ #15825]
55201         * sunrpc/rpc_main.c: Document rpcgen -5.
55203 2013-10-19  Michael Stahl  <mstahl@redhat.com>
55205         * elf/rtld.c (do_preload): Print the reason why preloading failed.
55207 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55209         [BZ #10278]
55210         * posix/glob.c: Match only directories when trailing slash is present.
55211         * posix/tst-gnuglob.c (my_opendir): Do not open files.
55212         (main): Add testcase.
55214 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55216         [BZ #15670]
55217         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
55219 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
55221         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
55222         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
55223         AUTH_DES and cindex for FIPS 140-2.
55224         (DES Encryption): Add cindex FIPS 46-3.
55226         * locale/locarchive.h (struct locarhandle): Add fname.
55227         * locale/programs/localedef.c (main): Pass ARGV[remaining]
55228         if an optional argument was specified to --list-archive,
55229         otherwise NULL.
55230         * locale/programs/locarchive.c (show_archive_content): Take new
55231         argument fname and pass it via ah.fname to open_archive.
55232         * locale/programs/localedef.h: Update decl.
55233         (open_archive): If AH->fname is non-null, open that file
55234         rather than the default file name, and don't ignore ENOENT.
55235         (create_archive): Set AH.fname to NULL.
55236         (delete_locales_from_archive): Likewise.
55237         (add_locales_to_archive): Likewise.
55238         * locale/programs/locfile.c (write_all_categories): Likewise.
55240 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
55241             Aldy Hernandez  <aldyh@redhat.com>
55243         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
55244         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
55245         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
55246         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
55247         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
55248         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
55249         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
55250         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
55251         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
55252         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
55253         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
55254         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
55255         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
55256         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
55257         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
55258         Likewise.
55259         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
55260         Likewise.
55261         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
55262         Likewise.
55263         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
55264         Likewise.
55265         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
55266         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
55267         Likewise.
55268         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
55269         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
55270         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
55271         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
55272         Likewise.
55273         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
55274         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
55275         * sysdeps/powerpc/preconfigure: Likewise.
55276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
55277         Likewise.
55278         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
55279         Replace contents of file by #include of <fenv_libc.h>.
55280         * sysdeps/powerpc/soft-fp/sfp-machine.h
55281         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
55282         and <sys/prctl.h>.
55283         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
55284         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
55285         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
55286         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
55287         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
55288         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
55289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
55290         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
55291         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
55292         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
55293         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
55294         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
55295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55296         Allow copysignl PLT reference to be missing.
55298 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
55299             Joseph Myers  <joseph@codesourcery.com
55301         [BZ #15948]
55302         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
55303         single character.
55304         (add_to_tablewc): Assert sequence of wide characters is nonempty.
55306 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55308         * elf/tst-tls-dlinfo.c: Don't include tls.h.
55309         * elf/tst-tls1.c: Likewise.
55310         * elf/tst-tls10.h: Likewise.
55311         * elf/tst-tls14.c: Likewise.
55312         * elf/tst-tls2.c: Likewise.
55313         * elf/tst-tls3.c: Likewise.
55314         * elf/tst-tls4.c: Likewise.
55315         * elf/tst-tls5.c: Likewise.
55316         * elf/tst-tls6.c: Likewise.
55317         * elf/tst-tls7.c: Likewise.
55318         * elf/tst-tls8.c: Likewise.
55319         * elf/tst-tls9.c: Likewise.
55320         * elf/tst-tlsmod1.c: Likewise.
55321         * elf/tst-tlsmod13.c: Likewise.
55322         * elf/tst-tlsmod13a.c: Likewise.
55323         * elf/tst-tlsmod14a.c: Likewise.
55324         * elf/tst-tlsmod16a.c: Likewise.
55325         * elf/tst-tlsmod16b.c: Likewise.
55326         * elf/tst-tlsmod2.c: Likewise.
55327         * elf/tst-tlsmod3.c: Likewise.
55328         * elf/tst-tlsmod4.c: Likewise.
55329         * elf/tst-tlsmod5.c: Likewise.
55330         * elf/tst-tlsmod6.c: Likewise.
55332 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
55334         [BZ #12486]
55335         * malloc/malloc.c: remove checks for statistics.
55337 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55339         [BZ #15277]
55340         * inet/inet_net.c (inet_network): Detect additional invalid strings.
55341         * inet/tst-network.c: Add testcase.
55343 2013-10-17  Andreas Schwab  <schwab@suse.de>
55345         [BZ #15218]
55346         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
55347         to determine canonical name.
55349 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55351         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
55352         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
55353         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55354         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55355         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55356         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55357         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55358         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55359         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55360         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55361         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55362         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55363         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55364         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55365         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55366         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55367         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55368         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55369         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55370         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55371         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55372         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55373         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55374         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
55375         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
55376         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55377         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55378         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
55379         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55380         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
55381         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55382         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55383         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55384         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55385         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55386         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55387         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55388         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55389         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55390         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55391         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55392         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55393         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55394         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55395         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55396         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55397         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55398         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55399         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55400         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55401         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55402         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55403         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55404         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55405         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55406         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55407         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55408         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55410 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
55412         [BZ #16041]
55413         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
55414         make result into a quiet NaN.
55416 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
55418         * soft-fp/adddf3.c: Fix horizontal whitespace.
55419         * soft-fp/addsf3.c: Likewise.
55420         * soft-fp/addtf3.c: Likewise.
55421         * soft-fp/divdf3.c: Likewise.
55422         * soft-fp/divsf3.c: Likewise.
55423         * soft-fp/divtf3.c: Likewise.
55424         * soft-fp/double.h: Likewise.
55425         * soft-fp/eqdf2.c: Likewise.
55426         * soft-fp/eqsf2.c: Likewise.
55427         * soft-fp/eqtf2.c: Likewise.
55428         * soft-fp/extenddftf2.c: Likewise.
55429         * soft-fp/extended.h: Likewise.
55430         * soft-fp/extendsfdf2.c: Likewise.
55431         * soft-fp/extendsftf2.c: Likewise.
55432         * soft-fp/extendxftf2.c: Likewise.
55433         * soft-fp/fixdfdi.c: Likewise.
55434         * soft-fp/fixdfsi.c: Likewise.
55435         * soft-fp/fixdfti.c: Likewise.
55436         * soft-fp/fixsfdi.c: Likewise.
55437         * soft-fp/fixsfsi.c: Likewise.
55438         * soft-fp/fixsfti.c: Likewise.
55439         * soft-fp/fixtfdi.c: Likewise.
55440         * soft-fp/fixtfsi.c: Likewise.
55441         * soft-fp/fixtfti.c: Likewise.
55442         * soft-fp/fixunsdfdi.c: Likewise.
55443         * soft-fp/fixunsdfsi.c: Likewise.
55444         * soft-fp/fixunsdfti.c: Likewise.
55445         * soft-fp/fixunssfdi.c: Likewise.
55446         * soft-fp/fixunssfsi.c: Likewise.
55447         * soft-fp/fixunssfti.c: Likewise.
55448         * soft-fp/fixunstfdi.c: Likewise.
55449         * soft-fp/fixunstfsi.c: Likewise.
55450         * soft-fp/fixunstfti.c: Likewise.
55451         * soft-fp/floatdidf.c: Likewise.
55452         * soft-fp/floatdisf.c: Likewise.
55453         * soft-fp/floatditf.c: Likewise.
55454         * soft-fp/floatsidf.c: Likewise.
55455         * soft-fp/floatsisf.c: Likewise.
55456         * soft-fp/floatsitf.c: Likewise.
55457         * soft-fp/floattidf.c: Likewise.
55458         * soft-fp/floattisf.c: Likewise.
55459         * soft-fp/floattitf.c: Likewise.
55460         * soft-fp/floatundidf.c: Likewise.
55461         * soft-fp/floatundisf.c: Likewise.
55462         * soft-fp/floatunditf.c: Likewise.
55463         * soft-fp/floatunsidf.c: Likewise.
55464         * soft-fp/floatunsisf.c: Likewise.
55465         * soft-fp/floatunsitf.c: Likewise.
55466         * soft-fp/floatuntidf.c: Likewise.
55467         * soft-fp/floatuntisf.c: Likewise.
55468         * soft-fp/floatuntitf.c: Likewise.
55469         * soft-fp/fmadf4.c: Likewise.
55470         * soft-fp/fmasf4.c: Likewise.
55471         * soft-fp/fmatf4.c: Likewise.
55472         * soft-fp/gedf2.c: Likewise.
55473         * soft-fp/gesf2.c: Likewise.
55474         * soft-fp/getf2.c: Likewise.
55475         * soft-fp/ledf2.c: Likewise.
55476         * soft-fp/lesf2.c: Likewise.
55477         * soft-fp/letf2.c: Likewise.
55478         * soft-fp/muldf3.c: Likewise.
55479         * soft-fp/mulsf3.c: Likewise.
55480         * soft-fp/multf3.c: Likewise.
55481         * soft-fp/negdf2.c: Likewise.
55482         * soft-fp/negsf2.c: Likewise.
55483         * soft-fp/negtf2.c: Likewise.
55484         * soft-fp/op-1.h: Likewise.
55485         * soft-fp/op-2.h: Likewise.
55486         * soft-fp/op-4.h: Likewise.
55487         * soft-fp/op-8.h: Likewise.
55488         * soft-fp/op-common.h: Likewise.
55489         * soft-fp/quad.h: Likewise.
55490         * soft-fp/single.h: Likewise.
55491         * soft-fp/soft-fp.h: Likewise.
55492         * soft-fp/sqrtdf2.c: Likewise.
55493         * soft-fp/sqrtsf2.c: Likewise.
55494         * soft-fp/sqrttf2.c: Likewise.
55495         * soft-fp/subdf3.c: Likewise.
55496         * soft-fp/subsf3.c: Likewise.
55497         * soft-fp/subtf3.c: Likewise.
55498         * soft-fp/truncdfsf2.c: Likewise.
55499         * soft-fp/trunctfdf2.c: Likewise.
55500         * soft-fp/trunctfsf2.c: Likewise.
55501         * soft-fp/trunctfxf2.c: Likewise.
55502         * soft-fp/unorddf2.c: Likewise.
55503         * soft-fp/unordsf2.c: Likewise.
55504         * soft-fp/unordtf2.c: Likewise.
55506 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
55508         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
55509         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
55511 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
55513         * elf/dl-libc.c: Clear initfini list after freeing.
55515 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
55517         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
55518         * soft-fp/addsf3.c: Likewise.
55519         * soft-fp/addtf3.c: Likewise.
55520         * soft-fp/divdf3.c: Likewise.
55521         * soft-fp/divsf3.c: Likewise.
55522         * soft-fp/divtf3.c: Likewise.
55523         * soft-fp/double.h: Likewise.
55524         * soft-fp/eqdf2.c: Likewise.
55525         * soft-fp/eqsf2.c: Likewise.
55526         * soft-fp/eqtf2.c: Likewise.
55527         * soft-fp/extenddftf2.c: Likewise.
55528         * soft-fp/extended.h: Likewise.
55529         * soft-fp/extendsfdf2.c: Likewise.
55530         * soft-fp/extendsftf2.c: Likewise.
55531         * soft-fp/extendxftf2.c: Likewise.
55532         * soft-fp/fixdfdi.c: Likewise.
55533         * soft-fp/fixdfsi.c: Likewise.
55534         * soft-fp/fixdfti.c: Likewise.
55535         * soft-fp/fixsfdi.c: Likewise.
55536         * soft-fp/fixsfsi.c: Likewise.
55537         * soft-fp/fixsfti.c: Likewise.
55538         * soft-fp/fixtfdi.c: Likewise.
55539         * soft-fp/fixtfsi.c: Likewise.
55540         * soft-fp/fixtfti.c: Likewise.
55541         * soft-fp/fixunsdfdi.c: Likewise.
55542         * soft-fp/fixunsdfsi.c: Likewise.
55543         * soft-fp/fixunsdfti.c: Likewise.
55544         * soft-fp/fixunssfdi.c: Likewise.
55545         * soft-fp/fixunssfsi.c: Likewise.
55546         * soft-fp/fixunssfti.c: Likewise.
55547         * soft-fp/fixunstfdi.c: Likewise.
55548         * soft-fp/fixunstfsi.c: Likewise.
55549         * soft-fp/fixunstfti.c: Likewise.
55550         * soft-fp/floatdidf.c: Likewise.
55551         * soft-fp/floatdisf.c: Likewise.
55552         * soft-fp/floatditf.c: Likewise.
55553         * soft-fp/floatsidf.c: Likewise.
55554         * soft-fp/floatsisf.c: Likewise.
55555         * soft-fp/floatsitf.c: Likewise.
55556         * soft-fp/floattidf.c: Likewise.
55557         * soft-fp/floattisf.c: Likewise.
55558         * soft-fp/floattitf.c: Likewise.
55559         * soft-fp/floatundidf.c: Likewise.
55560         * soft-fp/floatundisf.c: Likewise.
55561         * soft-fp/floatunsidf.c: Likewise.
55562         * soft-fp/floatunsisf.c: Likewise.
55563         * soft-fp/floatuntidf.c: Likewise.
55564         * soft-fp/floatuntisf.c: Likewise.
55565         * soft-fp/floatuntitf.c: Likewise.
55566         * soft-fp/fmadf4.c: Likewise.
55567         * soft-fp/fmasf4.c: Likewise.
55568         * soft-fp/fmatf4.c: Likewise.
55569         * soft-fp/gedf2.c: Likewise.
55570         * soft-fp/gesf2.c: Likewise.
55571         * soft-fp/getf2.c: Likewise.
55572         * soft-fp/ledf2.c: Likewise.
55573         * soft-fp/lesf2.c: Likewise.
55574         * soft-fp/letf2.c: Likewise.
55575         * soft-fp/muldf3.c: Likewise.
55576         * soft-fp/mulsf3.c: Likewise.
55577         * soft-fp/multf3.c: Likewise.
55578         * soft-fp/negdf2.c: Likewise.
55579         * soft-fp/negsf2.c: Likewise.
55580         * soft-fp/negtf2.c: Likewise.
55581         * soft-fp/op-1.h: Likewise.
55582         * soft-fp/op-2.h: Likewise.
55583         * soft-fp/op-4.h: Likewise.
55584         * soft-fp/op-8.h: Likewise.
55585         * soft-fp/op-common.h: Likewise.
55586         * soft-fp/quad.h: Likewise.
55587         * soft-fp/single.h: Likewise.
55588         * soft-fp/soft-fp.h: Likewise.
55589         * soft-fp/sqrtdf2.c: Likewise.
55590         * soft-fp/sqrtsf2.c: Likewise.
55591         * soft-fp/sqrttf2.c: Likewise.
55592         * soft-fp/subdf3.c: Likewise.
55593         * soft-fp/subsf3.c: Likewise.
55594         * soft-fp/subtf3.c: Likewise.
55595         * soft-fp/truncdfsf2.c: Likewise.
55596         * soft-fp/trunctfdf2.c: Likewise.
55597         * soft-fp/trunctfsf2.c: Likewise.
55598         * soft-fp/trunctfxf2.c: Likewise.
55599         * soft-fp/unorddf2.c: Likewise.
55600         * soft-fp/unordsf2.c: Likewise.
55601         * soft-fp/unordtf2.c: Likewise.
55603 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
55605         [BZ #15672]
55606         * misc/error.c (error_tail): Fix possible buffer overflow.
55608 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
55610         [BZ #13028]
55611         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
55612         address.
55614 2013-10-14  P. J. McDermott  <pj@pehjota.net>
55616         [BZ #832]
55617         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
55618         testing pipefail option.
55620 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
55622         * soft-fp/double.h: Indent preprocessor directives inside #if.
55623         * soft-fp/extended.h: Likewise.
55624         * soft-fp/op-2.h: Likewise.
55625         * soft-fp/op-4.h: Likewise.
55626         * soft-fp/op-common.h: Likewise.
55627         * soft-fp/quad.h: Likewise.
55628         * soft-fp/single.h: Likewise.
55629         * soft-fp/soft-fp.h: Likewise.
55631 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
55633         * iconv/iconv_prog.c: Fix typos.
55634         * stdio-common/psiginfo-data.h: Likewise.
55636 2013-10-12   Reuben Thomas <rrt@sc3d.org>
55638         [BZ #15764]
55639         * locale/setlocale.c: Fix typo.
55641 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
55643         [BZ #16036]
55644         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
55645         signaling NaN arguments.
55646         * soft-fp/unordsf2.c (__unordsf2): Likewise.
55647         * soft-fp/unordtf2.c (__unordtf2): Likewise.
55649         [BZ #14910]
55650         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
55651         unordered operands.
55652         * soft-fp/gesf2.c (__gesf2): Likewise.
55653         * soft-fp/getf2.c (__getf2): Likewise.
55654         * soft-fp/ledf2.c (__ledf2): Likewise.
55655         * soft-fp/lesf2.c (__lesf2): Likewise.
55656         * soft-fp/letf2.c (__letf2): Likewise.
55658         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
55659         * soft-fp/eqsf2.c (__eqsf2): Likewise.
55660         * soft-fp/eqtf2.c (__eqtf2): Likewise.
55661         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
55662         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
55663         * soft-fp/fixdfti.c (__fixdfti): Likewise.
55664         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
55665         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
55666         * soft-fp/fixsfti.c (__fixsfti): Likewise.
55667         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
55668         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
55669         * soft-fp/fixtfti.c (__fixtfti): Likewise.
55670         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
55671         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
55672         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
55673         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
55674         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
55675         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
55676         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
55677         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
55678         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
55679         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
55680         * soft-fp/floatdisf.c (__floatdisf): Likewise.
55681         * soft-fp/floatsisf.c (__floatsisf): Likewise.
55682         * soft-fp/floattidf.c (__floattidf): Likewise.
55683         * soft-fp/floattisf.c (__floattisf): Likewise.
55684         * soft-fp/floattitf.c (__floattitf): Likewise.
55685         * soft-fp/floatundidf.c (__floatundidf): Likewise.
55686         * soft-fp/floatundisf.c (__floatundisf): Likewise.
55687         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
55688         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
55689         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
55690         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
55691         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
55692         * soft-fp/gesf2.c (__gesf2): Likewise.
55693         * soft-fp/getf2.c (__getf2): Likewise.
55694         * soft-fp/ledf2.c (__ledf2): Likewise.
55695         * soft-fp/lesf2.c (__lesf2): Likewise.
55696         * soft-fp/letf2.c (__letf2): Likewise.
55698         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
55699         Undefine and redefine.
55700         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
55701         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
55702         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
55703         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
55704         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55705         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
55706         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55707         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
55708         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55709         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
55710         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55711         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
55712         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55713         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
55714         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55716         [BZ #16032]
55717         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
55718         without decrementing exponent if mantissa >= that for the
55719         denominator, not >.
55720         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
55721         denominator, not >.  Decrement exponent in < case instead of
55722         incrementing in >= case.
55723         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
55724         without decrementing exponent if mantissa >= that for the
55725         denominator, not >.
55727         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
55728         computing saturated result for unsigned overflow.
55730 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55731             Jeff Law  <law@redhat.com>
55733         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
55734         (atan2Mp): Add systemtap probe marker.
55735         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
55736         (__ieee754_log): Add systemtap probe marker.
55737         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
55738         (atanMp): Add systemtap probe marker.
55739         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
55740         (tanMp): Add systemtap probe marker.
55741         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
55742         (__slowexp): Add systemtap probe marker.
55743         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
55744         (__slowpow): Add systemtap probe marker.
55745         * manual/probes.texi: Document probes.
55747 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
55749         [BZ #15362]
55750         * libio/fileops.c (_IO_new_file_write): Return count of bytes
55751         written.
55752         (_IO_new_file_xsputn): Don't return EOF if nothing has been
55753         written.
55754         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
55755         written to buffer but not flushed.
55756         * libio/iofwrite_u.c:  Likewise.
55757         * libio/iopadn.c:  Return bytes returned even if EOF was
55758         encountered.
55759         * libio/iowpadn.c:  Likewise.
55760         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
55761         if _IO_padn does not write the whole buffer.
55762         [!COMPILE_WPRINTF] (PAD): Likewise.
55764 2013-10-10  David S. Miller  <davem@davemloft.net>
55766         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
55767         directory block.
55769 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55771         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
55772         instead of FSF address.
55773         * soft-fp/fixdfti.c: Likewise.
55774         * soft-fp/fixsfti.c: Likewise.
55775         * soft-fp/fixtfti.c: Likewise.
55776         * soft-fp/fixunsdfti.c: Likewise.
55777         * soft-fp/fixunssfti.c: Likewise.
55778         * soft-fp/fixunstfti.c: Likewise.
55779         * soft-fp/floattidf.c: Likewise.
55780         * soft-fp/floattisf.c: Likewise.
55781         * soft-fp/floattitf.c: Likewise.
55782         * soft-fp/floatuntidf.c: Likewise.
55783         * soft-fp/floatuntisf.c: Likewise.
55784         * soft-fp/floatuntitf.c: Likewise.
55785         * soft-fp/trunctfxf2.c: Likewise.
55787         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
55788         * soft-fp/fixdfti.c: Likewise.
55789         * soft-fp/fixsfti.c: Likewise.
55790         * soft-fp/fixtfti.c: Likewise.
55791         * soft-fp/fixunsdfti.c: Likewise.
55792         * soft-fp/fixunssfti.c: Likewise.
55793         * soft-fp/fixunstfti.c: Likewise.
55794         * soft-fp/floattidf.c: Likewise.
55795         * soft-fp/floattisf.c: Likewise.
55796         * soft-fp/floattitf.c: Likewise.
55797         * soft-fp/floatuntidf.c: Likewise.
55798         * soft-fp/floatuntisf.c: Likewise.
55799         * soft-fp/floatuntitf.c: Likewise.
55800         * soft-fp/trunctfxf2.c: Likewise.
55802 2013-10-10  David S. Miller  <davem@davemloft.net>
55804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55806 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
55808         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55809         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
55810         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
55811         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
55812         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
55813         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
55814         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
55816         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
55817         for NaNs before doing comparisons on argument.
55818         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
55819         Likewise.
55821 2013-10-10  Will Newton  <will.newton@linaro.org>
55823         * malloc/hooks.c (memalign_check): Ensure the value of bytes
55824         passed to _int_memalign does not overflow.
55826 2013-10-10  Torvald Riegel  <triegel@redhat.com>
55828         * scripts/bench.pl: Add include-sources directive.
55829         * benchtests/README: Update documentation.
55831 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55833         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
55834         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
55835         instead of FP_INIT_ROUNDMODE.
55836         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
55837         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
55839         [BZ #16034]
55840         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
55841         copy class of input value.
55842         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
55843         not handle exceptions.
55844         * soft-fp/negsf2.c (__negsf2): Likewise.
55845         * soft-fp/negtf2.c (__negtf2): Likewise.
55846         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
55848 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
55850         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
55851         semicolon.  From Linux kernel.
55853 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
55855         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
55857 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
55859         [BZ #156]
55860         * manual/socket.texi: Added statement about buffer
55861         for gethostbyname2_r.
55863 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
55865         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
55866         Use .p2align directive instead, throughout.
55867         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55868         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
55869         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
55870         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55871         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55872         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
55873         * sysdeps/x86_64/strchr.S: Likewise.
55874         * sysdeps/x86_64/strrchr.S: Likewise.
55876 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55878         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
55880         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
55882         * sysdeps/generic/math_private.h (__mpsin1): Remove
55883         declaration.
55884         (__mpcos1): Likewise.
55885         (__mpsin): New argument __range_reduce.
55886         (__mpcos): Likewise.
55887         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55888         (slow): Use __mpsin and __mpcos.
55889         (slow1): Likewise.
55890         (slow2): Likewise.
55891         (sloww): Likewise.
55892         (sloww1): Likewise.
55893         (sloww2): Likewise.
55894         (bsloww): Likewise.
55895         (bsloww1): Likewise.
55896         (bsloww2): Likewise.
55897         (cslow2): Likewise.
55898         (csloww): Likewise.
55899         (csloww1): Likewise.
55900         (csloww2): Likewise.
55901         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
55902         range_reduce.  Merge in __mpsin1.
55903         (__mpcos): Likewise.
55904         (__mpsin1): Remove.
55905         (__mpcos1): Likewise.
55907 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
55909         * locale/loadlocale.c (_nl_intern_locale_data): Use
55910         LOCFILE_ALIGNED_P.
55911         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
55912         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
55913         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
55914         obstack data is appropriately aligned.
55915         (obstack_int32_grow_fast): Likewise.
55916         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
55917         * locale/programs/locfile.c (add_locale_uint32): Likewise.
55918         (add_locale_uint32_array): Likewise.
55920 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55922         * benchtests/Makefile: Remove ARGLIST and RET variables.
55923         ($(objpfx)bench-%.c): Pass only function name to the script.
55924         * benchtests/README: Update documentation.
55925         * benchtests/acos-inputs: Add new directives.
55926         * benchtests/acosh-inputs: Likewise.
55927         * benchtests/asin-inputs: Likewise.
55928         * benchtests/asinh-inputs: Likewise.
55929         * benchtests/atan-inputs: Likewise.
55930         * benchtests/atanh-inputs: Likewise.
55931         * benchtests/cos-inputs: Likewise.
55932         * benchtests/cosh-inputs: Likewise.
55933         * benchtests/exp-inputs: Likewise.
55934         * benchtests/log-inputs: Likewise.
55935         * benchtests/pow-inputs: Likewise.
55936         * benchtests/rint-inputs: Likewise.
55937         * benchtests/sin-inputs: Likewise.
55938         * benchtests/sinh-inputs: Likewise.
55939         * benchtests/tan-inputs: Likewise.
55940         * benchtests/tanh-inputs: Likewise.
55941         * scripts/bench.pl: Add support for new directives.
55943 2013-10-07  Alan Modra  <amodra@gmail.com>
55945         * README: Fix careless merge.
55947 2013-10-05  Alan Modra  <amodra@gmail.com>
55949         * NEWS: Mention powerpc64le support and bugs fixed.
55950         * README: Both big-endian and little-endian powerpc64 supported.
55952 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55954         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
55955         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
55956         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
55957         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
55959 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
55961         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
55962         match prototype.
55964 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
55966         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
55967         Move -mhard-float appending from
55968         ports/sysdeps/powerpc/powerpc32/Makefile.
55969         [$(with-fp) = yes] (ASFLAGS): Likewise.
55970         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
55971         * sysdeps/powerpc/nofpu: Move directory from
55972         ports/sysdeps/powerpc/nofpu.
55973         * sysdeps/powerpc/soft-fp: Move directory from
55974         ports/sysdeps/powerpc/soft-fp.
55975         * sysdeps/powerpc/powerpc32/405: Move directory from
55976         ports/sysdeps/powerpc/powerpc32/405.
55977         * sysdeps/powerpc/powerpc32/440: Move directory from
55978         ports/sysdeps/powerpc/powerpc32/440.
55979         * sysdeps/powerpc/powerpc32/464: Move directory from
55980         ports/sysdeps/powerpc/powerpc32/464.
55981         * sysdeps/powerpc/powerpc32/476: Move directory from
55982         ports/sysdeps/powerpc/powerpc32/476.
55983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
55984         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
55985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
55986         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
55987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
55988         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
55989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
55990         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
55991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
55992         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
55993         * README: Update for powerpc-*-linux-gnu software floating point
55994         support in libc.
55996         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
55997         case to powerpc/powerpc32*.
55998         * sysdeps/unix/sysv/linux/configure: Regenerated.
56000         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
56001         (_FPU_MASK_OM): Define as 0x04.
56002         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
56003         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
56004         0x00c10080.
56005         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
56006         0x0000003c.
56007         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
56009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
56010         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56011         getcontext_e500.
56012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
56013         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56014         setcontext_e500.
56015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
56016         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
56017         and setcontext_e500.
56019 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
56021         * locale/iso-3166.def: Update iso-1366.def and related occurrences
56023 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56025         * manual/threads.texi (Default Thread Attributes): Fix typo.
56027 2013-10-04  Will Newton  <will.newton@linaro.org>
56029         * malloc/Makefile: Add tst-memalign.
56030         * malloc/tst-memalign.c: New file.
56032         * malloc/tst-posix_memalign.c: Add comments.
56033         (do_test): Add comments and call free on all potentially
56034         allocated pointers. Add space after cast.
56036         * malloc/tst-pvalloc.c: Add comments.
56037         (do_test): Add comments and call free on all potentially
56038         allocated pointers. Remove duplicate check for NULL pointer.
56039         Add space after cast.
56041         * malloc/tst-valloc.c: Add comments.
56042         (do_test): Add comments and call free on all potentially
56043         allocated pointers. Remove duplicate check for NULL pointer.
56044         Add space after cast.
56046 2013-10-04  Alan Modra  <amodra@gmail.com>
56048         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56049         Use stdint types in rather than __attribute__((mode())).
56050         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56052 2013-10-04  Alan Modra  <amodra@gmail.com>
56054         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56055         Correct handling of unaligned relocs for little-endian.
56056         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56058 2013-10-04  Alan Modra  <amodra@gmail.com>
56060         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
56061         * configure: Regenerate.
56062         * nptl/shlib-versions: Powerpc*le starts at 2.18.
56063         * shlib-versions: Likewise.
56065 2013-10-04  Alan Modra  <amodra@gmail.com>
56067         * string/tester.c (test_memrchr): Increment reported test cycle.
56069 2013-10-04  Alan Modra  <amodra@gmail.com>
56071         * string/test-memcpy.c (do_one_test): When reporting errors, print
56072         string address and don't overrun end of string.
56074 2013-10-04  Alan Modra  <amodra@gmail.com>
56076         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
56077         insrdi.  Make better use of reg selection to speed exit slightly.
56078         Schedule entry path a little better.  Remove useless "are we done"
56079         checks on entry to main loop.  Handle wrapping around zero address.
56080         Correct main loop count.  Handle single left-over word from main
56081         loop inline rather than by using loop_small.  Remove extra word
56082         case in loop_small caused by wrong loop count.  Add little-endian
56083         support.
56084         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56085         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
56086         cache hint.
56087         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56088         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
56089         support.  Avoid rlwimi.
56090         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
56092 2013-10-04  Alan Modra  <amodra@gmail.com>
56094         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
56095         insrdi.  Formatting.
56096         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
56097         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56098         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
56099         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56100         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56101         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
56103 2013-10-04  Alan Modra  <amodra@gmail.com>
56105         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
56106         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56107         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
56108         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
56109         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56110         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56111         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56112         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56113         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
56114         use of regs.  Use power7 mtocrf.  Tidy function tails.
56116 2013-10-04  Alan Modra  <amodra@gmail.com>
56118         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
56119         Formatting.  Consistently use rXXX register defines or rN defines.
56120         Use early exit labels that avoid restoring unused non-volatile regs.
56121         Make cr field use more consistent with rWORDn compares.  Rename
56122         regs used as shift registers for unaligned loop, using rN defines
56123         for short lifetime/multiple use regs.
56124         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56125         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
56126         addi 1,1,64 to pop stack frame.  Simplify return value code.
56127         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56129 2013-10-04  Alan Modra  <amodra@gmail.com>
56131         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
56132         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
56133         rather than rlwimi.
56134         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
56135         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
56136         little-endian support.  Correct typos.
56137         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
56138         rather than rlwimi.
56139         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
56140         in loop and entry code to keep "and." results.
56141         (strchr): Add little-endian support.  Comment.  Move cntlzd
56142         earlier in tail.
56143         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
56145 2013-10-04  Alan Modra  <amodra@gmail.com>
56147         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
56148         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
56149         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
56150         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
56152 2013-10-04  Alan Modra  <amodra@gmail.com>
56154         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
56155         (rTMP): Define as r11.
56156         (strcmp): Add little-endian support.  Optimise tail.
56157         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
56158         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56159         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56160         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56161         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56162         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56163         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56165 2013-10-04  Alan Modra  <amodra@gmail.com>
56167         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
56168         little-endian support.  Remove unnecessary "are we done" tests.
56169         Handle "s" wrapping around zero and extremely large "size".
56170         Correct main loop count.  Handle single left-over word from main
56171         loop inline rather than by using small_loop.  Correct comments.
56172         Delete "zero" tail, use "end_max" instead.
56173         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
56175 2013-10-04  Alan Modra  <amodra@gmail.com>
56177         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
56178         support.  Don't branch over align.
56179         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
56180         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
56181         support.  Rearrange tmp reg use to suit.  Comment.
56182         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
56184 2013-10-04  Alan Modra  <amodra@gmail.com>
56186         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
56188 2013-10-04  Alan Modra  <amodra@gmail.com>
56190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
56191         conditional form of branch and link when obtaining pc.
56192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
56194 2013-10-04  Alan Modra  <amodra@gmail.com>
56196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
56197         HIWORD/LOWORD.
56198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
56199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
56201 2013-10-04  Alan Modra  <amodra@gmail.com>
56203         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
56204         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
56205         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
56206         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
56207         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56208         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56209         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
56210         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56211         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
56212         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
56214 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56215             Alistair Popple <alistair@ozlabs.au.ibm.com>
56216             Alan Modra <amodra@gmail.com>
56218         [BZ #15723]
56219         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
56220         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
56221         _dl_hwcap access for little-endian.
56222         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
56223         destroy vmx regs when saving unaligned.
56224         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
56225         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
56226         destroy vmx regs when saving unaligned.
56228 2013-10-04  Alan Modra  <amodra@gmail.com>
56230         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
56231         Don't use a union to pack hi/low value.
56233 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56235         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
56236         for little-endian.
56237         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56238         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
56239         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56240         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56241         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56243 2013-10-04  Alan Modra  <amodra@gmail.com>
56245         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
56246         constants to usual value for .cst8 section, and remove redundant
56247         high address load.
56248         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
56249         constant for 0x1p52.  Load little-endian words of double from
56250         correct stack offsets.
56252 2013-10-04  Alan Modra  <amodra@gmail.com>
56254         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
56255         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
56256         words of double from correct stack offsets.
56257         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
56258         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
56259         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56260         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56261         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56262         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56263         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56264         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
56265         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
56266         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56267         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56268         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56269         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56270         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56271         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56272         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
56273         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
56275 2013-10-04  Alan Modra  <amodra@gmail.com>
56277         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
56278         64-bit int/double union.
56279         (_FPU_SETCW): Likewise.
56280         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
56281         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
56283 2013-10-04  Alan Modra  <amodra@gmail.com>
56285         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
56286         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
56288 2013-10-04  Alan Modra  <amodra@gmail.com>
56290         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
56291         use vector int constants.
56292         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
56294 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56296         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
56297         array with long long.
56298         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
56299         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
56300         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
56301         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
56302         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
56303         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
56304         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
56305         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
56306         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
56307         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
56308         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
56309         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
56310         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
56312 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56314         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
56315         (__signbit): Likewise.  Correct for little-endian.
56316         (__signbitl): Call __signbit.
56317         (lrint): Correct for little-endian.
56318         (lrintf): Call lrint.
56320 2013-10-04  Alan Modra  <amodra@gmail.com>
56322         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
56323         union 32-bit int array member with 64-bit int array.
56324         (t515, tm256): Double rather than long double.
56325         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
56327 2013-10-04  Alan Modra  <amodra@gmail.com>
56329         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
56330         Delete.
56331         (IEEE854_LONG_DOUBLE_BIAS): Delete.
56332         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
56333         version of math_ldbl.h.
56335 2013-10-04  Alan Modra  <amodra@gmail.com>
56337         [BZ #15734], [BZ #15735]
56338         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
56339         all uses of ieee875 long double macros and unions.  Simplify test
56340         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
56341         ldbl_extract_mantissa value for ix,iy exponents.  Properly
56342         normalize after ldbl_extract_mantissa, and don't add hidden bit
56343         already handled.  Don't treat low word of ieee854 mantissa like
56344         low word of IBM long double and mask off bit when testing for
56345         zero.
56346         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
56347         all uses of ieee875 long double macros and unions.  Simplify tests
56348         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
56349         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
56350         two1022, instead use their values.  Recognise that tests for large
56351         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
56352         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
56353         Rewrite all uses of ieee875 long double macros and unions.  Simplify
56354         test for 0.0L and nan.  Correct negation.
56355         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
56356         ieee875 long double macros and unions.  Correct output for large
56357         magnitude x.  Correct absolute value calculation.
56358         (__erfcl): Likewise.
56359         * math/libm-test.inc: Add tests for errors discovered in IBM long
56360         double versions of fmodl, remainderl, erfl and erfcl.
56362 2013-10-04  Alan Modra  <amodra@gmail.com>
56364         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
56365         all uses of ieee854 long double macros and unions.  Simplify tests
56366         for long doubles that are fully specified by the high double.
56367         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
56368         Likewise.
56369         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
56370         Remove dead code too.
56371         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
56372         (__ieee754_ynl): Likewise.
56373         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
56374         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
56375         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
56376         Remove dead code too.
56377         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
56378         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
56379         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
56380         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
56381         Simplify.
56382         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
56383         Simplify.
56384         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
56385         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
56386         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
56387         Comment on variable precision.
56388         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
56389         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56390         Likewise.
56391         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
56392         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56393         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56394         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
56395         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
56397 2013-10-04  Alan Modra  <amodra@gmail.com>
56399         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
56400         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
56401         all uses of ieee854 long double macros and unions.
56402         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
56403         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56404         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
56405         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
56406         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
56407         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56408         Likewise.
56409         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
56410         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56411         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
56412         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
56413         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
56414         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
56415         Simplify sign and nan test too.
56416         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
56417         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
56418         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
56419         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
56420         Likewise.
56421         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56422         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
56423         Likewise.
56424         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56425         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
56426         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
56427         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
56428         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
56429         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
56431 2013-10-04  Alan Modra  <amodra@gmail.com>
56433         * stdio-common/printf_size.c (__printf_size): Don't use
56434         union ieee854_long_double in fpnum union.
56435         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
56436         signbit macro to retrieve sign from long double.
56437         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
56438         retrieve sign from long double.
56439         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
56440         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
56441         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
56442         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56443         * math/test-misc.c (main): Don't use union ieee854_long_double.
56445 2013-10-04  Alan Modra  <amodra@gmail.com>
56447         [BZ #15680]
56448         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
56449         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
56450         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
56451         calculation.  Remove unnecessary test for denormal exponent.
56452         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
56453         Correct handling of denormals.  Avoid undefined shift behaviour.
56454         Correct normalisation of low mantissa when low double is denormal.
56455         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
56456         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
56457         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
56458         Correct normalisation of low mantissa.  Test for overflow of high
56459         mantissa and normalise.
56460         (ldbl_nearbyint): Use more readable constant for two52.
56461         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
56462         (__mpn_construct_long_double): Fix test for overflow of high
56463         mantissa and correct normalisation.  Avoid undefined shift.
56465 2013-10-04  Alan Modra  <amodra@gmail.com>
56467         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56468         (union ibm_extended_long_double): Define as an array of ieee754_double.
56469         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
56470         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
56471         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
56472         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56473         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56474         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
56475         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56476         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56477         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56478         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
56479         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56481 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
56483         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
56484         page size instead of calling getpagesize.
56486         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
56487         (LOCFILE_ALIGN_MASK): Likewise.
56488         (LOCFILE_ALIGN_UP): Likewise.
56489         (LOCFILE_ALIGNED_P): Likewise.
56490         * locale/programs/ld-collate.c (collate_output): Use the new
56491         macros instead of __alignof__ (int32_t).
56492         * locale/weight.h (findidx): Likewise.
56494 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
56496         [BZ #431]
56497         * manual/string.texi: Fix strncat and wcsncat.
56499 2013-10-03  Brooks Moses  <bmoses@google.com>
56501         [BZ #15915]
56502         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
56503         * Makerules: ...here, and adjust associated comments.
56505 2013-10-02  Will Newton  <will.newton@linaro.org>
56507         * malloc/Makefile: Add tst-pvalloc.
56508         * malloc/tst-pvalloc.c: New file.
56510 2013-10-02  Will Newton  <will.newton@linaro.org>
56512         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
56513         improve test coverage.
56515 2013-10-02  Will Newton  <will.newton@linaro.org>
56517         * malloc/Makefile: Add tst-posix_memalign.
56518         * malloc/tst-posix_memalign.c: New file.
56520 2013-10-01  Eric Blake  <eblake@redhat.com>
56522         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
56523         Use __THROWNL rather than __THROW on static functions.
56525 2013-09-30  Petr Machata  <pmachata@redhat.com>
56527         * elf/elf.h (R_AARCH64_ABS16): New macro.
56528         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
56529         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
56530         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
56531         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
56532         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
56533         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
56534         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
56535         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
56536         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
56537         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
56538         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
56539         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
56540         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
56541         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
56542         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
56543         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
56544         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
56545         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
56546         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
56547         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
56548         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
56549         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
56550         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
56551         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
56552         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
56553         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
56554         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
56555         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
56556         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
56557         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
56558         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
56559         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
56560         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
56561         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
56562         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
56563         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
56564         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
56565         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
56566         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
56567         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
56568         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
56569         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
56570         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
56571         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
56572         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
56573         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
56574         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
56575         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
56576         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
56577         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
56578         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
56579         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
56580         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
56581         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
56582         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
56583         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
56584         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
56585         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
56586         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
56587         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
56588         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
56589         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
56590         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
56591         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
56592         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
56593         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
56594         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
56595         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
56596         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
56597         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
56598         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
56599         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
56600         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
56601         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
56602         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
56603         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
56604         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
56605         (R_AARCH64_TLSDESC_LDR): Likewise.
56606         (R_AARCH64_TLSDESC_ADD): Likewise.
56607         (R_AARCH64_TLSDESC_CALL): Likewise.
56609 2013-09-30  Andreas Schwab  <schwab@suse.de>
56611         [BZ #15048]
56612         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
56613         the nss database lookup.
56614         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56617 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
56619         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
56621 2013-09-28  P. J. McDermott  <pj@pehjota.net>
56623         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
56624         ${Bash-specific parameter/pattern/string} parameter expansion.
56625         * sysdeps/unix/make-syscalls.sh: Likewise.
56627 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56629         * sysdeps/sh/stackguard-macros.h: New file.
56631 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
56633         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
56634         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
56635         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
56636         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
56637         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56638         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
56640 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56642         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
56643         Fix thread ID register.
56645 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
56647         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
56648         [POSIX || UNIX98]: Require rather than permitting all symbols from
56649         <time.h>.
56650         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
56651         element of struct sched_param.
56652         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
56653         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
56654         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
56655         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
56656         constant.
56658 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
56660         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
56661         argument calculation.
56663 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
56665         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
56666         Expect macro.
56667         [POSIX] (pthread_attr_t): Do not require type.
56668         [POSIX] (pthread_cond_t): Likewise.
56669         [POSIX] (pthread_condattr_t): Likewise.
56670         [POSIX] (pthread_key_t): Likewise.
56671         [POSIX] (pthread_mutex_t): Likewise.
56672         [POSIX] (pthread_mutexattr_t): Likewise.
56673         [POSIX] (pthread_once_t): Likewise.
56674         [POSIX] (pthread_t): Likewise.
56675         [POSIX-based standards] (pthread_atfork): Expect function.
56677 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
56678             Richard Sandiford  <richard@codesourcery.com>
56680         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
56681         (swap_endianness_p): New extern variable.
56682         (set_big_endian): New inline function.
56683         (maybe_swap_uint32): Likewise.
56684         (maybe_swap_uint32_array): Likewise.
56685         (maybe_swap_uint32_obstack): Likewise.
56686         * locale/programs/locfile.c: Include <stdbool.h>.
56687         (swap_endianness_p): New variable.
56688         (add_locale_uint32): Call maybe_swap_uint32.
56689         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
56690         (write_locale_data): Call maybe_swap_uint32_array.
56691         * locale/programs/ld-collate.c (obstack_int32_grow): Call
56692         maybe_swap_uint32.
56693         (obstack_int32_grow_fast): Likewise.
56694         (output_weightwc): Call maybe_swap_uint32_obstack.
56695         (collate_output): Likewise.
56696         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
56697         (OPT_LITTLE_ENDIAN): Likewise.
56698         (options): Add --little-endian and --big-endian options.
56699         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
56700         * locale/programs/locarchive.c: Include "locfile.h".
56701         (GET): New macro.
56702         (SET): Likewise.
56703         (INC): Likewise.
56704         (create_archive): Use the new macros to access fields of
56705         structures directly mapped from or written to locale archives.
56706         (oldlocrecentcmp): Likewise.
56707         (enlarge_archive): Likewise.
56708         (insert_name): Likewise.
56709         (add_alias): Likewise.
56710         (add_locale): Likewise.
56711         (delete_locales_from_archive): Likewise.
56712         (show_archive_content): Likewise.
56713         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
56714         locale data.
56716 2013-09-24  Roland McGrath  <roland@hack.frob.com>
56718         * manual/freemanuals.texi: Updated from (newly) canonical copy at
56719         http://www.gnu.org/doc/freemanuals.texi.
56720         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
56722 2013-09-24  Will Newton  <will.newton@linaro.org>
56724         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
56725         macro.
56727 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
56729         * locale/hashval.h (compute_hashval): Interpret bytes of key as
56730         unsigned char.
56732 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
56734         * manual/threads.texi (POSIX Threads): Fix a typo.
56736 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
56738         [BZ #14547]
56739         * string/tst-strcoll-overflow.c: New test case.
56740         * string/Makefile (xtests): Add tst-strcoll-overflow.
56741         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
56742         cache if string sizes may cause integer overflow.
56744         [BZ #14547]
56745         * string/strcoll_l.c (coll_seq): New members rule, idx,
56746         save_idx and back_us.
56747         (get_next_seq_nocache): New function.
56748         (do_compare_nocache): New function.
56749         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
56750         when malloc fails.
56752 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
56754         [BZ #15754]
56755         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
56756         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
56757         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
56759         [BZ #15754]
56760         * elf/Makefile (tests): Add tst-ptrguard1.
56761         (tests-static): Add tst-ptrguard1-static.
56762         (tst-ptrguard1-ARGS): Define.
56763         (tst-ptrguard1-static-ARGS): Define.
56764         * elf/tst-ptrguard1.c: New file.
56765         * elf/tst-ptrguard1-static.c: New file.
56766         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
56767         * sysdeps/i386/stackguard-macros.h: Likewise.
56768         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56769         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56770         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56771         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56772         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56773         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56775 2013-09-23  Hector Marco  <hecmargi@upv.es>
56776             Ismael Ripoll  <iripoll@disca.upv.es>
56777             Carlos O'Donell  <carlos@redhat.com>
56779         [BZ #15754]
56780         * sysdeps/generic/stackguard-macros.h: Define
56781         __pointer_chk_guard_local and POINTER_CHK_GUARD.
56782         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
56783         Define __pointer_chk_guard_local.
56784         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
56785         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
56787 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
56789         [BZ #15859]
56790         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
56792 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
56794         * include/string.h (__ffs): Declare as hidden.
56795         * string/ffs.c (__ffs): Define as hidden.
56796         * sysdeps/i386/ffs.c (__ffs): Likewise.
56797         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
56798         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
56799         * sysdeps/s390/ffs.c (__ffs): Likewise.
56800         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
56802 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
56804         * NEWS: Mention malloc probes.
56806         * malloc/arena.c (new_heap): New memory_heap_new probe.
56807         (grow_heap): New memory_heap_more probe.
56808         (shrink_heap): New memory_heap_less probe.
56809         (heap_trim): New memory_heap_free probe.
56810         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
56811         (systrim): New memory_sbrk_less probe.
56812         * manual/probes.texi: Document them.
56814         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
56815         * manual/probes.texi: Document it.
56817         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
56818         (__libc_realloc): Add memory_realloc_retry probe.
56819         (__libc_memalign): Add memory_memalign_retry probe.
56820         (__libc_valloc): Add memory_valloc_retry probe.
56821         (__libc_pvalloc): Add memory_pvalloc_retry probe.
56822         (__libc_calloc): Add memory_calloc_retry probe.
56823         * manual/probes.texi: Document them.
56825         * malloc/arena.c (get_free_list): Add probe
56826         memory_arena_reuse_free_list.
56827         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
56828         and memory_arena_reuse.
56829         (arena_get2) [!PER_THREAD]: Likewise.
56830         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
56831         memory_arena_reuse_realloc.
56832         * manual/probes.texi: Document them.
56834         * malloc/malloc.c (__libc_free): Add
56835         memory_mallopt_free_dyn_thresholds probe.
56836         (__libc_mallopt): Add multiple memory_mallopt probes.
56837         * manual/probes.texi: Document them.
56839         * malloc/malloc.c: Include stap-probe.h.
56840         (__libc_mallopt): Add memory_mallopt probe.
56841         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
56842         * manual/probes.texi: New.
56843         * manual/Makefile (chapters): Add probes.
56844         * manual/threads.texi: Set next node.
56846 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
56848         [BZ #15963, #13985]
56849         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
56850         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
56851         Add `Chinese' to `nan' entry name.
56853 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56855         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
56856         (POLYNOMIAL): Likewise.
56857         (TAYLOR_SINCOS): Likewise.
56858         (TAYLOR_SLOW): Likewise.
56859         (__sin): Use TAYLOR_SINCOS.
56860         (__cos): Likewise.
56861         (slow): Use TAYLOR_SLOW.
56862         (sloww): Likewise.
56863         (bsloww): Likewise.
56864         (csloww): Likewise.
56866 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56868         * stdlib/strtod_l.c: Fix buffer overrun.
56870 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56872         * benchtests/Makefile (bench): Add sincos.
56873         * benchtests/bench-sincos.c: New file.
56875         * math/libm-test.inc (cos_test_data): New test inputs.
56876         (sin_test_data): Likewise.
56878         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
56879         macro.
56880         (__sin): Use it.
56881         (__cos): Likewise.
56882         (slow1): Likewise.
56883         (slow2): Likewise.
56884         (sloww1): Likewise.
56885         (sloww2): Likewise.
56886         (bsloww1): Likewise.
56887         (bsloww2): Likewise.
56888         (cslow2): Likewise.
56889         (csloww1): Likewise.
56890         (csloww2): Likewise.
56892         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
56893         function.
56894         (__sin): Use it.
56895         (__cos): Likewise.
56897         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
56898         gotos.
56899         (__cos): Likewise.
56901 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
56903         * config.h.in (HAVE_MIPS_NAN2008): New macro.
56904         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
56905         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
56906         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
56907         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
56908         * elf/cache.c (print_entry): Handle the new cache flags.
56910 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56911             Aldy Hernandez  <aldyh@redhat.com>
56913         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
56914         Change condition to [_SOFT_FLOAT].
56915         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
56916         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
56917         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
56918         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
56919         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
56920         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
56921         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
56922         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
56923         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
56924         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
56925         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
56926         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
56927         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
56928         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
56929         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
56930         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
56931         declaration.
56933 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56935         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
56936         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56937         (__longjmp): Use LOAD_GP to load saved GPRs.
56938         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
56939         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56940         (__sigsetjmp): Use SAVE_GP to save GPRs.
56942         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
56943         Do not append -msoft-float.
56944         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
56946 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56948         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
56950 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
56952         [BZ #15966]
56953         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
56954         (_FPU_GETCW): Use initial "__" on variable and field names but not
56955         on macro parameter name.
56956         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
56957         parentheses around reference to macro parameter.
56959 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
56961         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
56962         prototype.
56963         (ctype_startup): Use uint32_t in cast and sizeof for
56964         ctype->charnames.
56966 2013-09-11  Jia Liu  <proljc@gmail.com>
56968         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
56969         __daddr_t_defined.
56970         [__FreeBSD__]: Likewise.
56972 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
56974         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
56975         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
56976         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
56977         (strchr): Remove __strchr_sse42 ifunc selection.
56978         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
56979         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
56981 2013-09-11  Will Newton  <will.newton@linaro.org>
56983         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
56984         parameter to RES. Remove hardcoded 1000 value.
56985         * benchtests/bench-skeleton.c (main): Pass RES parameter
56986         to TIMING_INIT and multiply result by 1000.
56988 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56992 2013-09-11  Andreas Schwab  <schwab@suse.de>
56994         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
56995         if not defined.
56996         (O_TMPFILE) [__USE_GNU]: Define.
56997         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
56998         Define.
57000 2013-09-11  Will Newton  <will.newton@linaro.org>
57002         [BZ #15857]
57003         * malloc/malloc.c (__libc_memalign): Check the value of bytes
57004         does not overflow.
57006 2013-09-11  Will Newton  <will.newton@linaro.org>
57008         [BZ #15856]
57009         * malloc/malloc.c (__libc_valloc): Check the value of bytes
57010         does not overflow.
57012 2013-09-11  Will Newton  <will.newton@linaro.org>
57014         [BZ #15855]
57015         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
57016         does not overflow.
57018 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
57020         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
57021         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57022         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57023         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57024         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57026 2013-09-10  Allan McRae  <allan@archlinux.org>
57028         [BZ #15748]
57029         * manual/arith.texi (Parsing of Floats): Clarify
57030         cross-reference.
57032         [BZ #15849]
57033         * manual/install.texi (Running make install): Mention
57034         --enable-pt-chown.
57035         * INSTALL: Regenerated.
57037 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
57039         * csu/init-first.c (_init): Remove the !SHARED condition around
57040         FPU control word initialization.
57041         * elf/dl-support.c (_dl_fpu_control): New variable.
57042         (_dl_aux_init) <AT_FPUCW>: Initialize it.
57043         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
57044         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
57045         * math/test-fpucw-static.c: New file.
57046         * math/test-fpucw-ieee.c: New file.
57047         * math/test-fpucw-ieee-static.c: New file.
57048         * math/Makefile (tests): Add `test-fpucw-ieee' and
57049         `$(tests-static)'.
57050         (tests-static): New variable.
57051         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
57052         dependency to...
57053         [($(build-shared),yes)]
57054         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
57055         ... this.
57056         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
57057         New dependency.
57059 2013-09-09  Allan McRae  <allan@archlinux.org>
57061         [BZ #15939]
57062         * manual/string.texi (Collation Functions): Fix typo in
57063         strcoll example.
57064         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
57066         [BZ #15893]
57067         * stdlib/isomac.c (get_null_defines): Fix memory leak.
57069         [BZ #15892]
57070         * libio/memstream.c (open_memstream): Fix memory leak.
57071         * libio/wmemstream.c (open_wmemstream): Likewise.
57073         [BZ #15895]
57074         * nscd/netgroupcache.c: Fix nesting of ifdefs.
57076 2013-09-09  Will Newton  <will.newton@linaro.org>
57078         * malloc/Makefile: Add tst-realloc to tests.
57079         * malloc/tst-realloc.c: New file.
57081 2013-09-09  Allan McRae  <allan@archlinux.org>
57083         [BZ #15844]
57084         * COPYING: Update from GNU website to fix FSF address.
57085         * COPYING.LIB: Likewise.
57087 2013-09-06  David S. Miller  <davem@davemloft.net>
57089         * po/zh_TW.po: Update Chinese (traditional) translation from
57090         translation project.
57092 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
57093             Joseph Myers  <joseph@codesourcery.com>
57095         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
57096         "localeinfo.h".
57097         (obstack_chunk_alloc): New macro.
57098         (obstack_chunk_free): Likewise.
57099         (record_offset): New function.
57100         (init_locale_data): Likewise.
57101         (align_locale_data): Likewise.
57102         (add_locale_empty): Likewise.
57103         (add_locale_raw_data): Likewise.
57104         (add_locale_raw_obstack): Likewise.
57105         (add_locale_string): Likewise.
57106         (add_locale_wstring): Likewise.
57107         (add_locale_uint32): Likewise.
57108         (add_locale_uint32_array): Likewise.
57109         (add_locale_char): Likewise.
57110         (start_locale_structure): Likewise.
57111         (end_locale_structure): Likewise.
57112         (start_locale_prelude): Likewise.
57113         (end_locale_prelude): Likewise.
57114         (write_locale_data): Take locale_file structure rather than an
57115         iovec.
57116         * locale/programs/locfile.h: Include "obstack.h".
57117         (struct locale_file): Change to store locale file contents instead
57118         of header.
57119         (init_locale_data): New prototype.
57120         (align_locale_data): Likewise.
57121         (add_locale_empty): Likewise.
57122         (add_locale_raw_data): Likewise.
57123         (add_locale_raw_obstack): Likewise.
57124         (add_locale_string): Likewise.
57125         (add_locale_wstring): Likewise.
57126         (add_locale_uint32): Likewise.
57127         (add_locale_uint32_array): Likewise.
57128         (add_locale_char): Likewise.
57129         (start_locale_structure): Likewise.
57130         (end_locale_structure): Likewise.
57131         (start_locale_prelude): Likewise.
57132         (end_locale_prelude): Likewise.
57133         (write_locale_data): Update prototype.
57134         * locale/programs/3level.h (struct TABLE): Remove result field.
57135         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
57136         Use new locale_file interface.
57137         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
57138         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
57139         * locale/programs/ld-address.c (address_output): Use new
57140         locale_file interface.
57141         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
57142         NO_ADD_LOCALE.
57143         (collate_finish): Don't call collseq_table_finalize.
57144         (collate_output): Use new locale_file interface.
57145         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
57146         in file.
57147         (NO_FINALIZE): Change to NO_ADD_LOCALE.
57148         (TABLE): Move defines earlier in file.
57149         (ELEMENT): Likewise.
57150         (DEFAULT): Likewise.
57151         (wctrans_table_add): Move macro and inline function earlier in
57152         file.
57153         (struct wctype_table): Move type earlier in file.
57154         (add_locale_wctype_table): New static prototype.
57155         (struct locale_ctype_t): Use logical types instead of struct iovec
57156         pointers for members.
57157         (ctype_output): Use new locale_file interface.
57158         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
57159         new locale_file interface.
57160         (allocate_arrays): Update for use of new locale_file interface.
57161         * locale/programs/ld-identification.c (identification_output): Use
57162         new locale_file interface.
57163         * locale/programs/ld-measurement.c (measurement_output): Likewise.
57164         * locale/programs/ld-messages.c (messages_output): Likewise.
57165         * locale/programs/ld-monetary.c (monetary_output): Likewise.
57166         * locale/programs/ld-name.c (name_output): Likewise.
57167         * locale/programs/ld-numeric.c (numeric_output): Likewise.
57168         * locale/programs/ld-paper.c (paper_output): Likewise.
57169         * locale/programs/ld-telephone.c (telephone_output): Likewise.
57170         * locale/programs/ld-time.c (time_output): Likewise.
57172 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57174         * benchtests/Makefile: Add memrchr benchmark.
57175         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
57176         benchmark as memrchr.
57177         * benchtests/bench-memrchr-ifunc.c: New file.
57178         * benchtests/bench-memrchr.c: New file.
57180 2013-09-06   Will Newton  <will.newton@linaro.org>
57182         * benchtests/Makefile (string-bench): Add memcpy.
57184 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
57185             Cong Wang  <amwang@redhat.com>
57187         [BZ #15850]
57188         * sysdeps/unix/sysv/linux/bits/in.h
57189         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
57190         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
57191         before __USE_KERNEL_IPV6_DEFS uses.
57192         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
57193         IPPROTO_BEETPH.
57194         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
57195         sockaddr_in6, or ipv6_mreq.
57197 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57199         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
57200         memory access for final bytes in some large inputs.
57201         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
57203 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57205         * string/test-memrchr.c: New file.
57206         * string/test-memrchr-ifunc.c: New file.
57207         * string/Makefile: Add new memrchr testcase.
57209 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
57211         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
57212         fanotify_init returns EPERM.
57214 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57216         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
57217         errors.
57218         (top level): Treat second token from macro or constant entries for
57219         allowed headers as allowed.
57220         * include/complex.h: Condition internal declarations on
57221         [!_ISOMAC].
57222         * include/fenv.h: Condition include of <stdbool.h> and internal
57223         declarations on [!_ISOMAC].
57225 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
57227         [BZ #15923]
57228         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
57230 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57232         * configure.in (--enable-versioning): Remove configure option.
57233         (libc_cv_asm_symver_directive): Remove configure test.
57234         (libc_cv_ld_version_script_option): Likewise.
57235         (VERSIONING): Remove variable and AC_SUBST.
57236         (DO_VERSIONING): Remove AC_DEFINE.
57237         * configure: Regenerated.
57238         * config.h.in (DO_VERSIONING): Remove macro.
57239         * Makerules [$(versioning) = yes]: Change conditionals to
57240         [$(build-shared) = yes].
57241         * config.make.in (versioning): Remove variable.
57242         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
57243         [$(build-shared) = yes].
57244         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
57245         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
57246         * elf/Makefile [$(versioning) = yes]: Change conditionals to
57247         [$(build-shared) = yes].
57248         * extra-lib.mk [$(versioning) = yes]: Likewise.
57249         * hurd/Makefile [$(versioning) = yes]: Likewise.
57250         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
57251         [SHARED].
57252         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
57253         [SHARED].
57254         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57255         [SHARED && !NO_HIDDEN].
57256         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
57257         [SHARED].
57258         [SHARED && DO_VERSIONING]: Likewise..
57259         * libio/Makefile [$(versioning) = yes]: Change conditionals to
57260         [$(build-shared) = yes].
57261         * manual/install.texi (--disable-versioning): Remove
57262         documentation.
57263         * INSTALL: Regenerated.
57264         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
57265         to [SHARED].
57266         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
57267         [$(build-shared) = yes].
57268         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
57269         * sysdeps/i386/i686/multiarch/strstr-c.c
57270         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57271         [SHARED && !NO_HIDDEN].
57272         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
57273         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
57274         * sysdeps/powerpc/powerpc32/dl-machine.c
57275         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
57276         * sysdeps/powerpc/powerpc32/sysdep.h
57277         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
57278         to [SHARED && PIC && !NO_HIDDEN].
57279         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
57280         conditional to [SHARED].
57282 2013-09-04   Will Newton  <will.newton@linaro.org>
57284         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
57285         * benchtests/bench-string.h: Include bench-timing.h instead
57286         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
57287         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
57288         call to HP_TIMING_DIFF_INIT.
57289         * benchtests/bench-memccpy.c: Use bench-timing.h macros
57290         instead of hp-timing.h macros.
57291         * benchtests/bench-memchr.c: Likewise.
57292         * benchtests/bench-memcmp.c: Likewise.
57293         * benchtests/bench-memcpy.c: Likewise.
57294         * benchtests/bench-memmem.c: Likewise.
57295         * benchtests/bench-memmove.c: Likewise.
57296         * benchtests/bench-memset.c: Likewise.
57297         * benchtests/bench-rawmemchr.c: Likewise.
57298         * benchtests/bench-strcasecmp.c: Likewise.
57299         * benchtests/bench-strcasestr.c: Likewise.
57300         * benchtests/bench-strcat.c: Likewise.
57301         * benchtests/bench-strchr.c: Likewise.
57302         * benchtests/bench-strcmp.c: Likewise.
57303         * benchtests/bench-strcpy.c: Likewise.
57304         * benchtests/bench-strcpy_chk.c: Likewise.
57305         * benchtests/bench-strlen.c: Likewise.
57306         * benchtests/bench-strncasecmp.c: Likewise.
57307         * benchtests/bench-strncat.c: Likewise.
57308         * benchtests/bench-strncmp.c: Likewise.
57309         * benchtests/bench-strncpy.c: Likewise.
57310         * benchtests/bench-strnlen.c: Likewise.
57311         * benchtests/bench-strpbrk.c: Likewise.
57312         * benchtests/bench-strrchr.c: Likewise.
57313         * benchtests/bench-strspn.c: Likewise.
57314         * benchtests/bench-strstr.c: Likewise.
57316 2013-09-04  Will Newton  <will.newton@linaro.org>
57318         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
57320 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
57322         [BZ #15427]
57323         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
57324         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
57325         * math/libm-test.inc (lgamma_test_data): Add more tests.
57326         * sysdeps/i386/fpu/libm-test-ulps: Update.
57327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57329 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
57331         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
57332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57333         Add ifunc.
57334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57335         Add strcmp-sse2-unaligned
57336         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
57338 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57340         * Versions.def (libc): Add GLIBC_2.19.
57342 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57344         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
57345         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
57347 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
57349         [BZ #14155]
57350         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
57351         intermediate calculations in recurrence.
57352         (__ieee754_ynf): Likewise.
57353         * math/libm-test.inc (jn_test_data): Do not allow spurious
57354         underflow exception.  Add more tests.
57355         (yn_test_data): Add more tests.
57356         * sysdeps/i386/fpu/libm-test-ulps: Update.
57357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57359 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
57361         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
57363 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57365         * csu/init-first.c: Fix then/than typos.
57366         * locale/programs/ld-collate.c: Likewise.
57367         * locale/programs/linereader.h: Likewise.
57368         * manual/charset.texi: Likewise.
57369         * manual/filesys.texi: Likewise.
57370         * manual/stdio.texi: Likewise.
57371         * manual/string.texi: Likewise.
57372         * stdlib/fmtmsg.c: Likewise.
57373         * sysdeps/i386/stpncpy.S: Likewise.
57374         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57375         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57376         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57377         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57379 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57381         * elf/dl-open.c: Fix typos.
57382         * iconvdata/gbbig5.c: Likewise.
57383         * iconvdata/iso-2022-jp.c: Likewise.
57384         * iconv/gconv_int.h: Likewise.
57385         * iconv/loop.c: Likewise.
57386         * nis/rpcsvc/nis.h: Likewise.
57387         * resolv/ns_name.c: Likewise.
57388         * stdio-common/vfscanf.c: Likewise.
57389         * streams/stropts.h: Likewise.
57390         * sunrpc/rpc_thread.c: Likewise.
57391         * sysdeps/i386/strpbrk.S: Likewise.
57392         * sysdeps/ieee754/k_standard.c: Likewise.
57393         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57394         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57395         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
57396         * sysdeps/mach/hurd/profil.c: Likewise.
57397         * sysdeps/s390/dl-procinfo.h: Likewise.
57398         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
57399         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
57400         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
57401         * sysdeps/x86_64/dl-trampoline.S: Likewise.
57402         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57404 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
57406         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
57407         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
57409 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
57411         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
57412         aix specific files.
57413         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
57414         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
57415         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
57416         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
57417         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
57418         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
57419         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
57420         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
57422 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57423             Roland McGrath  <roland@hack.frob.com>
57425         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
57426         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
57428 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57430         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
57431         __executable_start symbol instead of _start.
57433 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57435         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
57436         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
57437         Move macros to...
57438         * sysdeps/gnu/ldsodefs.h: ... this new file.
57440         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
57441         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
57442         instead of ELFOSABI_LINUX.
57444         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
57445         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
57446         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
57447         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
57448         Likewise.
57449         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
57450         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
57451         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
57452         Likewise.
57453         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57454         (ibm_extended_long_double): Add ieee_nan member.
57455         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
57456         (do_test): New function.
57458         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
57459         TEST_TRUNC.
57460         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
57461         functions, renamed from truncdfsf_test, trunctfsf_test,
57462         trunctfdf_test.
57463         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
57464         functions.
57465         (do_test): Run all these.
57467 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
57469         * argp/argp-help.c: Fix typos.
57470         * argp/argp-parse.c: Likewise.
57471         * debug/backtracesyms.c: Likewise.
57472         * elf/elf.h: Likewise.
57473         * malloc/malloc.c: Likewise.
57474         * nis/nis_print.c: Likewise.
57475         * resolv/res_comp.c: Likewise.
57476         * stdlib/stdlib.h: Likewise.
57477         * sunrpc/clnt_tcp.c: Likewise.
57478         * sunrpc/clnt_udp.c: Likewise.
57479         * sunrpc/clnt_unix.c: Likewise.
57480         * sysdeps/unix/bsd/ptsname.c: Likewise.
57481         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
57482         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
57483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
57484         Likewise.
57485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
57486         Likewise.
57487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
57488         Likewise.
57489         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
57491 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57493         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
57494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57496 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
57498         [BZ #15897]
57499         * dlfcn/Makefile (tests): Add bug-dl-leaf.
57500         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
57501         ($(objpfx)bug-dl-leaf): New rule.
57502         ($(objpfx)bug-dl-leaf.so): Likewise.
57503         ($(objpfx)bug-dl-leaf.out): Likewise.
57504         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
57505         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
57506         * dlfcn/bug-dl-leaf.c: New test.
57507         * dlfcn/bug-dl-leaf-lib.c: Likewise.
57508         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
57509         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
57510         (dlclose): Likewise.
57511         (dlmopen): Likewise.
57513 2013-08-27  Roland McGrath  <roland@hack.frob.com>
57515         * include/netdb.h [!_ISOMAC]:
57516         Don't include <tls.h>.
57517         (h_errno, __libc_h_errno): Move declaration and macros out of
57518         [_LIBC_REENTRANT].
57520         * include/resolv.h [_RESOLV_H_]:
57521         Don't include <tls.h>.
57522         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
57523         * resolv/res_libc.c: Don't include <tls.h>.
57524         (_res): Use __attribute__ ((nocommon)) in place of
57525         __attribute__ ((section (".bss"))).
57527         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
57528         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
57530         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
57532         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
57533         only under [SIOCGIFCONF && SIOCGIFNETMASK].
57535         * resolv/res_mkquery.c: Include <sys/time.h>.
57537         * inet/ifreq.c: Moved to ...
57538         * sysdeps/unix/ifreq.c: ... here.
57539         * inet/ifreq.c: New file, true stub version.
57541         * socket/sa_len.c: New file.
57542         * socket/Makefile (aux): Add it.
57543         * sysdeps/unix/sysv/linux/Makefile
57544         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
57545         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
57546         and #include <socket/sa_len.c>.
57547         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
57548         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
57550         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
57551         * bits/socket.h: ... here.
57553         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
57554         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
57555         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
57557 2013-08-27  Andreas Schwab  <schwab@suse.de>
57559         [BZ #15736]
57560         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
57561         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
57562         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
57563         * string/test-strcasecmp.c (test_main): Run tests in several
57564         locales.
57565         * string/test-strncasecmp.c (test_main): Likewise.
57567         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
57568         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
57569         to __strcasecmp_nonascii and __strncasecmp_nonascii.
57570         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
57571         (__strncasecmp_ssse3) [PIC]: Likewise.
57573 2013-08-26  Roland McGrath  <roland@hack.frob.com>
57575         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
57577         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
57578         instead of explicitly declaring xdecrypt.
57579         * nis/nss_nis/nis-publickey.c: Likewise.
57581 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57583         [BZ #15890]
57584         * nscd/aicache.c: Include res_hconf.h.
57585         (addhstaiX): Initialize res_hconf.
57587 2013-08-26  Andreas Schwab  <schwab@suse.de>
57589         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
57590         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
57592 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57594         * nscd/aicache.c (addhstaiX): Fix indentation.
57596 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
57598         * configure.ac: Quote $build_pt_chown test.
57599         * configure: Regenerated.
57601 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
57603         [BZ #15532]
57604         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
57605         * math/s_cexpf.c (__cexpf): Likewise.
57606         * math/s_cexpl.c (__cexpl): Likewise.
57607         * math/libm-test.inc (cexp_test_data): Correct expected return
57608         value for NaN + i0.  Add another test.
57610 2013-08-22  David S. Miller  <davem@davemloft.net>
57612         * po/ca.po: Update Catalan translation from translation project.
57613         * po/uk.po: Add Ukrainian translations from translation project.
57615 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
57617         [BZ #15797]
57618         * math/s_fdim.c (__fdim): Check for infinite arguments if result
57619         is infinite, not alongside NaN test.
57620         * math/s_fdimf.c (__fdimf): Likewise.
57621         * math/s_fdiml.c (__fdiml): Likewise.
57622         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
57623         errno is unchanged.
57625 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
57627         * argp/argp-help.c: Fix typos.
57628         * crypt/speeds.c: Likewise.
57629         * csu/check_fds.c: Likewise.
57630         * elf/dl-load.c: Likewise.
57631         * elf/dl-open.c: Likewise.
57632         * elf/reldep3.c: Likewise.
57633         * elf/reldep.c: Likewise.
57634         * elf/sprof.c: Likewise.
57635         * iconv/iconv_charmap.c: Likewise.
57636         * iconv/skeleton.c: Likewise.
57637         * iconv/strtab.c: Likewise.
57638         * io/lockf64.c: Likewise.
57639         * libio/libioP.h: Likewise.
57640         * resolv/gai_notify.c: Likewise.
57641         * resolv/ns_name.c: Likewise.
57642         * resolv/ns_samedomain.c: Likewise.
57643         * resolv/res_send.c: Likewise.
57644         * stdlib/random.c: Likewise.
57645         * sunrpc/rpc/xdr.h: Likewise.
57646         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
57647         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57648         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57649         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57650         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57651         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57652         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57653         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57654         * sysdeps/mach/hurd/check_fds.c: Likewise.
57655         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57656         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
57657         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57658         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57659         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57660         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57661         * sysdeps/pthread/aio_notify.c: Likewise.
57662         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
57663         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
57664         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
57665         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57666         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
57668 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57670         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
57671         version if bit_Slow_SSE4_2 is set.
57672         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57673         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57675 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57677         [BZ #15867]
57678         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
57679         trampoline stack frame information.
57680         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
57681         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
57682         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
57683         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
57684         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
57685         * sysdeps/unix/sysv/linux/powerpc/init-first.c
57686         (_libc_vdso_platform_setup): Initialize the signal trampolines.
57687         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
57688         sa_flags value.
57689         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
57690         interrupting a syscall and set with option SA_SIGINFO.
57692 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
57694         [BZ #15531]
57695         * math/s_cproj.c (__cproj): Only return an infinity if one part of
57696         argument is infinite.
57697         * math/s_cprojf.c (__cprojf): Likewise.
57698         * math/s_cprojl.c (__cprojl): Likewise.
57699         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
57700         * math/libm-test.inc (cproj_test_data): Add more tests.
57702         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
57704         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
57705         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
57706         size.  Use __ffs to determine corresponding shift.
57708 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
57709             Roland McGrath  <roland@hack.frob.com>
57711         * Makefile (INSTALL): Remove trailing blank lines from output of
57712         makeinfo.
57714 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57716         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
57717         Align 32 bit compat elf_greg to 8 bytes.
57719 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
57721         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
57723 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57725         * string/strcoll_l.c (coll_seq): New structure.
57726         (get_next_seq_cached): New function.
57727         (get_next_seq): New function.
57728         (do_compare): New function.
57729         (STRCOLL): Use GNU style definition.  Simplify implementation
57730         by using get_next_seq, get_next_seq_cached and do_compare.
57732 2013-08-16  Florian Weimer  <fweimer@redhat.com>
57734         [BZ #14699]
57735         CVE-2013-4237
57736         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
57737         member.
57738         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
57739         member.
57740         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
57741         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
57742         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
57743         conditional.
57744         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
57745         GETDENTS_64BIT_ALIGNED.
57746         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57747         * manual/filesys.texi (Reading/Closing Directory): Document
57748         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
57749         strongly.
57750         * manual/conf.texi (Limits for Files): Add portability note to
57751         NAME_MAX, PATH_MAX.
57752         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
57754 2013-08-13  Andreas Schwab  <schwab@suse.de>
57756         [BZ #15749]
57757         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
57758         of fabs.
57759         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
57760         LDBL_MAX_EXP >= 16384]: Add tests for it.
57762 2013-08-12  David S. Miller  <davem@davemloft.net>
57764         * version.h (RELEASE): Set to "development".
57765         (VERSION): Set to "2.18.90".
57766         * NEWS: Add 2.19 section.
57768 2013-08-03  David S. Miller  <davem@davemloft.net>
57770         * po/ko.po: Update Korean translation from translation project.
57772 2013-08-01  David S. Miller  <davem@davemloft.net>
57774         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
57775         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
57776         Bilka.
57778 2013-07-30  David S. Miller  <davem@davemloft.net>
57780         * po/fr.po: Update French translation from translation project.
57782 2013-07-28  David S. Miller  <davem@davemloft.net>
57784         * po/cs.po: Update Czech translation from translation project.
57786         * po/sv.po: Update Swedish translation from translation project.
57788 2013-07-27  David S. Miller  <davem@davemloft.net>
57790         * po/eo.po: Update Esperanto translation from translation project.
57792         * po/vi.po: Update Vietnamese translation from translation project.
57794         * po/de.po: Update German translation from translation project.
57796 2013-07-26  David S. Miller  <davem@davemloft.net>
57798         * po/bg.po: Update Bulgarian translation from translation project.
57800         * po/nl.po: Update Dutch translation from translation project.
57801         * po/pl.po: Update Polish translation from translation project.
57802         * po/ru.po: Update Russian translation from translation project.
57804 2013-07-24  David S. Miller  <davem@davemloft.net>
57806         * po/libc.pot: Update.
57808 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57810         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
57811         variable page size.
57812         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
57813         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
57814         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
57816 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57818         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
57820 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57821             Andreas Schwab  <schwab@suse.de>
57822             Roland McGrath  <roland@hack.frob.com>
57823             Joseph Myers  <joseph@codesourcery.com>
57824             Carlos O'Donell  <carlos@redhat.com>
57826         [BZ #15755]
57827         * config.h.in: Define HAVE_PT_CHOWN.
57828         * config.make.in (build-pt-chown): New variable.
57829         * configure.in (--enable-pt_chown): New configure option.
57830         * configure: Regenerate.
57831         * login/Makefile: Include Makeconfig.  Build pt_chown only if
57832         build-pt-chown is enabled.
57833         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
57834         pt_chown to fix pty ownership.
57835         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
57836         CLOSE_ALL_FDS.
57837         * manual/install.texi (Configuring and compiling): Mention
57838         --enable-pt_chown. Add @findex for grantpt.
57839         * INSTALL: Regenerate.
57841 2013-07-20  David S. Miller  <davem@davemloft.net>
57843         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
57844         difference between 32-bit and 64-bit.
57846 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
57848         [BZ #15711]
57849         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
57850         Avoid system header dependency with -ffreestanding.
57851         ($(objpfx)bits/syscall%d): Likewise.
57853 2013-07-13  David S. Miller  <davem@davemloft.net>
57855         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
57856         underflows from atanl/atan2l due to bug 15319.
57857         (casinh_test_data): Likewise.
57859 2013-07-07  David S. Miller  <davem@davemloft.net>
57861         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
57863 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
57865         * sysdeps/i386/fpu/libm-test-ulps: Update.
57866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57868 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57870         * configure.in (--enable-lock-elision): Fix message text.
57871         * INSTALL: Regenerate.
57872         * configure: Regenerate.
57874 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57878 2013-07-03  Andreas Jaeger  <aj@suse.de>
57880         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
57881         define.
57882         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
57883         (ptrace_peeksiginfo_args): Add.
57884         (__ptrace_peeksiginfo_flags): Add.
57885         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57886         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57887         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57889 2013-07-03  Allan McRae  <allan@archlinux.org>
57891         * sysdeps/i386/fpu/libm-test-ulps: Update.
57893 2013-07-02  David S. Miller  <davem@davemloft.net>
57895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57897 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
57899         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57901 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57903         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57906 2013-07-02  Andi Kleen <ak@linux.intel.com>
57908         * config.h.in (ENABLE_LOCK_ELISION): Add.
57909         * configure.in (--enable-lock-elision): Add option.
57910         * manual/install.texi: Document --enable lock elision.
57911         * configure: Regenerate
57912         * INSTALL: Regenerate.
57914 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
57916         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
57917         SSE4.2 strcasecmp for libc.a.
57918         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
57920 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57922         [BZ #13304]
57923         * soft-fp/op-common.h (_FP_FMA): New macro.
57924         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
57925         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
57926         (_FP_MUL_MEAT_1_imm): ... here.
57927         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
57928         (_FP_MUL_MEAT_1_wide): ... here.
57929         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
57930         (_FP_MUL_MEAT_1_hard): ... here.
57931         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
57932         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
57933         (_FP_MUL_MEAT_2_wide): ... here.
57934         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
57935         (_FP_MUL_MEAT_2_wide_3mul): ... here.
57936         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
57937         (_FP_MUL_MEAT_2_gmp): ... here.
57938         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
57939         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
57940         (_FP_MUL_MEAT_4_wide): ... here.
57941         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
57942         (_FP_MUL_MEAT_4_gmp): ... here.
57943         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
57944         (_FP_WFRACBITS_DW_S): Likewise.
57945         (_FP_WFRACXBITS_DW_S): Likewise.
57946         (_FP_HIGHBIT_DW_S): Likewise.
57947         (FP_FMA_S): Likewise.
57948         (_FP_FRAC_HIGH_DW_S): Likewise.
57949         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
57950         (_FP_WFRACBITS_DW_D): Likewise.
57951         (_FP_WFRACXBITS_DW_D): Likewise.
57952         (_FP_HIGHBIT_DW_D): Likewise.
57953         (FP_FMA_D): Likewise.
57954         (_FP_FRAC_HIGH_DW_D): Likewise.
57955         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
57956         (_FP_WFRACBITS_DW_E): Likewise.
57957         (_FP_WFRACXBITS_DW_E): Likewise.
57958         (_FP_HIGHBIT_DW_E): Likewise.
57959         (FP_FMA_E): Likewise.
57960         (_FP_FRAC_HIGH_DW_E): Likewise.
57961         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
57962         (_FP_WFRACBITS_DW_Q): Likewise.
57963         (_FP_WFRACXBITS_DW_Q): Likewise.
57964         (_FP_HIGHBIT_DW_Q): Likewise.
57965         (FP_FMA_Q): Likewise.
57966         (_FP_FRAC_HIGH_DW_Q): Likewise.
57967         * soft-fp/fmasf4.c: New file.
57968         * soft-fp/fmadf4.c: Likewise.
57969         * soft-fp/fmatf4.c: Likewise.
57971 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57973         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57974         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
57975         Silvermont.
57976         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
57977         macro.
57978         (index_Slow_SSE4_2): Likewise.
57979         (index_Prefer_PMINUB_for_stringop): Likewise.
57980         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
57981         bit_Slow_SSE4_2 is set.
57982         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57983         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57985 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57987         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
57988         rtld_global._dl_hwcap2.
57989         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
57990         POWER8.
57991         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
57992         POWER8 feature descriptions defined in _dl_hwcap2.
57993         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
57994         string handling for POWER8 feature bits.
57995         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
57996         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
57997         _dl_powerpc_cap_flags.
57998         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
57999         * sysdeps/powerpc/rtld-global-offsets.sym
58000         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
58001         _dl_hwcap2 in the rtld_global_ro structure.
58003 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58005         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
58006         hardware capabilities in support of AT_HWCAP2.
58007         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
58008         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
58009         GLRO(dl_hwcap2).
58010         (_dl_show_auxv): Add support for calling _dl_procinfo to display
58011         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
58012         explicitly the unknown a_type display mechanism is used.
58013         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
58014         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
58015         struct member.
58016         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
58017         to macro prototype for AT_HWCAP2 support.
58018         * sysdeps/i386/dl-procinfo.h: Likewise.
58019         * sysdeps/s390/dl-procinfo.h: Likewise.
58020         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
58021         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
58022         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
58023         return -1 for unknown a_type display fallback.
58024         * sysdeps/sparc/dl-procinfo.h: Likewise.
58025         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
58026         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
58028 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
58030         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
58031         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
58033 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
58035         [BZ #12492]
58036         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
58037         mprotect making __stack_prot writable.
58039 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
58040             Joseph Myers  <joseph@codesourcery.com>
58042         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
58043         as being properly aligned.
58045 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
58047         * dlfcn/modstatic5.c: New file.
58048         * dlfcn/tststatic5.c: New file.
58049         * dlfcn/Makefile (tests): Add tststatic5.
58050         (tests-static): Likewise.
58051         (modules-names): Add modstatic5.
58052         (tststatic5-ENV): New variable.
58053         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
58055         [BZ #15022]
58056         * elf/dl-support.c (_dl_main_map): New variable.
58057         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
58058         (_dl_nns, _dl_load_adds): Set to 1.
58059         (_dl_initial_searchlist): Refer to _dl_main_map.
58060         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
58061         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
58062         call to _dl_get_origin.
58063         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
58064         around call_map.
58065         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
58066         * dlfcn/modstatic3.c: New file.
58067         * dlfcn/tststatic3.c: New file.
58068         * dlfcn/tststatic4.c: New file.
58069         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
58070         (tests-static): Likewise.
58071         (modules-names): Add modstatic3.
58072         (tststatic3-ENV, tststatic4-ENV): New variables.
58073         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
58074         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
58076 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
58078         * configure.in (CC): Require GCC version 4.4 or later.
58079         * configure: Regenerated.
58080         * manual/install.texi (Tools for Compilation): Update GCC version
58081         requirement.
58082         * INSTALL: Regenerated.
58084 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58086         [BZ #15674]
58087         * string/test-memcmp.c (check2): New.
58088         (main): Call check2.
58090         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
58092 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
58094         [BZ #15022]
58095         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
58096         over to...
58097         (dl_open_worker) [!SHARED]: ... here.
58099 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58101         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
58103 2013-06-25  Richard Henderson  <rth@redhat.com>
58105         * locale/programs/locarchive.c: Include <libc-internal.h>
58107 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
58109         * manual/texinfo.tex: Update to version 2013-06-21.17, with
58110         trailing whitespace removed.
58112 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58114         [BZ #10283]
58115         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
58116         * locale/programs/locarchive.c: Include libc-mmap.h.
58117         (prepare_address_space): Take two new outputs (the mmap base and len).
58118         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
58119         values.
58120         (create_archive): Declare new mmap base and len values for
58121         prepare_address_space, and store the result in ah.
58122         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
58123         (enlarge_archive): If ah->mmap_base is not NULL, use that and
58124         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58125         Declare new mmap base and len values for
58126         prepare_address_space, and store the result in new_ah.
58127         (open_archive): Declare new mmap base and len values for
58128         prepare_address_space, and store the result in ah.
58129         (close_archive): If ah->mmap_base is not NULL, use that and
58130         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58131         * sysdeps/generic/libc-mmap.h: New file.
58133 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58135         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
58136         (ALIGN_UP): Likewise.
58137         (PTR_ALIGN_DOWN): Likewise.
58138         (PTR_ALIGN_UP): Likewise.
58140 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58142         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
58143         entry mapped to PPC_PLATFORM_POWER8.
58144         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
58145         POWER8.
58146         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
58147         (_dl_string_platform): Add case for exporting platform position for
58148         POWER8.
58149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
58150         search path to sysdeps/powerpc/powerpc32/power8 directory.
58151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
58152         search path to sysdeps/powerpc/powerpc64/power8 directory.
58153         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
58154         power7 directories.
58155         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
58156         power7 directories.
58158 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58160         * INSTALL: Regenerate.
58162         * nscd/connections.c (nscd_init): Fix comment.
58164 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
58166         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
58168         [BZ #15667]
58169         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
58170         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
58172 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58174         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
58175         DL_DST_REQ_STATIC.
58176         (DL_DST_REQ_STATIC): Remove macro.
58178 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
58180         [BZ #7006]
58181         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
58182         with a shift of 0 bits.
58184 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58186         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
58187         $(tststatic-ENV).
58189 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58191         [BZ #15655]
58192         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
58194 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58196         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
58197         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
58198         accepts -fno-tree-loop-distribute-patterns.
58199         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
58200         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
58201         recursive call.
58202         * string/memset.c (memset): Likewise.
58203         * string/test-memmove.c (simple_memmove): Disable loop transformation
58204         to library calls.
58205         * string/test-memset.c (simple_memset): Likewise.
58206         * benchtests/bench-memmove.c (simple_memmove): Likewise.
58207         * benchtests/bench-memset.c (simple_memset): Likewise.
58208         * configure: Regenerated.
58210 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
58212         * math/test-misc.c (main): Ignore fesetround failure when failures
58213         of subsequent rounding tests would be ignored.
58215         [BZ #15654]
58216         * math/fedisblxcpt.c (fedisableexcept): Return 0.
58217         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
58218         * math/fegetenv.c (__fegetenv): Return 0.
58219         * math/fegetexcept.c (fegetexcept): Return 0.
58220         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
58221         FE_TONEAREST.
58222         * math/feholdexcpt.c (feholdexcept): Return 0.
58223         * math/fesetenv.c (__fesetenv): Return 0.
58224         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
58225         argument FE_TONEAREST.
58226         * math/feupdateenv.c (__feupdateenv): Return 0.
58227         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
58229 2013-06-18  Roland McGrath  <roland@hack.frob.com>
58231         * elf/rtld-Rules (rtld-compile-command.S): New variable.
58232         (rtld-compile-command.s, rtld-compile-command.c): New variables.
58233         ($(objpfx)rtld-%.os rules): Use them.
58235 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58237         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
58238         fields.
58240 2013-06-17  Roland McGrath  <roland@hack.frob.com>
58242         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
58243         length of target pattern, then descending length of dependency pattern.
58244         * configure.in (AWK): Require gawk 3.1.2 or newer.
58245         * manual/install.texi (Tools for Compilation): Say that we do.
58246         * configure: Regenerated.
58248         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
58249         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
58250         * scripts/sysd-rules.awk: ... this new script.
58251         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
58252         than a glob-style pattern.
58254 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
58256         * math/test-misc.c (main): Do not treat incorrectly rounded
58257         conversions as failure unless ROUNDING_TESTS passes.
58259 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
58261         [BZ #15631]
58262         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
58263         restore exception state around main square root computation, then
58264         check for inexactness explicitly.
58266         * math/libm-test.inc (fma_test_data): Add another test.
58268 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58270         * manual/threads.texi (Non-POSIX Extensions): New document
58271         node.  Document pthread_getattr_default_np and
58272         pthread_setattr_default_np.
58274         * Versions.def (libpthread): Add GLIBC_2.18.
58275         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
58276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58277         Likewise.
58278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58279         Likewise.
58280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58281         Likewise.
58282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58283         Likewise.
58284         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
58285         Likewise.
58286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58287         Likewise.
58288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58289         Likewise.
58290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58291         Likewise.
58292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58293         Likewise.
58295 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58298         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
58300 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58301             H.J. Lu  <hjl.tools@gmail.com>
58303         [BZ #15627]
58304         * sysdeps/x86_64/rtld-memset.c: Remove file.
58305         * sysdeps/x86_64/rtld-memset.S: New file.
58307 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
58309         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
58310         (test_in_one_mode): Take arguments for whether the rounding mode
58311         is supported for each floating-point type.
58312         (do_test): Pass new arguments to test_in_one_mode using
58313         ROUNDING_TESTS.
58315 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58317         * posix/tst-waitid.c (do_test): Distinguish different instances of
58318         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
58319         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
58320         before entering the kernel for waitpid.
58322 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58324         * NEWS: Fix note on clock function precision.  Text by Roland
58325         McGrath.
58327 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58329         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
58330         it into place only when and if the sanity check passes.
58332 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
58334         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
58335         output for whether conversion result is exact.  Take argument
58336         indicating whether type is IBM long double.
58337         (round_for_all): Change need_exact field to ibm_ld.
58338         * stdlib/tst-strtod-round.c (struct exactness): New type.
58339         (struct test): Change bool ld_ok field to struct exactness exact.
58340         (TEST): Update all definitions for change to field.
58341         (tests): Regenerate array contents.
58342         (test_in_one_mode): Take pointer to new field instead of old ld_ok
58343         field value.  Check for IBM long double here.
58344         (do_test): Update calls to test_in_one_mode.
58346 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58348         [BZ #12515]
58349         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
58350         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
58352 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58354         [BZ #15605]
58355         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
58356         generated by the compiler on loop optimizations.
58357         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
58358         general definitions.
58360 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
58362         * math/bug-nextafter.c: Include <math-tests.h>.
58363         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58364         the relevant type.
58365         * math/bug-nexttoward.c: Include <math-tests.h>.
58366         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58367         the relevant type.
58368         * math/test-misc.c: Include <math-tests.h>.
58369         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58370         the relevant type.
58372 2013-06-12  Andreas Jaeger  <aj@suse.de>
58374         * po/ia.po: Update Interlingua translation from translation
58375         project.
58377 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58379         * include/fenv.h: Include stdbool.h.
58380         (struct rm_ctx): New structure.
58381         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
58382         Define macro.
58383         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
58384         (SET_RESTORE_ROUNDF): Likewise.
58385         (SET_RESTORE_ROUNDL): Likewise.
58386         (SET_RESTORE_ROUND_NOEX): Likewise.
58387         (SET_RESTORE_ROUND_NOEXF): Likewise.
58388         (SET_RESTORE_ROUND_NOEXL): Likewise.
58389         (SET_RESTORE_ROUND_53BIT): Likewise.
58390         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
58391         (libc_feresetround_noexf_ctx): Likewise.
58392         (libc_feresetround_noexl_ctx): Likewise.
58393         (libc_feholdsetround_53bit_ctx): Likewise.
58394         (libc_feresetround_53bit_ctx): Likewise.
58395         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
58396         (libc_feholdexcept_setround_sse_ctx): New function.
58397         (libc_fesetenv_sse_ctx): Likewise.
58398         (libc_feupdateenv_sse_ctx): Likewise.
58399         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
58400         (libc_feholdexcept_setround_387_ctx): Likewise.
58401         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
58402         (libc_feholdsetround_387_prec_ctx): Likewise.
58403         (libc_feholdsetround_387_ctx): Likewise.
58404         (libc_feholdsetround_387_53bit_ctx): Likewise.
58405         (libc_feholdsetround_sse_ctx): Likewise.
58406         (libc_feresetround_sse_ctx): Likewise.
58407         (libc_feresetround_387_ctx): Likewise.
58408         (libc_feupdateenv_387_ctx): Likewise.
58409         (libc_feholdexcept_setroundf_ctx): Define macro.
58410         (libc_fesetenvf_ctx): Likewise.
58411         (libc_feupdateenvf_ctx): Likewise.
58412         (libc_feholdsetroundf_ctx): Likewise.
58413         (libc_feresetroundf_ctx): Likewise.
58414         (libc_feholdexcept_setround_ctx): Likewise.
58415         (libc_fesetenv_ctx): Likewise.
58416         (libc_feupdateenv_ctx): Likewise.
58417         (libc_feholdsetround_ctx): Likewise.
58418         (libc_feresetround_ctx): Likewise.
58419         (libc_feholdexcept_setroundl_ctx): Likewise.
58420         (libc_feupdateenvl_ctx): Likewise.
58421         (libc_feholdsetroundl_ctx): Likewise.
58422         (libc_feresetroundl_ctx): Likewise.
58423         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
58424         (libc_feresetround_53bit_ctx): Likewise.
58426 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58428         * locale/iso-639.def: Convert to UTF-8.
58430 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
58432         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
58433         (EXCEPTION_TESTS_double): Likewise.
58434         (EXCEPTION_TESTS_long_double): Likewise.
58435         (EXCEPTION_TESTS): Likewise.
58436         * math/libm-test.inc (test_exceptions): Only test exceptions if
58437         EXCEPTION_TESTS (FLOAT).
58439 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58441         * benchtests/Makefile (string-bench): Add strcpy_chk and
58442         stpcpy_chk.
58443         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
58444         * benchtests/bench-stpcpy_chk.c: New file.
58445         * benchtests/bench-strcpy_chk-ifunc.c: New file.
58446         * benchtests/bench-strcpy_chk.c: New file.
58447         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
58448         code.
58449         (do_test): Likewise.
58451 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58453         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
58454         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
58455         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
58456         with tabs where appropriate.
58457         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
58458         dl-procinfo.h.
58459         [PPC_PLATFORM_PPC440]: Likewise.
58460         [PPC_PLATFORM_PPC464]: Likewise.
58461         [PPC_PLATFORM_PPC476]: Likewise.
58462         (_dl_string_platform): Add support for detecting ppc405, ppc440,
58463         ppc464, and ppc476 platform strings merging from ports/
58464         dl-procinfo.h.
58466 2013-06-11  Andreas Schwab  <schwab@suse.de>
58468         [BZ #14991]
58469         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
58470         (from_ucs4_idx): Regenerate.
58471         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
58472         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
58473         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
58474         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
58475         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
58476         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
58477         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
58478         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
58479         from FROM_LOOP and TO_LOOP specific macros.
58480         (BODY): Handle combining characters.
58481         * iconvdata/BIG5HKSCS.irreversible: Update.
58482         * iconvdata/BIG5HKSCS.precomposed: New file.
58483         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
58484         characters.
58485         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
58487 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58489         * include/sys/time.h: Fix indentation and add copyright header.
58491         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
58492         (do_test): Likewise.
58493         * string/test-memchr.c (do_one_test): Likewise.
58494         (do_test): Likewise.
58495         * string/test-memcmp.c (do_one_test): Likewise.
58496         (do_test): Likewise.
58497         * string/test-memcpy.c (do_one_test): Likewise.
58498         (do_test): Likewise.
58499         * string/test-memmem.c (do_one_test): Likewise.
58500         (do_test): Likewise.
58501         (do_random_tests): Likewise.
58502         * string/test-memmove.c (do_one_test): Likewise.
58503         (do_test): Likewise.
58504         * string/test-memset.c (do_one_test): Likewise.
58505         (do_test): Likewise.
58506         * string/test-rawmemchr.c (do_one_test): Likewise.
58507         (do_test): Likewise.
58508         * string/test-strcasecmp.c (do_one_test): Likewise.
58509         (do_test): Likewise.
58510         * string/test-strcasestr.c (do_one_test): Likewise.
58511         (do_test): Likewise.
58512         * string/test-strcat.c (do_one_test): Likewise.
58513         (do_test): Likewise.
58514         * string/test-strchr.c (do_one_test): Likewise.
58515         (do_test): Likewise.
58516         * string/test-strcmp.c (do_one_test): Likewise.
58517         (do_test): Likewise.
58518         * string/test-strcpy.c (do_one_test): Likewise.
58519         (do_test): Likewise.
58520         * string/test-string.h: Likewise.
58521         (test_init): Likewise.
58522         * string/test-strlen.c (do_one_test): Likewise.
58523         (do_test): Likewise.
58524         * string/test-strncasecmp.c (do_one_test): Likewise.
58525         (do_test): Likewise.
58526         * string/test-strncat.c (do_one_test): Likewise.
58527         (do_test): Likewise.
58528         * string/test-strncmp.c (do_one_test): Likewise.
58529         (do_test_limit): Likewise.
58530         (do_test): Likewise.
58531         * string/test-strncpy.c (do_one_test): Likewise.
58532         (do_test): Likewise.
58533         * string/test-strnlen.c (do_one_test): Likewise.
58534         (do_test): Likewise.
58535         * string/test-strpbrk.c (do_one_test): Likewise.
58536         (do_test): Likewise.
58537         * string/test-strrchr.c (do_one_test): Likewise.
58538         (do_test): Likewise.
58539         * string/test-strspn.c (do_one_test): Likewise.
58540         (do_test): Likewise.
58541         * string/test-strstr.c (do_one_test): Likewise.
58542         (do_test): Likewise.
58544         * benchtests/Makefile (string-bench): Add string benchmarks.
58545         * benchtests/bench-bcopy-ifunc.c: New file.
58546         * benchtests/bench-bcopy.c: New file.
58547         * benchtests/bench-bzero-ifunc.c: New file.
58548         * benchtests/bench-bzero.c: New file.
58549         * benchtests/bench-memccpy-ifunc.c: New file.
58550         * benchtests/bench-memccpy.c: New file.
58551         * benchtests/bench-memchr-ifunc.c: New file.
58552         * benchtests/bench-memchr.c: New file.
58553         * benchtests/bench-memcmp-ifunc.c: New file.
58554         * benchtests/bench-memcmp.c: New file.
58555         * benchtests/bench-memmem-ifunc.c: New file.
58556         * benchtests/bench-memmem.c: New file.
58557         * benchtests/bench-memmove-ifunc.c: New file.
58558         * benchtests/bench-memmove.c: New file.
58559         * benchtests/bench-mempcpy-ifunc.c: New file.
58560         * benchtests/bench-mempcpy.c: New file.
58561         * benchtests/bench-memset-ifunc.c: New file.
58562         * benchtests/bench-memset.c: New file.
58563         * benchtests/bench-rawmemchr-ifunc.c: New file.
58564         * benchtests/bench-rawmemchr.c: New file.
58565         * benchtests/bench-stpcpy-ifunc.c: New file.
58566         * benchtests/bench-stpcpy.c: New file.
58567         * benchtests/bench-stpncpy-ifunc.c: New file.
58568         * benchtests/bench-stpncpy.c: New file.
58569         * benchtests/bench-strcasecmp-ifunc.c: New file.
58570         * benchtests/bench-strcasecmp.c: New file.
58571         * benchtests/bench-strcasestr-ifunc.c: New file.
58572         * benchtests/bench-strcasestr.c: New file.
58573         * benchtests/bench-strcat-ifunc.c: New file.
58574         * benchtests/bench-strcat.c: New file.
58575         * benchtests/bench-strchr-ifunc.c: New file.
58576         * benchtests/bench-strchr.c: New file.
58577         * benchtests/bench-strchrnul-ifunc.c: New file.
58578         * benchtests/bench-strchrnul.c: New file.
58579         * benchtests/bench-strcmp-ifunc.c: New file.
58580         * benchtests/bench-strcmp.c: New file.
58581         * benchtests/bench-strcpy-ifunc.c: New file.
58582         * benchtests/bench-strcpy.c: New file.
58583         * benchtests/bench-strcspn-ifunc.c: New file.
58584         * benchtests/bench-strcspn.c: New file.
58585         * benchtests/bench-strlen-ifunc.c: New file.
58586         * benchtests/bench-strlen.c: New file.
58587         * benchtests/bench-strncasecmp-ifunc.c: New file.
58588         * benchtests/bench-strncasecmp.c: New file.
58589         * benchtests/bench-strncat-ifunc.c: New file.
58590         * benchtests/bench-strncat.c: New file.
58591         * benchtests/bench-strncmp-ifunc.c: New file.
58592         * benchtests/bench-strncmp.c: New file.
58593         * benchtests/bench-strncpy-ifunc.c: New file.
58594         * benchtests/bench-strncpy.c: New file.
58595         * benchtests/bench-strnlen-ifunc.c: New file.
58596         * benchtests/bench-strnlen.c: New file.
58597         * benchtests/bench-strpbrk-ifunc.c: New file.
58598         * benchtests/bench-strpbrk.c: New file.
58599         * benchtests/bench-strrchr-ifunc.c: New file.
58600         * benchtests/bench-strrchr.c: New file.
58601         * benchtests/bench-strspn-ifunc.c: New file.
58602         * benchtests/bench-strspn.c: New file.
58603         * benchtests/bench-strstr-ifunc.c: New file.
58604         * benchtests/bench-strstr.c: New file.
58606         * benchtests/Makefile: Disable parallel execution of targets.
58607         (string-bench): Add memcpy.
58608         (benchset): New variable to store a list of benchmark sets.
58609         (bench-func): Renamed from bench.
58610         (bench-set): New target.
58611         (bench): Depend on bench-func and bench-set.
58612         * benchtests/README: Add section on benchmark sets.
58613         * benchtests/bench-memcpy-ifunc.c: New file.
58614         * benchtests/bench-memcpy.c: New file.
58615         * benchtests/bench-string.h: New file.
58617 2013-06-11  Andreas Schwab  <schwab@suse.de>
58619         [BZ #15577]
58620         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
58621         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
58622         values in the triple.
58623         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
58624         terminator in the group key.
58626 2013-06-11  Andreas Jaeger  <aj@suse.de>
58628         * po/zh_TW.po: Update Chinese (traditional) translation from
58629         translation project.
58631 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58633         * include/time.h (__clock_gettime): Add libc_hidden_proto.
58634         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
58635         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
58636         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58637         (clock_getcpuclockid): Likewise.
58638         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
58639         Add weak_alias and libc_hidden_def.
58640         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
58641         * rt/clock_gettime.c (clock_gettime): Rename to
58642         __clock_gettime.  Add weak_alias and libc_hidden_def.
58643         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
58644         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
58645         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
58646         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
58647         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
58648         Likewise.
58649         * rt/clock_settime.c (clock_settime): Rename to
58650         __clock_settime.  Add weak_alias and libc_hidden_def.
58651         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
58653 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
58655         * mach/err_boot.sub: Remove trailing whitespace.
58656         * mach/err_ipc.sub: Likewise.
58657         * mach/err_mach.sub: Likewise.
58659         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
58660         (ROUNDING_TESTS_double): Likewise.
58661         (ROUNDING_TESTS_long_double): Likewise.
58662         (ROUNDING_TESTS): Likewise.
58663         * math/libm-test.inc: Include <math-tests.h>.
58664         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
58665         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
58666         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
58667         (IF_ROUND_INIT_FE_UPWARD): Likewise.
58669 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58671         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
58672         of assigning.
58674 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
58676         * sysdeps/gnu/errlist.awk: Do not generate space at end of
58677         otherwise empty TRANS lines.
58678         * sysdeps/gnu/errlist.c: Regenerated.
58680         * catgets/gencat.c (error_print): Use (void) in function
58681         definition.
58682         * crypt/crypt_util.c (__init_des): Likewise.
58683         * crypt/speeds.c (Stop): Likewise.
58684         (main): Likewise.
58685         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
58686         * inet/ruserpass.c (token): Likewise.
58687         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
58688         * intl/localealias.c (extend_alias_table): Likewise.
58689         * intl/plural-exp.c (init_germanic_plural): Likewise.
58690         * libio/fcloseall.c (__fcloseall): Likewise.
58691         * libio/genops.c (_IO_flush_all): Likewise.
58692         (_IO_flush_all_linebuffered): Likewise.
58693         (_IO_cleanup): Likewise.
58694         (_IO_iter_begin): Likewise.
58695         (_IO_iter_end): Likewise.
58696         (_IO_list_lock): Likewise.
58697         (_IO_list_unlock): Likewise.
58698         (_IO_list_resetlock): Likewise.
58699         * libio/getchar.c (getchar): Likewise.
58700         * libio/getchar_u.c (getchar_unlocked): Likewise.
58701         * libio/getwchar.c (getwchar): Likewise.
58702         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
58703         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
58704         * login/getpt.c (__getpt): Likewise.
58705         * login/tst-utmp.c (main): Likewise.
58706         * malloc/hooks.c (__malloc_check_init): Likewise.
58707         * malloc/malloc.c (__malloc_stats): Likewise.
58708         * malloc/mtrace.c (tr_break): Likewise.
58709         (mtrace): Likewise.
58710         (muntrace): Likewise.
58711         * misc/fstab.c (endfsent): Likewise.
58712         * misc/getclktck.c (__getclktck): Likewise.
58713         * misc/getdtsz.c (__getdtablesize): Likewise.
58714         * misc/gethostid.c (gethostid): Likewise.
58715         * misc/getpagesize.c (__getpagesize): Likewise.
58716         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
58717         (__get_nprocs): Likewise.
58718         (__get_phys_pages): Likewise.
58719         (__get_avphys_pages): Likewise.
58720         * misc/getttyent.c (getttyent): Likewise.
58721         (setttyent): Likewise.
58722         (endttyent): Likewise.
58723         * misc/getusershell.c (getusershell): Likewise.
58724         (endusershell): Likewise.
58725         (setusershell): Likewise.
58726         (initshells): Likewise.
58727         * misc/hsearch.c (__hdestroy): Likewise.
58728         * misc/sync.c (sync): Likewise.
58729         * misc/syslog.c (closelog_internal): Likewise.
58730         (closelog): Likewise.
58731         * misc/ttyslot.c (ttyslot): Likewise.
58732         * misc/vhangup.c (vhangup): Likewise.
58733         * posix/fork.c (__fork): Likewise.
58734         * posix/getegid.c (__getegid): Likewise.
58735         * posix/geteuid.c (__geteuid): Likewise.
58736         * posix/getgid.c (__getgid): Likewise.
58737         * posix/getpid.c (__getpid): Likewise.
58738         * posix/getppid.c (__getppid): Likewise.
58739         * posix/getuid.c (__getuid): Likewise.
58740         * posix/pause.c (pause): Likewise.
58741         * posix/setpgrp.c (setpgrp): Likewise.
58742         * posix/setsid.c (__setsid): Likewise.
58743         * posix/test-vfork.c (noop): Likewise.
58744         * resolv/gethnamaddr.c (_endhtent): Likewise.
58745         (_gethtent): Likewise.
58746         (ht_endhostent): Likewise.
58747         (gethostent): Likewise.
58748         (dns_service): Likewise.
58749         * stdlib/drand48.c (drand48): Likewise.
58750         * stdlib/lrand48.c (lrand48): Likewise.
58751         * stdlib/mrand48.c (mrand48): Likewise.
58752         * stdlib/rand.c (rand): Likewise.
58753         * stdlib/random.c (__random): Likewise.
58754         * stdlib/setenv.c (clearenv): Likewise.
58755         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
58756         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
58757         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
58758         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
58759         (__get_nprocs): Likewise.
58760         (__get_phys_pages): Likewise.
58761         (__get_avphys_pages): Likewise.
58762         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
58763         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
58764         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
58765         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
58766         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
58767         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
58768         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
58769         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
58770         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
58771         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
58772         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
58773         * sysdeps/mach/hurd/sync.c (sync): Likewise.
58774         * sysdeps/posix/clock.c (clock): Likewise.
58775         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
58776         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
58777         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
58778         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
58779         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
58780         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
58781         (__get_nprocs_conf): Likewise.
58782         (__get_phys_pages): Likewise.
58783         (__get_avphys_pages): Likewise.
58784         * time/clock.c (clock): Likewise.
58785         * time/tzset.c (__tzname_max): Likewise.
58787 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
58789         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
58790         (__bswap_32): Do not use "register".
58791         * crypt/crypt.c (_ufc_doit_r): Likewise.
58792         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
58793         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
58794         * gmon/gmon.c (__monstartup): Likewise.
58795         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
58796         * hurd/hurdmalloc.c (more_memory): Likewise.
58797         (malloc): Likewise.
58798         (free): Likewise.
58799         (realloc): Likewise.
58800         (malloc_fork_prepare): Likewise.
58801         (malloc_fork_parent): Likewise.
58802         (malloc_fork_child): Likewise.
58803         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
58804         (_svcauth_des): Likewise.
58805         * inet/inet_lnaof.c (inet_lnaof): Likewise.
58806         * inet/inet_net.c (inet_network): Likewise.
58807         * inet/inet_netof.c (inet_netof): Likewise.
58808         * inet/rcmd.c (__validuser2_sa): Likewise.
58809         * io/fts.c (fts_open): Likewise.
58810         (fts_load): Likewise.
58811         (fts_close): Likewise.
58812         (fts_read): Likewise.
58813         (fts_children): Likewise.
58814         (fts_build): Likewise.
58815         (fts_stat): Likewise.
58816         (fts_sort): Likewise.
58817         (fts_alloc): Likewise.
58818         (fts_lfree): Likewise.
58819         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
58820         (_IO_file_xsgetn): Likewise.
58821         (_IO_file_xsgetn_mmap): Likewise.
58822         * libio/iofopncook.c (_IO_cookie_read): Likewise.
58823         (_IO_cookie_write): Likewise.
58824         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
58825         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
58826         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
58827         * malloc/obstack.c (_obstack_begin): Likewise.
58828         (_obstack_begin_1): Likewise.
58829         (_obstack_newchunk): Likewise.
58830         (_obstack_allocated_p): Likewise.
58831         (obstack_free): Likewise.
58832         (_obstack_memory_used): Likewise.
58833         * misc/getttyent.c (getttynam): Likewise.
58834         (getttyent): Likewise.
58835         (skip): Likewise.
58836         (value): Likewise.
58837         * misc/getusershell.c (initshells): Likewise.
58838         * misc/syslog.c (__vsyslog_chk): Likewise.
58839         * misc/ttyslot.c (ttyslot): Likewise.
58840         * nis/nis_hash.c (__nis_hash): Likewise.
58841         * posix/fnmatch_loop.c (FCT): Likewise.
58842         * posix/getconf.c (print_all): Likewise.
58843         (main): Likewise.
58844         * posix/getopt.c (exchange): Likewise.
58845         * posix/glob.c (globfree): Likewise.
58846         (prefix_array): Likewise.
58847         (__glob_pattern_type): Likewise.
58848         * resolv/arpa/nameser.h (NS_GET16): Likewise.
58849         (NS_GET32): Likewise.
58850         (NS_PUT16): Likewise.
58851         (NS_PUT32): Likewise.
58852         * resolv/gethnamaddr.c (getanswer): Likewise.
58853         (gethostbyname2): Likewise.
58854         (gethostbyaddr): Likewise.
58855         (_gethtent): Likewise.
58856         (_gethtbyname2): Likewise.
58857         (_gethtbyaddr): Likewise.
58858         * resolv/ns_print.c (dst_s_get_int16): Likewise.
58859         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
58860         * resolv/res_init.c (__res_vinit): Likewise.
58861         (net_mask): Likewise.
58862         * resolv/res_mkquery.c (outchar): Likewise.
58863         (PRINT): Likewise.
58864         * stdio-common/printf_fp.c (outchar): Likewise.
58865         (PRINT): Likewise.
58866         * stdio-common/printf_fphex.c (outchar): Likewise.
58867         (PRINT): Likewise.
58868         * stdio-common/printf_size.c (outchar): Likewise.
58869         (PRINT): Likewise.
58870         * stdio-common/test_rdwr.c (main): Likewise.
58871         * stdio-common/tfformat.c (matches): Likewise.
58872         * stdio-common/vfprintf.c (outchar): Likewise.
58873         (printf_unknown): Likewise.
58874         (buffered_vfprintf): Likewise.
58875         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
58876         * stdio-common/xbug.c (AppendToBuffer): Likewise.
58877         (ReadFile): Likewise.
58878         * stdlib/qsort.c (SWAP): Likewise.
58879         (_quicksort): Likewise.
58880         * stdlib/setenv.c (__add_to_environ): Likewise.
58881         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
58882         * stdlib/strtol_l.c (__strtol_l): Likewise.
58883         * stdlib/tst-strtod.c (main): Likewise.
58884         * stdlib/tst-strtol.c (main): Likewise.
58885         * stdlib/tst-strtoll.c (main): Likewise.
58886         * string/bits/string2.h (__strcmp_cc): Likewise.
58887         (__strcmp_cg): Likewise.
58888         (__strcspn_c1): Likewise.
58889         (__strcspn_c2): Likewise.
58890         (__strcspn_c3): Likewise.
58891         (__strspn_c1): Likewise.
58892         (__strspn_c2): Likewise.
58893         (__strspn_c3): Likewise.
58894         (__strsep_1c): Likewise.
58895         (__strsep_2c): Likewise.
58896         (__strsep_3c): Likewise.
58897         * string/memccpy.c (__memccpy): Likewise.
58898         * string/stpcpy.c (__stpcpy): Likewise.
58899         * string/strcmp.c (strcmp): Likewise.
58900         * string/strrchr.c (strrchr): Likewise.
58901         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
58902         Likewise.
58903         * sysdeps/mach/hurd/getcwd.c
58904         (_hurd_canonicalize_directory_name_internal): Likewise.
58905         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
58906         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
58907         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
58908         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
58909         Likewise, in both definitions.
58910         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
58911         definitions.
58912         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
58913         64] (__bswap_64): Likewise.
58914         * time/test_time.c (main): Likewise.
58915         * time/tzfile.c (__tzfile_read): Likewise.
58916         (__tzfile_compute): Likewise.
58917         * time/tzset.c (__tzset_parse_tz): Likewise.
58918         (tzset_internal): Likewise.
58919         (compute_change): Likewise.
58920         * wcsmbs/wcscat.c (__wcscat): Likewise.
58921         * wcsmbs/wcschr.c (wcschr): Likewise.
58922         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
58923         * wcsmbs/wcscspn.c (wcscspn): Likewise.
58924         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
58925         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
58926         * wcsmbs/wcsspn.c (wcsspn): Likewise.
58927         * wcsmbs/wcsstr.c (wcsstr): Likewise.
58928         * wcsmbs/wmemchr.c (wmemchr): Likewise.
58929         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58930         * wcsmbs/wmemset.c (wmemset): Likewise.
58932 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
58934         * scripts/config.guess: Update to version 2013-05-16.
58935         * scripts/config.sub: Update to version 2013-04-24.
58936         * scripts/install-sh: Update to version 2011-11-20.07.
58937         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
58938         * scripts/move-if-change: Update to version 2012-01-06 07:23.
58940 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
58942         * debug/fgetws_u_chk.c: Fix leading whitespaces.
58943         * elf/sln.c: Likewise.
58944         * hurd/hurd/ioctl.h: Likewise.
58945         * hurd/hurdmalloc.c: Likewise.
58946         * hurd/xattr.c: Likewise.
58947         * include/shlib-compat.h: Likewise.
58948         * inet/ruserpass.c: Likewise.
58949         * libio/iofgets_u.c: Likewise.
58950         * libio/iofgetws_u.c: Likewise.
58951         * locale/programs/ld-identification.c: Likewise.
58952         * locale/programs/ld-time.c: Likewise.
58953         * mach/msg-destroy.c: Likewise.
58954         * nss/nss_files/files-netgrp.c: Likewise.
58955         * resolv/res_data.c: Likewise.
58956         * soft-fp/op-1.h: Likewise.
58957         * soft-fp/op-2.h: Likewise.
58958         * soft-fp/op-4.h: Likewise.
58959         * soft-fp/op-common.h: Likewise.
58960         * stdio-common/printf_fphex.c: Likewise.
58961         * stdlib/strtod_l.c: Likewise.
58962         * sunrpc/rpc/clnt.h: Likewise.
58963         * sysdeps/generic/framestate.c: Likewise.
58964         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58965         * sysdeps/i386/bsd-setjmp.S: Likewise.
58966         * sysdeps/i386/__longjmp.S: Likewise.
58967         * sysdeps/i386/setjmp.S: Likewise.
58968         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58969         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58970         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58971         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58972         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58973         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
58974         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58975         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58976         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58977         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58978         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
58979         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
58980         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
58981         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
58982         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
58983         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58984         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
58985         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
58986         * sysdeps/ieee754/support.c: Likewise.
58987         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58988         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
58989         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
58990         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
58991         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
58992         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
58993         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
58994         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
58995         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
58996         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
58997         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
58998         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
58999         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
59000         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
59001         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
59002         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
59003         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
59006 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
59008         * posix/transbug.c: Remove executable mode.
59010 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
59012         * crypt/speeds.c: Remove trailing whitespace.
59013         * dlfcn/default.c: Likewise.
59014         * elf/ifuncdep2.c: Likewise.
59015         * elf/ifuncmain1.c: Likewise.
59016         * elf/ifuncmain1vis.c: Likewise.
59017         * elf/testobj.h: Likewise.
59018         * elf/tst-stackguard1.c: Likewise.
59019         * gmon/sys/gmon.h: Likewise.
59020         * hurd/hurdmsg.c: Likewise.
59021         * hurd/new-fd.c: Likewise.
59022         * hurd/ports-get.c: Likewise.
59023         * iconvdata/ibm1008_420.c: Likewise.
59024         * inet/tst-getni1.c: Likewise.
59025         * inet/tst-getni2.c: Likewise.
59026         * libio/ioungetc.c: Likewise.
59027         * libio/wfiledoalloc.c: Likewise.
59028         * manual/libm-err-tab.pl: Likewise.
59029         * math/w_dremf.c: Likewise.
59030         * misc/ftruncate.c: Likewise.
59031         * posix/bug-glob2.c: Likewise.
59032         * posix/tst-pcre.c: Likewise.
59033         * posix/wait4.c: Likewise.
59034         * resolv/README: Likewise.
59035         * resolv/res_debug.h: Likewise.
59036         * resolv/tst-inet_ntop.c: Likewise.
59037         * setjmp/bug269-setjmp.c: Likewise.
59038         * soft-fp/extended.h: Likewise.
59039         * soft-fp/op-1.h: Likewise.
59040         * soft-fp/op-2.h: Likewise.
59041         * soft-fp/op-4.h: Likewise.
59042         * soft-fp/op-8.h: Likewise.
59043         * soft-fp/testit.c: Likewise.
59044         * stdio-common/bug16.c: Likewise.
59045         * stdlib/random.c: Likewise.
59046         * sunrpc/rpcsvc/rquota.x: Likewise.
59047         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
59048         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59049         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59050         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59051         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59052         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59053         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59054         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59055         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59056         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59057         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59058         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59059         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59060         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59061         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59062         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59063         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59064         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59065         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59066         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59067         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59068         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59069         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
59070         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59071         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59072         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59073         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59074         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59075         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59076         * sysdeps/ieee754/s_lib_version.c: Likewise.
59077         * sysdeps/mach/hurd/check_fds.c: Likewise.
59078         * sysdeps/mach/hurd/getsockname.c: Likewise.
59079         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
59080         * sysdeps/mach/hurd/recvfrom.c: Likewise.
59081         * sysdeps/powerpc/bits/link.h: Likewise.
59082         * sysdeps/powerpc/dl-procinfo.c: Likewise.
59083         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
59084         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
59085         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
59086         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59087         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59088         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
59089         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59090         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
59091         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59092         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
59093         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59094         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
59095         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59096         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59097         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59098         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59099         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59100         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59101         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59102         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59103         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
59104         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59105         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59106         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
59107         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59108         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59109         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59110         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59111         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59112         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59113         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59114         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59115         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59116         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
59117         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59118         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
59119         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59120         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
59121         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
59122         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
59123         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
59124         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
59125         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
59126         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59127         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
59128         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
59129         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59130         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
59131         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
59132         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59133         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59134         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59135         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59136         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
59137         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
59138         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
59139         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59140         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
59141         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
59142         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
59143         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
59144         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
59145         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59146         * sysdeps/powerpc/sysdep.h: Likewise.
59147         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59148         * sysdeps/s390/s390-64/sub_n.S: Likewise.
59149         * sysdeps/sh/dl-trampoline.S: Likewise.
59150         * sysdeps/sh/memset.S: Likewise.
59151         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
59152         * sysdeps/sh/strlen.S: Likewise.
59153         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
59154         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
59155         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
59156         * sysdeps/sparc/sparc32/rem.S: Likewise.
59157         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
59158         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
59159         * sysdeps/sparc/sparc32/strchr.S: Likewise.
59160         * sysdeps/sparc/sparc32/udiv.S: Likewise.
59161         * sysdeps/sparc/sparc32/urem.S: Likewise.
59162         * sysdeps/sparc/sparc64/add_n.S: Likewise.
59163         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59164         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
59165         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
59166         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
59167         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
59168         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
59169         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
59170         * sysdeps/unix/bsd/times.c: Likewise.
59171         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
59172         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
59173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
59174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
59175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
59176         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
59177         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59178         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
59179         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
59180         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
59181         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
59182         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59183         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
59184         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59185         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59186         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
59187         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59188         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
59189         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
59190         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
59191         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
59192         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
59193         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59194         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
59195         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
59196         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
59197         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
59198         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59199         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
59200         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
59201         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
59202         * sysdeps/x86_64/strcspn.S: Likewise.
59204 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59206         * locale/C-translit.h: Revert #include <stdint.h> because this is a
59207         generated file.  Regenerate properly from gen-translit.pl.
59208         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
59209         locale/C-translit.h.
59211 2013-06-05  Andreas Schwab  <schwab@suse.de>
59213         [BZ #15100]
59214         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
59215         week as 6 instead of -1.
59216         * time/tst-strptime.c (day_tests): Add test case.
59218 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59220         * sysdeps/generic/math_private.h
59221         (libc_feholdexcept_setround_53bit): Replace with
59222         libc_feholdsetround_53bit.
59223         (libc_feupdateenv_53bit): Replace with
59224         libc_feresetround_53bit.
59225         (SET_RESTORE_ROUND_53BIT): Adjust.
59227 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59229         * string/test-strchrnul.c: Add copyright header.
59231         * posix/tst-getaddrinfo4.c: Increase test timeout.
59233 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
59235         [BZ #15536]
59236         * math/libm-test.inc (MAX_EXP): Remove
59237         (MIN_EXP): Define.
59238         (ulp): Use MIN_EXP - MANT_DIG.
59239         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
59241 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
59243         * po/be.po: Revert last change.
59244         * po/zh_CN.po: Likewise.
59245         * po/header.pot: Likewise.
59247 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
59249         * Makefile ($(common-objpfx)linkobj/libc.so): Define
59250         link-libc-deps to empty as target-specific variable.
59251         * Makerules (link-libc-args): New variable.
59252         (libc-for-link): Likewise.
59253         (link-libc-deps): Likewise.
59254         (lib%.so): Depend on $(link-libc-deps).  Link with
59255         $(link-libc-args).
59256         (build-module): Link with $(link-libc-args).
59257         (build-module-asneeded): Likewise.
59258         (build-module-helper-objlist): Filter out $(link-libc-deps) from
59259         list of objects.
59260         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
59261         target-specific variable.
59262         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
59263         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
59264         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
59265         libc.
59266         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
59267         libc and ld.so.
59268         ($(objpfx)libpcprofile.so): Likewise.
59269         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
59270         libc_nonshared.a.
59271         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
59272         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
59273         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
59274         $(link-libc-deps).
59275         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
59276         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
59277         * login/Makefile ($(objpfx)libutil.so): Likewise.
59278         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
59279         * math/Makefile ($(objpfx)libm.so): Likewise.
59280         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
59281         $(objpfx)libnsl.so): Define libc-for-link as target-specific
59282         variable instead of depending directly on libc.
59283         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
59284         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
59285         $(link-libc-deps).
59286         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
59287         libc.
59288         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
59289         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
59290         ($(objpfx)libanl.so): Likewise.
59291         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
59292         ld.so.
59293         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
59294         $(link-libc-deps).
59295         * sysdeps/i386/fpu/Makefile: Remove file.
59296         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
59297         ($(objpfx)libm.so): Remove dependency on ld.so.
59299 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
59301         [BZ # 15553]
59302         * nis/yp_xdr.c (XDRMAXNAME): Define.
59303         (XDRMAXRECORD): Define.
59304         (xdr_domainname): Use XDRMAXNAME.
59305         (xdr_mapname): Likewise.
59306         (xdr_peername): Likewise.
59307         (xdr_keydat): Use XDRMAXRECORD.
59308         (xdr_valdat): Likewise.
59310 2013-05-30  Jeff Law  <law@redhat.com>
59312         [BZ #14256]
59313         * manual/errno.texi (ESTALE): Update to account for more than
59314         just NFS file systems.
59315         * sysdeps/gnu/errlist.c: Regenerated.
59317 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59319         [BZ #15465]
59320         * elf/Makefile (tests): Add tst-null-argv.
59321         (modules-names):  Add tst-null-argv-lib.
59322         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
59323         (tst-null-argv-ENV): Set environment for tst-null-argv.
59324         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
59325         (RTLD_PROGNAME): New macro.
59326         * elf/tst-null-argv.c: New test case.
59327         * elf/tst-null-argv-lib.c: Library for test case.
59328         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
59329         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
59330         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
59331         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
59332         * elf/dl-init.c (call_init): Likewise.
59333         (_dl_init): Likewise.
59334         * elf/dl-load.c (print_search_path): Likewise.
59335         (_dl_map_object): Likewise.
59336         * elf/dl-lookup.c (do_lookup_x): Likewise.
59337         (add_dependency): Likewise.
59338         (_dl_lookup_symbol_x): Likewise.
59339         (_dl_debug_bindings): Likewise.
59340         * elf/dl-open.c (_dl_show_scope): Likewise.
59341         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
59342         * elf/dl-version.c (match_symbol): Likewise.
59343         (_dl_check_map_versions): Likewise.
59344         * elf/rtld.c (dl_main): Likewise.
59345         (print_unresolved): Use RTLD_PROGNAME.
59346         (print_missing_version): Likewise.
59347         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
59348         (elf_machine_rela): Likewise.
59349         * sysdeps/powerpc/powerpc32/dl-machine.c
59350         (__process_machine_rela): Likewise.
59351         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59352         Likewise.
59353         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59354         Likewise.
59355         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
59356         Likewise.
59357         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59358         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
59359         Likewise.
59360         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
59361         Likewise.
59362         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59364 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
59366         * po/be.po: Add descriptive title.
59367         * po/zh_CN.po: Likewise.
59368         * po/header.pot: Likewise.
59370 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
59372         * locale/programs/locarchive.c (create_archive): Inlucde fname in
59373         error message.
59374         (enlarge_archive): Likewise.
59376 2013-05-28  Ben North  <ben@redfrontdoor.org>
59378         * manual/arith.texi (frexp): It is the magnitude of the return
59379         value which lies in [0.5, 1), not the return value itself.
59381 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59385 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
59387         * stdio-common/bug26.c (main): Correct fscanf template.
59389         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
59390         declare _dl_skip_args.
59392         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
59393         Don't declare.
59395         * manual/platform.texi: Add missing @end deftypefun.
59397 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59399         [BZ #15529]
59400         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
59401         bit of mantissa of 2^16382.
59402         * math/libm-test.inc (hypot_test_data): Add more tests.
59404         * math/libm-test.inc: Add drem and pow10 to list of tested
59405         functions.
59406         (pow10_test): New function.
59407         (drem_test): Likewise.
59408         (drem_test_tonearest): Likewise.
59409         (drem_test_towardzero): Likewise.
59410         (drem_test_downward): Likewise.
59411         (drem_test_upward): Likewise.
59412         (main): Call the new functions.
59414         * math/libm-test.inc (finite_test_data): Remove.
59415         (finite_test): Run tests from isfinite_test_data.
59416         (gamma_test_data): Remove.
59417         (gamma_test): Run tests from lgamma_test_data.
59418         * sysdeps/i386/fpu/libm-test-ulps: Update.
59419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59421 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59423         * manual/platform.texi: Add PowerPC PPR function set documentation.
59424         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
59425         implementation.
59427 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
59429         * math/libm-test.inc (MAX_EXP): Define.
59430         (ULPDIFF): Define.
59431         (ulp): New function.
59432         (check_float_internal): Use ULPDIFF.
59433         (cpow_test): Disable failing test.
59434         (check_ulp): Test ulp() implementation.
59435         (main): Call check_ulp before starting tests.
59437 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59439         * math/gen-libm-test.pl (generate_testfile): Do not handle
59440         START_DATA and END_DATA.
59441         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
59442         END_DATA.
59443         (acos_tonearest_test_data): Likewise.
59444         (acos_towardzero_test_data): Likewise.
59445         (acos_downward_test_data): Likewise.
59446         (acos_upward_test_data): Likewise.
59447         (acosh_test_data): Likewise.
59448         (asin_test_data): Likewise.
59449         (asin_tonearest_test_data): Likewise.
59450         (asin_towardzero_test_data): Likewise.
59451         (asin_downward_test_data): Likewise.
59452         (asin_upward_test_data): Likewise.
59453         (asinh_test_data): Likewise.
59454         (atan_test_data): Likewise.
59455         (atanh_test_data): Likewise.
59456         (atan2_test_data): Likewise.
59457         (cabs_test_data): Likewise.
59458         (cacos_test_data): Likewise.
59459         (cacosh_test_data): Likewise.
59460         (carg_test_data): Likewise.
59461         (casin_test_data): Likewise.
59462         (casinh_test_data): Likewise.
59463         (catan_test_data): Likewise.
59464         (catanh_test_data): Likewise.
59465         (cbrt_test_data): Likewise.
59466         (ccos_test_data): Likewise.
59467         (ccosh_test_data): Likewise.
59468         (ceil_test_data): Likewise.
59469         (cexp_test_data): Likewise.
59470         (cimag_test_data): Likewise.
59471         (clog_test_data): Likewise.
59472         (clog10_test_data): Likewise.
59473         (conj_test_data): Likewise.
59474         (copysign_test_data): Likewise.
59475         (cos_test_data): Likewise.
59476         (cos_tonearest_test_data): Likewise.
59477         (cos_towardzero_test_data): Likewise.
59478         (cos_downward_test_data): Likewise.
59479         (cos_upward_test_data): Likewise.
59480         (cosh_test_data): Likewise.
59481         (cosh_tonearest_test_data): Likewise.
59482         (cosh_towardzero_test_data): Likewise.
59483         (cosh_downward_test_data): Likewise.
59484         (cosh_upward_test_data): Likewise.
59485         (cpow_test_data): Likewise.
59486         (cproj_test_data): Likewise.
59487         (creal_test_data): Likewise.
59488         (csin_test_data): Likewise.
59489         (csinh_test_data): Likewise.
59490         (csqrt_test_data): Likewise.
59491         (ctan_test_data): Likewise.
59492         (ctan_tonearest_test_data): Likewise.
59493         (ctan_towardzero_test_data): Likewise.
59494         (ctan_downward_test_data): Likewise.
59495         (ctan_upward_test_data): Likewise.
59496         (ctanh_test_data): Likewise.
59497         (ctanh_tonearest_test_data): Likewise.
59498         (ctanh_towardzero_test_data): Likewise.
59499         (ctanh_downward_test_data): Likewise.
59500         (ctanh_upward_test_data): Likewise.
59501         (erf_test_data): Likewise.
59502         (erfc_test_data): Likewise.
59503         (exp_test_data): Likewise.
59504         (exp_tonearest_test_data): Likewise.
59505         (exp_towardzero_test_data): Likewise.
59506         (exp_downward_test_data): Likewise.
59507         (exp_upward_test_data): Likewise.
59508         (exp10_test_data): Likewise.
59509         (exp2_test_data): Likewise.
59510         (expm1_test_data): Likewise.
59511         (fabs_test_data): Likewise.
59512         (fdim_test_data): Likewise.
59513         (finite_test_data): Likewise.
59514         (floor_test_data): Likewise.
59515         (fma_test_data): Likewise.
59516         (fma_towardzero_test_data): Likewise.
59517         (fma_downward_test_data): Likewise.
59518         (fma_upward_test_data): Likewise.
59519         (fmax_test_data): Likewise.
59520         (fmin_test_data): Likewise.
59521         (fmod_test_data): Likewise.
59522         (fpclassify_test_data): Likewise.
59523         (frexp_test_data): Likewise.
59524         (gamma_test_data): Likewise.
59525         (hypot_test_data): Likewise.
59526         (ilogb_test_data): Likewise.
59527         (isfinite_test_data): Likewise.
59528         (isgreater_test_data): Likewise.
59529         (isgreaterequal_test_data): Likewise.
59530         (isinf_test_data): Likewise.
59531         (isless_test_data): Likewise.
59532         (islessequal_test_data): Likewise.
59533         (islessgreater_test_data): Likewise.
59534         (isnan_test_data): Likewise.
59535         (isnormal_test_data): Likewise.
59536         (issignaling_test_data): Likewise.
59537         (isunordered_test_data): Likewise.
59538         (j0_test_data): Likewise.
59539         (j1_test_data): Likewise.
59540         (jn_test_data): Likewise.
59541         (ldexp_test_data): Likewise.
59542         (lgamma_test_data): Likewise.
59543         (lrint_test_data): Likewise.
59544         (lrint_tonearest_test_data): Likewise.
59545         (lrint_towardzero_test_data): Likewise.
59546         (lrint_downward_test_data): Likewise.
59547         (lrint_upward_test_data): Likewise.
59548         (llrint_test_data): Likewise.
59549         (llrint_tonearest_test_data): Likewise.
59550         (llrint_towardzero_test_data): Likewise.
59551         (llrint_downward_test_data): Likewise.
59552         (llrint_upward_test_data): Likewise.
59553         (log_test_data): Likewise.
59554         (log10_test_data): Likewise.
59555         (log1p_test_data): Likewise.
59556         (log2_test_data): Likewise.
59557         (logb_test_data): Likewise.
59558         (logb_downward_test_data): Likewise.
59559         (lround_test_data): Likewise.
59560         (llround_test_data): Likewise.
59561         (modf_test_data): Likewise.
59562         (nearbyint_test_data): Likewise.
59563         (nextafter_test_data): Likewise.
59564         (nexttoward_test_data): Likewise.
59565         (pow_test_data): Likewise.
59566         (pow_tonearest_test_data): Likewise.
59567         (pow_towardzero_test_data): Likewise.
59568         (pow_downward_test_data): Likewise.
59569         (pow_upward_test_data): Likewise.
59570         (remainder_test_data): Likewise.
59571         (remainder_tonearest_test_data): Likewise.
59572         (remainder_towardzero_test_data): Likewise.
59573         (remainder_downward_test_data): Likewise.
59574         (remainder_upward_test_data): Likewise.
59575         (remquo_test_data): Likewise.
59576         (rint_test_data): Likewise.
59577         (rint_tonearest_test_data): Likewise.
59578         (rint_towardzero_test_data): Likewise.
59579         (rint_downward_test_data): Likewise.
59580         (rint_upward_test_data): Likewise.
59581         (round_test_data): Likewise.
59582         (scalb_test_data): Likewise.
59583         (scalbn_test_data): Likewise.
59584         (scalbln_test_data): Likewise.
59585         (signbit_test_data): Likewise.
59586         (sin_test_data): Likewise.
59587         (sin_tonearest_test_data): Likewise.
59588         (sin_towardzero_test_data): Likewise.
59589         (sin_downward_test_data): Likewise.
59590         (sin_upward_test_data): Likewise.
59591         (sincos_test_data): Likewise.
59592         (sinh_test_data): Likewise.
59593         (sinh_tonearest_test_data): Likewise.
59594         (sinh_towardzero_test_data): Likewise.
59595         (sinh_downward_test_data): Likewise.
59596         (sinh_upward_test_data): Likewise.
59597         (sqrt_test_data): Likewise.
59598         (tan_test_data): Likewise.
59599         (tan_tonearest_test_data): Likewise.
59600         (tan_towardzero_test_data): Likewise.
59601         (tan_downward_test_data): Likewise.
59602         (tan_upward_test_data): Likewise.
59603         (tanh_test_data): Likewise.
59604         (tgamma_test_data): Likewise.
59605         (trunc_test_data): Likewise.
59606         (y0_test_data): Likewise.
59607         (y1_test_data): Likewise.
59608         (yn_test_data): Likewise.
59609         (significand_test_data): Likewise.
59611         * math/gen-libm-test.pl (@functions): Remove variable.
59612         (generate_testfile): Don't handle START and END lines.
59613         * math/libm-test.inc (START): New macro.
59614         (END): Likewise.
59615         (END_COMPLEX): Likewise.
59616         (acos_test): Use END macro without arguments.
59617         (acos_test_tonearest): Likewise.
59618         (acos_test_towardzero): Likewise.
59619         (acos_test_downward): Likewise.
59620         (acos_test_upward): Likewise.
59621         (acosh_test): Likewise.
59622         (asin_test): Likewise.
59623         (asin_test_tonearest): Likewise.
59624         (asin_test_towardzero): Likewise.
59625         (asin_test_downward): Likewise.
59626         (asin_test_upward): Likewise.
59627         (asinh_test): Likewise.
59628         (atan_test): Likewise.
59629         (atanh_test): Likewise.
59630         (atan2_test): Likewise.
59631         (cabs_test): Likewise.
59632         (cacos_test): Use END_COMPLEX macro without arguments.
59633         (cacosh_test): Likewise.
59634         (carg_test): Use END macro without arguments.
59635         (casin_test): Use END_COMPLEX macro without arguments.
59636         (casinh_test): Likewise.
59637         (catan_test): Likewise.
59638         (catanh_test): Likewise.
59639         (cbrt_test): Use END macro without arguments.
59640         (ccos_test): Use END_COMPLEX macro without arguments.
59641         (ccosh_test): Likewise.
59642         (ceil_test): Use END macro without arguments.
59643         (cexp_test): Use END_COMPLEX macro without arguments.
59644         (cimag_test): Use END macro without arguments.
59645         (clog_test): Use END_COMPLEX macro without arguments.
59646         (clog10_test): Likewise.
59647         (conj_test): Likewise.
59648         (copysign_test): Use END macro without arguments.
59649         (cos_test): Likewise.
59650         (cos_test_tonearest): Likewise.
59651         (cos_test_towardzero): Likewise.
59652         (cos_test_downward): Likewise.
59653         (cos_test_upward): Likewise.
59654         (cosh_test): Likewise.
59655         (cosh_test_tonearest): Likewise.
59656         (cosh_test_towardzero): Likewise.
59657         (cosh_test_downward): Likewise.
59658         (cosh_test_upward): Likewise.
59659         (cpow_test): Use END_COMPLEX macro without arguments.
59660         (cproj_test): Likewise.
59661         (creal_test): Use END macro without arguments.
59662         (csin_test): Use END_COMPLEX macro without arguments.
59663         (csinh_test): Likewise.
59664         (csqrt_test): Likewise.
59665         (ctan_test): Likewise.
59666         (ctan_test_tonearest): Likewise.
59667         (ctan_test_towardzero): Likewise.
59668         (ctan_test_downward): Likewise.
59669         (ctan_test_upward): Likewise.
59670         (ctanh_test): Likewise.
59671         (ctanh_test_tonearest): Likewise.
59672         (ctanh_test_towardzero): Likewise.
59673         (ctanh_test_downward): Likewise.
59674         (ctanh_test_upward): Likewise.
59675         (erf_test): Use END macro without arguments.
59676         (erfc_test): Likewise.
59677         (exp_test): Likewise.
59678         (exp_test_tonearest): Likewise.
59679         (exp_test_towardzero): Likewise.
59680         (exp_test_downward): Likewise.
59681         (exp_test_upward): Likewise.
59682         (exp10_test): Likewise.
59683         (exp2_test): Likewise.
59684         (expm1_test): Likewise.
59685         (fabs_test): Likewise.
59686         (fdim_test): Likewise.
59687         (finite_test): Likewise.
59688         (floor_test): Likewise.
59689         (fma_test): Likewise.
59690         (fma_test_towardzero): Likewise.
59691         (fma_test_downward): Likewise.
59692         (fma_test_upward): Likewise.
59693         (fmax_test): Likewise.
59694         (fmin_test): Likewise.
59695         (fmod_test): Likewise.
59696         (fpclassify_test): Likewise.
59697         (frexp_test): Likewise.
59698         (gamma_test): Likewise.
59699         (hypot_test): Likewise.
59700         (ilogb_test): Likewise.
59701         (isfinite_test): Likewise.
59702         (isgreater_test): Likewise.
59703         (isgreaterequal_test): Likewise.
59704         (isinf_test): Likewise.
59705         (isless_test): Likewise.
59706         (islessequal_test): Likewise.
59707         (islessgreater_test): Likewise.
59708         (isnan_test): Likewise.
59709         (isnormal_test): Likewise.
59710         (issignaling_test): Likewise.
59711         (isunordered_test): Likewise.
59712         (j0_test): Likewise.
59713         (j1_test): Likewise.
59714         (jn_test): Likewise.
59715         (ldexp_test): Likewise.
59716         (lgamma_test): Likewise.
59717         (lrint_test): Likewise.
59718         (lrint_test_tonearest): Likewise.
59719         (lrint_test_towardzero): Likewise.
59720         (lrint_test_downward): Likewise.
59721         (lrint_test_upward): Likewise.
59722         (llrint_test): Likewise.
59723         (llrint_test_tonearest): Likewise.
59724         (llrint_test_towardzero): Likewise.
59725         (llrint_test_downward): Likewise.
59726         (llrint_test_upward): Likewise.
59727         (log_test): Likewise.
59728         (log10_test): Likewise.
59729         (log1p_test): Likewise.
59730         (log2_test): Likewise.
59731         (logb_test): Likewise.
59732         (logb_test_downward): Likewise.
59733         (lround_test): Likewise.
59734         (llround_test): Likewise.
59735         (modf_test): Likewise.
59736         (nearbyint_test): Likewise.
59737         (nextafter_test): Likewise.
59738         (nexttoward_test): Likewise.
59739         (pow_test): Likewise.
59740         (pow_test_tonearest): Likewise.
59741         (pow_test_towardzero): Likewise.
59742         (pow_test_downward): Likewise.
59743         (pow_test_upward): Likewise.
59744         (remainder_test): Likewise.
59745         (remainder_test_tonearest): Likewise.
59746         (remainder_test_towardzero): Likewise.
59747         (remainder_test_downward): Likewise.
59748         (remainder_test_upward): Likewise.
59749         (remquo_test): Likewise.
59750         (rint_test): Likewise.
59751         (rint_test_tonearest): Likewise.
59752         (rint_test_towardzero): Likewise.
59753         (rint_test_downward): Likewise.
59754         (rint_test_upward): Likewise.
59755         (round_test): Likewise.
59756         (scalb_test): Likewise.
59757         (scalbn_test): Likewise.
59758         (scalbln_test): Likewise.
59759         (signbit_test): Likewise.
59760         (sin_test): Likewise.
59761         (sin_test_tonearest): Likewise.
59762         (sin_test_towardzero): Likewise.
59763         (sin_test_downward): Likewise.
59764         (sin_test_upward): Likewise.
59765         (sincos_test): Likewise.
59766         (sinh_test): Likewise.
59767         (sinh_test_tonearest): Likewise.
59768         (sinh_test_towardzero): Likewise.
59769         (sinh_test_downward): Likewise.
59770         (sinh_test_upward): Likewise.
59771         (sqrt_test): Likewise.
59772         (tan_test): Likewise.
59773         (tan_test_tonearest): Likewise.
59774         (tan_test_towardzero): Likewise.
59775         (tan_test_downward): Likewise.
59776         (tan_test_upward): Likewise.
59777         (tanh_test): Likewise.
59778         (tgamma_test): Likewise.
59779         (trunc_test): Likewise.
59780         (y0_test): Likewise.
59781         (y1_test): Likewise.
59782         (yn_test): Likewise.
59783         (significand_test): Likewise.
59785 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
59787         [BZ #15381]
59788         * libio/genops.c (_IO_no_init): Initialize wide struct info.
59790 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59792         [BZ #14894]
59793         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
59794         __ppc_mdoio and __ppc_mdoom.
59795         * manual/platform.texi: Document new functions __ppc_yield,
59796         __ppc_mdoio and __ppc_mdoom.
59798 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
59800         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
59801         (main): Mention "tls" pseudo-hwcap is legacy.
59802         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
59804 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59806         * math/gen-libm-test.pl (parse_args): Output only string of
59807         arguments as text for test name, not full call or descriptions of
59808         tests for extra outputs.
59809         (generate_testfile): Do not pass function name to parse_args.
59810         Generate this_func variable from START.
59811         * math/libm-test.inc (struct test_f_f_data): Rename test_name
59812         field to arg_str.
59813         (struct test_ff_f_data): Likewise.
59814         (test_ff_f_data_nexttoward): Likewise.
59815         (struct test_fi_f_data): Likewise.
59816         (struct test_fl_f_data): Likewise.
59817         (struct test_if_f_data): Likewise.
59818         (struct test_fff_f_data): Likewise.
59819         (struct test_c_f_data): Likewise.
59820         (struct test_f_f1_data): Likewise.  Remove field extra_name.
59821         (struct test_fF_f1_data): Likewise.
59822         (struct test_ffI_f1_data): Likewise.
59823         (struct test_c_c_data): Rename test_name field to arg_str.
59824         (struct test_cc_c_data): Likewise.
59825         (struct test_f_i_data): Likewise.
59826         (struct test_ff_i_data): Likewise.
59827         (struct test_f_l_data): Likewise.
59828         (struct test_f_L_data): Likewise.
59829         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
59830         and extra2_name.
59831         (COMMON_TEST_SETUP): New macro.
59832         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
59833         (COMMON_TEST_CLEANUP): Likewise.
59834         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
59835         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
59836         macros.
59837         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
59838         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
59839         macros.
59840         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
59841         (RUN_TEST_fff_f): Take argument string.  Call new setup and
59842         cleanup macros.
59843         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
59844         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
59845         macros.
59846         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
59847         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
59848         macros.
59849         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59850         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
59851         cleanup macros.
59852         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59853         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
59854         cleanup macros.
59855         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59856         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
59857         cleanup macros.
59858         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59859         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
59860         macros.
59861         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
59862         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
59863         macros.
59864         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
59865         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
59866         macros.
59867         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
59868         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
59869         cleanup macros.
59870         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
59871         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
59872         cleanup macros.
59873         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
59874         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
59875         macros.
59876         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
59877         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
59878         cleanup macros.
59879         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
59880         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
59881         macros.
59882         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
59883         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
59884         macros.
59885         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
59886         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
59887         cleanup macros.
59888         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
59890 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
59892         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
59893         to _sifields.sigfault.
59894         (si_addr_lsb): Define new macro.
59895         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59896         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59897         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
59899 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
59901         [BZ #15441]
59902         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
59903         returns -1.
59904         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
59905         null return -1.
59906         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
59907         loading the domain.
59909 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59911         * math/gen-libm-test.pl (parse_args): Do not include expected
59912         result in test name.
59913         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
59914         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59915         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59916         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59917         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59920 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59922         * benchtests/Makefile: Sort function entries.
59924         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
59925         tanh, asinh, acosh, atanh.
59926         * benchtests/acos-inputs: New file.
59927         * benchtests/acosh-inputs: New file.
59928         * benchtests/asin-inputs: New file.
59929         * benchtests/asinh-inputs: New file.
59930         * benchtests/atanh-inputs: New file.
59931         * benchtests/cosh-inputs: New file.
59932         * benchtests/log-inputs: New file.
59933         * benchtests/sinh-inputs: New file.
59934         * benchtests/tanh-inputs: New file.
59936 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
59938         [BZ #15339]
59939         * posix/tst-getaddrinfo4.c: New test.
59940         * posix/Makefile (tests): Add it.
59942 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59944         [BZ #15339]
59945         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
59946         when no services were used.
59947         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
59948         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
59950 2013-05-21  Andreas Schwab  <schwab@suse.de>
59952         [BZ #15014]
59953         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
59954         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
59955         successful.
59956         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
59957         redundant variable declarations and reallocation of buffer when
59958         parsing as IPv6 address.  Always set NSS status when called from
59959         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
59960         buffer too small.  Correct computation of needed size.
59961         * nss/Makefile (tests): Add test-digits-dots.
59962         * nss/test-digits-dots.c: New test.
59964 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59966         * benchtests/Makefile: Remove instructions for adding
59967         benchmark tests.
59968         * benchtests/README: New file to explain how to execute and
59969         enhance the benchmark tests.
59971 2013-05-21  Andreas Schwab  <schwab@suse.de>
59973         [BZ #15493]
59974         * setjmp/Makefile (tests): Add tst-sigsetjmp.
59975         * setjmp/tst-sigsetjmp.c: New test.
59977 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59979         * sysdeps/x86_64/memset.S (memset): New implementation.
59980         (__bzero): Likewise.
59981         (__memset_tail): New function.
59983 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59985         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
59986         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
59987         __memcpy_sse2_unaligned ifunc selection.
59988         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59989         Add memcpy-sse2-unaligned.S.
59990         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59991         Add: __memcpy_sse2_unaligned.
59993 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
59995         [BZ #15490]
59996         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59997         math_force_eval before restoring floating-point envrionment.
59998         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
59999         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
60000         Likewise.
60001         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
60002         <math_private.h>.
60003         (__nearbyintl): Use math_force_eval before restoring
60004         floating-point environment.
60005         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
60007         * math/gen-libm-test.pl (special_functions): Remove.
60008         (parse_args): Don't handle TEST_extra.  Handle functions with no
60009         return value.
60010         * math/libm-test.inc (struct test_sincos_data): Replace with
60011         struct test_fFF_11_data.
60012         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
60013         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
60014         (sincos_test_data): Change element type to struct
60015         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
60016         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
60017         RUN_TEST_LOOP_sincos.
60018         * math/README.libm-test: Don't mention special handling of
60019         individual functions.
60020         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
60021         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60022         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60023         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60024         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60027         * math/gen-libm-test.pl (get_variable): Remove function.
60028         (parse_args): Don't show pointer parameters to call in test
60029         names.  Use "extra output N" in test names for extra outputs
60030         rather than naming variables.
60032 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
60034         [BZ #15488]
60035         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
60036         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
60037         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
60038         double tests.
60039         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
60040         disable.
60041         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
60042         check_long_double.
60044         * math/gen-libm-test.pl (@tests): Remove variable.
60045         ($count): Likewise.
60046         (new_test): Remove function.
60047         (show_exceptions): New function.
60048         (special_functions): Use show_exceptions instead of new_test.
60049         (parse_args): Likewise.
60050         (generate_testfile): Pass only function name in generated call to
60051         print_max_error or print_complex_max_error.
60052         (get_ulps): Do not handle complex tests specially.
60053         (output_test): Rename to ...
60054         (get_all_ulps_for_test): ... this.  Return a string rather than
60055         printing to a file.  Require ulps to be present.
60056         (output_ulps): Generate arrays rather than #defines.
60057         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
60058         (struct ulp_data): New type.
60059         (BUILD_COMPLEX_ULP): Remove macro.
60060         (compare_ulp_data): New function.
60061         (find_ulps): Likewise.
60062         (find_test_ulps): Likewise.
60063         (find_function_ulps): Likewise.
60064         (find_complex_function_ulps): Likewise.
60065         (print_max_error): Determine allowed ulps using
60066         find_function_ulps.
60067         (print_complex_max_error): Determine allowed ulps using
60068         find_complex_function_ulps.
60069         (check_float_internal): Determine max ulps using find_test_ulps.
60070         (check_float): Do not take max_ulp parameter.  Update call to
60071         check_float_internal.
60072         (check_complex): Likewise.
60073         (check_int): Do not take max_ulp parameter.
60074         (check_long): Likewise.
60075         (check_bool): Likewise.
60076         (check_longlong): Likewise.
60077         (struct test_f_f_data): Remove max_ulp field.
60078         (struct test_ff_f_data): Likewise.
60079         (struct test_ff_f_data_nexttoward): Likewise.
60080         (struct test_fi_f_data): Likewise.
60081         (struct test_fl_f_data): Likewise.
60082         (struct test_if_f_data): Likewise.
60083         (struct test_fff_f_data): Likewise.
60084         (struct test_c_f_data): Likewise.
60085         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
60086         (struct test_fF_f1_data): Likewise.
60087         (struct test_ffI_f1_data): Likewise.
60088         (struct test_c_c_data): Remove max_ulp field.
60089         (struct test_cc_c_data): Likewise.
60090         (struct test_f_i_data): Likewise.
60091         (struct test_ff_i_data): Likewise.
60092         (struct test_f_l_data): Likewise.
60093         (struct test_f_L_data): Likewise.
60094         (struct test_sincos_data): Likewise.
60095         (RUN_TEST_f_f): Do not handle ulps.
60096         (RUN_TEST_LOOP_f_f): Likewise.
60097         (RUN_TEST_2_f): Likewise.
60098         (RUN_TEST_LOOP_2_f): Likewise.
60099         (RUN_TEST_fff_f): Likewise.
60100         (RUN_TEST_LOOP_fff_f): Likewise.
60101         (RUN_TEST_c_f): Likewise.
60102         (RUN_TEST_LOOP_c_f): Likewise.
60103         (RUN_TEST_f_f1): Likewise.
60104         (RUN_TEST_LOOP_f_f1): Likewise.
60105         (RUN_TEST_fF_f1): Likewise.
60106         (RUN_TEST_LOOP_fF_f1): Likewise.
60107         (RUN_TEST_fI_f1): Likewise.
60108         (RUN_TEST_LOOP_fI_f1): Likewise.
60109         (RUN_TEST_ffI_f1): Likewise.
60110         (RUN_TEST_LOOP_ffI_f1): Likewise.
60111         (RUN_TEST_c_c): Likewise.
60112         (RUN_TEST_LOOP_c_c): Likewise.
60113         (RUN_TEST_cc_c): Likewise.
60114         (RUN_TEST_LOOP_cc_c): Likewise.
60115         (RUN_TEST_f_i): Likewise.
60116         (RUN_TEST_LOOP_f_i): Likewise.
60117         (RUN_TEST_f_i_tg): Likewise.
60118         (RUN_TEST_LOOP_f_i_tg): Likewise.
60119         (RUN_TEST_ff_i_tg): Likewise.
60120         (RUN_TEST_LOOP_ff_i_tg): Likewise.
60121         (RUN_TEST_f_b): Likewise.
60122         (RUN_TEST_LOOP_f_b): Likewise.
60123         (RUN_TEST_f_b_tg): Likewise.
60124         (RUN_TEST_LOOP_f_b_tg): Likewise.
60125         (RUN_TEST_f_l): Likewise.
60126         (RUN_TEST_LOOP_f_l): Likewise.
60127         (RUN_TEST_f_L): Likewise.
60128         (RUN_TEST_LOOP_f_L): Likewise.
60129         (RUN_TEST_sincos): Likewise.
60130         (RUN_TEST_LOOP_sincos): Likewise.
60132 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
60134         [BZ #15480]
60135         [BZ #15485]
60136         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
60137         main case of finite arguments, set rounding mode to FE_TONEAREST
60138         and discard exceptions.
60139         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
60140         exceptions.
60141         (remainder_tonearest_test_data): New variable.
60142         (remainder_test_tonearest): New function.
60143         (remainder_towardzero_test_data): New variable.
60144         (remainder_test_towardzero): New function.
60145         (remainder_downward_test_data): New variable.
60146         (remainder_test_downward): New function.
60147         (remainder_upward_test_data): New variable.
60148         (remainder_test_upward): New function.
60149         (main): Call the new test functions.
60151         * math/libm-test.inc (struct test_f_f1_data): Remove field
60152         extra_init.
60153         (struct test_fF_f1_data): Likewise.
60154         (struct test_ffI_f1_data): Likewise.
60155         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
60156         based on value of EXTRA_EXPECTED.
60157         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60158         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
60159         EXTRA_VAR based on value of EXTRA_EXPECTED.
60160         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60161         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
60162         EXTRA_VAR based on value of EXTRA_EXPECTED.
60163         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60164         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
60165         EXTRA_VAR based on value of EXTRA_EXPECTED.
60166         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60167         * math/gen-libm-test.pl (parse_args): Don't output initializers
60168         for extra output values.
60170         * math/libm-test.inc (check_int): Expect result to be exactly
60171         equal to expected value and do not handle ulps.
60172         (check_long): Likewise.
60173         (check_longlong): Likewise.
60175         * math/libm-test.inc (ceil_test_data): Test for "inexact"
60176         exceptions.
60177         (cimag_test_data): Likewise.
60178         (conj_test_data): Likewise.
60179         (copysign_test_data): Likewise.
60180         (cproj_test_data): Likewise.
60181         (creal_test_data): Likewise.
60182         (fabs_test_data): Likewise.
60183         (fdim_test_data): Likewise.
60184         (finite_test_data): Likewise.
60185         (floor_test_data): Likewise.
60186         (fmax_test_data): Likewise.
60187         (fmin_test_data): Likewise.
60188         (fmod_test_data): Likewise.
60189         (fpclassify_test_data): Likewise.
60190         (frexp_test_data): Likewise.
60191         (ilogb_test_data): Likewise.
60192         (isfinite_test_data): Likewise.
60193         (isgreater_test_data): Likewise.
60194         (isgreaterequal_test_data): Likewise.
60195         (isinf_test_data): Likewise.
60196         (isless_test_data): Likewise.
60197         (islessequal_test_data): Likewise.
60198         (islessgreater_test_data): Likewise.
60199         (isnan_test_data): Likewise.
60200         (isnormal_test_data): Likewise.
60201         (issignaling_test_data): Likewise.
60202         (isunordered_test_data): Likewise.
60203         (ldexp_test_data): Likewise.
60204         (lrint_test_data): Likewise.
60205         (lrint_test_data) [TEST_FLOAT]: Disable one test.
60206         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
60207         (lrint_tonearest_test_data): Test for "inexact" exceptions.
60208         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60209         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
60210         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60211         test input.
60212         (lrint_towardzero_test_data): Test for "inexact" exceptions.
60213         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60214         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
60215         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
60216         that test input.
60217         (lrint_downward_test_data): Test for "inexact" exceptions.
60218         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60219         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
60220         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60221         test input.
60222         (lrint_upward_test_data): Test for "inexact" exceptions.
60223         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
60224         test input.
60225         (llrint_test_data): Test for "inexact" exceptions.
60226         (llrint_test_data) [TEST_FLOAT]: Disable one test.
60227         (llrint_tonearest_test_data): Test for "inexact" exceptions.
60228         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60229         (llrint_towardzero_test_data): Test for "inexact" exceptions.
60230         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60231         (llrint_downward_test_data): Test for "inexact" exceptions.
60232         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60233         (llrint_upward_test_data): Test for "inexact" exceptions.
60234         (logb_test_data): Likewise.
60235         (logb_downward_test_data): Likewise.
60236         (nextafter_test_data): Likewise.
60237         (nexttoward_test_data): Likewise.
60238         (remainder_test_data): Likewise.
60239         (remquo_test_data): Likewise.
60240         (scalbn_test_data): Likewise.
60241         (scalbln_test_data): Likewise.
60242         (signbit_test_data): Likewise.
60243         (sqrt_test_data): Likewise.
60244         (significand_test_data): Likewise.
60246 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60248         [BZ #15424]
60249         * benchtests/bench-modf.c (struct args): Mark arg0 as
60250         volatile.
60251         * scripts/bench.pl: Mark members of struct args as volatile.
60253 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60255         [BZ # 15497]
60256         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
60257         negative infinity on POWER6 or lower.
60258         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
60260 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
60262         [BZ #15442]
60263         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
60264         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
60265         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
60266         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
60267         (_FP_SETQNAN): New macro.
60268         (_FP_SETQNAN_SEMIRAW): Likewise.
60269         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
60270         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
60271         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
60272         (FP_EXTEND): Use _FP_FRAC_SNANP.
60273         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
60274         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
60275         into account.
60276         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60277         New macro.
60278         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60279         Likewise.
60281 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60283         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
60284         with DIVIDE_BY_ZERO_EXCEPTION.
60285         (gamma_test_data): Likewise.
60286         (lgamma_test_data): Likewise.
60287         (log_test_data): Likewise.
60288         (log10_test_data): Likewise.
60289         (log2_test_data): Likewise.
60290         (tgamma_test_data): Likewise.
60292         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
60293         (acos_test_tonearest): Likewise.
60294         (acos_test_towardzero): Likewise.
60295         (acos_test_downward): Likewise.
60296         (acos_test_upward): Likewise.
60297         (acosh_test): Likewise.
60298         (asin_test): Likewise.
60299         (asin_test_tonearest): Likewise.
60300         (asin_test_towardzero): Likewise.
60301         (asin_test_downward): Likewise.
60302         (asin_test_upward): Likewise.
60303         (asinh_test): Likewise.
60304         (atan_test): Likewise.
60305         (atanh_test): Likewise.
60306         (atan2_test): Likewise.
60307         (cabs_test): Likewise.
60308         (cacos_test): Likewise.
60309         (cacosh_test): Likewise.
60310         (casin_test): Likewise.
60311         (casinh_test): Likewise.
60312         (catan_test): Likewise.
60313         (catanh_test): Likewise.
60314         (cbrt_test): Likewise.
60315         (ccos_test): Likewise.
60316         (ccosh_test): Likewise.
60317         (cexp_test): Likewise.
60318         (clog_test): Likewise.
60319         (clog10_test): Likewise.
60320         (cos_test): Likewise.
60321         (cos_test_tonearest): Likewise.
60322         (cos_test_towardzero): Likewise.
60323         (cos_test_downward): Likewise.
60324         (cos_test_upward): Likewise.
60325         (cosh_test): Likewise.
60326         (cosh_test_tonearest): Likewise.
60327         (cosh_test_towardzero): Likewise.
60328         (cosh_test_downward): Likewise.
60329         (cosh_test_upward): Likewise.
60330         (cpow_test): Likewise.
60331         (csin_test): Likewise.
60332         (csinh_test): Likewise.
60333         (csqrt_test): Likewise.
60334         (ctan_test): Likewise.
60335         (ctan_test_tonearest): Likewise.
60336         (ctan_test_towardzero): Likewise.
60337         (ctan_test_downward): Likewise.
60338         (ctan_test_upward): Likewise.
60339         (ctanh_test): Likewise.
60340         (ctanh_test_tonearest): Likewise.
60341         (ctanh_test_towardzero): Likewise.
60342         (ctanh_test_downward): Likewise.
60343         (ctanh_test_upward): Likewise.
60344         (erf_test): Likewise.
60345         (erfc_test): Likewise.
60346         (exp_test): Likewise.
60347         (exp_test_tonearest): Likewise.
60348         (exp_test_towardzero): Likewise.
60349         (exp_test_downward): Likewise.
60350         (exp_test_upward): Likewise.
60351         (exp10_test): Likewise.
60352         (exp2_test): Likewise.
60353         (expm1_test): Likewise.
60354         (fmod_test): Likewise.
60355         (gamma_test): Likewise.
60356         (hypot_test): Likewise.
60357         (j0_test): Likewise.
60358         (j1_test): Likewise.
60359         (jn_test): Likewise.
60360         (lgamma_test): Likewise.
60361         (log_test): Likewise.
60362         (log10_test): Likewise.
60363         (log1p_test): Likewise.
60364         (log2_test): Likewise.
60365         (logb_test_downward): Likewise.
60366         (pow_test): Likewise.
60367         (pow_test_tonearest): Likewise.
60368         (pow_test_towardzero): Likewise.
60369         (pow_test_downward): Likewise.
60370         (pow_test_upward): Likewise.
60371         (remainder_test): Likewise.
60372         (remquo_test): Likewise.
60373         (sin_test): Likewise.
60374         (sin_test_tonearest): Likewise.
60375         (sin_test_towardzero): Likewise.
60376         (sin_test_downward): Likewise.
60377         (sin_test_upward): Likewise.
60378         (sincos_test): Likewise.
60379         (sinh_test): Likewise.
60380         (sinh_test_tonearest): Likewise.
60381         (sinh_test_towardzero): Likewise.
60382         (sinh_test_downward): Likewise.
60383         (sinh_test_upward): Likewise.
60384         (sqrt_test): Likewise.
60385         (tan_test): Likewise.
60386         (tan_test_tonearest): Likewise.
60387         (tan_test_towardzero): Likewise.
60388         (tan_test_downward): Likewise.
60389         (tan_test_upward): Likewise.
60390         (tanh_test): Likewise.
60391         (tgamma_test): Likewise.
60392         (y0_test): Likewise.
60393         (y1_test): Likewise.
60394         (yn_test): Likewise.
60396         * math/gen-libm-test.pl (adjust_arg): Remove function.
60397         (special_function): Remove argument $in_func.  Only handle
60398         generating output for tables of tests, not inside functions.
60399         (parse_args): Likewise.
60400         (generate_testfile): Remove variable $in_func.  Update call to
60401         parse_args.
60402         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
60403         (MINUS_ZERO_INIT): Rename macro to minus_zero.
60404         (PLUS_INFTY_INIT): Rename macro to plus_infty.
60405         (MINUS_INFTY_INIT): Rename macro to minus_infty.
60406         (QNAN_VALUE_INIT): Rename macro to qnan_value.
60407         (MAX_VALUE_INIT): Rename macro to max_value.
60408         (MIN_VALUE_INIT): Rename macro to min_value.
60409         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
60410         (plus_zero): Remove variable.
60411         (minus_zero): Likewise.
60412         (plus_infty): Likewise.
60413         (minus_infty): Likewise.
60414         (qnan_value): Likewise.
60415         (max_value): Likewise.
60416         (min_value): Likewise.
60417         (min_subnorm_value): Likewise.
60419 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60421         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
60422         uint64_t or uint32_t usage.
60423         * crypt/sha256-block.c: Likewise.
60424         * crypt/sha256-crypt.c: Likewise.
60425         * crypt/sha256.c: Likewise.
60426         * crypt/sha512-block.c: Likewise.
60427         * crypt/sha512-crypt.c: Likewise.
60428         * crypt/sha512.c: Likewise.
60429         * debug/backtrace-tst.c: Likewise.
60430         * debug/pcprofiledump.c: Likewise.
60431         * elf/cache.c: Likewise.
60432         * elf/dl-cache.c: Likewise.
60433         * elf/dl-misc.c: Likewise.
60434         * elf/dl-profile.c: Likewise.
60435         * elf/dl-support.c: Likewise.
60436         * elf/ldconfig.c: Likewise.
60437         * elf/sprof.c: Likewise.
60438         * iconv/dummy-repertoire.c: Likewise.
60439         * iconv/iconv_charmap.c: Likewise.
60440         * iconv/skeleton.c: Likewise.
60441         * iconvdata/8bit-generic.c: Likewise.
60442         * iconvdata/cp737.h: Likewise.
60443         * iconvdata/cp775.h: Likewise.
60444         * iconvdata/ibm1008.h: Likewise.
60445         * iconvdata/ibm1025.h: Likewise.
60446         * iconvdata/ibm1046.h: Likewise.
60447         * iconvdata/ibm1097.h: Likewise.
60448         * iconvdata/ibm1112.h: Likewise.
60449         * iconvdata/ibm1122.h: Likewise.
60450         * iconvdata/ibm1123.h: Likewise.
60451         * iconvdata/ibm1124.h: Likewise.
60452         * iconvdata/ibm1129.h: Likewise.
60453         * iconvdata/ibm1130.h: Likewise.
60454         * iconvdata/ibm1132.h: Likewise.
60455         * iconvdata/ibm1133.h: Likewise.
60456         * iconvdata/ibm1137.h: Likewise.
60457         * iconvdata/ibm1140.h: Likewise.
60458         * iconvdata/ibm1141.h: Likewise.
60459         * iconvdata/ibm1142.h: Likewise.
60460         * iconvdata/ibm1143.h: Likewise.
60461         * iconvdata/ibm1144.h: Likewise.
60462         * iconvdata/ibm1145.h: Likewise.
60463         * iconvdata/ibm1146.h: Likewise.
60464         * iconvdata/ibm1147.h: Likewise.
60465         * iconvdata/ibm1148.h: Likewise.
60466         * iconvdata/ibm1149.h: Likewise.
60467         * iconvdata/ibm1153.h: Likewise.
60468         * iconvdata/ibm1154.h: Likewise.
60469         * iconvdata/ibm1155.h: Likewise.
60470         * iconvdata/ibm1156.h: Likewise.
60471         * iconvdata/ibm1157.h: Likewise.
60472         * iconvdata/ibm1158.h: Likewise.
60473         * iconvdata/ibm1160.h: Likewise.
60474         * iconvdata/ibm1161.h: Likewise.
60475         * iconvdata/ibm1162.h: Likewise.
60476         * iconvdata/ibm1163.h: Likewise.
60477         * iconvdata/ibm1164.h: Likewise.
60478         * iconvdata/ibm1166.h: Likewise.
60479         * iconvdata/ibm1167.h: Likewise.
60480         * iconvdata/ibm12712.h: Likewise.
60481         * iconvdata/ibm1390.h: Likewise.
60482         * iconvdata/ibm1399.h: Likewise.
60483         * iconvdata/ibm16804.h: Likewise.
60484         * iconvdata/ibm4517.h: Likewise.
60485         * iconvdata/ibm4899.h: Likewise.
60486         * iconvdata/ibm4909.h: Likewise.
60487         * iconvdata/ibm4971.h: Likewise.
60488         * iconvdata/ibm5347.h: Likewise.
60489         * iconvdata/ibm803.h: Likewise.
60490         * iconvdata/ibm856.h: Likewise.
60491         * iconvdata/ibm901.h: Likewise.
60492         * iconvdata/ibm902.h: Likewise.
60493         * iconvdata/ibm9030.h: Likewise.
60494         * iconvdata/ibm9066.h: Likewise.
60495         * iconvdata/ibm921.h: Likewise.
60496         * iconvdata/ibm922.h: Likewise.
60497         * iconvdata/ibm9448.h: Likewise.
60498         * iconvdata/isiri-3342.h: Likewise.
60499         * iconvdata/jis0201.h: Likewise.
60500         * include/link.h: Likewise.
60501         * include/netdb.h: Likewise.
60502         * inet/check_native.c: Likewise.
60503         * inet/check_pf.c: Likewise.
60504         * inet/getipv4sourcefilter.c: Likewise.
60505         * inet/getnameinfo.c: Likewise.
60506         * inet/getsourcefilter.c: Likewise.
60507         * inet/htonl.c: Likewise.
60508         * inet/setipv4sourcefilter.c: Likewise.
60509         * inet/setsourcefilter.c: Likewise.
60510         * inet/test-inet6_opt.c: Likewise.
60511         * inet/tst-network.c: Likewise.
60512         * locale/C-collate.c: Likewise.
60513         * locale/C-ctype.c: Likewise.
60514         * locale/C-time.c: Likewise.
60515         * locale/C-translit.h: Likewise.
60516         * locale/loadarchive.c: Likewise.
60517         * locale/programs/3level.h: Likewise.
60518         * locale/programs/charmap.c: Likewise.
60519         * locale/programs/charmap.h: Likewise.
60520         * locale/programs/ld-address.c: Likewise.
60521         * locale/programs/ld-collate.c: Likewise.
60522         * locale/programs/ld-ctype.c: Likewise.
60523         * locale/programs/ld-identification.c: Likewise.
60524         * locale/programs/ld-measurement.c: Likewise.
60525         * locale/programs/ld-messages.c: Likewise.
60526         * locale/programs/ld-monetary.c: Likewise.
60527         * locale/programs/ld-name.c: Likewise.
60528         * locale/programs/ld-numeric.c: Likewise.
60529         * locale/programs/ld-paper.c: Likewise.
60530         * locale/programs/ld-telephone.c: Likewise.
60531         * locale/programs/ld-time.c: Likewise.
60532         * locale/programs/linereader.c: Likewise.
60533         * locale/programs/locale.c: Likewise.
60534         * locale/programs/locarchive.c: Likewise.
60535         * locale/programs/locfile.h: Likewise.
60536         * locale/programs/repertoire.c: Likewise.
60537         * locale/programs/simple-hash.c: Likewise.
60538         * locale/programs/simple-hash.h: Likewise.
60539         * malloc/memusage.c: Likewise.
60540         * malloc/memusagestat.c: Likewise.
60541         * nis/nis_defaults.c: Likewise.
60542         * nis/nis_hash.c: Likewise.
60543         * nis/nis_print.c: Likewise.
60544         * nis/nis_xdr.c: Likewise.
60545         * nscd/connections.c: Likewise.
60546         * nscd/hstcache.c: Likewise.
60547         * nscd/nscd_gethst_r.c: Likewise.
60548         * nscd/nscd_getserv_r.c: Likewise.
60549         * nscd/nscd_helper.c: Likewise.
60550         * nscd/servicescache.c: Likewise.
60551         * nss/makedb.c: Likewise.
60552         * nss/nss_db/db-XXX.c: Likewise.
60553         * nss/nss_db/db-initgroups.c: Likewise.
60554         * nss/nss_db/db-netgrp.c: Likewise.
60555         * nss/nss_files/files-network.c: Likewise.
60556         * nss/nss_files/files-parse.c: Likewise.
60557         * posix/bug-regex5.c: Likewise.
60558         * posix/fnmatch_loop.c: Likewise.
60559         * posix/regcomp.c: Likewise.
60560         * posix/regexec.c: Likewise.
60561         * posix/tst-rfc3484-2.c: Likewise.
60562         * posix/tst-rfc3484-3.c: Likewise.
60563         * posix/tst-rfc3484.c: Likewise.
60564         * resolv/nss_dns/dns-canon.c: Likewise.
60565         * resolv/nss_dns/dns-network.c: Likewise.
60566         * resolv/res_init.c: Likewise.
60567         * resolv/res_mkquery.c: Likewise.
60568         * resolv/tst-aton.c: Likewise.
60569         * stdlib/cxa_atexit.c: Likewise.
60570         * stdlib/cxa_finalize.c: Likewise.
60571         * stdlib/gen-fpioconst.c: Likewise.
60572         * stdlib/strtol_l.c: Likewise.
60573         * string/tst-endian.c: Likewise.
60574         * sunrpc/auth_des.c: Likewise.
60575         * sunrpc/clnt_udp.c: Likewise.
60576         * sunrpc/rtime.c: Likewise.
60577         * sunrpc/svcauth_des.c: Likewise.
60578         * sunrpc/xdr.c: Likewise.
60579         * sunrpc/xdr_intXX_t.c: Likewise.
60580         * sunrpc/xdr_rec.c: Likewise.
60581         * sysdeps/generic/ldconfig.h: Likewise.
60582         * sysdeps/generic/ldsodefs.h: Likewise.
60583         * sysdeps/generic/memusage.h: Likewise.
60584         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60585         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
60586         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
60587         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60588         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60589         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60590         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60591         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60592         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60593         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60594         * sysdeps/posix/getaddrinfo.c: Likewise.
60595         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60596         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60597         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60598         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60599         * sysdeps/powerpc/test-gettimebase.c: Likewise.
60600         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
60601         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
60602         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
60603         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
60604         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
60605         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
60606         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
60607         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
60608         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
60609         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
60610         * sysdeps/x86_64/dl-tls.h: Likewise.
60611         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
60612         * time/alt_digit.c: Likewise.
60613         * time/era.c: Likewise.
60614         * wcsmbs/tst-c16c32-1.c: Likewise.
60616 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60618         * math/libm-test.inc (struct test_sincos_data): New type.
60619         (RUN_TEST_LOOP_sincos): New macro.
60620         (sincos_test_data): New variable.
60621         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
60623 2013-05-16  Richard Henderson  <rth@redhat.com>
60625         * math/atest-exp2.c (LIMB64): New macro.
60626         (CONSTSZ): New macro.
60627         (mp_exp1, mp_exp_m1, mp_log2): New variables.
60628         (hexdig): Move ...
60629         (print_mpn_fp): ... to function scope.
60630         (read_mpn_hex): Remove.
60631         (get_log2): Remove.
60632         (exp2_mpn): Use mp_log2.
60633         (main): Use mp_exp1.
60635 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60637         * math/libm-test.inc: Remove comment about not testing "inexact"
60638         exceptions.
60639         (INEXACT_EXCEPTION): New macro.
60640         (NO_INEXACT_EXCEPTION): Likewise.
60641         (INVALID_EXCEPTION_OK): Update value.
60642         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60643         (OVERFLOW_EXCEPTION_OK): Likewise.
60644         (UNDERFLOW_EXCEPTION_OK): Likewise.
60645         (IGNORE_ZERO_INF_SIGN): Likewise.
60646         (ERRNO_UNCHANGED): Likewise.
60647         (ERRNO_EDOM): Likewise.
60648         (ERRNO_ERANGE): Likewise.
60649         (test_exceptions): Handle testing "inexact" exceptions.
60650         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
60651         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
60652         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
60653         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
60654         INEXACT_EXCEPTION.
60655         (rint_towardzero_test_data): Likewise.
60656         (rint_downward_test_data): Likewise.
60657         (rint_upward_test_data): Likewise.
60659         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
60660         with OVERFLOW_EXCEPTION.
60661         (exp10_test_data): Likewise.
60662         (exp2_test_data): Likewise.
60663         (expm1_test_data): Likewise.
60664         (lgamma_test_data): Likewise.
60665         (pow_test_data): Likewise.
60666         (tgamma_test_data): Likewise.
60667         (yn_test_data): Remove duplicate test of overflow.
60669         * math/libm-test.inc (struct test_cc_c_data): New type.
60670         (RUN_TEST_LOOP_cc_c): New macro.
60671         (cpow_test_data): New variable.
60672         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
60674         * math/libm-test.inc (struct test_f_L_data): New type.
60675         (RUN_TEST_LOOP_f_L): New macro.
60676         (llrint_test_data): New variable.
60677         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
60678         (llrint_tonearest_test_data): New variable.
60679         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
60680         (llrint_towardzero_test_data): New variable.
60681         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
60682         (llrint_downward_test_data): New variable.
60683         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
60684         (llrint_upward_test_data): New variable.
60685         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
60686         (llround_test_data): New variable.
60687         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
60689 2013-05-13  Peter Collingbourne  <pcc@google.com>
60691         * math/atest-exp2.c (get_log2): Remove const attribute.
60693 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
60695         * math/libm-test.inc (struct test_f_l_data): New type.
60696         (RUN_TEST_LOOP_f_l): New macro.
60697         (lrint_test_data): New variable.
60698         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
60699         (lrint_tonearest_test_data): New variable.
60700         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
60701         (lrint_towardzero_test_data): New variable.
60702         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
60703         (lrint_downward_test_data): New variable.
60704         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
60705         (lrint_upward_test_data): New variable.
60706         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
60707         (lround_test_data): New variable.
60708         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
60710 2013-05-15  Peter Collingbourne  <pcc@google.com>
60712         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
60713         (EXTRACT_WORDS64) Use where appropriate.
60714         (INSERT_WORDS64) Likewise.
60716         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
60717         constraints with x constraints.
60718         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
60720         * malloc/obstack.c (_obstack_compat): Add initializer.
60722 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60724         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
60725         si_trapno and add si_addr_lsb to _sifields.sigfault.
60726         (si_trapno): Remove macro.
60727         (si_addr_lsb): Define new macro.
60728         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60730 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
60732         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
60733         instead of TEST_f_l.
60734         (llrint_test_tonearest): Likewise.
60735         (llrint_test_towardzero): Likewise.
60736         (llrint_test_downward): Likewise.
60737         (llrint_test_upward): Likewise.
60738         (llround_test): Likewise.
60740         * math/libm-test.inc (struct test_f_i_data): Add comment.
60741         (RUN_TEST_LOOP_f_b): New macro.
60742         (RUN_TEST_LOOP_f_b_tg): Likewise.
60743         (finite_test_data): New variable.
60744         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
60745         (isfinite_test_data): New variable.
60746         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60747         (isinf_test_data): New variable.
60748         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60749         (isnan_test_data): New variable.
60750         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60751         (isnormal_test_data): New variable.
60752         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60753         (issignaling_test_data): New variable.
60754         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60755         (signbit_test_data): New variable.
60756         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60758         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
60759         with INVALID_EXCEPTION.
60760         (acosh_test_data): Likewise.
60761         (asin_test_data): Likewise.
60762         (atanh_test_data): Likewise.
60763         (fmod_test_data): Likewise.
60764         (log_test_data): Likewise.
60765         (log10_test_data): Likewise.
60766         (log2_test_data): Likewise.
60767         (pow_test_data): Likewise.
60768         (sqrt_test_data): Likewise.
60769         (y0_test_data): Likewise.
60770         (y1_test_data): Likewise.
60771         (yn_test_data): Likewise.
60773         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
60774         function contents.
60776         * math/libm-test.inc (struct test_ff_i_data): New type.
60777         (RUN_TEST_LOOP_ff_i_tg): New macro.
60778         (isgreater_test_data): New variable.
60779         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60780         (isgreaterequal_test_data): New variable.
60781         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60782         (isless_test_data): New variable.
60783         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60784         (islessequal_test_data): New variable.
60785         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60786         (islessgreater_test_data): New variable.
60787         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60788         (isunordered_test_data): New variable.
60789         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60791 2013-05-14  David S. Miller  <davem@davemloft.net>
60793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60795 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
60797         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
60799         * math/libm-test.inc (struct test_fF_f1_data): Change type of
60800         extra_test to int.
60801         (struct test_f_i_data): Change type of max_ulp to int.
60803         * math/libm-test.inc (test_ffI_f1_data): New type.
60804         (RUN_TEST_LOOP_ffI_f1): New macro.
60805         (remquo_test_data): New variable.
60806         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
60808         * setjmp/tst-setjmp-fp.c: New file.
60809         * setjmp/Makefile (tests): Add tst-setjmp-fp.
60810         (link-libm): New variable.
60811         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
60813         * math/libm-test.inc (struct test_f_i_data): New type.
60814         (RUN_TEST_LOOP_f_i): New macro.
60815         (RUN_TEST_LOOP_f_i_tg): Likewise.
60816         (fpclassify_test_data): New variable.
60817         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
60818         (ilogb_test_data): New variable.
60819         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
60821         * math/libm-test.inc (scalbln_test): Correct function name in END
60822         call.
60824         * math/libm-test.inc (struct test_f_f1_data): Add comment.
60825         (RUN_TEST_LOOP_fI_f1): New macro.
60826         (frexp_test_data): New variable.
60827         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
60829         * math/libm-test.inc (struct test_fF_f1_data): New type.
60830         (RUN_TEST_LOOP_fF_f1): New macro.
60831         (modf_test_data): New variable.
60832         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
60834         * math/libm-test.inc (struct test_f_f1_data): New type.
60835         (RUN_TEST_LOOP_f_f1): New macro.
60836         (gamma_test_data): New variable.
60837         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60838         (lgamma_test_data): New variable.
60839         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60841 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
60843         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
60844         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
60845         (main): Comment "tls" pseudo-hwcap.
60847 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
60849         * math/libm-test.inc (struct test_fl_f_data): New type.
60850         (RUN_TEST_LOOP_fl_f): New variable.
60851         (scalbln_test_data): New variable.
60852         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
60854         * math/libm-test.inc (struct test_fi_f_data): New type.
60855         (RUN_TEST_LOOP_fi_f): New macro.
60856         (ldexp_test_data): New variable.
60857         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
60858         (scalbn_test_data): New variable.
60859         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
60861         * math/libm-test.inc (struct test_c_f_data): New type.
60862         (RUN_TEST_LOOP_c_f): New macro.
60863         (cabs_test_data): New variable.
60864         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
60865         (carg_test_data): New variable.
60866         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
60867         (cimag_test_data): New variable.
60868         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
60869         (creal_test_data): New variable.
60870         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
60872         * math/libm-test.inc (struct test_if_f_data): New type.
60873         (RUN_TEST_LOOP_if_f): New macro.
60874         (jn_test_data): New variable.
60875         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
60876         (yn_test_data): New variable.
60877         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
60879         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
60881 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60883         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
60884         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
60886 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60888         * benchtests/Makefile (CPPFLAGS-nonlib): Add
60889         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
60890         (bench-deps): Add bench-timing.h.
60891         * benchtests-bench-skeleton.c: Include bench-timing.h.
60892         (main): Use TIMING_* macros instead of clock_gettime.
60893         * benchtests/bench-timing.h: New file.
60895         [BZ #14582]
60896         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
60897         Renamed from _LIB_VERSION.
60898         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
60900 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
60902         * math/libm-test.inc (struct test_fff_f_data): New type.
60903         (RUN_TEST_LOOP_fff_f): New macro.
60904         (fma_test_data): New variable.
60905         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
60906         (fma_towardzero_test_data): New variable.
60907         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
60908         (fma_downward_test_data): New variable.
60909         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
60910         (fma_upward_test_data): New variable.
60911         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
60913         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
60914         (struct test_c_c_data): New type.
60915         (RUN_TEST_LOOP_c_c): New macro.
60916         (cacos_test_data): New variable.
60917         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
60918         (cacosh_test_data): New variable.
60919         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
60920         (casin_test_data): New variable.
60921         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
60922         (casinh_test_data): New variable.
60923         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
60924         (catan_test_data): New variable.
60925         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
60926         (catanh_test_data): New variable.
60927         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
60928         (ccos_test_data): New variable.
60929         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
60930         (ccosh_test_data): New variable.
60931         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
60932         (cexp_test_data): New variable.
60933         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
60934         (clog_test_data): New variable.
60935         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
60936         (clog10_test_data): New variable.
60937         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
60938         (conj_test_data): New variable.
60939         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
60940         (cproj_test_data): New variable.
60941         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
60942         (csin_test_data): New variable.
60943         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
60944         (csinh_test_data): New variable.
60945         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
60946         (csqrt_test_data): New variable.
60947         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
60948         (ctan_test_data): New variable.
60949         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
60950         (ctan_tonearest_test_data): New variable.
60951         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60952         (ctan_towardzero_test_data): New variable.
60953         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60954         (ctan_downward_test_data): New variable.
60955         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60956         (ctan_upward_test_data): New variable.
60957         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60958         (ctanh_test_data): New variable.
60959         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
60960         (ctanh_tonearest_test_data): New variable.
60961         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60962         (ctanh_towardzero_test_data): New variable.
60963         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60964         (ctanh_downward_test_data): New variable.
60965         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60966         (ctanh_upward_test_data): New variable.
60967         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60968         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
60969         of BUILD_COMPLEX.
60971         * math/libm-test.inc (struct test_ff_f_data): New type.
60972         (struct test_ff_f_data_nexttoward): Likewise.
60973         (RUN_TEST_LOOP_2_f): New macro.
60974         (RUN_TEST_LOOP_ff_f): Likewise.
60975         (atan2_test_data): New variable.
60976         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
60977         (copysign_test_data): New variable.
60978         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
60979         (fdim_test_data): New variable.
60980         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
60981         (fmax_test_data): New variable.
60982         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
60983         (fmin_test_data): New variable.
60984         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
60985         (fmod_test_data): New variable.
60986         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
60987         (hypot_test_data): New variable.
60988         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
60989         (nextafter_test_data): New variable.
60990         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
60991         (nexttoward_test_data): New variable.
60992         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
60993         (pow_test_data): New variable.
60994         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
60995         (pow_tonearest_test_data): New variable.
60996         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
60997         (pow_towardzero_test_data): New variable.
60998         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
60999         (pow_downward_test_data): New variable.
61000         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
61001         (pow_upward_test_data): New variable.
61002         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
61003         (remainder_test_data): New variable.
61004         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
61005         (scalb_test_data): New variable.
61006         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
61007         * sysdeps/i386/fpu/libm-test-ulps: Update.
61009 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
61011         * math/libm-test.inc (fma_test): Use max_value instead of local
61012         variable fltmax.
61013         (nextafter_test): Likewise.
61015         * math/libm-test.inc (acos_towardzero_test_data): New variable.
61016         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61017         (acos_downward_test_data): New variable.
61018         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61019         (acos_upward_test_data): New variable.
61020         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61021         (acosh_test_data): New variable.
61022         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
61023         (asin_test_data): New variable.
61024         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
61025         (asin_tonearest_test_data): New variable.
61026         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61027         (asin_towardzero_test_data): New variable.
61028         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61029         (asin_downward_test_data): New variable.
61030         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61031         (asin_upward_test_data): New variable.
61032         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61033         (asinh_test_data): New variable.
61034         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
61035         (atan_test_data): New variable.
61036         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
61037         (atanh_test_data): New variable.
61038         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
61039         (cbrt_test_data): New variable.
61040         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
61041         (ceil_test_data): New variable.
61042         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
61043         (cos_test_data): New variable.
61044         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
61045         (cos_tonearest_test_data): New variable.
61046         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61047         (cos_towardzero_test_data): New variable.
61048         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61049         (cos_downward_test_data): New variable.
61050         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61051         (cos_upward_test_data): New variable.
61052         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61053         (cosh_test_data): New variable.
61054         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
61055         (cosh_tonearest_test_data): New variable.
61056         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61057         (cosh_towardzero_test_data): New variable.
61058         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61059         (cosh_downward_test_data): New variable.
61060         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61061         (cosh_upward_test_data): New variable.
61062         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61063         (erf_test_data): New variable.
61064         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
61065         (erfc_test_data): New variable.
61066         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
61067         (exp_test_data): New variable.
61068         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
61069         (exp_tonearest_test_data): New variable.
61070         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61071         (exp_towardzero_test_data): New variable.
61072         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61073         (exp_downward_test_data): New variable.
61074         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61075         (exp_upward_test_data): New variable.
61076         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61077         (exp10_test_data): New variable.
61078         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
61079         (exp2_test_data): New variable.
61080         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
61081         (expm1_test_data): New variable.
61082         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
61083         (fabs_test_data): New variable.
61084         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
61085         (floor_test_data): New variable.
61086         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
61087         (j0_test_data): New variable.
61088         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
61089         (j1_test_data): New variable.
61090         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
61091         (log_test_data): New variable.
61092         (log_test): Run tests with RUN_TEST_LOOP_f_f.
61093         (log10_test_data): New variable.
61094         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
61095         (log1p_test_data): New variable.
61096         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
61097         (log2_test_data): New variable.
61098         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
61099         (logb_test_data): New variable.
61100         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
61101         (logb_downward_test_data): New variable.
61102         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61103         (nearbyint_test_data): New variable.
61104         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
61105         (rint_test_data): New variable.
61106         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
61107         (rint_tonearest_test_data): New variable.
61108         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61109         (rint_towardzero_test_data): New variable.
61110         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61111         (rint_downward_test_data): New variable.
61112         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61113         (rint_upward_test_data): New variable.
61114         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61115         (round_test_data): New variable.
61116         (round_test): Run tests with RUN_TEST_LOOP_f_f.
61117         (sin_test_data): New variable.
61118         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
61119         (sin_tonearest_test_data): New variable.
61120         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61121         (sin_towardzero_test_data): New variable.
61122         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61123         (sin_downward_test_data): New variable.
61124         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61125         (sin_upward_test_data): New variable.
61126         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61127         (sinh_test_data): New variable.
61128         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
61129         (sinh_tonearest_test_data): New variable.
61130         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61131         (sinh_towardzero_test_data): New variable.
61132         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61133         (sinh_downward_test_data): New variable.
61134         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61135         (sinh_upward_test_data): New variable.
61136         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61137         (sqrt_test_data): New variable.
61138         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
61139         (tan_test_data): New variable.
61140         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
61141         (tan_tonearest_test_data): New variable.
61142         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61143         (tan_towardzero_test_data): New variable.
61144         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61145         (tan_downward_test_data): New variable.
61146         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61147         (tan_upward_test_data): New variable.
61148         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61149         (tanh_test_data): New variable.
61150         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
61151         (tgamma_test_data): New variable.
61152         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
61153         (trunc_test_data): New variable.
61154         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
61155         (y0_test_data): New variable.
61156         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
61157         (y1_test_data): New variable.
61158         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
61159         (significand_test_data): New variable.
61160         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
61162 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
61164         [BZ #12387]
61165         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
61167 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61169         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
61171 2013-05-10  Andreas Jaeger  <aj@suse.de>
61173         [BZ #15448]
61174         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
61175         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
61177 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61179         * math/gen-libm-test.pl (adjust_arg): New function.
61180         (special_functions): Handle generating output in both functions
61181         and arrays.
61182         (parse_args): Likewise.
61183         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
61184         $in_func argument to parse_args.
61185         * math/libm-test.inc (struct test_f_f_data): New type.
61186         (IF_ROUND_INIT_): New macro.
61187         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
61188         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61189         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61190         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61191         (ROUND_RESTORE_): Likewise.
61192         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
61193         (ROUND_RESTORE_FE_TONEAREST): Likewise.
61194         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
61195         (ROUND_RESTORE_FE_UPWARD): Likewise.
61196         (RUN_TEST_LOOP_f_f): New macro.
61197         (acos_test_data): New variable.
61198         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
61199         (acos_tonearest_test_data): New variable.
61200         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61202 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61204         * benchtests/bench-skeleton.c (startup): Fix coding style.
61206 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61208         [BZ #6809]
61209         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
61210         negative infinity argument.
61211         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
61212         negative infinity argument.
61213         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
61214         negative infinity argument.
61215         * math/libm-test.inc (tgamma_test): Expect errno to be set for
61216         domain errors.
61218 2013-05-10  Florian Weimer  <fweimer@redhat.com>
61220         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
61221         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
61222         * iconv/iconv_prog.c (main): Likewise.
61223         * locale/programs/charmap-dir.c (charmap_readdir)
61224         (fopen_uncompressed): Likewise.
61225         * locale/programs/locfile.c (siblings_uncached)
61226         (write_locale_data): Use lstat64 instead of lstat.
61227         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
61228         stat.
61230 2013-05-10  Andreas Jaeger  <aj@suse.de>
61232         [BZ #15395]
61233         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
61234         localization.
61235         Include <locale.h>.
61237 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
61239         * elf/dl-close.c (_dl_close_worker): Add comments.
61241 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
61243         [BZ #15359]
61244         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
61245         high part of pi/2.
61246         (__ieee754_rem_pio2l): Update comments.
61248         [BZ #15429]
61249         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
61250         high part of pi/2.
61251         (__ieee754_rem_pio2l): Update comments.
61253         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
61254         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
61256         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
61257         M_PI_4l.
61259         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
61260         (M_PI_34_LOG10El): Likewise.
61261         (M_PI2_LOG10El): Likewise.
61262         (M_PI4_LOG10El): Likewise.
61263         (M_PI_LOG10El): Likewise.
61265 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61269 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
61271         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
61272         (MINUS_ZERO_INIT): Likewise.
61273         (PLUS_INFTY_INIT): Likewise.
61274         (MINUS_INFTY_INIT): Likewise.
61275         (QNAN_VALUE_INIT): Likewise.
61276         (MAX_VALUE_INIT): Likewise.
61277         (MIN_VALUE_INIT): Likewise.
61278         (MIN_SUBNORM_VALUE_INIT): Likewise.
61279         (plus_zero): Initialize with PLUS_ZERO_INIT.
61280         (minus_zero): Initialize with MINUS_ZERO_INIT.
61281         (plus_infty): Initialize with PLUS_INFTY_INIT.
61282         (minus_infty): Initialize with MINUS_INFTY_INIT.
61283         (qnan_value): Initialize with QNAN_VALUE_INIT.
61284         (max_value): Initialize with MAX_VALUE_INIT.
61285         (min_value): Initialize with MIN_VALUE_INIT.
61286         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
61288         * math/libm-test.inc (RUN_TEST_if_f): New macro.
61289         (jn_test): Use TEST_if_f instead of TEST_ff_f.
61290         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
61291         (yn_test): Use TEST_if_f instead of TEST_ff_f.
61293         * math/libm-test.inc (RUN_TEST_f_f): New macro.
61294         (RUN_TEST_2_f): Likewise.
61295         (RUN_TEST_ff_f): Likewise.
61296         (RUN_TEST_fi_f): Likewise.
61297         (RUN_TEST_fl_f): Likewise.
61298         (RUN_TEST_fff_f): Likewise.
61299         (RUN_TEST_c_f): Likewise.
61300         (RUN_TEST_f_f1): Likewise.
61301         (RUN_TEST_fF_f1): Likewise.
61302         (RUN_TEST_fI_f1): Likewise.
61303         (RUN_TEST_ffI_f1): Likewise.
61304         (RUN_TEST_c_c): Likewise.
61305         (RUN_TEST_cc_c): Likewise.
61306         (RUN_TEST_f_i): Likewise.
61307         (RUN_TEST_f_i_tg): Likewise.
61308         (RUN_TEST_ff_i_tg): Likewise.
61309         (RUN_TEST_f_b): Likewise.
61310         (RUN_TEST_f_b_tg): Likewise.
61311         (RUN_TEST_f_l): Likewise.
61312         (RUN_TEST_f_L): Likewise.
61313         (RUN_TEST_sincos): Likewise.
61314         * math/gen-libm-test.pl (new_test): Take new argument to indicate
61315         whether to show exceptions.  Do not include ");\n" in return
61316         value.
61317         (special_functions): Output call to RUN_TEST_sincos instead of
61318         check_float calls.  Update calls to new_test.
61319         (parse_args): Output call to single RUN_TEST_* macro instead of
61320         check_* calls and other assignments.  Update calls to new_test.
61322         [BZ #2546]
61323         [BZ #2560]
61324         [BZ #5159]
61325         [BZ #15426]
61326         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
61327         input to result for tgamma overflow.
61328         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
61329         (gamma_coeff): New variable.
61330         (NCOEFF): New macro.
61331         (gamma_positive): New function.
61332         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
61333         underflow here.  Use gamma_positive instead of exp (lgamma) for
61334         other arguments.
61335         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
61336         (gamma_coeff): New variable.
61337         (NCOEFF): New macro.
61338         (gammaf_positive): New function.
61339         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
61340         underflow here.  Use gamma_positive instead of exp (lgamma) for
61341         other arguments.
61342         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
61343         (gamma_coeff): New variable.
61344         (NCOEFF): New macro.
61345         (gammal_positive): New function.
61346         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
61347         underflow here.  Use gamma_positive instead of exp (lgamma) for
61348         other arguments.
61349         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
61350         (gamma_coeff): New variable.
61351         (NCOEFF): New macro.
61352         (gammal_positive): New function.
61353         (__ieee754_gammal_r): Handle positive infinity, overflow and
61354         underflow here.  Handle NaN the same as positive infinity.  Remove
61355         check x < 0xffffffff for negative integers.  Use gamma_positive
61356         instead of exp (lgamma) for other arguments.
61357         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
61358         (gamma_coeff): New variable.
61359         (NCOEFF): New macro.
61360         (gammal_positive): New function.
61361         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
61362         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
61363         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
61364         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
61365         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
61366         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
61367         * sysdeps/generic/math_private.h (__gamma_productf): New
61368         prototype.
61369         (__gamma_product): Likewise.
61370         (__gamma_productl): Likewise.
61371         * math/Makefile (libm-calls): Add gamma_product.
61372         * math/libm-test.inc (tgamma_test): Add more tests.
61373         * sysdeps/i386/fpu/libm-test-ulps: Update.
61374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61376 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
61378         * benchtests/bench-skeleton.c (main): Preheat CPU.
61380 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
61382         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
61384 2013-05-07  Roland McGrath  <roland@hack.frob.com>
61386         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
61387         and _dl_skip_args_internal.
61389 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
61391         * manual/message.texi (Message Translation): Talk about users.
61392         Message to key mapping impacts design.
61394 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61396         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
61398         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
61400         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
61401         * sysdeps/wordsize-64/glob64.c: ... here.
61403         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
61404         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
61405         New macros.
61407         * debug/getlogin_r_chk.c: Moved to ...
61408         * login/getlogin_r_chk.c: ... here.
61409         * debug/Makefile (routines): Move getlogin_r_chk to ...
61410         * login/Makefile (routines): ... here.
61411         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
61412         * login/Versions (libc: GLIBC_2.4): ... here.
61414         * io/poll.c (__poll): Renamed from poll.
61415         Add libc_hidden_def.
61416         (poll): Define as weak alias.
61418         * debug/ptsname_r_chk.c: Moved to ...
61419         * login/ptsname_r_chk.c: ... here.
61420         * debug/Makefile (routines): Move ptsname_r_chk to ...
61421         * login/Makefile (routines): ... here.
61422         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
61423         * login/Versions (libc: GLIBC_2.4): ... here.
61425         * posix/getlogin.c: Moved to ...
61426         * login/getlogin.c: ... here.
61427         * posix/getlogin_r.c: Moved to ...
61428         * login/getlogin_r.c: ... here.
61429         * posix/getlogin_r.c: Moved to ...
61430         * login/getlogin_r.c: ... here.
61431         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
61432         * login/Makefile (routines): ... here.
61433         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
61434         * login/Versions (libc: GLIBC_2.0): ... here.
61436         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
61437         (setrlimit): Define as weak alias.
61439         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
61440         Call __ names for open, ftruncate, and close.
61441         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
61442         (truncate): Define as weak alias.
61444 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
61446         * math/gen-libm-test.pl (parse_args): Initialize x before each
61447         test of frexp, modf and remquo.
61449         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
61450         test signgam value.
61452 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61454         [BZ #15418]
61455         [BZ #15419]
61456         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
61457         internal tests.
61458         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61460 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61462         * elf/dl-writev.h: New file.
61463         * elf/dl-misc.c: Include it.
61464         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
61465         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
61467 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
61469         * math/libm-test.inc (noXFails): Remove variable.
61470         (noXPasses): Likewise.
61471         (BUILD_COMPLEX_INT): Remove macro.
61472         (print_screen): Remove xfail argument.
61473         (print_screen_max_error): Likewise.
61474         (update_stats): Likewise.
61475         (print_max_error): Likewise.  Update calls to other affected
61476         functions.
61477         (print_complex_max_error): Likewise.
61478         (test_single_exception): Update calls to print_screen.
61479         (test_single_errno): Likewise.
61480         (check_float_internal): Remove xfail argument.  Update calls to
61481         other affected functions.
61482         (check_float): Likewise.
61483         (check_complex): Likewise.
61484         (check_int): Likewise.
61485         (check_long): Likewise.
61486         (check_bool): Likewise.
61487         (check_longlong): Likewise.
61488         (main): Don't print noXFails and noXPasses.
61489         * math/gen-libm-test.pl (top level): Don't mention expected
61490         failure handling in comment.
61491         (new_test): Don't handle expected failures.
61492         (parse_args): Don't mention expected failure handling in comment.
61493         (generate_testfile): Don't handle expected failures.
61494         (parse_ulps): Likewise.
61495         (print_ulps_file): Likewise.
61496         (get_failure): Remove function.
61497         (output_test): Don't handle expected failures.
61498         * make/README.libm-test: Don't mention expected failure handling.
61500         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
61501         (minus_zero): Likewise.
61502         (plus_infty): Likewise.
61503         (minus_infty): Likewise.
61504         (qnan_value): Likewise.
61505         (max_value): Likewise.
61506         (min_value): Likewise.
61507         (min_subnorm_value): Likewise.
61508         (initialize): Do not initialize those variables dynamically.
61510 2013-05-03  Roland McGrath  <roland@hack.frob.com>
61512         * io/open.c (__open_2): Moved to ...
61513         * io/open_2.c: ... this new file.
61514         * io/open64.c (__open64_2): Moved to ...
61515         * io/open64_2.c: ... this new file.
61516         * io/openat.c (__openat_2): Moved to ...
61517         * io/openat_2.c: ... this new file.
61518         * io/openat64.c (__openat64_2): Moved to ...
61519         * io/openat64_2.c: ... this new file.
61520         * io/Makefile (routines): Add them.
61521         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
61522         * sysdeps/unix/sysv/linux/open_2.c: File removed.
61523         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
61524         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
61525         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
61526         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
61527         (__openat64): Add hidden_ver.
61528         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
61529         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
61531         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
61532         Separately conditionalize setting of GLRO(dl_sysinfo) so
61533         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
61534         as well, but the actual setting is only under [NEED_DL_SYSINFO].
61536 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61538         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
61539         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
61540         definition.
61541         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
61542         * sysdeps/unix/sysv/linux/powerpc/init-first.c
61543         (_libc_vdso_platform_setup): Add __vdso_time initialization.
61544         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
61545         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
61547 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
61549         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
61550         test signgam value.
61552         * math/libm-test.inc (hypot_test): Do not use
61553         IGNORE_ZERO_INF_SIGN.
61555 2013-05-03  Andreas Jaeger  <aj@suse.de>
61557         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
61558         Linux 3.9.
61559         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
61560         (PF_MAX): Adjust for VSOCK change.
61562 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61566 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
61568         [BZ #15264]
61569         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
61570         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
61571         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
61573 2013-05-02  David S. Miller  <davem@davemloft.net>
61575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61577 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
61579         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
61581 2013-05-01  Roland McGrath  <roland@hack.frob.com>
61583         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
61585 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
61587         [BZ #14952]
61588         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
61589         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61590         Use __attribute__ ((__gnu_inline__)).
61591         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61592         Don't use __attribute__ ((__gnu_inline__)).
61594 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
61596         [BZ #15423]
61597         * math/s_catan.c (__catan): Handle small real or imaginary part of
61598         input specially to avoid spurious underflow.
61599         * math/s_catanf.c (__catanf): Likewise.
61600         * math/s_catanh.c (__catanh): Likewise.
61601         * math/s_catanhf.c (__catanhf): Likewise.
61602         * math/s_catanhl.c (__catanhl): Likewise.
61603         * math/s_catanl.c (__catanl): Likewise.
61604         * math/libm-test.inc (catan_test): Add more tests.
61605         (catanh_test): Likewise.
61606         * sysdeps/i386/fpu/libm-test-ulps: Update.
61607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61609 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61613 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
61615         [BZ #15416]
61616         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
61617         accurately for denominator in atan2.
61618         * math/s_catanf.c (__catanf): Likewise.
61619         * math/s_catanh.c (__catanh): Likewise.
61620         * math/s_catanhf.c (__catanhf): Likewise.
61621         * math/s_catanhl.c (__catanhl): Likewise.
61622         * math/s_catanl.c (__catanl): Likewise.
61623         * math/libm-test.inc (catan_test): Add more tests.
61624         (catanh_test): Likewise.
61625         * sysdeps/i386/fpu/libm-test-ulps: Update.
61626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61628 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61630         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
61632         * benchtests/Makefile (bench): Remove slow benchmarks.
61633         * benchtests/atan-inputs: Add slow benchmark inputs.
61634         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
61635         (BENCH_FUNC): Accept variant offset.
61636         (VARIANT): Define.
61637         * benchtests/bench-skeleton.c (main): Run benchmark for each
61638         variant.
61639         * benchtests/cos-inputs: Add slow benchmark inputs.
61640         * benchtests/exp-inputs: Likewise.
61641         * benchtests/pow-inputs: Likewise.
61642         * benchtests/sin-inputs: Likewise.
61643         * benchtests/slowatan-inputs: Remove.
61644         * benchtests/slowatan.c: Remove.
61645         * benchtests/slowcos-inputs: Remove.
61646         * benchtests/slowcos.c: Remove.
61647         * benchtests/slowexp-inputs: Remove.
61648         * benchtests/slowexp.c: Remove.
61649         * benchtests/slowpow-inputs: Remove.
61650         * benchtests/slowpow.c: Remove.
61651         * benchtests/slowsin-inputs: Remove.
61652         * benchtests/slowsin.c: Remove.
61653         * benchtests/slowtan-inputs: Remove.
61654         * benchtests/slowtan.c: Remove.
61655         * benchtests/tan-inputs: Add slow benchmark inputs.
61656         * scripts/bench.pl: Parse comments and directives.
61658         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
61659         in CPPFLAGS.
61660         ($(objpfx)bench-%.c): Remove *-ITER.
61661         * benchtests/bench-modf.c: Remove definition of ITER.
61662         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
61663         (main): Loop for DURATION seconds instead of fixed number of
61664         iterations.
61665         * scripts/bench.pl: Don't expect iterations in parameters.
61667 2013-04-29  Roland McGrath  <roland@hack.frob.com>
61669         * io/fchdir.c (__fchdir): Renamed from fchdir.
61670         (fchdir): Define as weak alias.
61672 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61674         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
61675         (ERRNO_EDOM): Likewise.
61676         (ERRNO_ERANGE): Likewise.
61677         (noErrnoTests): New variable.
61678         (init_max_error): Set errno to 0.
61679         (test_single_errno): New function.
61680         (test_errno): Likewise.
61681         (check_float_internal): Call test_errno.  Set errno to 0.
61682         (check_complex): Refer to errno tests in comment.
61683         (check_int): Call test_errno.  Set errno to 0.
61684         (check_long): Likewise.
61685         (check_bool): Likewise.
61686         (check_longlong): Likewise.
61687         (cos_test): Use ERRNO_* flags for errno tests instead of
61688         check_int.
61689         (expm1_test): Likewise.
61690         (fmod_test): Likewise.
61691         (ilogb_test): Likewise.
61692         (lgamma_test): Likewise.
61693         (pow_test): Likewise.
61694         (remainder_test): Likewise.
61695         (sin_test): Likewise.
61696         (tan_test): Likewise.
61697         (yn_test): Likewise.
61698         (initialize): Set errno to 0.
61699         (main): Print number of errno tests.
61700         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
61702 2013-04-29  Andreas Jaeger  <aj@suse.de>
61704         [BZ #15084]
61705         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
61706         and RES_USEVC.
61708         [BZ #15085]
61709         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
61710         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
61711         unimplemented.
61713         [BZ #15380]
61714         * stdlib/random.c (__initstate): Return NULL if
61715         __initstate fails.
61717         [BZ #15086]
61718         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
61719         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
61720         RES_SNGLKUPREOP.
61722 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61726 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61728         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
61729         of individual tests.
61730         (casin_test): Likewise.
61731         (casinh_test): Likewise.
61733 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
61735         [BZ #15409]
61736         * math/s_catan.c (__catan): Handle arguments with large real or
61737         imaginary part separately without squaring.
61738         * math/s_catanf.c (__catanf): Likewise.
61739         * math/s_catanh.c (__catanh): Likewise.
61740         * math/s_catanhf.c (__catanhf): Likewise.
61741         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61742         and redefine.
61743         (__catanhl): Handle arguments with large real or imaginary part
61744         separately without squaring.
61745         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61746         and redefine.
61747         (__catanl): Handle arguments with large real or imaginary part
61748         separately without squaring.
61749         * math/libm-test.inc (catan_test): Add more tests.
61750         (catanh_test): Likewise.
61751         * sysdeps/i386/fpu/libm-test-ulps: Update.
61752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61754 2013-04-27  Andreas Jaeger  <aj@suse.de>
61756         [BZ #15007]
61757         * stdlib/stdlib.h: Update guards for qecvt.
61758         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
61759         <stdlib.h>.
61761 2013-04-27  Allan McRae  <allan@archlinux.org>
61763         * sysdeps/i386/fpu/libm-test-ulps: Update.
61765 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
61767         [BZ #15406]
61768         * math/s_catan.c: Include <float.h>.
61769         (__catan): Ensure underflow exception occurs for underflowed
61770         result.
61771         * math/s_catanf.c: Include <float.h>.
61772         (__catanf): Ensure underflow exception occurs for underflowed
61773         result.
61774         * math/s_catanh.c: Include <float.h>.
61775         (__catanh): Ensure underflow exception occurs for underflowed
61776         result.
61777         * math/s_catanhf.c: Include <float.h>.
61778         (__catanhf): Ensure underflow exception occurs for underflowed
61779         result.
61780         * math/s_catanhl.c: Include <float.h>.
61781         (__catanhl): Ensure underflow exception occurs for underflowed
61782         result.
61783         * math/s_catanl.c: Include <float.h>.
61784         (__catanl): Ensure underflow exception occurs for underflowed
61785         result.
61786         * math/libm-test.inc (catan_test): Add more tests.
61787         (catanh_test): Likewise.
61789         [BZ #15405]
61790         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
61791         underflowed result.
61792         * math/s_ccoshf.c (__ccoshf): Likewise.
61793         * math/s_ccoshl.c (__ccoshl): Likewise.
61794         * math/s_csin.c (__csin): Likewise.
61795         * math/s_csinf.c (__csinf): Likewise.
61796         * math/s_csinh.c (__csinh): Likewise.
61797         * math/s_csinhf.c (__csinhf): Likewise.
61798         * math/s_csinhl.c (__csinhl): Likewise.
61799         * math/s_csinl.c (__csinl): Likewise.
61800         * math/libm-test.inc (ccos_test): Add more tests.
61801         (ccosh_test): Likewise.
61802         (csin_test): Likewise.
61803         (csinh_test): Likewise.
61805 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61807         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
61808         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
61809         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
61810         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
61811         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
61812         powerpc/power5+/fpu folders.
61813         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
61816 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61820 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
61822         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
61823         additions to variable.
61824         [$(config-machine) = x86_64] (modules-names): Likewise.
61825         ($(objpfx)tst-audit3): Remove dependency.
61826         ($(objpfx)tst-audit3.out): Likewise.
61827         ($(objpfx)tst-audit4): Likewise.
61828         ($(objpfx)tst-audit4.out): Likewise.
61829         ($(objpfx)tst-audit5): Likewise.
61830         ($(objpfx)tst-audit5.out): Likewise.
61831         ($(objpfx)tst-audit6): Likewise.
61832         ($(objpfx)tst-audit6.out): Likewise.
61833         ($(objpfx)tst-audit7): Likewise.
61834         ($(objpfx)tst-audit7.out): Likewise.
61835         (tst-audit3-ENV): Remove variable.
61836         (tst-audit4-ENV): Likewise.
61837         (tst-audit5-ENV): Likewise.
61838         (tst-audit6-ENV): Likewise.
61839         (tst-audit7-ENV): Likewise.
61840         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
61841         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
61842         addition to variable.
61843         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
61844         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
61845         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
61846         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
61847         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
61848         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
61849         tst-audit3, tst-audit4 and tst-audit5.
61850         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
61851         tst-audit6 and tst-audit7.
61852         [$(subdir) = elf] (modules-names): Add audit modules for those
61853         tests.
61854         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
61855         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
61856         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
61857         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
61858         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
61859         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
61860         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
61861         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
61862         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
61863         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
61864         [$(subdir) = elf] (tst-audit3-ENV): New variable.
61865         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
61866         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
61867         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
61868         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
61869         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
61870         Likewise.
61871         [$(subdir) = elf && $(config-cflags-avx) = yes]
61872         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
61873         [$(subdir) = elf && $(config-cflags-avx) = yes]
61874         (CFLAGS-tst-auditmod4a.c): Likewise.
61875         [$(subdir) = elf && $(config-cflags-avx) = yes]
61876         (CFLAGS-tst-auditmod4b.c): Likewise.
61877         [$(subdir) = elf && $(config-cflags-avx) = yes]
61878         (CFLAGS-tst-auditmod6b.c): Likewise.
61879         [$(subdir) = elf && $(config-cflags-avx) = yes]
61880         (CFLAGS-tst-auditmod6c.c): Likewise.
61881         [$(subdir) = elf && $(config-cflags-avx) = yes]
61882         (CFLAGS-tst-auditmod7b.c): Likewise.
61883         * elf/tst-audit3.c: Move to ...
61884         * sysdeps/x86_64/tst-audit3.c: ... here.
61885         * elf/tst-audit4.c: Move to ...
61886         * sysdeps/x86_64/tst-audit4.c: ... here.
61887         * elf/tst-audit5.c: Move to ...
61888         * sysdeps/x86_64/tst-audit5.c: ... here.
61889         * elf/tst-audit6.c: Move to ...
61890         * sysdeps/x86_64/tst-audit6.c: ... here.
61891         * elf/tst-audit7.c: Move to ...
61892         * sysdeps/x86_64/tst-audit7.c: ... here.
61893         * elf/tst-auditmod3a.c: Move to ...
61894         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
61895         * elf/tst-auditmod3b.c: Move to ...
61896         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
61897         * elf/tst-auditmod4a.c: Move to ...
61898         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
61899         * elf/tst-auditmod4b.c: Move to ...
61900         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
61901         * elf/tst-auditmod5a.c: Move to ...
61902         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
61903         * elf/tst-auditmod5b.c: Move to ...
61904         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
61905         * elf/tst-auditmod6a.c: Move to ...
61906         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
61907         * elf/tst-auditmod6b.c: Move to ...
61908         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
61909         * elf/tst-auditmod6c.c: Move to ...
61910         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
61911         * elf/tst-auditmod7a.c: Move to ...
61912         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
61913         * elf/tst-auditmod7b.c: Move to ...
61914         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
61916 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
61918         [BZ #15366]
61919         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
61920         define unconditionally.
61921         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
61922         define unconditionally.
61923         (INT8_C, INT16_C, etc.): Likewise.
61925 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
61927         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
61928         __ehdr_start with hidden visibility.
61930         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
61932 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
61934         * math/libm-test.inc (cos_test): Use accurate hex constants.
61935         (sincost_test): Likewise.
61937 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
61939         * math/libm-test.inc (catan_test): Add more tests.
61940         (catanh_test): Likewise.
61942         * math/s_catanf.c (__catanf): Use suffixed floating-point
61943         constants.
61944         * math/s_catanhf.c (__catanhf): Likewise.
61945         * math/s_catanhl.c (__catanhl): Likewise.
61946         * math/s_catanl.c (__catanl): Likewise.
61948         [BZ #15394]
61949         * math/s_catan.c (__catan): Calculate imaginary part of result
61950         with log1p not log unless computing log of number close to 0.
61951         * math/s_catanf.c (__catanf): Likewise.
61952         * math/s_catanl.c (__catanl): Likewise.
61953         * math/s_catanh.c (__catanh): Calculate real part of result with
61954         log1p not log unless computing log of number close to 0.
61955         * math/s_catanhf.c (__catanhf): Likewise.
61956         * math/s_catanhl.c (__catanhl): Likewise.
61957         * math/libm-test.inc (catan_test): Add more tests.
61958         (catanh_test): Likewise.
61959         * sysdeps/i386/fpu/libm-test-ulps: Update.
61960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61962 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61964         * benchtests/Makefile: Mention files in which fast and slow
61965         paths of math functions are implemented.
61967 2013-04-23  Roland McGrath  <roland@hack.frob.com>
61969         * sysdeps/posix/timespec_get.c: New file.
61971 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61973         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
61974         POWER.
61975         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
61976         for POWER.
61977         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
61978         powerpc/power5/fpu folders.
61979         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
61980         * benchtests/Makefile: Add modf testcase.
61981         * benchtests/bench-modf.c: New file: Benchmark test for mo
61983 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61985         [BZ #14888]
61986         * time/Makefile (tests): Add tst-strptime-whitespace.
61987         * time/strptime_l.c (get_number): Use ISSPACE.
61988         (__strptime_internal): Likewise.
61989         * time/tst-strptime-whitespace.c: New test case.
61991 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
61993         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
61994         member.
61995         (_nss_files_init): Set it here.
61997 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
61999         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
62000         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
62001         unsigned.
62003 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
62005         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
62007 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62009         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
62010         size just once.
62012 2013-04-21  David S. Miller  <davem@davemloft.net>
62014         * po/ru.po: Update Russion translation from translation project.
62016 2013-04-17  Adam Conrad  <adconrad@0c3.net>
62018         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
62019         and setfsgid.
62021 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
62023         * configure.in: Remove i386 configure warning. Remove i386 case.
62024         * configure: Regenerate.
62025         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
62026         Add example to error message.
62027         * sysdeps/i386/configure: Regenerate.
62029 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62031         * benchtests/Makefile (bench): Add cos, tan, slowcos and
62032         slowtan.
62033         * benchtests/cos-inputs: New file.
62034         * benchtests/slowcos-inputs: New file.
62035         * benchtests/slowcos.c: New file.
62036         * benchtests/slowtan-inputs: New file.
62037         * benchtests/slowtan.c: New file.
62038         * benchtests/tan-inputs: New file.
62040 2013-04-16  Roland McGrath  <roland@hack.frob.com>
62042         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
62043         considered kosher.
62045 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62047         * benchtests/Makefile: Include cppflags-iterator.mk to add
62048         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
62050         * Makefile.in (bench-clean): New target.
62051         * benchtests/Makefile (bench-clean): Likewise.
62053 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
62055         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
62057 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
62059         * stdio-common/tstdiomisc.c: Fix coding-style violation.
62061 2013-04-15  Andreas Schwab  <schwab@suse.de>
62063         * nscd/grpcache.c (cache_addgr): Properly check for short write.
62064         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62065         * nscd/pwdcache.c (cache_addpw): Likewise.
62066         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
62067         more than recsize.
62069 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62071         * benchtests/Makefile (bench): Write all output to
62072         bench-out.tmp together.
62074 2013-04-15  Andreas Schwab  <schwab@suse.de>
62076         * nscd/nscd.c (main): Don't fork again after closing files.
62078 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62080         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
62082         * benchtests/Rules (bench-deps): Collect dependencies into a
62083         single variable.  Add Makefile to dependencies.
62084         ($(objpfx)bench-%.c): Depend on bench-deps.
62086 2013-04-12  Roland McGrath  <roland@hack.frob.com>
62087             Xavier Roche  <roche+kml2@exalead.com>
62089         [BZ #15361]
62090         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
62091         just that it's a file descriptor.
62092         * manual/llio.texi (Synchronizing AIO Operations): Update description
62093         for EBADF error from aio_fsync.
62095 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62097         * Rules (bench): Move target definition...
62098         * benchtests/Makefile: ... here.
62100 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
62102         * math/libm-test.inc (cos_test): Fix PI/2 test.
62103         (sincos_test): Likewise.
62104         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
62105         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
62107 2013-04-11  Andreas Schwab  <schwab@suse.de>
62109         [BZ #13988]
62110         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
62111         accept exponent character only when digits were seen.
62112         * stdio-common/Makefile (tests): Add bug26.
62113         * stdio-common/bug26.c: New file.
62115         [BZ #14293]
62116         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
62117         non-freeable.
62119 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62121         * Makeconfig (rtld-prefix): Define built linker prefix.
62122         * Rules (run-bench): Use it.
62123         * math/Makefile (run-regen-ulps): Likewise.
62125         * Rules (bench): Remove eval.
62127 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62128             Roland McGrath  <roland@hack.frob.com>
62129             Ondrej Bilka  <neleai@seznam.cz>
62131         [BZ #15346]
62132         * time/getdate.c: Include ctype.h and alloca.h.
62133         (__getdate_r): Trim leading and trailing spaces of input.
62134         * time/tst-getdate.c (tests): Add tests with leading and
62135         trailing spaces.
62137 2013-04-08  Roland McGrath  <roland@hack.frob.com>
62139         [BZ #14280]
62140         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
62141         when computing value.
62143 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62145         * math/README.libm-test (How can I generate "libm-test-ulps"?):
62146         Use testrun.sh to run libm tests.
62148         [BZ #15309]
62149         * elf/dl-open.c (dl_open_worker): memset all of seen array.
62151 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
62153         [BZ #15264]
62154         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
62156 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62158         * Makefile.in (regen-ulps): New target.
62159         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
62160         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
62161         [ifneq (no,$(PERL)] (regen-ulps): New target.
62162         [ifeq (no,$(PERL)] (regen-ulps): New target.
62163         * math/libm-test.inc (ulps_file_name): Define.
62164         (output_dir): New variable.
62165         (options): Add "output-dir" option.
62166         (parse_opt): Handle 'o' case.
62167         (main): If output_dir is non-NULL use it as a prefix
62168         otherwise use "".
62169         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
62171 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62173         [BZ #10060, #10062]
62174         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
62175         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
62176         fail configure if __sync_val_compare_and_swap is not inlined.
62177         * sysdeps/i386/configure: Regenerate.
62178         * configure.in: Build for i686 when configured for i386.
62179         * configure: Regenerate.
62180         * README: Remove i386 reference.
62182 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62184         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
62185         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62187 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62189         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
62190         (lmsnanval): New variables.
62191         (F): Add conversion tests.
62192         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
62193         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
62195         * stdio-common/tstdiomisc.c (F): Properly collect individual
62196         tests' results.
62198         [BZ #14686, #15336]
62199         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
62200         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
62201         Instead, use input NaN values or generate a qNaN by arithmetic
62202         operation.  Also fix bugs to comply with the standard.
62203         * math/libm-test.inc (remainder_test): Add more tests.
62205         [BZ #15335, #15342]
62206         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
62207         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
62208         input NaN values or generate a qNaN by arithmetic operation.
62210         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
62211         unreachable code.
62213         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
62214         definitions.
62216 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
62218         [BZ #14478]
62219         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
62220         underflowed result.
62221         * math/s_cexpf.c (__cexpf): Likewise.
62222         * math/s_cexpl.c (__cexpl): Likewise.
62223         * math/libm-test.inc (cexp_test): Add more tests.
62225 2013-04-03  Andreas Schwab  <schwab@suse.de>
62227         [BZ #15330]
62228         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
62229         order arrays from heap if bigger than alloca cutoff.
62231 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
62233         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
62234         (SNAN_TESTS_double): Refer to GCC PR56831.
62235         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
62236         GCC PR56828.
62238 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62240         * Rules (bench): Move bench.out after the run is complete.
62242         * Rules (bench): Echo currently running benchmark.
62244         * benchtests/Makefile (bench): Add atan and slowatan.
62245         * benchtests/atan-inputs: New file.
62246         * benchtests/slowatan-inputs: New file.
62247         * benchtests/slowatan.c: New file.
62249         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
62250         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
62251         its value.
62253         [BZ #15305]
62254         * sysdeps/unix/sysv/linux/kernel-features.h
62255         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
62256         __ASSUME_XFS_RESTRICTED_CHOWN.
62257         * sysdeps/unix/sysv/linux/pathconf.c
62258         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
62259         Save and restore errno.
62261 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
62263         [BZ #15327]
62264         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
62265         arguments using __kernel_casinh.
62266         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
62267         arguments using __kernel_casinhf.
62268         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
62269         arguments using __kernel_casinhl.
62270         * math/libm-test.inc (cacosh_test): Add more tests.
62271         * sysdeps/i386/fpu/libm-test-ulps: Update.
62272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62274 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62276         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
62277         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
62279         * bench/Makefile (bench): Add sin and slowsin.
62280         * benchtests/sin-inputs: New file.
62281         * benchtests/slowsin-inputs: New file.
62282         * benchtests/slowsin.c: New file.
62284         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
62285         (bench): Add slowexp and slowpow.
62286         (exp-ITER): Increase iterations.
62287         (pow-ITER): Likewise.
62288         * benchtests/exp-inputs: Change input.
62289         * benchtests/pow-inputs: Likewise.
62290         * benchtests/slowexp-inputs: New file.
62291         * benchtests/slowexp.c: New file.
62292         * benchtests/slowpow-inputs: New file.
62293         * benchtests/slowpow.c: New file.
62295 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62297         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
62298         instructions.
62299         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62300         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
62301         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62302         * benchtests/Makefile: Add rint benchtest.
62303         * benchtests/rint-inputs: Input for rint benchtest.
62305 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62307         * Versions.def (libm): Add GLIBC_2.18.
62308         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
62309         hidden libm prototypes.
62310         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
62311         * math/Makefile (libm-calls): Add s_issignaling.
62312         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
62313         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
62314         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
62315         declaration.
62316         * math/math.h [__USE_GNU] (issignaling): New macro.
62317         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
62318         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
62319         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
62320         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
62321         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
62322         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
62323         * manual/arith.texi (issignaling): New section.
62324         * manual/libm-err-tab.pl (@all_functions): Update comment.
62325         * math/gen-libm-test.pl (parse_args): Apply special handling for
62326         issignaling.
62327         * math/libm-test.inc (print_float, issignaling_test): New
62328         functions.
62329         (check_float_internal): Add issignaling checks.
62330         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
62331         default definition.
62332         * sysdeps/powerpc/math-tests.h: New file.
62333         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
62334         tests.
62335         * math/test-snan.c (TEST_FUNC): Likewise.
62337 2013-03-30  David S. Miller  <davem@davemloft.net>
62339         * po/de.po: Update from translation team.
62341 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
62343         [BZ #10357]
62344         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62345         imaginary part less than 1.0 and real part less than 0.5
62346         specially.
62347         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62348         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62349         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
62350         (cacos_test): Add more tests.
62351         (casin_test): Likewise.
62352         (casinh_test): Likewise.
62353         * sysdeps/i386/fpu/libm-test-ulps: Update.
62354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62356 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62358         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
62359         ONE with its value.
62361         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
62362         (__pow_mp): Replace ONE and MONE with their values.
62363         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62364         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
62365         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62366         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
62367         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62368         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62370         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
62372         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
62373         (__pow_mp): Replace ZERO and MZERO with their values.
62374         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62375         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62376         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62377         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62378         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62379         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
62380         (__sqr): Likewise.
62382         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
62384         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
62386 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62388         * include/stdlib.h [!SHARED] (__call_tls_dtors):
62389         Declare with __attribute__ ((weak)).
62390         * stdlib/exit.c (__libc_atexit) [!SHARED]:
62391         Call __call_tls_dtors only if it's not NULL.
62393 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62395         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
62396         didn't do it already, then set _dl_phdr and _dl_phnum based on the
62397         magic __ehdr_start linker symbol if it's defined.
62398         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
62399         them up here if it was already done.
62401         * elf/dl-support.c (_dl_phdr): Make pointer to const.
62402         (_dl_aux_init): Use const in cast when setting it.
62403         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
62404         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
62405         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
62407         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
62408         Declare them here.
62409         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
62410         * csu/libc-tls.c: Nor here.
62411         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
62413         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
62414         (__libc_message): Never call vsyslog.
62416 2013-03-28  Alan Modra  <amodra@gmail.com>
62418         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
62419         Define as empty.
62420         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
62421         Likewise.
62423 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62425         [BZ #15214]
62426         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
62427         underflow.
62428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62430 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62432         [BZ #15304]
62433         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
62434         Don't add gid passed as argument.
62436         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
62438 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
62440         [BZ #15307]
62441         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62442         imaginary part between 1.0 and 1.5 and real part less than 0.5
62443         specially.
62444         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62445         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62446         * math/libm-test.inc (cacos_test): Add more tests.
62447         (casin_test): Likewise.
62448         (casinh_test): Likewise.
62449         * sysdeps/i386/fpu/libm-test-ulps: Update.
62450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62452 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62454         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
62455         constants.
62456         (norm): Likewise.
62457         (denorm): Likewise.
62458         (__dbl_mp): Likewise.
62459         (add_magnitudes): Likewise.
62460         (sub_magnitudes): Likewise.
62461         (__add): Likewise.
62462         (__sub): Likewise.
62463         (__mul): Likewise.
62464         (__sqr): Likewise.
62465         (__inv): Likewise.
62466         (__dvd): Likewise.
62468         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
62469         commented code.
62470         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
62471         (__dubcos): Likewise.
62472         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
62473         (__ieee754_acos): Likewise.
62474         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62475         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
62476         (__exp1): Likewise.
62477         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62478         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62479         (log1): Likewise.
62480         (my_log2): Likewise.
62481         (checkint): Likewise.
62482         * sysdeps/ieee754/dbl-64/e_remainder.c
62483         (__ieee754_remainder): Likewise.
62484         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62485         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
62486         (bsloww): Likewise.
62487         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62489         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62490         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
62491         MANTISSA_STORE_T to store computations on mantissa.  Use
62492         macros for rounding and division.
62493         (denorm): Likewise.
62494         (__dbl_mp): Likewise.
62495         (add_magnitudes): Likewise.
62496         (sub_magnitudes): Likewise.
62497         (__mul): Likewise.
62498         (__sqr): Likewise.
62499         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62500         powers of two in terms of TWOPOW macro.
62501         (mp_no): Make type of mantissa as MANTISSA_T.
62502         [!RADIXI]: Define RADIXI.
62503         [!TWO52]: Define TWO52.
62504         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62506 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62508         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
62509         llroundl symbol when building for PPC32.
62511 2013-03-24  Mark H Weaver  <mhw@netris.org>
62513         * manual/arith.texi (Normalization Functions): Fix prototypes for
62514         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
62516 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62518         [BZ #13889]
62519         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
62520         high value to check if expl overflow.
62521         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
62522         to check for underflow and overflow.
62523         * math/libm-test.inc: Add exp test.
62525 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
62527         [BZ #11120]
62528         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
62529         with NOT_IN_libc.
62531 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62533         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
62534         symbol.
62536 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62538         * math/gen-libm-test.pl (parse_args, special_functions): Properly
62539         wrap blocks consisting of several statements.
62541         * sysdeps/generic/math-tests.h: New file.
62542         * sysdeps/i386/fpu/math-tests.h: Likewise.
62543         * math/test-snan.c: Include it.
62544         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
62546 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62548         [BZ #15285]
62549         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
62550         (__ieee754_j0l): Do not improve calculations using cos of twice
62551         input for inputs above LDBL_MAX / 2.0L.
62552         (__ieee754_y0l): Likewise.
62553         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
62554         (__ieee754_j1l): Do not improve calculations using cos of twice
62555         input for inputs above LDBL_MAX / 2.0L.
62556         (__ieee754_y1l): Likewise.
62557         * math/libm-test.inc (j0_test): Add another test.
62558         (j1_test): Likewise.
62559         (y0_test): Likewise.
62560         (y1_test): Likewise.
62561         * sysdeps/i386/fpu/libm-test-ulps: Update.
62563 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62565         * Rules ($(objpfx)bench-%.c): Include code from a C source
62566         file.
62568 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62570         [BZ #15287]
62571         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62572         imaginary part 1.0 and real part less than 0.5 specially.
62573         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62574         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62575         * math/libm-test.inc (cacos_test): Add more tests.
62576         (casin_test): Likewise.
62577         (casinh_test): Likewise.
62578         * sysdeps/i386/fpu/libm-test-ulps: Update.
62579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62581 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62583         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
62584         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
62586 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
62588         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
62589         * config.make.in (config-cflags-sse4): Remove variable.
62590         (config-cflags-avx): Likewise.
62591         (config-cflags-sse2avx): Likewise.
62592         (config-cflags-novzeroupper): Likewise.
62593         (config-asflags-i686): Likewise.
62594         (have-mfma4): Likewise.
62595         (have-as-vis3): Likewise.
62596         (MIG): Likewise.
62597         * configure.in (MIG): Do not AC_SUBST.
62598         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
62599         (libc_cv_cc_sse4): Do not AC_SUBST.
62600         (libc_cv_cc_avx): Likewise.
62601         (libc_cv_cc_sse2avx): Likewise.
62602         (libc_cv_cc_novzeroupper): Likewise.
62603         (libc_cv_cc_fma4): Likewise.
62604         (libc_cv_as_i686): Likewise.
62605         (libc_cv_sparc_as_vis3): Likewise.
62606         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
62607         LIBC_CONFIG_VAR.
62608         (config-asflags-i686): Likewise.
62609         (config-cflags-avx): Likewise.
62610         (config-cflags-sse2avx): Likewise.
62611         (have-mfma4): Likewise.
62612         (config-cflags-novzeroupper): Likewise.
62613         * sysdeps/mach/configure.in (MIG): Likewise.
62614         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
62615         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
62616         LIBC_CONFIG_VAR.
62617         (config-cflags-avx): Likewise.
62618         (config-cflags-sse2avx): Likewise.
62619         (have-mfma4): Likewise.
62620         (config-cflags-novzeroupper): Likewise.
62621         * configure: Regenerated.
62622         * sysdeps/i386/configure: Likewise.
62623         * sysdeps/mach/configure: Likewise.
62624         * sysdeps/sparc/configure: Likewise.
62625         * sysdeps/x86_64/configure: Likewise.
62627 2013-03-20  Roland McGrath  <roland@hack.frob.com>
62629         [BZ #14812]
62630         * locale/programs/localedef.c (options): Put N_ translation marker
62631         on argument names, not just descriptions.
62633 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62635         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
62637 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
62639         [BZ #14176]
62640         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
62642 2013-03-19  Roland McGrath  <roland@hack.frob.com>
62644         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
62645         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
62646         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
62647         [!BEFORE_ABORT] (before_abort): New function.
62648         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
62649         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
62650         (writev_for_fatal): New function.
62651         (WRITEV_FOR_FATAL): New macro; call that.
62652         (backtrace_and_maps): New function.
62653         (BEFORE_ABORT): New macro; call that.
62654         (struct str_list): Type removed.
62655         (__libc_message, __libc_fatal): Functions removed.
62656         Include <sysdeps/posix/libc_fatal.c> instead.
62658 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
62660         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
62661         constants.
62662         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
62663         double constants.
62665 2013-03-19  Andreas Schwab  <schwab@suse.de>
62667         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
62668         * sysdeps/gnu/configure: Regenerate.
62670         * configure.in: Substitute libc_cv_rtlddir.
62671         * configure: Regenerate.
62672         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
62673         * Makeconfig (rtlddir, inst_rtlddir): New variables.
62674         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
62675         * elf/Makefile (install-others, CFLAGS-interp.c)
62676         (ldso_install, common-ldd-rewrite): Likewise.
62677         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
62678         $(inst_slibdir)/$(rtld-installed-name).
62679         * scripts/rellns-sh: Add -p option.
62680         * Makerules (make-shlib-link): Use rellns-sh to get relative name
62681         for source.
62683 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62685         * manual/nptl.texi: Renamed to ...
62686         * manual/threads.texi: ... this.
62687         * manual/Makefile (chapters): Update.
62689 2013-03-18  Roland McGrath  <roland@hack.frob.com>
62691         [BZ #14812]
62692         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
62693         on argument names, not just descriptions.
62694         * malloc/memusagestat.c (options): Likewise.
62695         * nss/getent.c (options): Likewise.
62697 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
62699         [BZ #14812]
62700         * iconv/iconv_prog.c (options): Put N_ translation marker
62701         on argument names, not just descriptions.
62702         * iconv/iconvconfig.c (options): Likewise.
62704 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
62706         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
62707         implementation which is faster on all x86_64 architectures.
62708         Tested on AMD, Intel Nehalem, SNB, IVB.
62709         * sysdeps/x86_64/strnlen.S: Likewise.
62711         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62712         Remove all multiarch strlen and strnlen versions.
62713         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
62714         Remove strlen and strnlen related parts.
62716         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
62717         Inline strlen part.
62718         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
62720         * sysdeps/x86_64/multiarch/strlen.S: Remove.
62721         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
62722         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
62723         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
62724         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62725         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
62727 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
62729         * manual/memory.texi (Malloc Tunable Parameters):
62730         Sort parameters alphabetically. Add comments for missing entries.
62732 2013-03-17  David S. Miller  <davem@davemloft.net>
62734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62736 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
62738         [BZ #15283]
62739         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
62740         for arguments at most half maximum finite value.
62741         * math/libm-test.inc (j0_test): Add more tests.
62742         (j1_test): Likewise.
62743         (y0_test): Likewise.
62744         (y1_test): Likewise.
62745         * sysdeps/i386/fpu/libm-test-ulps: Update.
62746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62748         [BZ #14155]
62749         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
62750         1 / x and functions P and Q for arguments above 0x1p256L.
62751         (__ieee754_y0l): Likewise.
62752         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
62753         (__ieee754_y1l): Likewise.
62754         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
62755         (j1_test): Likewise.
62756         (y0_test): Likewise.
62757         (y1_test): Likewise.
62759 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
62761         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
62762         variable.
62764 2013-03-15  Roland McGrath  <roland@hack.frob.com>
62766         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
62767         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
62768         zero since it's initialized to EXEC_PAGESIZE.
62770         * sysdeps/unix/sysv/linux/ldsodefs.h
62771         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
62772         * sysdeps/generic/ldsodefs.h: ... here.
62774 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
62776         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
62778         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
62779         math/test-snan.c.
62780         * math/test-snan.c: Renamed from
62781         sysdeps/powerpc/fpu/test-powerpc-snan.c.
62782         * math/Makefile (tests): Add test-snan.
62783         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
62784         test-powerpc-snan.
62786         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
62787         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
62788         functions.
62789         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
62790         __builtin_nan family of functions.
62791         * math/libm-test.inc (initialize): Initialize qnan_value with
62792         __builtin_nan family of functions.
62793         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
62794         Remove variables.
62795         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
62796         Remove functions.
62797         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
62798         storage class.  Initialize qNaN_var and sNaN_var with
62799         __builtin_nan and __builtin_nans families of functions,
62800         respectively.
62802         * math/libm-test.inc (acosh_test): Also test with qNaN input.
62803         (sqrt_test): Remove duplicate test with qNaN input.
62804         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
62805         (round_test, signbit_test, significand_test): Note missing +/-Inf
62806         as well as qNaN tests.
62808         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
62809         qNaN_var.  Fix a few strings, too.
62810         * math/libm-test.inc (nan_value): Rename to qnan_value.
62811         * math/gen-libm-test.pl (%beautify): Adjust to that.
62812         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
62813         * math/test-misc.c (main): Likewise.
62814         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
62815         to __qnan_bytes, and __qnan_union, respectively.
62816         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
62817         Likewise.
62818         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
62819         and lqnanval, respectively.
62820         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
62821         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
62822         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
62823         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
62825         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
62826         * math/test-misc.c (main) [__x86_64__]: Enable test for long
62827         doubles.
62829         * math/test-misc.c (main): Fix copy'n'pastos.
62830         * misc/tst-efgcvt.c (special): Likewise.
62832         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
62833         Remove declarations.
62835 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62837         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
62838         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
62839         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
62840         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
62842 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62844         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
62845         macro to return vdso values correctly in IFUNC implementations.
62846         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
62847         Optimization by using IFUNC.
62849 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62850             Richard Henderson  <rth@redhat.com>
62851             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62853         * Makefile.in (bench): New target.
62854         * NEWS: Mention the benchmark framework.
62855         * Rules (bench): Likewise.
62856         (binaries-bench): Generate binaries for functions to
62857         benchmark.
62858         * benchtests/Makefile: New makefile for benchmark tests.
62859         * benchtests/bench-skeleton.c: New skeleton file for benchmark
62860         programs.
62861         * benchtests/exp-inputs: New input file for EXP function.
62862         * benchtests/pow-inputs: New input file for POW function.
62863         * scripts/bench.pl: New script to generate source files for
62864         benchmark programs.
62866 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62868         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62869         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
62870         computations on mantissa.  Use macros for rounding and
62871         division.
62872         (denorm): Likewise.
62873         (__dbl_mp): Likewise.
62874         (add_magnitudes): Likewise.
62875         (sub_magnitudes): Likewise.
62876         (__mul): Likewise.
62877         (__sqr): Likewise.
62878         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62879         powers of two in terms of TWOPOW macro.
62880         (mp_no): Make type of mantissa as MANTISSA_T.
62881         [!RADIXI]: Define RADIXI.
62882         [!TWO52]: Define TWO52.
62883         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62885         * manual/nptl.texi (cindex): Modify threads to pthreads.
62887 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
62889         * sysdeps/x86_64/preconfigure: Regenerated.
62891 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
62893         [BZ #14155]
62894         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
62895         0x1p28 and above.
62896         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
62897         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
62898         0x1p28 and above.
62899         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
62900         * math/libm-test.inc (j0_test): Do not allow one spurious
62901         underflow exception.
62902         (y1_test): Likewise.
62904 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62906         * manual/Makefile (chapters): Add nptl.
62907         * manual/debug.texi (Debugging Support): Add link to Threads
62908         chapter.
62909         * manual/nptl.texi: New file.
62911         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
62913 2013-03-14  Petr Baudis  <pasky@ucw.cz>
62915         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
62916         for non-NULL pointer before the memory validity test. Pointed
62917         out by Holger Brunck <holger.brunck@keymile.com>.
62919 2013-03-13  Andreas Schwab  <schwab@suse.de>
62921         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
62922         instead of .os.
62924 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
62926         * timezone/zic.c: Update from tzcode 2013b.
62928 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
62930         * manual/install.texi (Configuring and compiling):
62931         Mention i686 and i586.
62932         * INSTALL: Regenerate.
62934 2013-03-12  Roland McGrath  <roland@hack.frob.com>
62936         * sysdeps/init_array/elf-init.c: New file.
62937         * csu/elf-init.c
62938         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
62939         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
62941         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
62942         __gmon_start__ as global, but as static with a .preinit_array pointer.
62943         * sysdeps/init_array/gmon-start.c: New file.  Use that.
62944         * sysdeps/init_array/crti.S: New file, empty except for comments.
62945         * sysdeps/init_array/crtn.S: Likewise.
62947 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
62949         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
62950         definining bcopy.
62951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62952         Remove Prefer_SSE_for_memop.
62953         * sysdeps/x86_64/multiarch/init-arch.h: Remove
62954         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
62955         HAS_PREFER_SSE_FOR_MEMOP.
62956         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
62957         memset-x86-64.
62958         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62959         Remove bzero, memset ifunc support.
62960         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
62961         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
62962         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62963         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62965 2013-03-11  Andreas Schwab  <schwab@suse.de>
62967         [BZ #15234]
62968         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
62969         by SHLIB_COMPAT.
62970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
62971         (GLIBC_2.16): Remove pthread_atfork.
62973 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
62975         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
62976         (ptestcases.h): Likewise.
62978 2013-03-08  Roland McGrath  <roland@hack.frob.com>
62980         * Makeconfig ($(common-objpfx)config.status): Depend on
62981         sysdeps/*/preconfigure{,.in} too.
62983 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
62985         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
62986         (__free_hook): Use void * instead of __malloc_ptr_t.
62987         (__malloc_hook): Likewise.
62988         (__realloc_hook): Likewise.
62989         (__memalign_hook): Likewise.
62990         (__after_morecore_hook): Likewise.
62991         * malloc/arena.c (save_malloc_hook): Likewise.
62992         (save_free_hook): Likewise.
62993         * malloc/hooks.c (malloc_hook_ini): Likewise.
62994         (realloc_hook_ini): Likewise.
62995         (memalign_hook_ini): Likewise.
62996         * malloc/malloc.c (malloc_hook_ini): Likewise.
62997         (realloc_hook_ini): Likewise.
62998         (memalign_hook_ini): Likewise.
62999         (__free_hook): Likewise.
63000         (__malloc_hook): Likewise.
63001         (__realloc_hook): Likewise.
63002         (__memalign_hook): Likewise.
63003         (__libc_malloc): Likewise.
63004         (__libc_free): Likewise.
63005         (__libc_realloc): Likewise.
63006         (__libc_memalign): Likewise.
63007         (__libc_valloc): Likewise.
63008         (__libc_pvalloc): Likewise.
63009         (__libc_calloc): Likewise.
63010         (__posix_memalign): Likewise.
63011         * malloc/morecore.c (__sbrk): Likewise.
63012         (__default_morecore): Likewise.
63014         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
63016         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
63017         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
63018         __malloc_ptrdiff_t.
63020         * malloc/malloc.h (__malloc_size_t): Remove macro.
63021         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
63022         __malloc_size_t.
63023         (old_memalign_hook): Likewise.
63024         (old_realloc_hook): Likewise.
63025         (struct hdr): Likewise.
63026         (flood): Likewise.
63027         (mallochook): Likewise.
63028         (memalignhook): Likewise.
63029         (reallochook): Likewise.
63030         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
63031         (tr_old_realloc_hook): Likewise.
63032         (tr_old_memalign_hook): Likewise.
63033         (tr_mallochook): Likewise.
63034         (tr_reallochook): Likewise.
63035         (tr_memalignhook): Likewise.
63037 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63039         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
63040         default_ldbl_pack and using as default implementation.
63041         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
63042         implementation.
63043         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
63044         redundant definition.
63045         (ldbl_insert_mantissa): Likewise.
63046         (ldbl_canonicalize): Likewise.
63047         (ldbl_nearbyint): Likewise.
63048         (ldbl_pack): Rename to ldbl_pack_ppc.
63049         (ldbl_unpack): Rename to ldbl_unpack_ppc.
63050         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
63051         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
63053 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
63055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
63056         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
63057         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
63058         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
63059         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
63060         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
63061         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
63062         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
63064 2013-03-07  Andreas Jaeger  <aj@suse.de>
63066         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63067         bits/mman-linux.h.
63069 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63071         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
63072         Include mpa.h and declare __MPEXP.
63073         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
63074         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63075         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63076         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
63077         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63078         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63079         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
63081         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
63082         (__slowpow): Use long double EXPL and LOGL functions to
63083         compute POW.
63084         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63085         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63086         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
63087         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63088         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63089         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
63091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
63092         intermediate variable to calculate exponent.
63093         (__sqr): Likewise.
63094         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63095         Likewise.
63096         (__sqr): Likewise.
63098         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
63099         [!NO__SQR]: Define __sqr.
63100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
63101         and NO__SQR.  Remove all code except __mul and __sqr.  Include
63102         sysdeps/ieee754/dbl-64/mpa.c.
63103         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63105         [BZ #12723]
63106         * posix/Makefile (tests): Add tst-pathconf.
63107         * posix/tst-pathconf.c: New test case.
63108         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
63109         _PC_PIPE_BUF.
63110         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
63112 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
63114         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
63116 2013-03-06  Andreas Jaeger  <aj@suse.de>
63118         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
63119         definition via __MAP_ANONYMOUS.
63121         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
63122         it's not part of Linux headers.
63124         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
63125         (MAP_HUGE_MASK): Define.
63127         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63128         Define.
63129         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63130         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63131         Define.
63132         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63133         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63134         Define.
63135         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63136         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
63137         Define.
63138         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63140         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
63141         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
63142         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
63143         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
63144         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
63145         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
63147         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63148         Handle f2fs.
63150         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63151         Handle f2fs and efivarfs.
63153         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
63154         f2fs.
63156         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
63157         (EFIVARFS_MAGIC): Add.
63158         (F2FS_LINK_MAX): Add.
63160 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63162         * stdio-common/vfprintf.c: Replace __builtin_expect with
63163         __glibc_unlikely.
63165 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
63167         [BZ #13550]
63168         * sysdeps/generic/bp-sym.h: Remove file.
63169         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
63170         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
63171         <bp-sym.h> and <bp-asm.h>.
63172         (__longjmp): Don't use BP_SYM.
63173         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
63174         and <bp-asm.h>.
63175         (memcpy): Don't use BP_SYM.
63176         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
63177         <bp-sym.h> and <bp-asm.h>.
63178         (memcpy): Don't use BP_SYM.
63179         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
63180         <bp-asm.h>.
63181         (memcpy): Don't use BP_SYM.
63182         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
63183         <bp-asm.h>.
63184         (memset): Don't use BP_SYM.
63185         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63186         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63187         (__bzero): Don't use BP_SYM.
63188         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63189         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63190         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
63191         <bp-sym.h> and <bp-asm.h>.
63192         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63193         pointers.
63194         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
63195         <bp-sym.h> and <bp-asm.h>.
63196         (memcpy): Don't use BP_SYM.
63197         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
63198         <bp-sym.h> and <bp-asm.h>.
63199         (memset): Don't use BP_SYM.
63200         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63201         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63202         (__bzero): Don't use BP_SYM.
63203         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63204         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63205         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
63206         <bp-sym.h> and <bp-asm.h>.
63207         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63208         pointers.
63209         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
63210         <bp-sym.h> and <bp-asm.h>.
63211         (memcpy): Don't use BP_SYM.
63212         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
63213         <bp-sym.h> and <bp-asm.h>.
63214         (memset): Don't use BP_SYM.
63215         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63216         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63217         (__bzero): Don't use BP_SYM.
63218         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63219         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63220         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
63221         <bp-sym.h> and <bp-asm.h>.
63222         (__memchr): Don't use BP_SYM.
63223         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
63224         <bp-sym.h> and <bp-asm.h>.
63225         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63226         pointers.
63227         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
63228         <bp-sym.h> and <bp-asm.h>.
63229         (memcpy): Don't use BP_SYM.
63230         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
63231         <bp-sym.h> and <bp-asm.h>.
63232         (__mempcpy): Don't use BP_SYM.
63233         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
63234         <bp-sym.h> and <bp-asm.h>.
63235         (__memrchr): Don't use BP_SYM.
63236         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
63237         <bp-sym.h> and <bp-asm.h>.
63238         (memset): Don't use BP_SYM.
63239         (__bzero): Likewise.
63240         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
63241         <bp-sym.h> and <bp-asm.h>.
63242         (__rawmemchr): Don't use BP_SYM.
63243         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
63244         <bp-sym.h> and <bp-asm.h>.
63245         (__STRCMP): Don't use BP_SYM.
63246         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
63247         <bp-sym.h> and <bp-asm.h>.
63248         (strchr): Don't use BP_SYM.
63249         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
63250         <bp-sym.h> and <bp-asm.h>.
63251         (__strchrnul): Don't use BP_SYM.
63252         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
63253         <bp-sym.h> and <bp-asm.h>.
63254         (strlen): Don't use BP_SYM.
63255         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
63256         <bp-sym.h> and <bp-asm.h>.
63257         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63258         pointers.
63259         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
63260         <bp-sym.h> and <bp-asm.h>.
63261         (__strnlen): Don't use BP_SYM.
63262         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
63263         <bp-sym.h> and <bp-asm.h>.
63264         (__GI__setjmp): Don't use BP_SYM.
63265         (_setjmp): Likewise.
63266         (__sigsetjmp): Likewise.
63267         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
63268         (L(start_addresses)): Don't use BP_SYM.
63269         (_start): Likewise.
63270         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
63271         <bp-asm.h>.
63272         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
63273         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
63274         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63275         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63276         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
63277         <bp-asm.h>.
63278         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
63279         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
63280         about bounded pointers.
63281         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63282         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63283         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
63284         <bp-asm.h>.
63285         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63286         about bounded pointers.  Remove GKM FIXME comments.
63287         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63288         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
63289         <bp-asm.h>.
63290         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
63291         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
63292         Remove GKM FIXME comments.
63293         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63294         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63295         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
63296         <bp-asm.h>.
63297         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63298         about bounded pointers.  Remove GKM FIXME comment.
63299         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
63300         and <bp-asm.h>.
63301         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63302         pointers.
63303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
63304         <bp-sym.h> and <bp-asm.h>.
63305         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
63307         <bp-sym.h> and <bp-asm.h>.
63308         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63309         comment.
63311 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63313         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
63314         call free(NULL).
63316 2013-03-05  David S. Miller  <davem@davemloft.net>
63318         * po/es.po: Update from translation team.
63320 2013-03-05  Andreas Jaeger  <aj@suse.de>
63322         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
63323         <bits/mman-linux.h>.
63324         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63325         is fine.
63326         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
63327         <bits/mman-linux.h> to end of file.
63328         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63329         is fine.
63330         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
63331         <bits/mman-linux.h> to end of file.
63332         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63333         is fine.
63334         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
63335         <bits/mman-linux.h> to end of file.
63337         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
63338         (MCL_CURRENT, MCL_FUTURE): Define here.
63340 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63342         [BZ #15232]
63343         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
63344         attribute_hidden.
63345         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63347 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63349         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
63350         fourth parameter needed for rt_sigprocmask syscall.
63351         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
63352         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63353         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
63354         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63355         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63356         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
63358 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
63360         [BZ #13550]
63361         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
63362         comment about bounded pointers.
63363         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
63364         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
63366 2013-03-04  Andreas Jaeger  <aj@suse.de>
63368         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
63369         common definitions.
63371         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
63372         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
63373         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
63374         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63375         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63376         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63378 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63380         [BZ #15055]
63381         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
63382         __ieee754_sqrl instead of __sqrl.
63384 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
63386         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
63387         * sysdeps/powerpc/fpu_control.h: ... here.
63388         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
63389         * sysdeps/powerpc/bits/fenvinline.h: ... here.
63390         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
63391         * sysdeps/powerpc/bits/mathinline.h: ... here.
63393 2013-03-01  Roland McGrath  <roland@hack.frob.com>
63395         * elf/dl-hwcaps.c (_dl_important_hwcaps):
63396         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
63397         to just [NEED_DL_SYSINFO_DSO].
63398         * elf/dl-support.c: Likewise.
63399         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
63400         * elf/rtld.c (dl_main): Likewise.
63401         * elf/setup-vdso.h (setup_vdso): Likewise.
63402         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
63403         * sysdeps/unix/sysv/linux/dl-sysdep.c
63404         (_dl_discover_osversion): Likewise.
63406 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
63408         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
63409         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63411 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
63413         * NEWS: Mention libm performance improvements and non-x86 PI
63414         futex support.
63416         * csu/libc-start.c (__pthread_initialize_minimal): Change
63417         function arguments.
63418         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63420 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
63422         [BZ #13550]
63423         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
63424         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
63425         <bp-sym.h> and <bp-asm.h>.
63426         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63427         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
63428         and <bp-asm.h>.
63429         (memcpy): Don't use BP_SYM.
63430         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
63431         <bp-asm.h>.
63432         (__mpn_add_n): Don't use BP_SYM.
63433         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
63434         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
63435         and <bp-asm.h>.
63436         (__mpn_addmul_1): Don't use BP_SYM.
63437         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63438         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
63439         <bp-sym.h>.
63440         (_setjmp): Don't use BP_SYM.
63441         (__novmx_setjmp): Likewise.
63442         (__GI__setjmp): Likewise.
63443         (__vmx_setjmp): Likewise.
63444         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
63445         <bp-sym.h>.
63446         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
63447         (__bzero): Don't use BP_SYM.
63448         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63449         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63450         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
63451         <bp-sym.h> and <bp-asm.h>.
63452         (memcpy): Don't use BP_SYM.
63453         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
63454         <bp-sym.h> and <bp-asm.h>.
63455         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63456         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
63457         <bp-sym.h> and <bp-asm.h>.
63458         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63459         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
63460         <bp-asm.h>.
63461         (__mpn_lshift): Don't use BP_SYM.
63462         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63463         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
63464         <bp-asm.h>.
63465         (memset): Don't use BP_SYM.
63466         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63467         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63468         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
63469         <bp-asm.h>.
63470         (__mpn_mul_1): Don't use BP_SYM.
63471         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63472         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
63473         <bp-sym.h> and <bp-asm.h>.
63474         (memcmp): Don't use BP_SYM.
63475         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
63476         <bp-sym.h> and <bp-asm.h>.
63477         (memcpy): Don't use BP_SYM.
63478         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
63479         <bp-sym.h> and <bp-asm.h>.
63480         (memset): Don't use BP_SYM.
63481         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
63482         <bp-sym.h> and <bp-asm.h>.
63483         (strncmp): Don't use BP_SYM.
63484         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
63485         <bp-sym.h> and <bp-asm.h>.
63486         (memcpy): Don't use BP_SYM.
63487         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
63488         <bp-sym.h> and <bp-asm.h>.
63489         (memset): Don't use BP_SYM.
63490         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
63491         <bp-sym.h> and <bp-asm.h>.
63492         (__memchr): Don't use BP_SYM.
63493         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
63494         <bp-sym.h> and <bp-asm.h>.
63495         (memcmp): Don't use BP_SYM.
63496         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
63497         <bp-sym.h> and <bp-asm.h>.
63498         (memcpy): Don't use BP_SYM.
63499         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
63500         <bp-sym.h> and <bp-asm.h>.
63501         (__mempcpy): Don't use BP_SYM.
63502         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
63503         <bp-sym.h> and <bp-asm.h>.
63504         (__memrchr): Don't use BP_SYM.
63505         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
63506         <bp-sym.h> and <bp-asm.h>.
63507         (memset): Don't use BP_SYM.
63508         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
63509         <bp-sym.h> and <bp-asm.h>.
63510         (__rawmemchr): Don't use BP_SYM.
63511         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
63512         <bp-sym.h> and <bp-asm.h>.
63513         (__STRCMP): Don't use BP_SYM.
63514         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
63515         <bp-sym.h> and <bp-asm.h>.
63516         (strchr): Don't use BP_SYM.
63517         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
63518         <bp-sym.h> and <bp-asm.h>.
63519         (__strchrnul): Don't use BP_SYM.
63520         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
63521         <bp-sym.h> and <bp-asm.h>.
63522         (strlen): Don't use BP_SYM.
63523         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
63524         <bp-sym.h> and <bp-asm.h>.
63525         (strncmp): Don't use BP_SYM.
63526         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
63527         <bp-sym.h> and <bp-asm.h>.
63528         (__strnlen): Don't use BP_SYM.
63529         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
63530         <bp-asm.h>.
63531         (__mpn_rshift): Don't use BP_SYM.
63532         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63533         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
63534         <bp-sym.h> and <bp-asm.h>.
63535         (__sigsetjmp): Don't use BP_SYM.
63536         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
63537         (L(start_addresses)): Don't use BP_SYM.
63538         (_start): Likewise.
63539         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
63540         <bp-asm.h>.
63541         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
63542         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63543         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63544         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
63545         <bp-asm.h>.
63546         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
63547         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63548         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63549         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
63550         <bp-asm.h>.
63551         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63552         comments.
63553         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63554         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
63555         <bp-asm.h>.
63556         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
63557         FIXME comments.
63558         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63559         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63560         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
63561         <bp-asm.h>.
63562         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63563         comment.
63564         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
63565         and <bp-asm.h>.
63566         (strncmp): Don't use BP_SYM,
63567         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
63568         <bp-asm.h>.
63569         (__mpn_sub_n): Don't use BP_SYM.
63570         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63571         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
63572         and <bp-asm.h>.
63573         (__mpn_submul_1): Don't use BP_SYM.
63574         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
63576         <bp-sym.h> and <bp-asm.h>.
63577         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
63579         <bp-sym.h> and <bp-asm.h>.
63580         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63581         comment.
63583 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
63586         Use ZK to minimize writes to Z.
63587         (sub_magnitudes): Simplify code a bit.
63588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
63589         Use ZK to minimize writes to Z.
63590         (sub_magnitudes): Simplify code a bit.
63592 2013-02-27  Roland McGrath  <roland@hack.frob.com>
63594         * csu/gmon-start.c: Add special exception to license text.
63596 2013-02-27  Richard Henderson  <rth@redhat.com>
63598         * scripts/config.guess: Update from config.git.
63599         * scripts/config.sub: Likewise.
63601 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63603         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
63605         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
63607         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
63609         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
63611         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
63613 2013-02-26  Roland McGrath  <roland@hack.frob.com>
63615         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
63616         [$(build-shared = yes].
63618 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63620         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
63621         (__mul): Reduce iterations for calculating mantissa.
63623         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
63624         MPTWO.
63625         (__mpranred): Likewise.
63627         [BZ #15160]
63628         * malloc/memusagestat.c (main): Draw graphs for heap and stack
63629         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
63631 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
63633         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
63634         Define __attribute__.
63636 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63638         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
63639         unused.
63640         * posix/regex_internal.h (__attribute): Remove.
63641         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
63642         (re_string_context_at): Likewise.
63643         (bitset_not): Use __attribute__ and mark function as possibly
63644         unused.
63645         (bitset_merge): Likewise.
63646         (bitset_mask): Likewise.
63647         (re_string_char_size_at): Likewise.
63648         (re_string_wchar_at): Likewise.
63649         (re_string_elem_size_at): Likewise.
63651 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63653         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
63654         code.
63655         (cc32): Likewise.
63657         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
63658         (__acr): Likewise.
63659         (__cpy): Likewise.
63660         (norm): Likewise.
63661         (denorm): Likewise.
63662         (__dbl_mp): Likewise.
63663         (add_magnitudes): Likewise.
63664         (sub_magnitudes): Likewise.
63665         (__mul): Likewise.
63666         (__inv): Likewise.
63668         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
63669         style.
63671         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
63672         style.
63674         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
63675         code.
63677         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
63678         up changes with default code.
63679         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
63680         Likewise.
63682 2013-02-24  Allan McRae  <allan@archlinux.org>
63684         * manual/socket.texi (The Internet Namespace): Order menu items
63685         to match that in the file.
63687         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
63688         node listing of the info page menu.
63690 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
63692         [BZ #13550]
63693         * sysdeps/i386/bp-asm.h: Remove file.
63694         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63695         (PARMS): Do not use macros from bp-asm.h.
63696         (S1): Likewise.
63697         (S2): Likewise.
63698         (SIZE): Likewise.
63699         (__mpn_add_n): Do not use BP_SYM
63700         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
63701         "bp-asm.h".
63702         (PARMS): Do not use macros from bp-asm.h.
63703         (S1): Likewise.
63704         (SIZE): Likewise.
63705         (__mpn_addmul_1): Do not use BP_SYM
63706         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
63707         "bp-asm.h".
63708         (PARMS): Do not use macros from bp-asm.h.
63709         (SIGMSK): Likewise.
63710         (_setjmp): Likewise.  Do not use BP_SYM.
63711         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
63712         "bp-asm.h".
63713         (PARMS): Do not use macros from bp-asm.h.
63714         (SIGMSK): Likewise.
63715         (setjmp): Likewise.  Do not use BP_SYM.
63716         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
63717         "bp-asm.h".
63718         (PARMS): Do not use macros from bp-asm.h.
63719         (__frexp): Do not use BP_SYM.
63720         (frexp): Likewise.
63721         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
63722         "bp-asm.h".
63723         (PARMS): Do not use macros from bp-asm.h.
63724         (__frexpf): Do not use BP_SYM.
63725         (frexpf): Likewise.
63726         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
63727         "bp-asm.h".
63728         (PARMS): Do not use macros from bp-asm.h.
63729         (__frexpl): Do not use BP_SYM.
63730         (frexpl): Likewise.
63731         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
63732         "bp-asm.h".
63733         (PARMS): Do not use macros from bp-asm.h.
63734         (__remquo): Do not use BP_SYM.
63735         (remquo): Likewise.
63736         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
63737         "bp-asm.h".
63738         (PARMS): Do not use macros from bp-asm.h.
63739         (__remquof): Do not use BP_SYM.
63740         (remquof): Likewise.
63741         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
63742         "bp-asm.h".
63743         (PARMS): Do not use macros from bp-asm.h.
63744         (__remquol): Do not use BP_SYM.
63745         (remquol): Likewise.
63746         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
63747         "bp-asm.h".
63748         (PARMS): Do not use macros from bp-asm.h.
63749         (DEST): Likewise.
63750         (SRC): Likewise.
63751         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
63752         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
63753         "bp-asm.h".
63754         (PARMS): Do not use macros from bp-asm.h.
63755         (strlen): Do not use BP_SYM.
63756         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
63757         "bp-asm.h".
63758         (PARMS): Do not use macros from bp-asm.h.
63759         (S1): Likewise.
63760         (S2): Likewise.
63761         (SIZE): Likewise.
63762         (__mpn_add_n): Do not use BP_SYM.
63763         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
63764         "bp-asm.h".
63765         (PARMS): Do not use macros from bp-asm.h.
63766         (S1): Likewise.
63767         (SIZE): Likewise.
63768         (__mpn_addmul_1): Do not use BP_SYM.
63769         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
63770         weak_alias.
63771         (bzero): Likewise.
63772         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
63773         "bp-asm.h".
63774         (PARMS): Do not use macros from bp-asm.h.
63775         (S): Likewise.
63776         (SIZE): Likewise.
63777         (__mpn_lshift): Do not use BP_SYM.
63778         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
63779         "bp-asm.h".
63780         (PARMS): Do not use macros from bp-asm.h.
63781         (DEST): Likewise.
63782         (SRC): Likewise.
63783         (LEN): Likewise.
63784         (memcpy): Likewise.  Do not use BP_SYM.
63785         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
63786         libc_hidden_def and weak_alias.
63787         (mempcpy): Do not use BP_SYM in weak_alias.
63788         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
63789         "bp-asm.h".
63790         (PARMS): Do not use macros from bp-asm.h.
63791         (DEST): Likewise.
63792         (LEN): Likewise.
63793         [!BZERO_P] (CHR): Likewise.
63794         (memset): Likewise.  Do not use BP_SYM.
63795         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
63796         "bp-asm.h".
63797         (PARMS): Do not use macros from bp-asm.h.
63798         (S1): Likewise.
63799         (SIZE): Likewise.
63800         (__mpn_mul_1): Do not use BP_SYM.
63801         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
63802         "bp-asm.h".
63803         (PARMS): Do not use macros from bp-asm.h.
63804         (S): Likewise.
63805         (SIZE): Likewise.
63806         (__mpn_rshift): Do not use BP_SYM.
63807         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
63808         "bp-asm.h".
63809         (PARMS): Do not use macros from bp-asm.h.
63810         (STR): Likewise.
63811         (CHR): Likewise.
63812         (strchr): Likewise.  Do not use BP_SYM.
63813         (index): Do not use BP_SYM in weak_alias.
63814         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
63815         "bp-asm.h".
63816         (PARMS): Do not use macros from bp-asm.h.
63817         (DEST): Likewise.
63818         (SRC): Likewise.
63819         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
63820         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
63821         "bp-asm.h".
63822         (PARMS): Do not use macros from bp-asm.h.
63823         (strlen): Do not use BP_SYM.
63824         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
63825         "bp-asm.h".
63826         (PARMS): Do not use macros from bp-asm.h.
63827         (S1): Likewise.
63828         (S2): Likewise.
63829         (SIZE): Likewise.
63830         (__mpn_sub_n): Do not use BP_SYM.
63831         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
63832         "bp-asm.h".
63833         (PARMS): Do not use macros from bp-asm.h.
63834         (S1): Likewise.
63835         (SIZE): Likewise.
63836         (__mpn_submul_1): Do not use BP_SYM.
63837         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
63838         "bp-asm.h".
63839         (PARMS): Do not use macros from bp-asm.h.
63840         (S1): Likewise.
63841         (S2): Likewise.
63842         (SIZE): Likewise.
63843         (__mpn_add_n): Do not use BP_SYM.
63844         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
63845         weak_alias.
63846         (bzero): Likewise.
63847         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
63848         "bp-asm.h".
63849         (PARMS): Do not use macros from bp-asm.h.
63850         (BLK2): Likewise.
63851         (LEN): Likewise.
63852         (memcmp): Do not use BP_SYM.
63853         (bcmp): Do not use BP_SYM in weak_alias.
63854         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
63855         "bp-asm.h".
63856         (PARMS): Do not use macros from bp-asm.h.
63857         (DEST): Likewise.
63858         (SRC): Likewise.
63859         (LEN): Likewise.
63860         (memcpy): Likewise.  Do not use BP_SYM.
63861         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
63862         "bp-asm.h".
63863         (PARMS): Do not use macros from bp-asm.h.
63864         (DEST): Likewise.
63865         (SRC): Likewise.
63866         (LEN): Likewise.
63867         (memmove): Likewise.  Do not use BP_SYM.
63868         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
63869         "bp-asm.h".
63870         (PARMS): Do not use macros from bp-asm.h.
63871         (DEST): Likewise.
63872         (SRC): Likewise.
63873         (LEN): Likewise.
63874         (__mempcpy): Likewise.  Do not use BP_SYM.
63875         (mempcpy): Do not use BP_SYM in weak_alias.
63876         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
63877         "bp-asm.h".
63878         (PARMS): Do not use macros from bp-asm.h.
63879         (DEST): Likewise.
63880         (LEN): Likewise.
63881         [!BZERO_P] (CHR): Likewise.
63882         (memset): Likewise.  Do not use BP_SYM.
63883         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
63884         "bp-asm.h".
63885         (PARMS): Do not use macros from bp-asm.h.
63886         (STR2): Likewise.
63887         (strcmp): Do not use BP_SYM.
63888         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
63889         "bp-asm.h".
63890         (PARMS): Do not use macros from bp-asm.h.
63891         (STR): Likewise.
63892         (DELIM): Likewise.
63893         [USE_AS_STRTOK_R] (SAVE): Likewise.
63894         (FUNCTION): Likewise.  Do not use BP_SYM.
63895         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
63896         aliases.
63897         (strtok_r): Likewise.
63898         (__GI___strtok_r): Likewise.
63899         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63900         (PARMS): Do not use macros from bp-asm.h.
63901         (S): Likewise.
63902         (SIZE): Likewise.
63903         (__mpn_lshift): Do not use BP_SYM.
63904         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63905         (PARMS): Do not use macros from bp-asm.h.
63906         (STR): Likewise.
63907         (CHR): Likewise.
63908         (__memchr): Do not use BP_SYM.
63909         (memchr): Do not use BP_SYM in weak_alias.
63910         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63911         (PARMS): Do not use macros from bp-asm.h.
63912         (BLK2): Likewise.
63913         (LEN): Likewise.
63914         (memcmp): Do not use BP_SYM.
63915         (bcmp): Do not use BP_SYM in weak_alias.
63916         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
63917         (PARMS): Do not use macros from bp-asm.h.
63918         (S1): Likewise.
63919         (SIZE): Likewise.
63920         (__mpn_mul_1): Do not use BP_SYM.
63921         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
63922         "bp-asm.h".
63923         (PARMS): Do not use macros from bp-asm.h.
63924         (STR): Likewise.
63925         (CHR): Likewise.
63926         (__rawmemchr): Do not use BP_SYM.
63927         (rawmemchr): Do not use BP_SYM in weak_alias.
63928         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63929         (PARMS): Do not use macros from bp-asm.h.
63930         (S): Likewise.
63931         (SIZE): Likewise.
63932         (__mpn_rshift): Do not use BP_SYM.
63933         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63934         (PARMS): Do not use macros from bp-asm.h.
63935         (SIGMSK): Likewise.
63936         (__sigsetjmp): Likewise.  Do not use BP_SYM.
63937         * sysdeps/i386/start.S: Do not include "bp-sym.h".
63938         (_start): Do not use BP_SYM.
63939         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
63940         (PARMS): Do not use macros from bp-asm.h.
63941         (DEST): Likewise.
63942         (SRC): Likewise.
63943         (__stpcpy): Likewise.  Do not use BP_SYM.
63944         (stpcpy): Do not use BP_SYM in weak_alias.
63945         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
63946         "bp-asm.h".
63947         (PARMS): Do not use macros from bp-asm.h.
63948         (DEST): Likewise.
63949         (SRC): Likewise.
63950         (LEN): Likewise.
63951         (__stpncpy): Likewise.  Do not use BP_SYM.
63952         (stpncpy): Do not use BP_SYM in weak_alias.
63953         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63954         (PARMS): Do not use macros from bp-asm.h.
63955         (STR): Likewise.
63956         (CHR): Likewise.
63957         (strchr): Likewise.  Do not use BP_SYM.
63958         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
63959         "bp-asm.h".
63960         (PARMS): Do not use macros from bp-asm.h.
63961         (STR): Likewise.
63962         (CHR): Likewise.
63963         (__strchrnul): Likewise.  Do not use BP_SYM.
63964         (strchrnul): Do not use BP_SYM in weak_alias.
63965         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
63966         "bp-asm.h".
63967         (PARMS): Do not use macros from bp-asm.h.
63968         (STOP): Likewise.
63969         (strcspn): Do not use BP_SYM.
63970         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
63971         "bp-asm.h".
63972         (PARMS): Do not use macros from bp-asm.h.
63973         (STR): Likewise.
63974         (STOP): Likewise.
63975         (strpbrk): Likewise.  Do not use BP_SYM.
63976         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
63977         "bp-asm.h".
63978         (PARMS): Do not use macros from bp-asm.h.
63979         (STR): Likewise.
63980         (CHR): Likewise.
63981         (strrchr): Likewise.  Do not use BP_SYM.
63982         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
63983         (PARMS): Do not use macros from bp-asm.h.
63984         (SKIP): Likewise.
63985         (strspn): Do not use BP_SYM.
63986         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
63987         (PARMS): Do not use macros from bp-asm.h.
63988         (STR): Likewise.
63989         (DELIM): Likewise.
63990         (SAVE): Likewise.
63991         (FUNCTION): Likewise.  Do not use BP_SYM.
63992         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
63993         aliases.
63994         (strtok_r): Likewise.
63995         (__GI___strtok_r): Likewise.
63996         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63997         (PARMS): Do not use macros from bp-asm.h.
63998         (S1): Likewise.
63999         (S2): Likewise.
64000         (SIZE): Likewise.
64001         (__mpn_sub_n): Do not use BP_SYM.
64002         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
64003         "bp-asm.h".
64004         (PARMS): Do not use macros from bp-asm.h.
64005         (S1): Likewise.
64006         (SIZE): Likewise.
64007         (__mpn_submul_1): Do not use BP_SYM.
64008         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
64009         <bp-sym.h>.
64010         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
64011         and <bp-asm.h>.
64012         (PARMS): Do not use macros from bp-asm.h.
64013         (FLAGS): Likewise.
64014         (PTID): Likewise.
64015         (TLS): Likewise.
64016         (CTID): Likewise.
64017         (__clone): Do not use BP_SYM.
64018         (clone): Do not use BP_SYM in weak_alias.
64019         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
64020         and <bp-asm.h>.
64021         (PARMS): Do not use macros from bp-asm.h.
64022         (LEN): Likewise.
64023         (__mmap64): Do not use BP_SYM.
64024         (mmap64): Do not use BP_SYM in weak_alias.
64025         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64026         <bp-sym.h> and <bp-asm.h>.
64027         (PARMS): Do not use macros from bp-asm.h.
64028         (__posix_fadvise64_l64): Do not use BP_SYM.
64029         * sysdeps/unix/sysv/linux/i386/semtimedop.S
64030         (PARMS): Do not use macros from bp-asm.h.
64031         (NSOPS): Likewise.
64032         (semtimedop): Do not use BP_SYM.
64033         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
64034         and <bp-asm.h>.
64036 2013-02-21  Allan McRae  <allan@archlinux.org>
64038         * manual/message.texi (Charset conversion in gettext):
64039         Move @end statement to beginning of line.
64041 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
64044         static.
64045         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64046         Likewise.
64048         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
64049         (denorm): Likewise.
64050         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
64051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
64053 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64055         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
64056         tail-call to the resolved function if pltexit isn't needed.
64058 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64060         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
64061         or Y being zero as being unlikely.
64062         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64063         Likewise.
64065 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
64067         * manual/nss.texi (System Databases and Name Service Switch):
64068         Remove frobnicate @pxref.
64070 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64072         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64073         __attribute__ ((unused)) to __attribute__ ((__unused__)).
64075 2013-02-20  Petr Machata  <pmachata@redhat.com>
64077         * elf/elf.h (R_ARM_TARGET1): New macro.
64078         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
64079         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
64080         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
64081         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
64082         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
64083         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
64084         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
64085         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
64086         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
64087         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
64088         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
64089         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
64090         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
64091         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
64092         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
64093         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
64094         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
64095         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
64096         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
64097         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
64098         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
64099         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
64100         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
64101         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
64102         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
64103         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
64104         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
64105         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
64106         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
64107         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
64108         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
64109         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
64110         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
64111         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
64112         (R_ARM_THM_GOT_BREL12): Likewise.
64113         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
64114         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
64115         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
64116         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
64117         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
64118         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
64119         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
64120         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
64121         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
64123 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64125         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64126         __attribute_used__ to __attribute__ ((unused)).
64128 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64130         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
64131         powerpc mpa.c.
64132         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
64133         comment formatting.
64134         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
64136 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
64138         [BZ #13550]
64139         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
64140         Remove macro.
64141         (ENTER): Remove both macro definitions.
64142         (LEAVE): Likewise.
64143         (CHECK_BOUNDS_LOW): Likewise.
64144         (CHECK_BOUNDS_HIGH): Likewise.
64145         (CHECK_BOUNDS_BOTH): Likewise.
64146         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
64147         (RETURN_BOUNDED_POINTER): Likewise.
64148         (RETURN_NULL_BOUNDED_POINTER): Likewise.
64149         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
64150         (POP_ERRNO_LOCATION_RETURN): Likewise.
64151         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
64152         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64153         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
64154         macros.
64155         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64156         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
64157         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
64158         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
64159         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
64160         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
64161         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
64162         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
64163         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
64164         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
64165         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
64166         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
64167         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64168         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
64169         removed macros.
64170         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64171         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
64172         macros.
64173         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64174         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
64175         * sysdeps/i386/i586/memset.S (memset): Likewise.
64176         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
64177         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64178         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
64179         macros.
64180         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64181         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
64182         Change uses of L(2) to L(out).
64183         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
64184         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
64185         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
64186         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64187         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
64188         removed macros.
64189         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64190         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
64191         macros.
64192         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64193         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
64194         (RETURN): Do not use macro LEAVE.
64195         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
64196         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
64197         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
64198         * sysdeps/i386/i686/memset.S (memset): Likewise.
64199         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
64200         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
64201         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64202         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
64203         Likewise.
64204         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64205         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
64206         L(1_2) and L(1_3) into L(1).
64207         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64208         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
64209         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64210         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
64211         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64212         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
64213         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
64214         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64215         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
64216         macros.
64217         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
64218         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64219         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
64220         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
64221         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
64222         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64223         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
64224         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
64225         * sysdeps/i386/strcspn.S (strcspn): Likewise.
64226         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
64227         * sysdeps/i386/strrchr.S (strrchr): Likewise.
64228         * sysdeps/i386/strspn.S (strspn): Likewise.
64229         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
64230         conditional code.
64231         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64232         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
64233         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64234         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
64235         L(1_3) into L(1_1).
64236         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
64237         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64238         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
64239         macros.
64240         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64242 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
64244         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
64245         macro.
64247 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64249         * math/atest-exp.c (exp_mpn): Remove ROUND.
64250         * math/atest-exp2.c (exp_mpn): Likewise.
64251         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
64253         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
64254         * stdlib/tst-tls-atexit-lib.c: Likewise.
64255         * stdlib/tst-tls-atexit.c: Likewise.
64257 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64259         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
64260         and __attribute_alloc_size__.
64262 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64264         * include/programs/xmalloc.h: Change __attribute_alloc_size to
64265         __attribute_alloc_size__.
64266         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
64267         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
64269 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64271         * include/programs/xmalloc.h: New file.
64272         * catgets/gencat.c: Include it.
64273         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
64274         * elf/pldd.c: Likewise.
64275         * iconv/iconv_charmap.c: Likewise.
64276         * iconv/iconvconfig.c: Likewise.
64277         * iconv/strtab.c: Likewise.
64278         * locale/programs/locale.c: Likewise.
64279         * locale/programs/localedef.h: Likewise.
64280         * locale/programs/simple-hash.c: Likewise.
64281         * nscd/nscd.h: Likewise.
64282         * nss/makedb.c: Likewise.
64283         * sysdeps/generic/ldconfig.h: Likewise.
64285 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64287         * Versions.def: Add GLIBC_2.18.
64288         * include/link.h (struct link_map): New member l_tls_dtor_count.
64289         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
64290         (__call_tls_dtors): Likewise.
64291         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
64292         __cxa_thread_atexit_impl.
64293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64294         Likewise.
64295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64296         Likewise.
64297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
64298         Likewise.
64299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
64300         Likewise.
64301         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
64303         Likewise.
64304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
64305         Likewise.
64306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64308         Likewise.
64309         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
64310         (tests): Add test case tst-tls-atexit.
64311         (modules-names): Add shared library for tst-tls-atexit.
64312         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
64313         (GLIBC_PRIVATE): Add __call_tls_dtors.
64314         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
64315         for libstdc++.
64316         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
64317         * stdlib/tst-tls-atexit.c: New test case.
64318         * stdlib/tst-tls-atexit-lib.c: New test case.
64320         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
64322         * elf/Versions (ld): Add _dl_find_dso_for_object.
64323         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
64324         * elf/dl-open.c (_dl_find_dso_for_object): New function.
64325         (dl_open_worker): Use _dl_find_dso_for_object.
64326         * elf/dl-sym.c (do_sym): Likewise.
64327         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
64329 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64331         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
64332         Syntactic changes only.
64333         (_dl_runtime_profile): Do a tail-call to the resolved function.
64335 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
64337         [BZ #13550]
64338         * sysdeps/x86_64/bp-asm.h: Remove file.
64339         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
64340         <bp-sym.h> and <bp-asm.h>.
64341         (__clone): Do not use BP_SYM.
64342         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
64343         <bp-sym.h> and <bp-asm.h>.
64344         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64345         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
64346         "bp-asm.h".
64347         (_setjmp): Do not use BP_SYM.
64348         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
64349         "bp-asm.h".
64350         (setjmp): Do not use BP_SYM.
64351         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
64352         libc_hidden_def.
64353         (mempcpy): Do not use BP_SYM in weak_alias.
64354         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
64355         "bp-asm.h".
64356         (strchr): Do not use BP_SYM.
64357         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
64358         "bp-asm.h".
64359         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
64360         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
64361         (_start): Do not use BP_SYM.
64362         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
64363         "bp-asm.h".
64364         (strcat): Do not use BP_SYM.
64365         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
64366         "bp-asm.h".
64367         (STRCMP): Do not use BP_SYM.
64368         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
64369         "bp-asm.h".
64370         (STRCPY): Do not use BP_SYM.
64371         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
64372         "bp-asm.h".
64373         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
64374         "bp-asm.h".
64375         (FUNCTION): Do not use BP_SYM.
64376         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
64377         weak_alias.
64378         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
64380 2013-02-17  Andreas Jaeger  <aj@suse.de>
64382         * time/Versions: Sort entries.
64383         * string/Versions: Likewise.
64384         * resolv/Versions: Likewise.
64385         * posix/Versions: Likewise.
64386         * iconv/Versions: Likewise.
64387         * elf/Versions: Likewise.
64388         * wcsmbs/Versions: Likewise.
64390 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64392         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
64393         loop termination condition.
64395         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
64396         variable to calculate EZ.
64397         (__sqr): Likewise.
64399         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
64400         the lower precision input.
64402 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
64404         [BZ #13550]
64405         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
64406         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
64407         (run-via-rtld-prefix): Do not handle %-bp tests.
64408         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
64409         (all-object-suffixes): Remove .ob.
64410         (bppfx): Remove variable.
64411         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
64412         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
64413         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
64414         [$(build-bounded) = yes] (libtype.ob): Likewise.
64415         * Makerules (elide-routines.ob): Remove variable.
64416         (do-tests-clean): Do not handle *-bp.out.
64417         (common-mostlyclean): Do not handle *-bp and *-bp.out.
64418         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
64419         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
64420         (tests): Do not include $(tests-bp.out).
64421         (xtests): Do not include $(xtests-bp.out).
64422         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
64423         [$(build-bounded) = yes] ($(addprefix
64424         $(objpfx),$(binaries-bounded))): Remove rule.
64425         ($(objpfx)%-bp.out): Remove rule.
64426         * config.make.in (build-bounded): Remove variable.
64427         * crypt/Makefile [$(build-bounded) = yes]
64428         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
64429         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
64430         append to variable.
64431         [$(build-bounded) = yes] (install-lib): Likewise.
64432         [$(build-bounded) = yes] (generated): Likewise.
64433         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
64434         Remove rule.
64435         * intl/Makefile [$(build-bounded) = yes]
64436         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
64437         * math/Makefile [$(build-bounded) = yes]
64438         ($(tests:%=$(objpfx)%-bp): Likewise.
64439         * misc/Makefile [$(build-bounded) = yes]
64440         ($(objpfx)tst-tsearch-bp): Likewise.
64441         * nptl/Makeconfig (bounded-thread-library): Remove variable.
64442         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
64443         Remove dependency.
64444         * string/Makefile (o-objects.ob): Remove variable.
64445         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
64446         (CFLAGS-.ob): Remove variable.
64447         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
64448         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
64449         both definitions of variable.
64450         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
64451         (ASFLAGS-.ob): Remove variable.
64453 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
64455         [BZ #13550]
64456         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
64457         Remove __BOUNDED_POINTERS__ from condition.
64458         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
64459         * string/bits/string2.h [!__NO_STRING_INLINES &&
64460         !__BOUNDED_POINTERS__]: Likewise.
64461         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
64462         Likewise.
64463         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
64464         Remove conditional code.
64465         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
64466         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
64467         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
64468         condition.
64470         [BZ #13550]
64471         * csu/libc-start.c: Do not include <bp-sym.h>.
64472         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
64473         * elf/dl-open.c: Do not include <bp-sym.h>.
64474         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
64475         * math/fegetenv.c: Do not include <bp-sym.h>.
64476         (fegetenv): Do not use BP_SYM in versioned symbols.
64477         * nptl/sysdeps/pthread/bits/libc-lockP.h
64478         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
64479         <bp-sym.h>.
64480         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64481         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
64482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64483         (__pthread_mutex_destroy): Likewise.
64484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64485         (__pthread_mutex_lock): Likewise.
64486         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64487         (__pthread_mutex_trylock): Likewise.
64488         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64489         (__pthread_mutex_unlock): Likewise.
64490         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64491         (__pthread_mutexattr_init): Likewise.
64492         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64493         (__pthread_mutexattr_destroy): Likewise.
64494         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64495         (__pthread_mutexattr_settype): Likewise.
64496         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64497         (__pthread_rwlock_init): Likewise.
64498         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64499         (__pthread_rwlock_destroy): Likewise.
64500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64501         (__pthread_rwlock_rdlock): Likewise.
64502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64503         (__pthread_rwlock_tryrdlock): Likewise.
64504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64505         (__pthread_rwlock_wrlock): Likewise.
64506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64507         (__pthread_rwlock_trywrlock): Likewise.
64508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64509         (__pthread_rwlock_unlock): Likewise.
64510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64511         (__pthread_key_create): Likewise.
64512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64513         (__pthread_setspecific): Likewise.
64514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64515         (__pthread_getspecific): Likewise.
64516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
64517         Likewise.
64518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64519         (_pthread_cleanup_push_defer): Likewise.
64520         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64521         (_pthread_cleanup_pop_restore): Likewise.
64522         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64523         (pthread_setcancelstate): Likewise.
64524         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
64525         <bp-sym.h>.
64526         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
64527         (memchr): Do not use BP_SYM in weak_alias.
64528         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
64529         (fegetenv): Do not use BP_SYM in versioned symbols.
64530         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
64531         (fesetenv): Do not use BP_SYM in versioned symbols.
64532         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64533         (feupdateenv): Do not use BP_SYM in versioned symbols.
64534         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64535         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64536         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
64537         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
64538         (open64): Do not use BP_SYM in weak_alias.
64539         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
64540         (fegetenv): Do not use BP_SYM in versioned symbols.
64541         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
64542         (fesetenv): Do not use BP_SYM in versioned symbols.
64543         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64544         (feupdateenv): Do not use BP_SYM in versioned symbols.
64545         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
64546         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
64547         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
64548         (feraiseexcept): Do not use BP_SYM in versioned symbols.
64549         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64550         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64551         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
64552         <bp-sym.h>.
64553         (__libc_start_main): Do not use BP_SYM.
64555 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64557         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
64558         redundant return line.
64559         (norm): Likewise.
64560         (denorm): Likewise.
64561         (dbl_mp): Likewise.
64562         (sub_magnitudes): Likewise.
64563         (__add): Likewise.
64564         (__sub): Likewise.
64565         (__mul): Likewise.
64566         (__inv): Likewise.
64567         (__dvd): Likewise.
64568         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
64569         (norm): Likewise.
64570         (denorm): Likewise.
64571         (dbl_mp): Likewise.
64572         (sub_magnitudes): Likewise.
64573         (__add): Likewise.
64574         (__sub): Likewise.
64575         (__mul): Likewise.
64576         (__inv): Likewise.
64577         (__dvd): Likewise.
64579         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
64580         instead of __mul.
64581         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64582         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
64583         (cc32): Likewise.
64585         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
64586         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
64587         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
64588         of __mul for squares.
64589         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
64590         function
64591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
64592         Likewise.
64593         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
64594         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64596 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
64598         [BZ #13550]
64599         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
64600         code.
64601         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
64602         prototype or function definition.  Rename ubp_* variables and
64603         parameters.  Remove argv definitions conditional on
64604         [__BOUNDED_POINTERS__].
64605         * debug/backtrace.c (__backtrace): Do not use __unbounded.
64606         * elf/dl-runtime.c (_dl_fixup): Likewise.
64607         * include/set-hooks.h (RUN_HOOK): Likewise.
64608         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
64609         definition.
64610         * string/strcpy.c (strcpy): Do not use __unbounded.
64611         * sysdeps/generic/frame.h (struct layout): Likewise.
64612         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
64613         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
64614         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
64615         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
64616         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
64617         (__backtrace): Likewise.
64618         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
64619         use __ptrvalue.
64620         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
64621         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
64622         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
64623         Likewise.
64624         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
64625         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
64626         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
64627         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64628         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
64629         Do not use __unbounded.
64630         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
64631         Rename __unboundedrlimits parameter to rlimits in prototype.
64632         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
64633         Do not use __unbounded.
64634         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
64635         not use __ptrvalue.
64636         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64637         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
64638         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64639         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
64640         __ptrvalue or __unbounded.
64641         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
64642         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
64643         use __unbounded.
64644         (__new_msgctl): Do not use __ptrvalue.
64645         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
64646         __unbounded.
64647         (__libc_msgrcv): Do not use __ptrvalue.
64648         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
64649         startup_info): Do not use __unbounded.
64650         (__libc_start_main): Likewise.  Rename ubp_* variables and
64651         parameters.  Remove argv definitions conditional on
64652         [__BOUNDED_POINTERS__].
64653         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
64654         __ptrvalue.
64655         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
64656         use __unbounded.
64657         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
64658         or __ptrvalue.
64659         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
64660         use __unbounded.
64661         (__new_shmctl): Do not use __ptrvalue.
64662         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
64663         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
64664         Likewise.
64665         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
64666         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
64667         (__libc_sigaction): Likewise.
64668         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
64669         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
64670         Likewise.
64671         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64673 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
64675         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
64677         * string/mempcpy.c: Implement by calling memcpy.
64679 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64681         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
64683         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
64684         evaluation.
64686         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
64687         values in the mantissa.
64689         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
64690         minimize writes to Z.
64691         (sub_magnitudes): Simplify code a bit.
64693 2013-02-12  Roland McGrath  <roland@hack.frob.com>
64695         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
64696         from the message.  The linker prefixes all warnings with that already.
64698 2013-02-12  Andreas Schwab  <schwab@suse.de>
64700         [BZ #15078]
64701         * posix/regexec.c (extend_buffers): Add parameter min_len.
64702         (check_matching): Pass minimum needed length.
64703         (clean_state_log_if_needed): Likewise.
64704         (get_subexp): Likewise.
64705         * posix/Makefile (tests): Add bug-regex34.
64706         (bug-regex34-ENV): Define.
64707         * posix/bug-regex34.c: New file.
64709         [BZ #11561]
64710         * posix/regcomp.c (parse_bracket_exp): When looking up collating
64711         elements compare against the byte sequence of it, not its name.
64712         * posix/Makefile (tests): Add bug-regex35.
64713         (bug-regex35-ENV): Define.
64714         * posix/bug-regex35.c: New file.
64716 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64718         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
64719         comment.
64720         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
64721         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
64722         (CHECK_EOL): Add undef.
64724 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
64726         * bits/stdlib-bsearch.h: New file.
64727         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
64728         * stdlib/stdlib.h: Likewise.
64730 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64732         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
64733         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
64734         declaration.
64735         * manual/search.texi (Array Search Function): Add missing const in
64736         lfind prototype.
64737         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
64738         declaration to use rlim_t.
64739         (Basic Scheduling Functions): Remove erroneous const from
64740         sched_getparam prototype.  Remove erroneous * from
64741         sched_get_priority_max and sched_get_priority_min prototypes.
64742         (Resource Usage): Fix summary @comment on vtimes to refer to
64743         sys/vtimes.h rather than vtimes.h.
64744         Add missing *s in vtimes prototype.
64745         (Limits on Resources): Fix ulimit prototype to return long int.
64746         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
64747         prototypes to use long int rather than double.
64748         (BSD Random): Fix initstate and setstate to use char *, not void *.
64749         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
64750         prototype to make second argument 'struct aiocb64 *const[]'.
64751         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
64752         (Status of AIO Operations): Remove erroneous const in aio_return and
64753         aio_return64 prototypes.
64754         (Synchronizing I/O): Fix sync prototype to return void.
64755         * manual/startup.texi (Suboptions): Remove an erroneous const in
64756         getsubopt prototype.
64757         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
64758         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
64759         use size_t rather than int.
64760         (Scanning All Users): Likewise for getpwent_r.
64761         (Setting Groups): Add missing const to setgroups prototype.
64762         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
64763         * manual/socket.texi (Host Names): Fix gethostbyaddr and
64764         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
64765         'const void *' rather than 'const char *'.
64766         (Host Address Functions): Likewise for inet_ntop.
64767         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
64768         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
64769         ssize_t for return value.
64770         (Sending Data): Likewise for send, sendto, sendmsg.
64771         (Socket Option Functions): Add a missing const in setsockopt prototype.
64772         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
64773         use wchar_t for the argument.
64774         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
64775         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
64776         take no arguments.
64777         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
64778         double/float/long double for second argument.
64779         Fix return types of significand, significandf, significandl.
64780         * manual/filesys.texi (Setting Permissions): Use mode_t for second
64781         argument in fchmod prototype.
64782         (File Owner): Use uid_t and gid_t in fchown prototype.
64783         (File Times): Add const to utimes, futimes, and lutimes prototypes.
64784         (Making Special Files): Use mode_t and dev_t in mknod prototype.
64785         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
64786         use 'const struct dirent **' as argument types to CMP function pointer
64787         argument.
64788         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
64789         (File Times): Fix summary magic @comment for struct utimbuf and utime
64790         to refer to utime.h, not time.h.
64791         * manual/string.texi (Argz Functions): Add missing const in
64792         argz_extract and argz_next prototypes.
64793         (Finding Tokens in a String): Likewise for basename.
64794         (String/Array Comparison): Fix typo in wcscasecmp prototype.
64795         (Copying and Concatenation): Fix typo in wmemmove prototype.
64796         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
64797         (Signal Stack): Remove erroneous const in sigstack prototype.
64798         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
64799         prototype.
64800         (Simple Calendar Time): Likewise for stime.
64801         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
64802         prototype.
64803         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
64804         say sys/sysctl.h instead.
64805         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
64806         and vsyslog prototypes.
64808 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64810         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
64811         Remove.
64813 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64815         * misc/sys/mman.h: Fix typo in mremap comment.
64817 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64819         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
64820         the '\0' terminator.
64822 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64824         [BZ #13550]
64825         * debug/segfault.c: Don't include <bp-checks.h>.
64826         * sysdeps/generic/bp-checks.h: Remove file.
64827         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
64828         (__GETDENTS): Don't use CHECK_N.
64829         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
64830         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
64831         (__getgroups): Don't use CHECK_N.
64832         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
64833         (setgroups): Don't use CHECK_N.
64834         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
64835         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
64836         (__libc_msgrcv): Don't use CHECK_N.
64837         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
64838         (__libc_msgsnd): Don't use CHECK_N.
64839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
64840         <bp-checks.h>.
64841         (__libc_pread): Don't use CHECK_N.
64842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
64843         include <bp-checks.h>.
64844         (__libc_pread64): Don't use CHECK_N.
64845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
64846         include <bp-checks.h>.
64847         (__libc_pwrite): Don't use CHECK_N.
64848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
64849         include <bp-checks.h>.
64850         (__libc_pwrite64): Don't use CHECK_N.
64851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
64852         <bp-checks.h>.
64853         (__libc_pread): Don't use CHECK_N.
64854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
64855         include <bp-checks.h>.
64856         (__libc_pread64): Don't use CHECK_N.
64857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
64858         include <bp-checks.h>.
64859         (__libc_pwrite): Don't use CHECK_N.
64860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
64861         include <bp-checks.h>.
64862         (__libc_pwrite64): Don't use CHECK_N.
64863         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
64864         (do_pread): Don't use CHECK_N.
64865         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
64866         (do_pread64): Don't use CHECK_N.
64867         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
64868         (do_pwrite): Don't use CHECK_N.
64869         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
64870         (do_pwrite64): Don't use CHECK_N.
64871         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
64872         (__libc_readv): Don't use CHECK_N.
64873         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
64874         (semop): Don't use CHECK_N.
64875         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
64876         <bp-checks.h>.
64877         (semtimedop): Don't use CHECK_N.
64878         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
64879         (__libc_pread): Don't use CHECK_N.
64880         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
64881         <bp-checks.h>.
64882         (__libc_pread64): Don't use CHECK_N.
64883         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
64884         <bp-checks.h>.
64885         (__libc_pwrite): Don't use CHECK_N.
64886         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
64887         <bp-checks.h>.
64888         (__libc_pwrite64): Don't use CHECK_N.
64889         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
64890         <bp-checks.h>.
64891         (__libc_msgrcv): Don't use CHECK_N.
64892         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
64893         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
64894         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
64895         (__libc_writev): Don't use CHECK_N.
64897 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64899         * string/strcpy.c: Removed unused variable.
64901         * Makeconfig (+sysdep-includes): Define with := rather than =.
64902         Use an existing include/ subdir of each sysdeps dir before it.
64904 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64906         * nscd/connection.c (register_traced_file): Comment function.
64907         [HAVE_INOTIFY] (union __inev): Define.
64908         [HAVE_INOTIFY] (inotify_check_files): New function.
64909         [HAVE_INOTIFY] (clear_db_cache): Likewise.
64910         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
64911         clear_db_cache.
64912         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
64914 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64916         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
64917         loaded if not already and that a failure is permanent.
64919 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64921         [BZ #15006]
64922         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
64923         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
64925 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64927         [BZ #13550]
64928         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
64929         (CHECK_1_NULL_OK): Likewise.
64930         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
64931         (__fxstat): Do not use CHECK_1.
64932         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
64933         <bp-checks.h>.
64934         (___fxstat64): Do not use CHECK_1.
64935         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
64936         <bp-checks.h>.
64937         (__fxstatat): Do not use CHECK_1.
64938         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
64939         <bp-checks.h>.
64940         (__fxstatat64): Do not use CHECK_1.
64941         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
64942         <bp-checks.h>.
64943         (__fxstat): Do not use CHECK_1.
64944         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
64945         <bp-checks.h>.
64946         (__fxstatat): Do not use CHECK_1.
64947         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64948         <bp-checks.h>.
64949         (__getresgid): Do not use CHECK_1.
64950         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64951         <bp-checks.h>.
64952         (__getresuid): Do not use CHECK_1.
64953         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
64954         <bp-checks.h>.
64955         (__lxstat): Do not use CHECK_1.
64956         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64957         <bp-checks.h>.
64958         (__old_msgctl): Do not use CHECK_1.
64959         (__new_msgctl): Likewise.
64960         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
64961         <bp-checks.h>.
64962         (__new_setrlimit): Do not use CHECK_1.
64963         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64964         <bp-checks.h>.
64965         (__old_shmctl): Do not use CHECK_1.
64966         (__new_shmctl): Likewise.
64967         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
64968         <bp-checks.h>.
64969         (__xstat): Do not use CHECK_1.
64970         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
64971         (__lxstat): Do not use CHECK_1.
64972         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
64973         <bp-checks.h>.
64974         (___lxstat64): Do not use CHECK_1.
64975         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
64976         (__old_msgctl): Do not use CHECK_1.
64977         (__new_msgctl): Likewise.
64978         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
64979         <bp-checks.h>.
64980         (__gettimeofday): Do not use CHECK_1.
64981         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
64982         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
64983         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
64984         <bp-checks.h>.
64985         (__gettimeofday): Do not use CHECK_1.
64986         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
64987         (__old_shmctl): Do not use CHECK_1_NULL_OK.
64988         (__new_shmctl): Do not use CHECK_1.
64989         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
64990         <bp-checks.h>.
64991         (do_sigtimedwait): Do not use CHECK_1.
64992         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
64993         <bp-checks.h>.
64994         (do_sigwaitinfo): Do not use CHECK_1.
64995         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
64996         <bp-checks.h>.
64997         (msgctl): Do not use CHECK_1.
64998         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
64999         <bp-checks.h>.
65000         (shmctl): Do not use CHECK_1.
65001         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
65002         (ustat): Do not use CHECK_1.
65003         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
65004         <bp-checks.h>.
65005         (__fxstat): Do not use CHECK_1.
65006         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
65007         <bp-checks.h>.
65008         (__fxstatat): Do not use CHECK_1.
65009         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
65010         <bp-checks.h>.
65011         (__lxstat): Do not use CHECK_1.
65012         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
65013         <bp-checks.h>.
65014         (__xstat): Do not use CHECK_1.
65015         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
65016         (__xstat): Do not use CHECK_1.
65017         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
65018         (___xstat64): Do not use CHECK_1.
65020         [BZ #13550]
65021         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
65022         definitions.
65023         (CHECK_BOUNDS_HIGH): Likewise.
65024         * string/strcpy.c: Do not include <bp-checks.h>.
65025         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
65027 2013-02-07  Roland McGrath  <roland@hack.frob.com>
65029         * nscd/nscd-client.h (__nscd_drop_map_ref):
65030         Add __attribute__ ((unused)).
65031         * nis/nss-nisplus.h (niserr2nss): Likewise.
65033         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
65034         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
65036         * csu/libc-tls.c (init_static_tls, init_slotinfo):
65037         Remove inline keyword.
65038         * include/rounding-mode.h (round_away): Likewise.
65039         * libio/wfileops.c (adjust_wide_data): Likewise.
65040         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
65041         (__m128i_strloadu_tolower): Likewise.
65042         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
65043         (__m128i_strloadu_tolower): Likewise.
65044         * time/mktime.c (ydhms_diff): Likewise.
65045         * locale/elem-hash.h (elem_hash): Likewise.
65046         * locale/setlocale.c (setdata): Likewise.
65047         * posix/regex_internal.h (re_string_char_size_at): Likewise.
65048         (re_string_wchar_at): Likewise.
65049         (bitset_not, bitset_merge, bitset_mask): Likewise.
65050         [!(__GNUC__ > 3)] (inline): Remove macro.
65051         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
65052         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
65053         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
65054         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
65055         * string/memcmp.c (memcmp_bytes): Likewise.
65056         * locale/programs/locarchive.c (compute_hashval): Likewise.
65057         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
65058         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
65059         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
65060         * nss/getent.c (print_rpc, print_protocols): Likewise.
65061         (print_passwd, print_group, print_aliases): Likewise.
65062         * nis/nss-nisplus.h (niserr2nss): Likewise.
65063         * nscd/connections.c (restart_p): Likewise.
65064         Change return type to bool.
65066 2013-02-05  Roland McGrath  <roland@hack.frob.com>
65068         * Makeconfig (all-Depend-files): Add existing
65069         $(sorted-subdirs:=/Depend) files.
65070         (all-subdirs): Remove nss.
65071         * sysdeps/unix/inet/Subdirs: Add it here instead.
65072         * hesiod/Depend: New file.
65074         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
65075         instead of calling alloca.
65077         * io/lseek.c (__lseek): Rename to __libc_lseek.
65078         Define __lseek as an alias.
65080         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
65082 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
65084         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
65085         else clause and remove check for non-standard endianness.
65087 2013-02-04  David S. Miller  <davem@davemloft.net>
65089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65091 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
65093         [BZ #13550]
65094         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
65095         (__ubp_memchr): Remove prototype.
65096         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
65097         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65098         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
65099         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65100         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
65101         Remove alias.
65102         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
65103         (__ubp_memchr): Likewise.
65104         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
65105         (__ubp_memchr): Likewise.
65106         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
65107         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
65108         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
65109         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
65110         CHECK_STRING.
65111         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
65112         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
65113         (__getcwd): Do not use CHECK_STRING.
65114         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65115         <bp-checks.h>.
65116         (__real_chown): Do not use CHECK_STRING.
65117         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
65118         <bp-checks.h>.
65119         (fchownat): Do not use CHECK_STRING.
65120         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
65121         CHECK_STRING.
65122         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65123         <bp-checks.h>.
65124         (__lchown): Do not use CHECK_STRING.
65125         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65126         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65127         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65128         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
65129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65130         include <bp-checks.h>.
65131         (truncate64): Do not use CHECK_STRING.
65132         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65133         <bp-checks.h>.
65134         (__real_chown): Do not use CHECK_STRING.
65135         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65136         <bp-checks.h>.
65137         (__lchown): Do not use CHECK_STRING.
65138         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65139         <bp-checks.h>.
65140         (__chown): Do not use CHECK_STRING.
65141         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
65142         <bp-checks.h>.
65143         (truncate64): Do not use CHECK_STRING.
65144         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
65145         Likewise.
65146         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
65147         (__xmknod): Do not use CHECK_STRING.
65148         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
65149         <bp-checks.h>.
65150         (__xmknodat): Do not use CHECK_STRING.
65151         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65152         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
65154 2013-02-04  Andreas Schwab  <schwab@suse.de>
65156         [BZ #14142]
65157         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
65158         * include/netdb.h: Likewise for h_errno.
65159         * elf/tst-stackguard1.c: Include <tls.h>.
65161 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
65163         * elf/link.h (struct link_map): Extend the l_addr comment.
65164         * include/link.h (struct link_map): Likewise.
65166 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
65168         [BZ #13550]
65169         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
65170         (BOUNDED_1): Remove macro.
65171         * debug/backtrace.c: Don't include <bp-checks.h>.
65172         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
65173         (__backtrace): Likewise.
65174         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
65175         <bp-checks.h>.
65176         (__backtrace): Don't use BOUNDED_1.
65177         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
65178         <bp-checks.h>.
65179         (__backtrace): Don't use BOUNDED_1.
65180         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
65181         (__backtrace): Don't use BOUNDED_1.
65182         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
65183         (shmat): Don't use BOUNDED_N.
65185 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
65187         [BZ #13550]
65188         * sysdeps/generic/bp-start.h: Remove file.
65189         * csu/libc-start.c: Don't include <bp-start.h>.
65190         (LIBC_START_MAIN): Set up __environ directly instead of using
65191         INIT_ARGV_and_ENVIRON.
65192         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
65193         <bp-start.h>.
65195         [BZ #13550]
65196         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
65197         definitions.
65198         (CHECK_FCNTL): Likewise.
65199         (CHECK_N_PAGES): Likewise.
65201         [BZ #13550]
65202         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
65203         definitions.
65204         (CHECK_SIGSET_NULL_OK): Likewise.
65205         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
65206         <bp-checks.h>.
65207         (sigpending): Don't use CHECK_SIGSET.
65208         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
65209         <bp-checks.h>.
65210         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65211         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
65212         <bp-checks.h>.
65213         (do_sigsuspend): Don't use CHECK_SIGSET.
65214         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
65215         use CHECK_SIGSET.
65216         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
65217         (do_sigwait): Don't use CHECK_SIGSET.
65218         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
65219         use CHECK_SIGSET.
65220         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
65221         include <bp-checks.h>.
65222         (sigpending): Don't use CHECK_SIGSET.
65223         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
65224         include <bp-checks.h>.
65225         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65226         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
65227         <bp-checks.h>.
65228         (sigpending): Don't use CHECK_SIGSET.
65229         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
65230         <bp-checks.h>.
65231         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65233         [BZ #13550]
65234         * sysdeps/generic/bp-semctl.h: Remove file.
65235         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
65236         <bp-checks.h> and <bp-semctl.h>.
65237         (__old_semctl): Don't use CHECK_SEMCTL.
65238         (__new_semctl): Likewise.
65239         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
65240         and <bp-semctl.h>.
65241         (__old_semctl): Don't use CHECK_SEMCTL.
65242         (__new_semctl): Likewise.
65243         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
65244         <bp-checks.h> and <bp-semctl.h>.
65245         (__old_semctl): Don't use CHECK_SEMCTL.
65246         (__new_semctl): Likewise.
65247         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
65248         <bp-checks.h> and <bp-semctl.h>.
65249         (semctl): Don't use CHECK_SEMCTL.
65251         [BZ #13550]
65252         * Makerules (elide-bp-thunks): Remove variable.
65253         (elide-routines.oS): Don't use $(elide-bp-thunks).
65254         (elide-routines.os): Likewise.
65255         (elide-routines.o): Likewise.
65256         (elide-routines.op): Likewise.
65257         (elide-routines.og): Likewise.
65258         (objects): Don't use $(bp-thunks).
65259         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
65260         include.
65261         (common-generated): Do not add s-proto-bp.d.
65262         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
65263         (int): Likewise.
65264         (typ): Likewise.
65265         Do not generate makefile rules for bounded-pointer thunks.
65266         * sysdeps/generic/bp-thunks.h: Remove file.
65267         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
65268         * sysdeps/unix/s-proto-bp.S: Likewise.
65270         [BZ #15062]
65271         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
65272         parts of result separately when argument is not close to line from
65273         -i to i and one part of argument is small.
65274         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65275         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65276         * math/libm-test.inc (cacos_test): Add more tests.
65277         (casin_test): Likewise.
65278         (casinh_test): Likewise.
65279         * sysdeps/i386/fpu/libm-test-ulps: Update.
65280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65282 2013-01-31  David S. Miller  <davem@davemloft.net>
65284         * po/de.po: Update from translation team.
65286 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
65288         * time/tzfile.c: Include stdint.h for SIZE_MAX.
65290 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
65292         * configure.in (_AC_PROG_CC_C89): New definition.
65293         * configure: Regenerate.
65295         * configure.in (AC_PROG_CPP): New definition.
65296         * configure: Regenerate.
65298 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65300         * debug/tst-backtrace.h: New file.
65301         * debug/tst-backtrace2.c: Include tst-backtrace.h.
65302         (ret): Remove variable.
65303         (x): Likewise.
65304         (FAIL): Remove macro.
65305         (NO_INLINE): Likewise.
65306         (fn1): Use match function instead of strstr.
65307         * debug/tst-backtrace3.c: Include tst-backtrace.h.
65308         (ret): Remove variable.
65309         (x): Likewise.
65310         (FAIL): Remove macro.
65311         (NO_INLINE): Likewise.
65312         (fn): Use match function instead of strstr.
65313         * debug/tst-backtrace4.c: Include tst-backtrace.h.
65314         (ret): Remove variable.
65315         (x): Likewise.
65316         (FAIL): Remove macro.
65317         (NO_INLINE): Likewise.
65318         (handle_signal): Use match function instead of strstr.
65319         * debug/tst-backtrace5.c: Include tst-backtrace.h.
65320         (ret): Remove variable.
65321         (x): Likewise.
65322         (FAIL): Remove macro.
65323         (NO_INLINE): Likewise.
65324         (handle_signal): Use match function instead of strstr.
65326 2013-01-23  Roland McGrath  <roland@hack.frob.com>
65328         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
65330 2013-01-23  David S. Miller  <davem@davemloft.net>
65332         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
65333         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
65334         argument of CAS if possible.
65335         * sysdeps/sparc/sparc64/bits/atomic.h
65336         (__arch_compare_and_exchange_val_32_acq): Likewise.
65337         (__arch_compare_and_exchange_val_64_acq): Likewise.
65339 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
65341         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
65342         * sysdeps/posix/ulimit.c: ... this.
65343         Include <limits.h>.
65344         * sysdeps/unix/bsd/ulimit.c: Remove file.
65346 2013-01-23  Adam Conrad  <adconrad@0c3.net>
65348         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
65349         (LDFLAGS-tst-array5): Likewise.
65351 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65353         [BZ #15036]
65354         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
65355         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
65356         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
65357         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
65359 2013-01-21  David S. Miller  <davem@davemloft.net>
65361         * sysdeps/sparc/backtrace.c: New file.
65362         * sysdeps/sparc/sparc32/backtrace.h: New file.
65363         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
65364         * sysdeps/sparc/sparc64/backtrace.h: New file.
65365         * sysdeps/sparc/sparc64/backtrace.c: Delete.
65366         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
65367         -funwind-tables.
65369 2013-01-21  Andreas Schwab  <schwab@suse.de>
65371         [BZ #15020]
65372         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
65373         closed its stdout.
65375 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
65377         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
65378         "mpa2.h".
65379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65381 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
65382             Mark Mitchell  <mark@codesourcery.com>
65383             Tom de Vries  <tom@codesourcery.com>
65384             Paul Pluzhnikov  <ppluzhnikov@google.com>
65386         * debug/tst-backtrace2.c: New file.
65387         * debug/tst-backtrace3.c: Likewise.
65388         * debug/tst-backtrace4.c: Likewise.
65389         * debug/tst-backtrace5.c: Likewise.
65390         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
65391         (CFLAGS-tst-backtrace3.c): Likewise.
65392         (CFLAGS-tst-backtrace4.c): Likewise.
65393         (CFLAGS-tst-backtrace5.c): Likewise.
65394         (LDFLAGS-tst-backtrace2): Likewise.
65395         (LDFLAGS-tst-backtrace3): Likewise.
65396         (LDFLAGS-tst-backtrace4): Likewise.
65397         (LDFLAGS-tst-backtrace5): Likewise.
65398         (tests): Add new tests tst-backtrace2, tst-backtrace3,
65399         tst-backtrace4 and tst-backtrace5.
65401 2013-01-18  Anton Blanchard  <anton@samba.org>
65402             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65404         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
65405         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
65406         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
65407         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
65408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65409         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
65410         "+r" and remove output regs list as redundant.  Add explicit inline
65411         asm to specify register of return val to work around compiler codegen
65412         bug.  Remove (int) cast on return value.  Add return type parameter to
65413         use in macro so that this macro does not truncate return value for
65414         64-bit values.
65415         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
65416         pass to INTERNAL_VSYSCALL_NCS.
65417         (INLINE_VSYSCALL): Add 'long int' as return type to
65418         INTERNAL_VSYSCALL_NCS macro invocation.
65419         (INTERNAL_VSYSCALL): Add 'long int' as return type to
65420         INTERNAL_VSYSCALL_NCS macro invocation.
65421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65423 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65425         [BZ #14496]
65426         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
65427         Fix application of SIMD FP exception mask.
65429         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
65430         mp_no from a power of two.
65431         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
65432         __mpexp_twomm1.  Use __pow_mp.
65434         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
65435         multiplication.
65437 2013-01-17  David S. Miller  <davem@davemloft.net>
65439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65441 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65443         [BZ #15023]
65444         * include/complex.h: Condition contents on [!_COMPLEX_H].
65445         (__kernel_casinhf): New prototype.
65446         (__kernel_casinh): Likewise.
65447         (__kernel_casinhl): Likewise.
65448         * math/Makefile (libm_calls): Add k_casinh.
65449         * math/k_casinh.c: New file.
65450         * math/k_casinhf.c: Likewise.
65451         * math/k_casinhl.c: Likewise.
65452         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
65453         finite nonzero arguments.
65454         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
65455         finite nonzero arguments.
65456         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
65457         finite nonzero arguments.
65458         * math/s_casinh.c: Do not include <float.h>.
65459         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
65460         * math/s_casinhf.c: Do not include <float.h>.
65461         (__casinhf): Move code for finite nonzero arguments to
65462         k_casinhf.c.
65463         * math/s_casinhl.c: Do not include <float.h>.
65464         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
65465         redefine.
65466         (__casinhl): Move code for finite nonzero arguments to
65467         k_casinhl.c.
65468         * math/libm-test.inc (cacos_test): Add more tests.
65469         * sysdeps/i386/fpu/libm-test-ulps: Update.
65470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65472 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
65474         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
65475         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
65476         [!HAVE_MREMAP]: Remove [defined linux] case.
65477         * malloc/arena.c: Do not include <malloc-sysdep.h>.
65479 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65481         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
65483 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
65485         * elf/elf.h (R_386_SIZE32): New relocation.
65486         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
65487         R_386_SIZE32.
65488         (elf_machine_rela): Likewise.
65489         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65490         R_X86_64_SIZE64 and R_X86_64_SIZE32.
65492 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65494         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
65495         (FP_FAST_FMA): Do not define.
65496         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
65497         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
65498         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
65499         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
65500         !_SOFT_FLOAT]: Likewise.
65501         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
65502         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
65503         value.
65504         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
65505         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
65506         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
65507         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
65508         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
65509         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
65510         file.
65512 2013-01-16  Andreas Schwab  <schwab@suse.de>
65514         [BZ #14327]
65515         * include/stdlib.h (__mktemp): Add declaration.
65516         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
65517         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
65519 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65521         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
65522         definitions.
65523         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65524         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
65525         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
65526         definitions here.
65527         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
65528         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
65529         definitions.
65530         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
65531         and ONE.
65532         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
65533         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
65534         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
65535         definitions.
65536         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
65537         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
65538         definitions.
65539         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65541         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
65543 2013-01-15  David S. Miller  <davem@davemloft.net>
65545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65546         trunc{,f} to libm-sysdep_routes.
65547         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
65549         file.
65550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
65551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
65552         file.
65553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
65554         file.
65555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
65556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
65557         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
65558         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
65559         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
65560         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
65561         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
65562         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
65564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65565         nearbyint{,f} to libm-sysdep_routes.
65566         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
65568         New file.
65569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
65570         file.
65571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
65572         New file.
65573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
65574         file.
65575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
65576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
65577         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
65578         file.
65579         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
65580         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
65581         file.
65582         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
65583         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
65584         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
65586         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65587         libc_feholdexcept and libc_fesetenv.
65589 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
65591         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
65593 2013-01-14  David S. Miller  <davem@davemloft.net>
65595         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
65596         (SPARC_ASM_VIS2_IFUNC): Likewise.
65597         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
65598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
65599         use of 'siam' instruction.
65600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
65601         Likewise.
65602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
65603         Likewise.
65604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
65605         Likewise.
65606         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
65607         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
65608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
65609         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
65610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
65611         file.
65612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
65613         file.
65614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
65615         file.
65616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
65617         file.
65618         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
65619         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
65620         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
65621         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
65622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
65623         new VIS2 routines.
65624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65627         Likewise.
65628         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65629         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65630         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65631         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
65633         routines to libm-sysdep_routines.
65634         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65637         fdim/fdimf to libm-sysdep_routines.
65638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
65639         file.
65640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
65641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
65642         file.
65643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
65644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
65645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
65646         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
65647         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
65648         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
65649         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
65651 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65653         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
65654         to optimize copies.
65656         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
65657         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65660         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
65661         local variable MPTWO.
65662         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
65663         Likewise.
65665 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65667         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
65668         GLOB_NOESCAPE.
65670 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65672         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
65674 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65676         * manual/pattern.texi (glob_t): Document gl_flags.
65677         (glob64_t): Likewise.
65679 2013-01-11  David S. Miller  <davem@davemloft.net>
65681         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
65682         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
65683         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
65684         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
65685         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
65686         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
65687         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
65688         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
65689         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
65690         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
65691         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
65692         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
65693         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
65695         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65696         sparc V9 rather than using V8 code.
65697         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65698         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65700         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65701         Move to...
65702         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
65703         Here.
65705 2013-01-11  Roland McGrath  <roland@hack.frob.com>
65707         [BZ #14941]
65708         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
65709         not in the main loop.
65710         * configure: Regenerated.
65712 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
65714         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
65715         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
65716         to just #else.
65717         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
65718         [!__GLIBC_HAVE_LONG_LONG] case.
65719         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
65720         condition to just #else.
65721         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
65722         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
65723         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
65724         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
65725         unconditional.
65726         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
65727         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65728         #elif condition to just #else.
65729         * sysdeps/unix/sysv/linux/sys/sysmacros.h
65730         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
65731         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65732         #elif condition to just #else.
65734 2013-01-11  Steve Ellcey  <sellcey@mips.com>
65736         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
65737         (EF_MIPS_ARCH_64): Fix value.
65738         (EF_MIPS_ARCH_32R2): New.
65739         (EF_MIPS_ARCH_64R2): New.
65741 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
65743         * Makeconfig (+link-pie-before-libc): New.
65744         (+link-pie-after-libc): Likewise.
65745         (+link-pie-tests): Likewise.
65746         (+link-pie): Rewritten.
65747         (link-before-libc): Remove $(config-LDFLAGS).
65748         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
65749         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
65750         (config-LDFLAGS): Renamed to ...
65751         (rtld-LDFLAGS): This.
65752         (rtld-tests-LDFLAGS): New macro.
65753         (link-libc-rpath-link): Likewise.
65754         (link-libc-tests-rpath-link): Likewise.
65755         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
65756         (link-libc): Prepand $(link-libc-rpath-link).
65757         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
65758         (test-program-prefix): New macro.
65759         (test-via-rtld-prefix): Likewise.
65760         (test-program-cmd): Likewise.
65761         (host-test-program-cmd): Likewise.
65762         * Makefile ($(common-objpfx)testrun.sh): Replace
65763         $(run-program-prefix) with $(test-program-prefix).
65764         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
65765         $(rtld-LDFLAGS).
65766         ($(common-objpfx)shlib.lds): Likewise.
65767         (build-module-helper): Likewise.
65768         ($(common-objpfx)format.lds): Likewise.
65769         * Rules (binaries-pie-tests): New.
65770         (binaries-pie-notests): Likewise.
65771         (binaries-pie): Rewritten.
65772         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
65773         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
65774         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
65775         (make-test-out): Replace $(host-built-program-cmd) with
65776         $(host-test-program-cmd).
65777         * config.make.in (build-hardcoded-path-in-tests): New variable.
65778         * configure.in (--enable-hardcoded-path-in-tests): New configure
65779         option.
65780         (hardcoded_path_in_tests): New AC_SUBST.
65781         * configure: Regenerated.
65782         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
65783         $(built-program-cmd) with $(test-program-cmd).
65784         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
65785         (test_program_cmd): This.
65786         * elf/Makefile ($(objpfx)order.out): Run test with
65787         $(test-program-prefix).
65788         ($(objpfx)order2.out): Likewise.
65789         ($(objpfx)tst-initorder.out): Likewise.
65790         ($(objpfx)tst-initorder2.out): Likewise.
65791         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
65792         $(test-program-cmd).
65793         ($(objpfx)tst-array1-static.out): Likewise.
65794         ($(objpfx)tst-array2.out): Likewise.
65795         ($(objpfx)tst-array3.out): Likewise.
65796         ($(objpfx)tst-array4.out): Likewise.
65797         ($(objpfx)tst-array5.out): Likewise.
65798         ($(objpfx)tst-array5-static.out): Likewise.
65799         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
65800         $(test-program-cmd).
65801         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
65802         $(run-program-prefix) with $(test-program-prefix).
65803         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
65804         (test_program_prefix): This.
65805         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
65806         $(run-program-prefix) with $(test-program-prefix).
65807         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
65808         (test_program_prefix): This.
65809         * iconvdata/tst-tables.sh: Likewise.
65810         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
65811         $(run-program-prefix) with $(test-program-prefix).
65812         ($(objpfx)tst-translit.out): Likewise.
65813         ($(objpfx)tst-gettext2.out): Likewise.
65814         ($(objpfx)tst-gettext4.out): Likewise.
65815         ($(objpfx)tst-gettext6.out): Likewise.
65816         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
65817         (test_program_prefix): This.
65818         * intl/tst-gettext2.sh: Likewise.
65819         * intl/tst-gettext4.sh  Likewise.
65820         * intl/tst-gettext6.sh: Likewise.
65821         * intl/tst-translit.sh: Likewise.
65822         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
65823         with $(test-program-cmd).
65824         * libio/Makefile ($(objpfx)test-freopen.out): Replace
65825         $(run-program-prefix) with $(test-program-prefix).
65826         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
65827         (test_program_prefix): This.
65828         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
65829         $(run-program-prefix) with $(test-program-prefix).
65830         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
65831         (test_program_prefix): This.
65832         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
65833         * posix/Makefile ($(objpfx)globtest.out): Replace
65834         $(run-via-rtld-prefix) and $(test-wrapper) with
65835         $(test-program-prefix) and $(test-via-rtld-prefix).
65836         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
65837         $(test-program-prefix).
65838         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
65839         $(host-test-program-cmd).
65840         (tst-spawn-ARGS): Likewise.
65841         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
65842         $(test-program-prefix).
65843         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
65844         (test_via_rtld_prefix): This.
65845         (test_wrapper): Renamed to ...
65846         (test_program_prefix): This.
65847         (run_program_prefix): Replaced by test_program_prefix.
65848         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
65849         (test_program_prefix): This.
65850         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
65851         with $(host-test-program-cmd).
65852         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
65853         $(run-program-prefix) with $(test-program-prefix).
65854         ($(objpfx)tst-printf.out): Likewise.
65855         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
65856         $(test-program-cmd).
65857         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
65858         (test_program_prefix): This.
65859         * stdio-common/tst-unbputc.sh: Likewise.
65860         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
65861         $(run-program-prefix) with $(test-program-prefix).
65862         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
65863         (test_program_prefix): This.
65864         * string/Makefile ($(objpfx)tst-svc.out):  Replace
65865         $(built-program-cmd) with $(test-program-cmd).
65867 2013-01-11  Andreas Jaeger  <aj@suse.de>
65869         [BZ #15003]
65870         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
65871         value. Sync with Linux 3.7.
65873 2013-01-10  David S. Miller  <davem@davemloft.net>
65875         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
65876         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65877         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65879 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65881         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
65882         never set.
65883         * configure: Regenerated.
65885 2013-01-10  David S. Miller  <davem@davemloft.net>
65887         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65888         sparc V9 rather than using V8 code.
65889         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65890         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65892 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65894         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
65895         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
65896         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
65897         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
65898         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
65899         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
65900         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
65901         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
65902         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
65903         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
65904         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
65905         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
65906         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
65907         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
65908         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
65909         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
65910         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
65911         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
65912         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
65913         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
65914         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
65915         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
65916         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
65917         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
65918         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
65919         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
65920         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
65922 2013-01-10  David S. Miller  <davem@davemloft.net>
65924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65926 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65928         * posix/Makefile (tests-static): New variable.
65929         (tests): Add $(tests-static).
65930         (tst-exec-static-ARGS): New variable.
65931         (tst-spawn-static-ARGS): Likewise.
65932         * posix/tst-exec-static.c: New file.
65933         * posix/tst-spawn-static.c: Likewise.
65934         * posix/tst-exec.c: Support run directly.
65935         * posix/tst-spawn.c: Likewise.
65937 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
65939         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
65940         long.
65941         * math/bits/mathcalls.h (llrint): Likewise.
65942         (llround): Likewise.
65943         * stdlib/stdlib.h (struct drand48_data): Likewise.
65944         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
65945         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
65946         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
65947         Likewise.
65948         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
65949         Likewise.
65950         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
65951         (elf_greg_t): Likewise.
65952         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
65953         (__jmp_buf): Likewise.
65954         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
65955         definitions.
65956         (llrint): Likewise, for all definitions.
65957         (llrintl): Likewise.
65959         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
65960         Remove [__GNUC__] condition.
65961         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
65962         condition to just [__USE_ISOC99].
65963         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
65965 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65967         [BZ #14200]
65968         * sysdeps/unix/sysv/linux/x86/bits/environments.h
65969         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
65970         defined.
65971         (_POSIX_V6_ILP32_OFF32): Likewise.
65972         (_XBS5_ILP32_OFF32): Likewise.
65973         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
65974         (__ILP32_OFFBIG_LDFLAGS): Likewise.
65976 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65978         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
65980         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
65981         doubles __mpexp_twomm1.  Adjust usage.
65982         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
65983         Remove.
65985 2013-01-10  Andreas Schwab  <schwab@suse.de>
65987         [BZ #14964]
65988         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
65989         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
65991 2013-01-09  David S. Miller  <davem@davemloft.net>
65993         [BZ #15003]
65994         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
65995         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
65996         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
65997         (TCP_FASTOPEN): Define.
65998         (tcp_repair_opt): New structure.
65999         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
66000         enum values.
66001         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
66002         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
66003         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
66004         (tcp_cookie_transactions): New structure.
66006 2013-01-09  Anton Blanchard  <anton@samba.org>
66008         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
66009         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
66010         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
66011         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
66013 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
66015         * include/features.h (__USE_ANSI): Remove.
66017 2013-01-09  Roland McGrath  <roland@hack.frob.com>
66019         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
66021         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
66023 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
66025         * sysdeps/s390/fpu/libm-test-ulps: Update.
66027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66029         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
66030         (__acr): Likewise.
66031         (__cpy): Likewise.
66032         (norm): Likewise.
66033         (denorm): Likewise.
66034         (__mp_dbl): Likewise.
66035         (__dbl_mp): Likewise.
66036         (add_magnitudes): Likewise.
66037         (sub_magnitudes): Likewise.
66038         (__add): Likewise.
66039         (__sub): Likewise.
66040         (__mul): Likewise.
66041         (__inv): Likewise.
66042         (__dvd): Likewise.
66043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
66044         (__acr): Likewise.
66045         (__cpy): Likewise.
66046         (norm): Likewise.
66047         (denorm): Likewise.
66048         (__mp_dbl): Likewise.
66049         (__dbl_mp): Likewise.
66050         (add_magnitudes): Likewise.
66051         (sub_magnitudes): Likewise.
66052         (__add): Likewise.
66053         (__sub): Likewise.
66054         (__mul): Likewise.
66055         (__inv): Likewise.
66056         (__dvd): Likewise.
66057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
66058         (__acr): Likewise.
66059         (__cpy): Likewise.
66060         (norm): Likewise.
66061         (denorm): Likewise.
66062         (__mp_dbl): Likewise.
66063         (__dbl_mp): Likewise.
66064         (add_magnitudes): Likewise.
66065         (sub_magnitudes): Likewise.
66066         (__add): Likewise.
66067         (__sub): Likewise.
66068         (__mul): Likewise.
66069         (__inv): Likewise.
66070         (__dvd): Likewise.
66072 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
66074         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
66075         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
66076         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
66077         2 && __USE_EXTERN_INLINES]: Likewise.
66079 2013-01-08  Andreas Jaeger  <aj@suse.de>
66081         [BZ #14985]
66082         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
66083         Remove.
66084         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66085         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66087 2013-01-07  Anton Blanchard  <anton@samba.org>
66089         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
66090         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
66091         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
66092         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
66093         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
66094         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66095         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
66096         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66097         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66098         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66099         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66100         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66101         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66102         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
66103         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
66104         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66105         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66106         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
66107         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
66108         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
66109         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
66110         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
66111         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66112         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
66113         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
66114         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
66115         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66116         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
66117         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
66118         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66119         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
66120         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66121         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66122         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
66123         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
66124         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66125         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
66126         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66127         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
66128         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
66129         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
66130         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66131         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
66133 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
66135         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
66136         (__MALLOC_PMT): Likewise.
66137         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
66138         [__GNUC__], only on [_LIBC].
66139         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66140         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
66141         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66142         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
66143         forward declaration.
66144         (realloc_hook_ini): Likewise.
66145         (memalign_hook_ini): Likewise.
66146         (__libc_memalign): Do not use __MALLOC_PMT in variable
66147         declaration.
66148         (__libc_valloc): Likewise.
66149         (__libc_pvalloc): Likewise.
66150         (__libc_calloc): Likewise.
66151         (__posix_memalign): Likewise.
66153         [BZ #14996]
66154         * math/s_casinh.c: Include <float.h>.
66155         (__casinh): Do not do computation with squaring and square root
66156         for large arguments.
66157         * math/s_casinhf.c: Include <float.h>.
66158         (__casinhf): Do not do computation with squaring and square root
66159         for large arguments.
66160         * math/s_casinhl.c: Include <float.h>.
66161         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
66162         (__casinhl): Do not do computation with squaring and square root
66163         for large arguments.
66164         * math/libm-test.inc (casin_test): Add more tests.
66165         (casinh_test): Likewise.
66166         * sysdeps/i386/fpu/libm-test-ulps: Update.
66167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66169 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
66171         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
66172         (__x86_64_raw_data_cache_size): Likewise.
66173         (__x86_64_data_cache_size_half): Likewise.
66174         (__x86_64_raw_data_cache_size_half): Likewise.
66175         (__x86_64_shared_cache_size): Likewise.
66176         (__x86_64_raw_shared_cache_size): Likewise.
66177         (__x86_64_shared_cache_size_half): Likewise.
66178         (__x86_64_raw_shared_cache_size_half): Likewise.
66179         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
66180         to ...
66181         (__x86_data_cache_size): This.
66182         (__x86_64_raw_data_cache_size): Renamed to ...
66183         (__x86_raw_data_cache_size): This.
66184         (__x86_64_data_cache_size_half): Renamed to ...
66185         (__x86_data_cache_size_half): This.
66186         (__x86_64_raw_data_cache_size_half): Renamed to ...
66187         (__x86_raw_data_cache_size_half): This.
66188         (__x86_64_shared_cache_size): Renamed to ...
66189         (__x86_shared_cache_size): This.
66190         (__x86_64_raw_shared_cache_size): Renamed to ...
66191         (__x86_raw_shared_cache_size): This.
66192         (__x86_64_shared_cache_size_half): Renamed to ...
66193         (__x86_shared_cache_size_half): This.
66194         (__x86_64_raw_shared_cache_size_half): Renamed to ...
66195         (__x86_raw_shared_cache_size_half): This.
66196         * sysdeps/x86_64/memcpy.S: Updated.
66197         * sysdeps/x86_64/memset.S: Likewise.
66198         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
66199         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66200         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66202 2013-01-04  David S. Miller  <davem@davemloft.net>
66204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66206 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
66208         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
66209         1 to avoid redefinition warning.
66210         (__USE_GNU): Don't define.
66211         (init_signaling_nan): Protoize.
66213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66215 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66217         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
66218         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
66219         (__cpymn): Likewise.
66220         (norm): Remove commented code.
66221         (denorm): Likewise.
66222         (__mp_dbl): Likewise.
66223         (__inv): Likewise.
66224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
66225         (__cpymn): Likewise.
66226         (norm): Remove commented code.
66227         (denorm): Likewise.
66228         (__mp_dbl): Likewise.
66229         (__inv): Likewise.
66231         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
66232         mp_no value for 1.0 and 2.0.
66233         (norm): Use RADIXI instead of radixi.d.
66234         (denorm): Likewise.
66235         (__mul): Use 0.0 instead of zero.d.
66236         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
66237         mp_no value for 1.0 and 2.0.
66238         (norm): Use RADIXI instead of radixi.d.
66239         (denorm): Likewise.
66240         (__mul): Use 0.0 instead of zero.d.
66242 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
66244         [BZ #14994]
66245         * math/s_casinh.c (__casinh): Reduce finite argument to first
66246         quadrant then set signs of results at the end.
66247         * math/s_casinhf.c (__casinhf): Likewise.
66248         * math/s_casinhl.c (__casinhl): Likewise.
66249         * math/libm-test.inc (casin_test): Add more tests.
66250         (casinh_test): Likewise.
66251         * sysdeps/i386/fpu/libm-test-ulps: Update.
66252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66254 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66256         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
66258         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
66260         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
66261         declarations.
66262         (denorm): Likewise.
66263         (__mp_dbl): Likewise.
66264         (__inv): Likewise.
66266         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
66267         and adjust the header comment.
66269         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
66270         variable name from declaration.
66272 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
66274         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66275         Initialize COMMON_CPUID_INDEX_7 element.
66276         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
66277         (CPUID_RTM): Likewise.
66278         (HAS_RTM): Likewise.
66279         (COMMON_CPUID_INDEX_7): New enum.
66281 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
66283         [BZ #14981]
66284         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
66285         size is zero, record memory as freed.
66287 2013-01-03  Andreas Jaeger  <aj@suse.de>
66289         * po/ia.po: Add new Interlingua translation.
66291 2012-01-03  Allan McRae  <allan@archlinux.org>
66293         * locale/programs/localedef.c: Fix description of '--posix' flag.
66295 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
66297         * NEWS: Update dates in second copyright notice.
66298         * README: Update copyright dates in example.
66299         * manual/libc.texinfo: Update copyright dates.
66300         * scripts/test-installation.pl: Update copyright date in --version
66301         output.
66303         * hurd/ctty-input.c: Fix copyright notice formatting.
66304         * hurd/ctty-output.c: Likewise.
66305         * hurd/dtable.c: Likewise.
66306         * hurd/hurd-raise.c: Likewise.
66307         * hurd/hurdprio.c: Likewise.
66308         * hurd/msgportdemux.c: Likewise.
66309         * misc/sys/file.h: Likewise.
66310         * misc/sys/ioctl.h: Likewise.
66311         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
66312         * sysdeps/mach/hurd/chdir.c: Likewise.
66313         * sysdeps/mach/hurd/fchdir.c: Likewise.
66314         * sysdeps/mach/hurd/rename.c: Likewise.
66315         * sysdeps/mach/hurd/rmdir.c: Likewise.
66316         * sysdeps/mach/hurd/seekdir.c: Likewise.
66317         * sysdeps/mach/hurd/setsid.c: Likewise.
66318         * sysdeps/posix/wait3.c: Likewise.
66320         * All files with FSF copyright notices: Update copyright dates
66321         using scripts/update-copyrights.
66322         * intl/plural.c: Regenerated.
66323         * locale/programs/charmap-kw.h: Likewise.
66324         * locale/programs/locfile-kw.h: Likewise.
66326 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66328         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
66329         four values.
66331         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
66332         calculation loop and add branch prediction.
66334         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
66335         check access beyond bounds of m1np.
66337         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66338         MPTWO.
66339         (__inv): Remove local variable MPTWO to use the global
66340         constant.
66341         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
66342         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66343         variable MPTWO.
66344         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
66345         MP3HALFS static const.
66347 2013-01-01  David S. Miller  <davem@davemloft.net>
66349         * po/ca.po: Update from translation team.
66351 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
66353         * scripts/update-copyrights: New file.
66354         * Makeconfig: Reformat copyright notice.
66355         * ctype/ctype.h: Likewise.
66356         * debug/swprintf_chk.c: Likewise.
66357         * elf/dl-cache.c: Likewise.
66358         * elf/dl-debug.c: Likewise.
66359         * elf/dl-object.c: Likewise.
66360         * grp/initgroups.c: Likewise.
66361         * hurd/Makefile: Likewise.
66362         * hurd/hurd/signal.h: Likewise.
66363         * hurd/hurdfault.c: Likewise.
66364         * hurd/hurdioctl.c: Likewise.
66365         * hurd/hurdlookup.c: Likewise.
66366         * hurd/intr-msg.c: Likewise.
66367         * iconv/gconv_open.c: Likewise.
66368         * libio/swprintf.c: Likewise.
66369         * locale/lc-ctype.c: Likewise.
66370         * locale/nl_langinfo.c: Likewise.
66371         * mach/Machrules: Likewise.
66372         * mach/Makefile: Likewise.
66373         * malloc/obstack.h: Likewise.
66374         * manual/Makefile: Likewise.
66375         * manual/tsort.awk: Likewise.
66376         * misc/bits/stab.def: Likewise.
66377         * nis/nis_print_group_entry.c: Likewise.
66378         * nis/nis_table.c: Likewise.
66379         * nis/nss_compat/compat-pwd.c: Likewise.
66380         * nis/nss_compat/compat-spwd.c: Likewise.
66381         * po/Makefile: Likewise.
66382         * posix/fnmatch.c: Likewise.
66383         * posix/regex.h: Likewise.
66384         * resolv/Makefile: Likewise.
66385         * resolv/nss_dns/dns-network.c: Likewise.
66386         * resolv/res_hconf.c: Likewise.
66387         * scripts/gen-sorted.awk: Likewise.
66388         * soft-fp/soft-fp.h: Likewise.
66389         * stdio-common/printf.h: Likewise.
66390         * stdlib/monetary.h: Likewise.
66391         * stdlib/random.c: Likewise.
66392         * stdlib/random_r.c: Likewise.
66393         * sysdeps/generic/Makefile: Likewise.
66394         * sysdeps/gnu/Makefile: Likewise.
66395         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66396         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66397         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66398         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66399         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66400         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66401         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66402         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66403         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66404         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66405         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66406         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66407         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66408         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66409         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
66410         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66411         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66412         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66413         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66414         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66415         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66416         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66417         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66418         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
66419         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
66420         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66421         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
66422         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
66423         * sysdeps/mach/hurd/errnos.awk: Likewise.
66424         * sysdeps/mach/hurd/fork.c: Likewise.
66425         * sysdeps/mach/hurd/getcwd.c: Likewise.
66426         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
66427         * sysdeps/mach/hurd/mmap.c: Likewise.
66428         * sysdeps/mach/hurd/utimes.c: Likewise.
66429         * sysdeps/mach/hurd/xmknod.c: Likewise.
66430         * sysdeps/posix/profil.c: Likewise.
66431         * sysdeps/posix/readdir_r.c: Likewise.
66432         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66433         * sysdeps/powerpc/bits/setjmp.h: Likewise.
66434         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
66435         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66436         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66437         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66438         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66439         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66440         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66441         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66442         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66443         * sysdeps/pthread/lio_listio.c: Likewise.
66444         * sysdeps/sparc/dl-procinfo.h: Likewise.
66445         * sysdeps/unix/i386/sysdep.S: Likewise.
66446         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
66447         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
66448         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
66449         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
66450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66451         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
66452         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
66453         * sysdeps/unix/sysv/linux/speed.c: Likewise.
66454         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
66455         * sysdeps/wordsize-32/divdi3.c: Likewise.
66456         * time/sys/time.h: Likewise.
66457         * wcsmbs/Makefile: Likewise.
66459 2013-01-01  David S. Miller  <davem@davemloft.net>
66461         * po/fr.po: Update from translation team.
66463         * catgets/gencat.c: Update copyright year.
66464         * csu/version.c: Likewise.
66465         * debug/catchsegv.sh: Likewise.
66466         * debug/pcprofiledump.c: Likewise.
66467         * debug/xtrace.sh: Likewise.
66468         * elf/ldconfig.c: Likewise.
66469         * elf/ldd.bash.in: Likewise.
66470         * elf/pldd.c: Likewise.
66471         * elf/sotruss.ksh: Likewise.
66472         * elf/sprof.c: Likewise.
66473         * iconv/iconv_prog.c: Likewise.
66474         * iconv/iconvconfig.c: Likewise.
66475         * locale/programs/locale.c: Likewise.
66476         * locale/programs/localedef.c: Likewise.
66477         * login/programs/pt_chown.c: Likewise.
66478         * malloc/memusage.sh: Likewise.
66479         * malloc/memusagestat.c: Likewise.
66480         * malloc/mtrace.pl: Likewise.
66481         * nscd/nscd.c: Likewise.
66482         * nss/getent.c: Likewise.
66483         * nss/makedb.c: Likewise.
66484         * posix/getconf.c: Likewise.
66486 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66488         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
66489         numbers.
66491 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
66493         * math/bits/mathcalls.h (modf): Use __nonnull.
66495 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66497         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
66498         (split): Use macro CN instead of the bare value.
66499         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
66500         could be used.
66501         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
66502         instead of the bare value.
66503         (power1): Likewise.
66505 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66507         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
66508         __ATAN_TWOM.
66509         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66511         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
66512         their values.
66513         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66514         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66515         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
66516         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66518 2012-12-28  Andreas Jaeger  <aj@suse.de>
66520         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
66521         values are from Linux 3.7.
66523         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
66524         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
66526 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66528         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
66529         TRUE case.
66531         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
66532         (norm): Likewise.
66533         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
66534         variables with preprocessor constants.
66535         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66536         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66537         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66539 2012-12-27  Bruno Haible  <bruno@clisp.org>
66541         [BZ #14317]
66542         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
66543         only if needed.
66545 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66547         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
66548         and use variable directly.
66549         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
66551         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66552         MPONE.
66553         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
66554         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66555         variable MPONE.
66556         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66557         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
66558         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
66559         include directive.  Remove local variable MPONE.
66560         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
66561         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
66562         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66564 2012-12-25  David S. Miller  <davem@davemloft.net>
66566         * version.h (RELEASE): Set to "development".
66567         (VERSION): Set to "2.17.90".
66568         * NEWS: Add 2.18 section.
66570 2012-12-21  David S. Miller  <davem@davemloft.net>
66572         * po/hr.po: Update from translation team.
66574 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66576         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
66578 2012-12-19  Steve Ellcey  <sellcey@mips.com>
66580         * NEWS:  Mention new memcpy for MIPS.
66582 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66584         * manual/contrib.texi (Contributors): Spelling correction.
66586 2012-12-15  David S. Miller  <davem@davemloft.net>
66588         * po/ru.po: Update from translation team.
66590 2012-12-13  David S. Miller  <davem@davemloft.net>
66592         * NEWS: Mention IFUNC testsuite enhancements.
66594         * po/pl.po: Update from translation team.
66595         * po/bg.po: Likewise.
66597         * manual/contrib.texi (Contributors): Update entries for Hongjiu
66598         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
66600 2012-12-11  David S. Miller  <davem@davemloft.net>
66602         * po/sv.po: Update from translation team.
66604         * po/vi.po: Update from translation team.
66606         * po/cs.po: Update from translation team.
66608         * po/de.po: Update from translation team.
66609         * po/eo.po: Likewise.
66610         * po/nl.po: Likewise.
66612 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
66614         [BZ #14246]
66615         * manual/argp.texi (Argp Helper Functions): Move node to follow
66616         Argp Parsing State.
66618         [BZ #14872]
66619         * manual/conf.texi (Limits on File System Capacity): Mention if
66620         terminating null is included in the max size.
66622 2012-12-10  Andreas Jaeger  <aj@suse.de>
66624         * po/cs.po: Update from translation team.
66626 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66628         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
66629         void pointer and cast to uintptr_t.
66630         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
66631         path.
66632         * sysdeps/s390/s390-64/memcpy.S: Likewise.
66633         * sysdeps/s390/s390-64/memset.S: Likewise.
66635 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
66637         [BZ #14833]
66638         * menual/message.texi (Message Translation): Fix typos.
66639         (Helper programs for gettext): Likewise.
66641 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
66643         [BZ #14898]
66644         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
66645         Change to -1.
66647 2012-12-07  David S. Miller  <davem@davemloft.net>
66649         * po/libc.pot: Update.
66651 2012-12-07  Richard Henderson  <rth@redhat.com>
66653         [BZ #10114]
66654         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
66655         normal/normal case to before the switch.
66656         (_FP_DIV): Likewise.
66658 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
66659             Mike Frysinger  <vapier@gentoo.org>
66661         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
66662         check for __NR_fadvise64_64.
66664 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
66666         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
66667         0, not just to plain "0" as a statement.
66668         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
66669         with cw.
66671 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
66673         * NEWS: Use sourceware.org in Bugzilla URL.
66675 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
66677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
66678         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66680         * stdio-common/tst-put-error.c (do_test): Add newline to the
66681         padded test to ensure flush.
66683 2012-12-05  Jeff Law  <law@redhat.com>
66685         * sunrpc/etc.rpc (fedfs_admin): Add entry.
66687 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
66689         * README: Don't refer to ports add-on as distributed separately.
66690         Mention AArch64 in list of systems supported in the ports add-on.
66692         * LICENSES: Add more non-FSF copyright and license notices.
66694         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
66695         ((unused)).
66697         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
66699         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
66700         10000 as width of padded output.
66702 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
66704         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
66706         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
66707         variable LX with __attribute__ ((unused)).
66708         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
66709         Likewise.
66710         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
66711         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66712         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
66713         with __attribute__ ((unused)).
66715 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
66717         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
66719 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
66721         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
66722         (CFLAGS-nldbl-acos.c): New variable.
66723         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
66724         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
66725         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
66726         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
66727         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
66728         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
66729         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
66730         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
66731         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
66732         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
66733         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
66734         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
66735         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
66736         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
66737         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
66738         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
66739         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
66740         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
66741         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
66742         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
66743         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
66744         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
66745         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
66746         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
66747         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
66748         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
66749         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
66750         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
66751         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
66752         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
66753         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
66754         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
66755         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
66756         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
66757         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
66758         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
66759         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
66760         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
66761         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
66762         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
66763         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
66764         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
66765         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
66766         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
66767         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
66768         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
66769         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
66770         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
66771         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
66772         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
66773         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
66774         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
66775         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
66776         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
66777         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
66778         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
66779         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
66780         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
66781         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
66782         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
66783         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
66784         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
66785         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
66786         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
66787         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
66788         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
66789         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
66790         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
66791         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
66792         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
66793         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
66794         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
66795         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
66796         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
66797         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
66798         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
66799         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
66800         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
66801         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
66802         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
66803         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
66804         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
66805         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
66806         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
66807         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
66808         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
66809         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
66810         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
66811         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
66812         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
66813         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
66814         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
66815         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
66816         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
66817         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
66818         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
66819         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
66821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66822         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66824         [BZ #14914]
66825         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
66826         whole low double instead of just low 47 bits when splitting values
66827         into two parts.
66829 2012-12-03  Allan McRae  <allan@archlinux.org>
66831         * manual/stdio.texi (Predefined Printf Handlers): Remove
66832         @hsep and @vsep usage.
66834 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
66836         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
66837         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
66839 2012-12-03  Jeff Law  <law@redhat.com>
66841         * time/sys/time.h (settimeofday): Do not mark TV argument
66842         as __nonnull.
66844 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
66846         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
66847         when currently writing and seek to current position when not.
66848         * libio/Makefile (tests): Remove bug-fclose1.
66849         * libio/bug-fclose1.c: Delete.
66851 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
66853         * manual/arith.texi (feenableexcept): Fix typo.
66854         (fedisableexcept): Likewise.
66856 2012-11-30  Roland McGrath  <roland@hack.frob.com>
66858         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
66859         second, differently-typed declaration, rather than a cast.
66861 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66863         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
66864         * include/rpc/svc.h: ... here.
66866 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
66868         [BZ #13013]
66869         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
66870         depending n and resplen2 to catch cases where answer
66871         equals answerp2.
66873 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
66875         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
66876         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
66878 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
66880         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
66882 2012-11-29  Roland McGrath  <roland@hack.frob.com>
66884         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
66886 2012-11-28  Jeff Law  <law@redhat.com>
66888         [BZ #13761]
66889         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
66890         dataset_temporary.  Track alloca usage into alloca_used.
66891         If dataset is large allocate and release it via malloc/free.
66893 2012-06-04  Florian Weimer  <fweimer@redhat.com>
66895         [BZ #14197]
66896         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
66898 2012-11-28  David S. Miller  <davem@davemloft.net>
66900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66902 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66904         [BZ #14803]
66905         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
66906         of pi/2 rounded to nearest to 64 bits.
66907         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
66908         nearest to 64 bits.
66909         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
66910         bits.
66912 2012-11-28  Jeff Law <law@redhat.com>
66913             Martin Osvald <mosvald@redhat.com>
66915         [BZ #14889]
66916         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
66917         * sunrpc/svc.c: Include time.h.
66918         (__svc_accept_failed): New function.
66919         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
66920         any reason other than EINTR, call __svc_accept_failed.
66921         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
66922         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
66924 2012-11-28  Andreas Schwab  <schwab@suse.de>
66926         * scripts/abilist.awk: Also handle indirect functions in .opd
66927         section.
66929 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66931         [BZ #13881]
66932         * sysdeps/x86/fpu/powl_helper.c: New file.
66933         * sysdeps/x86/fpu/Makefile: Likewise.
66934         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
66935         (p3): New object.
66936         (__ieee754_powl): Use __powl_helper for finite arguments except
66937         integer exponents below 8.
66938         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
66939         (p3): New object.
66940         (__ieee754_powl): Use __powl_helper for finite arguments except
66941         integer exponents below 8.
66942         * math/libm-test.inc (pow_test): Add more tests and enable some
66943         previously disabled tests.
66944         * sysdeps/i386/fpu/libm-test-ulps: Update.
66945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66947 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66948             Carlos O'Donell  <carlos_odonell@mentor.com>
66950         * nss/makedb.c (is_prime): Assert that input is odd and greater
66951         than 4.  Note that fact in a comment too.
66952         (next_prime): Add 4 to input.
66954 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66956         [BZ #11741]
66957         * libio/Makefile (tests): Add test case tst-fwrite-error.
66958         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
66959         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
66960         * libio/tst-fwrite-error.c: New test case.
66962 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
66964         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
66965         before casting to void *.
66966         * include/libc-internal.h (__pointer_type): New macro.
66967         (__integer_if_pointer_type_sub): Likewise.
66968         (__integer_if_pointer_type): Likewise.
66969         (cast_to_integer): Likewise.
66970         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
66971         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
66972         before casting to atomic64_t.
66973         (atomic_exchange_acq): Likewise.
66974         (__arch_exchange_and_add_body): Likewise.
66975         (__arch_add_body): Likewise.
66976         (atomic_add_negative): Likewise.
66977         (atomic_add_zero): Likewise.
66979 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
66981         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
66982         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
66983         (add_fdes): Likewise.
66984         (linear_search_fdes): Likewise.
66985         (binary_search_unencoded_fdes): Likewise.
66987 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
66989         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
66991 2012-11-24  Adam Conrad  <adconrad@0c3.net>
66993         * configure.in: Autodetect C++ header directories.
66994         * configure: Regenerated.
66996 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
66998         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
67000 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
67002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67004 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
67006         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
67007         LDBL_MANT_DIG == 106]: Disable some tests.
67008         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67009         Likewise.
67010         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67011         Likewise.
67013         [BZ #14871]
67014         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
67015         input for small inputs.  Return +/- pi/2 for large inputs.
67016         * math/libm-test.inc (atan_test): Add more tests.
67018         * sysdeps/generic/unwind-dw2-fde-glibc.c
67019         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
67020         __attribute__ ((unused)).
67022         [BZ #14645]
67023         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
67024         x * y if x and y are nonzero and z is zero.
67026         [BZ #14811]
67027         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
67028         nonzero exponents with absolute value below 0x1p-117 to +/-
67029         0x1p-117.
67031         [BZ #14869]
67032         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
67033         up arguments below 2**-450, not just those below 2**-500.
67034         * math/libm-test.inc (hypot_test): Add another test.
67036         [BZ #14868]
67037         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
67038         Return a+b for ratio over 2**120, not 2**60.
67039         * math/libm-test.inc (hypot_test): Add another test.
67041         * math/libm-test.inc (clog_test): Use
67042         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
67043         (clog10_test): Likewise.
67045         [BZ #6778]
67046         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
67048 2012-11-22  Andreas Schwab  <schwab@suse.de>
67050         * sysdeps/i386/fpu/libm-test-ulps: Update.
67052 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
67054         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
67055         printf output with newline.
67057 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
67059         [BZ #14865]
67060         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
67061         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
67062         -z nodlopen, -z initfirst and -z execstack support.
67063         * configure: Regenerated.
67065         * elf/elf.h (DF_1_NODIRECT): New macro.
67066         (DF_1_IGNMULDEF): Likewise.
67067         (DF_1_NOKSYMS): Likewise.
67068         (DF_1_NOHDR): Likewise.
67069         (DF_1_EDITED): Likewise.
67070         (DF_1_NORELOC): Likewise.
67071         (DF_1_SYMINTPOSE): Likewise.
67072         (DF_1_GLOBAUDIT): Likewise.
67073         (DF_1_SINGLETON): Likewise.
67074         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
67075         DT_1_SUPPORTED_MASK bits.
67076         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
67078 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
67080         * sysdeps/unix/make-syscalls.sh: Document prefixes.
67082 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
67084         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
67085         macro.
67087         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
67088         (sendmmsg): Move declarations...
67089         * socket/sys/socket.h: ... here.
67090         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
67091         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
67092         include it from...
67093         * socket/recvmmsg.c: ... this new file.
67094         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
67095         (sendmmsg): Rename to __sendmmsg, create weak alias and make
67096         definition of __sendmmsg hidden.
67097         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
67098         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
67099         Move ENOSYS stub into and include it from...
67100         * socket/sendmmsg.c: ... this new file.
67101         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
67102         (sysdep_routines): Move recvmmsg and sendmmsg...
67103         * socket/Makefile (routines): ... here.
67104         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
67105         (GLIBC_PRIVATE): Add __sendmmsg.
67106         * include/sys/socket.h (__sendmmsg): Add declarations.
67107         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
67108         sendmmsg.
67110 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
67112         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
67113         variable I1 with __attribute__ ((unused)).
67114         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67116 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67118         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
67119         DUMMY variables with __attribute__ ((unused)).
67121         * bits/byteswap.h: Include <bits/types.h>.
67122         (__bswap_64): Use __uint64_t instead of unsigned long long int.
67124 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67126         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
67127         string_t.  Do not manually set errno.
67128         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
67129         length with __strnlen.  Make sure to both set errno and return it on
67130         failure.
67132 2012-11-19  David S. Miller  <davem@davemloft.net>
67134         With help from Joseph Myers.
67135         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
67136         very large arguments properly.
67137         * math/libm-test.inc (atan_test): New tests.
67138         (atan2_test): New tests.
67139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67140         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67142 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67144         [BZ #14856]
67145         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
67146         Define to 3.
67148         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
67149         [POSIX] (EADDRNOTAVAIL): Likewise.
67150         [POSIX] (EAFNOSUPPORT): Likewise.
67151         [POSIX] (EALREADY): Likewise.
67152         [POSIX] (ECONNABORTED): Likewise.
67153         [POSIX] (ECONNREFUSED): Likewise.
67154         [POSIX] (ECONNRESET): Likewise.
67155         [POSIX] (EDESTADDRREQ): Likewise.
67156         [POSIX] (EDQUOT): Likewise.
67157         [POSIX] (EHOSTUNREACH): Likewise.
67158         [POSIX] (EIDRM): Likewise.
67159         [POSIX] (EISCONN): Likewise.
67160         [POSIX] (ELOOP): Likewise.
67161         [POSIX] (EMULTIHOP): Likewise.
67162         [POSIX] (ENETDOWN): Likewise.
67163         [POSIX] (ENETUNREACH): Likewise.
67164         [POSIX] (ENOBUFS): Likewise.
67165         [POSIX] (ENODATA): Likewise.
67166         [POSIX] (ENOLINK): Likewise.
67167         [POSIX] (ENOMSG): Likewise.
67168         [POSIX] (ENOPROTOOPT): Likewise.
67169         [POSIX] (ENOSR): Likewise.
67170         [POSIX] (ENOSTR): Likewise.
67171         [POSIX] (ENOTCONN): Likewise.
67172         [POSIX] (ENOTSOCK): Likewise.
67173         [POSIX] (EOPNOTSUPP): Likewise.
67174         [POSIX] (EOVERFLOW): Likewise.
67175         [POSIX] (EPROTO): Likewise.
67176         [POSIX] (EPROTONOSUPPORT): Likewise.
67177         [POSIX] (EPROTOTYPE): Likewise.
67178         [POSIX] (ESTALE): Likewise.
67179         [POSIX] (ETIME): Likewise.
67180         [POSIX] (ETXTBSY): Likewise.
67181         [POSIX] (EWOULDBLOCK): Likewise.
67182         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
67183         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
67184         [POSIX] (SEEK_CUR): Likewise.
67185         [POSIX] (SEEK_END): Likewise.
67186         [POSIX || UNIX98] (mode_t): Do not require.
67187         [POSIX] (off_t): Likewise.
67188         [POSIX] (pid_t): Likewise.
67189         [POSIX] (sys/stat.h): Do not allow header.
67190         [POSIX] (unistd.h): Likewise.
67191         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
67192         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
67193         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
67194         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
67195         require.
67196         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
67197         sigevent): Specify elements.
67198         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
67199         entry.
67200         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
67201         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
67203         * conform/data/cpio.h-data [POSIX]: Disable whole file.
67204         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
67205         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
67206         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
67207         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
67208         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
67209         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
67210         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
67211         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
67212         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
67213         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
67214         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
67215         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
67216         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
67217         Likewise.
67218         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
67219         Likewise.
67220         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
67221         Likewise.
67222         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
67223         Likewise.
67224         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
67225         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
67226         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
67227         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
67228         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
67229         Specify lower bound on value.
67230         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
67231         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
67232         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
67233         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
67234         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
67235         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
67236         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
67237         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
67238         value.
67239         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
67240         as optional.
67241         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
67242         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
67243         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
67244         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
67245         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
67246         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
67247         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
67248         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
67249         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
67250         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
67251         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
67252         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
67253         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
67254         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
67255         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
67256         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
67257         entry.
67258         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
67259         optional.
67260         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
67261         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
67262         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
67263         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
67264         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
67265         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
67266         Likewise.
67267         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
67268         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
67269         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
67270         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
67271         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
67272         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
67273         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
67274         as optional.
67275         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
67276         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
67277         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
67278         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
67279         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
67280         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
67281         specify as optional.
67282         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
67283         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
67284         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
67285         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
67286         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
67287         [XPG3] (NL_LANGMAX): Likewise.
67288         [POSIX || XPG3] (NL_MSGMAX): Likewise.
67289         [POSIX || XPG3] (NL_NMAX): Likewise.
67290         [POSIX || XPG3] (NL_SETMAX): Likewise.
67291         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
67292         [XPG3] (NZERO): Likewise.
67293         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
67294         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
67295         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
67296         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
67297         (REG_ERANGE): Expect.
67298         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
67299         optional-constant.
67300         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
67301         Use (void) in prototype.
67302         [POSIX] (*_t): Allow.
67303         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
67304         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
67305         (WRDE_BADVAL): Expect.
67307         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
67308         expect.
67309         [XPG3 || XPG4] (O_RSYNC): Likewise.
67310         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
67311         Likewise.
67312         [XPG3 || XPG4] (pthread_sigmask): Likewise.
67313         [XPG3 || XPG4] (sigqueue): Likewise.
67314         [XPG3 || XPG4] (sigtimedwait): Likewise.
67315         [XPG3 || XPG4] (sigwaitinfo): Likewise.
67316         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
67317         [XPG3 || XPG4] (vsnprintf): Likewise.
67318         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
67319         Likewise.
67320         [XPG3 || XPG4] (blksize_t): Likewise.
67321         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
67322         Likewise.
67323         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
67324         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
67325         [XPG3 || XPG4] (struct itimerspec): Likewise.
67326         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
67327         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
67328         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
67329         [XPG3 || XPG4] (clockid_t): Likewise.
67330         [XPG3 || XPG4] (timer_t): Likewise.
67331         [XPG3 || XPG4] (clock_getres): Likewise.
67332         [XPG3 || XPG4] (clock_gettime): Likewise.
67333         [XPG3 || XPG4] (clock_settime): Likewise.
67334         [XPG3 || XPG4] (nanosleep): Likewise.
67335         [XPG3 || XPG4] (timer_create): Likewise.
67336         [XPG3 || XPG4] (timer_delete): Likewise.
67337         [XPG3 || XPG4] (timer_gettime): Likewise.
67338         [XPG3 || XPG4] (timer_getoverrun): Likewise.
67339         [XPG3 || XPG4] (timer_settime): Likewise.
67340         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
67341         [XPG3 || XPG4] (getlogin_r): Likewise.
67342         [XPG3 || XPG4] (pread): Likewise.
67343         [XPG3 || XPG4] (pthread_atfork): Likewise.
67344         [XPG3 || XPG4] (pwrite): Likewise.
67346         [BZ #14835]
67347         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
67348         <bits/siginfo.h>.
67350 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67352         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
67353         finalizing MALLSTREAM.
67355         * sysdeps/mach/hurd/syncfs.c: New file.
67357 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67359         [BZ #14719]
67360         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
67361         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
67362         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
67363         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
67364         (_nss_dns_gethostbyname4_r): Likewise.
67365         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
67366         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
67368 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
67370         [BZ #13763]
67371         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
67373 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
67375         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
67376         * elf/cache.c (print_entry): Print ",AArch64" for
67377         FLAG_AARCH64_LIB64
67379         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
67380         * elf/cache.c (print_entry): Print ",hard-float" for
67381         FLAG_ARM_LIBHF.
67383 2012-11-18  David S. Miller  <davem@davemloft.net>
67385         With help from Joseph Myers.
67386         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
67387         cutoff to 2**-13.
67388         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
67389         cutoff to 2**-25.
67390         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
67391         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
67392         small.
67393         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
67394         * math/libm-test.inc (y0_test): New tests.
67395         (y1_test): New tests.
67396         * sysdeps/i386/fpu/libm-test-ulps: Update.
67397         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67400 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
67402         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
67403         64-bit targets.
67404         * configure: Regenerated.
67406 2012-11-17  David S. Miller  <davem@davemloft.net>
67408         [BZ #14811]
67409         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
67410         nonzero exponents with absolute value below 0x1p-128 to +/-
67411         0x1p-128.
67413 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
67415         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
67417         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
67419         * posix/getconf-speclist.c: New file.
67420         * posix/posix-envs.def: Likewise.
67421         * posix/confstr.c (START_ENV_GROUP): New macro.
67422         (END_ENV_GROUP): Likewise.
67423         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67424         (KNOWN_PRESENT_ENV_STRING): Likewise.
67425         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67426         (UNKNOWN_ENVIRONMENT): Likewise.
67427         (confstr): Include posix-envs.def instead of handling
67428         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
67429         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
67430         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
67431         (END_ENV_GROUP): Likewise.
67432         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67433         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67434         (UNKNOWN_ENVIRONMENT): Likewise.
67435         (__sysconf): Include posix-envs.def instead of handling associated
67436         cases directly here.
67437         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
67438         preprocessing getconf-speclist.c rather than running getconf or
67439         generating empty file.
67441 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
67443         * scripts/check-local-headers.sh: Ignore 'mach' headers.
67445 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
67447         [BZ #14672]
67448         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
67450 2012-11-16  David S. Miller  <davem@davemloft.net>
67452         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
67453         smaller than LDBL_EPSILON/2.0L, just return xm1.
67455 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
67457         * elf/tst-array1.c (init): Set constructor priority to 1000.
67458         (fini): Set destructor priority to 1000.
67459         * elf/tst-array2dep.c: Likewise.
67461 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67463         [BZ #11741]
67464         * libio/fileops.c (_IO_new_file_write): Correctly return error.
67465         (_IO_new_file_xsputn): Also return EOF if none of the input
67466         data was written when overflow failed.
67467         * libio/iopadn.c (_IO_padn): Likewise.
67468         * libio/iowpadn.c (_IO_wpadn): Likewise.
67469         * stdio-common/tst-put-error.c: Add copyright notice.
67470         (do_test): Add case for printing padded string.
67471         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
67472         _IO_padn returned error.
67473         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
67474         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
67475         return EOF.
67477 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67479         * libio/libioP.h: Add comment note that the references to C++
67480         bits are now obsolete.
67482 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67484         * math/libm-test.inc (check_complex): Use asprintf.
67486 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
67488         * debug/pcprofiledump.c (print_version): Update copyright year.
67489         * malloc/memusagestat.c (print_version): Likewise.
67491 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
67493         [BZ #14831]
67494         * elf/Makefile (tests): Add tst-audit8.
67495         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
67496         ($(objpfx)tst-audit8.out): New target.
67497         (tst-audit8-ENV): New variable.
67498         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
67499         audit if l_reloc_result is NULL.
67500         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
67501         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
67502         * elf/tst-audit8.c: New file.
67504 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67506         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
67507         * misc/Makefile (CFLAGS-select.c): Define.
67508         * posix/Makefile (CFLAGS-pause.c): Define.
67510 2012-11-13  David S. Miller  <davem@davemloft.net>
67512         * crypt/Makefile: Move test targets after toplevel Rules
67513         inclusion.  Grab any necessary sysdep routines when linking.
67514         * crypt/md5.c (md5_process_block): Remove define, we will always
67515         name it __md5_process_block.
67516         (md5_finish_ctx): Update md5_process_block call.
67517         (md5_stream): Likewise.
67518         (md5_process_bytes): Likewise.
67519         (md5_process_block): Rename to __md5_process_block and move to ...
67520         * crypt/md5-block.c: ... here.
67521         * crypt/sha256.c (sha256_process_block): Move to ...
67522         * crypt/sha256-block.c: ... here.
67523         * crypt/sha512.c (sha512_process_block): Move to ...
67524         * crypt/sha512-block.c: ... here.
67525         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
67526         path.
67527         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
67528         * sysdeps/sparc/sparc64/multiarch/Makefile
67529         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
67530         crypt subdir.
67531         (localedef-aux): Add md5 crypto assembler when in locale subdir.
67532         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
67533         multiarch changes.
67534         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
67535         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
67536         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
67537         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
67538         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
67539         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
67540         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
67541         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
67542         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
67543         file.
67544         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
67545         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
67546         file.
67547         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
67549 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
67551         * timezone/tzselect.ksh: Update from tzcode git revision
67552         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
67553         * timezone/zdump.c: Likewise.
67554         * timezone/zic.c: Likewise.
67555         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
67556         in TZVERSION setting, not $(PKGVERSION).
67557         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
67558         REPORT_BUGS_TO settings.
67560         [BZ #14838]
67561         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
67562         macro.
67564 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67566         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
67567         detection to immediately after _FP_ROUND().
67568         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
67569         bits are 0.
67571 2012-11-11  David S. Miller  <davem@davemloft.net>
67573         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
67574         inttypes.h
67575         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
67576         __close rather than their public counterparts.
67578 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
67580         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
67581         file.
67582         [UNIX98] (sem_timedwait): Do not expect.
67583         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
67584         [XPG4 || UNIX98] (sockatmark): Do not expect.
67585         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
67586         (clock_getcpuclockid): Do not expect.
67587         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
67588         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
67589         Do not expect.
67590         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
67591         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
67592         [UNIX98] (vwscanf): Likewise.
67593         [UNIX98] (vswscanf): Likewise.
67595 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
67597         * timezone/version.h: Remove file.
67598         * timezone/README: Do not refer to version.h.
67599         * timezone/Makefile ($(objpfx)zic.o): New dependency on
67600         $(objpfx)version.h.
67601         ($(objpfx)zdump.o): Likewise.
67602         ($(objpfx)version.h): New target.
67604         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
67605         2012i.
67606         * timezone/README: Don't mention modification to tzselect.ksh.
67607         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
67608         work on unmodified tzselect.ksh.  Substitute version numbers in
67609         tzselect.ksh.
67611         * Makefile (format-me): Remove.
67612         (INSTALL): Adjust indentation.  Use commands directly instead of
67613         using $(format-me).
67615         * aclocal.m4 (ACX_PKGVERSION): New macro.
67616         (ACX_BUGURL): Likewise.
67617         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
67618         (PKGVERSION): New AC_DEFINE_UNQUOTED.
67619         (REPORT_BUGS_TO): Likewise.
67620         * configure: Regenerated.
67621         * config.h.in (PKGVERSION): New macro.
67622         (REPORT_BUGS_TO): Likewise.
67623         * config.make.in (PKGVERSION): New variable.
67624         (PKGVERSION_TEXI): Likewise.
67625         (REPORT_BUGS_TO): Likewise.
67626         (REPORT_BUGS_TEXI): Likewise.
67627         * Makefile (format-me): Use -I$(common-objpfx)manual.
67628         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
67629         ($(common-objpfx)manual/%): New target.
67630         (manual/%): Remove target.
67631         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
67632         (print_version): Use PKGVERSION.
67633         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
67634         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
67635         and REPORT_BUGS_TO.
67636         ($(objpfx)xtrace): Likewise.
67637         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
67638         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
67639         (print_version): Use PKGVERSION.
67640         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
67641         (do_version): Use PKGVERSION.
67642         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
67643         REPORT_BUGS_TO.
67644         (common-ldd-rewrite): Likewise.
67645         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
67646         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
67647         (print_version): Use PKGVERSION.
67648         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
67649         * elf/pldd.c (argp_program_bug_address): Remove variable.
67650         (more_help): New function.
67651         (argp): Use more_help.
67652         (print_version): Use PKGVERSION.
67653         * elf/sln.c (main): Use PKGVERSION.
67654         (usage): Use REPORT_BUGS_TO.
67655         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
67656         (top level): Use PKGVERSION.
67657         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
67658         (print_version): Use PKGVERSION.
67659         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
67660         (print_version): Use PKGVERSION.
67661         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
67662         (print_version): Use PKGVERSION.
67663         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
67664         (print_version): Use PKGVERSION.
67665         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
67666         (print_version): Use PKGVERSION.
67667         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
67668         (print_version): Use PKGVERSION.
67669         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
67670         and BUGURL.
67671         ($(objpfx)memusage): Likewise.
67672         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
67673         (do_version): Use PKGVERSION.
67674         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
67675         (print_version): Use PKGVERSION.
67676         * malloc/mtrace.pl ($PACKAGE): Remove variable.
67677         ($PKGVERSION): New variable.
67678         ($REPORT_BUGS_TO): Likewise.
67679         (usage): Use $REPORT_BUGS_TO.
67680         (top level): Use $PKGVERSION.
67681         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
67682         ($(objpfx)pkgvers.texi): New rule.
67683         ($(objpfx)stamp-pkgvers): Likewise.
67684         * manual/install.texi: Include pkgvers.texi.
67685         (--with-pkgversion): Document new configure option.
67686         (--with-bugurl): Likewise.
67687         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
67688         than necessarily for this particular distribution.  Use
67689         REPORT_BUGS_TO for where to report bugs.
67690         * INSTALL: Regenerated.
67691         * manual/libc.texinfo: Include pkgvers.texi.
67692         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
67693         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
67694         (print_version): Use PKGVERSION.
67695         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
67696         (print_version): Use PKGVERSION.
67697         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
67698         (print_version): Use PKGVERSION.
67699         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
67700         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
67701         macro.
67702         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
67703         (print_version): Use PKGVERSION.
67704         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
67705         (print_version): Use PKGVERSION.
67706         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
67707         and PKGVERSION.
67709         * timezone/checktab.awk: Update from tzcode 2012i.
67710         * timezone/ialloc.c: Likewise.
67711         * timezone/private.h: Likewise.
67712         * timezone/scheck.c: Likewise.
67713         * timezone/tzfile.h: Likewise.
67714         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
67715         (TZVERSION): Hardcode tzcode version number.
67716         * timezone/zdump.c: Update from tzcode 2012i.
67717         * timezone/zic.c: Likewise.
67718         * timezone/version.h: New file.
67719         * timezone/README: Describe version.h.  Update upstream location.
67721         [BZ #14824]
67722         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
67723         (mktemp): Enable declaration.
67724         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
67725         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
67726         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
67727         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
67728         Likewise.
67729         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
67730         Likewise.
67731         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
67732         Likewise.
67733         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
67734         Likewise.
67735         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
67736         Likewise.
67737         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
67738         Likewise.
67740         [BZ #14821]
67741         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
67742         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
67743         for copies of such integer values.
67744         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
67745         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
67747 2012-11-09  Andreas Jaeger  <aj@suse.de>
67749         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
67750         definitions and declarations that are provided by
67751         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67753 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67755         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
67756         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
67757         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
67758         definition.
67760 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67762         * elf/elf.h: Update comment before AArch64 relocations.
67764 2012-11-07  David S. Miller  <davem@davemloft.net>
67766         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
67767         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67768         (__start_context): Declare.
67769         (__makecontext_ret): Delete.
67770         (__makecontext): Hook up __start_context instead of
67771         __makecontext_ret.
67772         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
67773         (sysdep_routines): Add __start_context when in stdlib.
67775 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67777         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
67778         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
67779         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
67780         hardcoded "nm".
67781         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
67782         (READELF): New variable.  Use it instead of hardcoded "readelf".
67784 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67786         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
67787         * sysdeps/x86/Makefile: Here.
67788         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
67789         * sysdeps/x86/tst-xmmymm.sh: This.
67791 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67793         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
67794         expectations.
67795         [UNIX98] (pthread_barrier_t): Do not expect.
67796         [UNIX98] (pthread_barrierattr_t): Likewise.
67797         [UNIX98] (pthread_spinlock_t): Likewise.
67798         [UNIX98] (pthread_barrier_destroy): Likewise.
67799         [UNIX98] (pthread_barrier_init): Likewise.
67800         [UNIX98] (pthread_barrier_wait): Likewise.
67801         [UNIX98] (pthread_barrierattr_destroy): Likewise.
67802         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
67803         [UNIX98] (pthread_barrierattr_init): Likewise.
67804         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
67805         [UNIX98] (pthread_getcpuclockid): Likewise.
67806         [UNIX98] (pthread_mutex_timedlock): Likewise.
67807         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
67808         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
67809         [UNIX98] (pthread_sigmask): Likewise.
67810         [UNIX98] (pthread_spin_destroy): Likewise.
67811         [UNIX98] (pthread_spin_init): Likewise.
67812         [UNIX98] (pthread_spin_lock): Likewise.
67813         [UNIX98] (pthread_spin_trylock): Likewise.
67814         [UNIX98] (pthread_spin_unlock): Likewise.
67815         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
67816         Do not expect.
67817         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
67818         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
67819         [XPG3 || XPG4] (pthread_cond_t): Likewise.
67820         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
67821         [XPG3 || XPG4] (pthread_key_t): Likewise.
67822         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
67823         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
67824         [XPG3 || XPG4] (pthread_once_t): Likewise.
67825         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
67826         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
67827         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
67828         [XPG3 || XPG4] (pthread_t): Likewise.
67830         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
67831         not expect.
67832         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
67834         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
67835         Change function return type to int.
67837         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
67838         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
67839         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
67840         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
67841         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
67842         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
67843         [!POSIX] (posix_madvise): Likewise.
67844         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
67845         && !UNIX98].
67846         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
67847         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
67848         (mode_t): Likewise.
67849         (posix_mem_offset): Likewise.
67850         (posix_typed_mem_get_info): Likewise.
67851         (posix_typed_mem_open): Likewise.
67853         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
67854         Change condition to [XOPEN2K8].
67856         * conform/conformtest.pl: Preprocess allow-header data with -x c
67857         instead of from stdin.
67858         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
67859         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
67860         [C99-based standards] (cerfc): Likewise.
67861         [C99-based standards] (cexp2): Likewise.
67862         [C99-based standards] (cexpm1): Likewise.
67863         [C99-based standards] (clog10): Likewise.
67864         [C99-based standards] (clog1p): Likewise.
67865         [C99-based standards] (clog2): Likewise.
67866         [C99-based standards] (clgamma): Likewise.
67867         [C99-based standards] (ctgamma): Likewise.
67868         [C99-based standards] (cerff): Likewise.
67869         [C99-based standards] (cerfcf): Likewise.
67870         [C99-based standards] (cexp2f): Likewise.
67871         [C99-based standards] (cexpm1f): Likewise.
67872         [C99-based standards] (clog10f): Likewise.
67873         [C99-based standards] (clog1pf): Likewise.
67874         [C99-based standards] (clog2f): Likewise.
67875         [C99-based standards] (clgammaf): Likewise.
67876         [C99-based standards] (ctgammaf): Likewise.
67877         [C99-based standards] (cerfl): Likewise.
67878         [C99-based standards] (cerfcl): Likewise.
67879         [C99-based standards] (cexp2l): Likewise.
67880         [C99-based standards] (cexpm1l): Likewise.
67881         [C99-based standards] (clog10l): Likewise.
67882         [C99-based standards] (clog1pl): Likewise.
67883         [C99-based standards] (clog2l): Likewise.
67884         [C99-based standards] (clgammal): Likewise.
67885         [C99-based standards] (ctgammal): Likewise.
67886         * conform/data/inttypes.h-data [C99-based standards]: Include
67887         stdint.h-data.  Remove all expectations for stdint.h contents.
67888         [C99-based standards] (PRI*): Do not allow.
67889         [C99-based standards] (SCN*): Likewise.
67890         [C99-based standards] (*_t): Likewise.
67891         [C99-based-standards] (PRId8): Expect macro.
67892         [C99-based-standards] (PRIi8): Likewise.
67893         [C99-based-standards] (PRIo8): Likewise.
67894         [C99-based-standards] (PRIu8): Likewise.
67895         [C99-based-standards] (PRIx8): Likewise.
67896         [C99-based-standards] (PRIX8): Likewise.
67897         [C99-based-standards] (SCNd8): Likewise.
67898         [C99-based-standards] (SCNi8): Likewise.
67899         [C99-based-standards] (SCNo8): Likewise.
67900         [C99-based-standards] (SCNu8): Likewise.
67901         [C99-based-standards] (SCNx8): Likewise.
67902         [C99-based-standards] (PRIdLEAST8): Likewise.
67903         [C99-based-standards] (PRIiLEAST8): Likewise.
67904         [C99-based-standards] (PRIoLEAST8): Likewise.
67905         [C99-based-standards] (PRIuLEAST8): Likewise.
67906         [C99-based-standards] (PRIxLEAST8): Likewise.
67907         [C99-based-standards] (PRIXLEAST8): Likewise.
67908         [C99-based-standards] (SCNdLEAST8): Likewise.
67909         [C99-based-standards] (SCNiLEAST8): Likewise.
67910         [C99-based-standards] (SCNoLEAST8): Likewise.
67911         [C99-based-standards] (SCNuLEAST8): Likewise.
67912         [C99-based-standards] (SCNxLEAST8): Likewise.
67913         [C99-based-standards] (PRIdFAST8): Likewise.
67914         [C99-based-standards] (PRIiFAST8): Likewise.
67915         [C99-based-standards] (PRIoFAST8): Likewise.
67916         [C99-based-standards] (PRIuFAST8): Likewise.
67917         [C99-based-standards] (PRIxFAST8): Likewise.
67918         [C99-based-standards] (PRIXFAST8): Likewise.
67919         [C99-based-standards] (SCNdFAST8): Likewise.
67920         [C99-based-standards] (SCNiFAST8): Likewise.
67921         [C99-based-standards] (SCNoFAST8): Likewise.
67922         [C99-based-standards] (SCNuFAST8): Likewise.
67923         [C99-based-standards] (SCNxFAST8): Likewise.
67924         [C99-based-standards] (PRId16): Likewise.
67925         [C99-based-standards] (PRIi16): Likewise.
67926         [C99-based-standards] (PRIo16): Likewise.
67927         [C99-based-standards] (PRIu16): Likewise.
67928         [C99-based-standards] (PRIx16): Likewise.
67929         [C99-based-standards] (PRIX16): Likewise.
67930         [C99-based-standards] (SCNd16): Likewise.
67931         [C99-based-standards] (SCNi16): Likewise.
67932         [C99-based-standards] (SCNo16): Likewise.
67933         [C99-based-standards] (SCNu16): Likewise.
67934         [C99-based-standards] (SCNx16): Likewise.
67935         [C99-based-standards] (PRIdLEAST16): Likewise.
67936         [C99-based-standards] (PRIiLEAST16): Likewise.
67937         [C99-based-standards] (PRIoLEAST16): Likewise.
67938         [C99-based-standards] (PRIuLEAST16): Likewise.
67939         [C99-based-standards] (PRIxLEAST16): Likewise.
67940         [C99-based-standards] (PRIXLEAST16): Likewise.
67941         [C99-based-standards] (SCNdLEAST16): Likewise.
67942         [C99-based-standards] (SCNiLEAST16): Likewise.
67943         [C99-based-standards] (SCNoLEAST16): Likewise.
67944         [C99-based-standards] (SCNuLEAST16): Likewise.
67945         [C99-based-standards] (SCNxLEAST16): Likewise.
67946         [C99-based-standards] (PRIdFAST16): Likewise.
67947         [C99-based-standards] (PRIiFAST16): Likewise.
67948         [C99-based-standards] (PRIoFAST16): Likewise.
67949         [C99-based-standards] (PRIuFAST16): Likewise.
67950         [C99-based-standards] (PRIxFAST16): Likewise.
67951         [C99-based-standards] (PRIXFAST16): Likewise.
67952         [C99-based-standards] (SCNdFAST16): Likewise.
67953         [C99-based-standards] (SCNiFAST16): Likewise.
67954         [C99-based-standards] (SCNoFAST16): Likewise.
67955         [C99-based-standards] (SCNuFAST16): Likewise.
67956         [C99-based-standards] (SCNxFAST16): Likewise.
67957         [C99-based-standards] (PRId32): Likewise.
67958         [C99-based-standards] (PRIi32): Likewise.
67959         [C99-based-standards] (PRIo32): Likewise.
67960         [C99-based-standards] (PRIu32): Likewise.
67961         [C99-based-standards] (PRIx32): Likewise.
67962         [C99-based-standards] (PRIX32): Likewise.
67963         [C99-based-standards] (SCNd32): Likewise.
67964         [C99-based-standards] (SCNi32): Likewise.
67965         [C99-based-standards] (SCNo32): Likewise.
67966         [C99-based-standards] (SCNu32): Likewise.
67967         [C99-based-standards] (SCNx32): Likewise.
67968         [C99-based-standards] (PRIdLEAST32): Likewise.
67969         [C99-based-standards] (PRIiLEAST32): Likewise.
67970         [C99-based-standards] (PRIoLEAST32): Likewise.
67971         [C99-based-standards] (PRIuLEAST32): Likewise.
67972         [C99-based-standards] (PRIxLEAST32): Likewise.
67973         [C99-based-standards] (PRIXLEAST32): Likewise.
67974         [C99-based-standards] (SCNdLEAST32): Likewise.
67975         [C99-based-standards] (SCNiLEAST32): Likewise.
67976         [C99-based-standards] (SCNoLEAST32): Likewise.
67977         [C99-based-standards] (SCNuLEAST32): Likewise.
67978         [C99-based-standards] (SCNxLEAST32): Likewise.
67979         [C99-based-standards] (PRIdFAST32): Likewise.
67980         [C99-based-standards] (PRIiFAST32): Likewise.
67981         [C99-based-standards] (PRIoFAST32): Likewise.
67982         [C99-based-standards] (PRIuFAST32): Likewise.
67983         [C99-based-standards] (PRIxFAST32): Likewise.
67984         [C99-based-standards] (PRIXFAST32): Likewise.
67985         [C99-based-standards] (SCNdFAST32): Likewise.
67986         [C99-based-standards] (SCNiFAST32): Likewise.
67987         [C99-based-standards] (SCNoFAST32): Likewise.
67988         [C99-based-standards] (SCNuFAST32): Likewise.
67989         [C99-based-standards] (SCNxFAST32): Likewise.
67990         [C99-based-standards] (PRId64): Likewise.
67991         [C99-based-standards] (PRIi64): Likewise.
67992         [C99-based-standards] (PRIo64): Likewise.
67993         [C99-based-standards] (PRIu64): Likewise.
67994         [C99-based-standards] (PRIx64): Likewise.
67995         [C99-based-standards] (PRIX64): Likewise.
67996         [C99-based-standards] (SCNd64): Likewise.
67997         [C99-based-standards] (SCNi64): Likewise.
67998         [C99-based-standards] (SCNo64): Likewise.
67999         [C99-based-standards] (SCNu64): Likewise.
68000         [C99-based-standards] (SCNx64): Likewise.
68001         [C99-based-standards] (PRIdLEAST64): Likewise.
68002         [C99-based-standards] (PRIiLEAST64): Likewise.
68003         [C99-based-standards] (PRIoLEAST64): Likewise.
68004         [C99-based-standards] (PRIuLEAST64): Likewise.
68005         [C99-based-standards] (PRIxLEAST64): Likewise.
68006         [C99-based-standards] (PRIXLEAST64): Likewise.
68007         [C99-based-standards] (SCNdLEAST64): Likewise.
68008         [C99-based-standards] (SCNiLEAST64): Likewise.
68009         [C99-based-standards] (SCNoLEAST64): Likewise.
68010         [C99-based-standards] (SCNuLEAST64): Likewise.
68011         [C99-based-standards] (SCNxLEAST64): Likewise.
68012         [C99-based-standards] (PRIdFAST64): Likewise.
68013         [C99-based-standards] (PRIiFAST64): Likewise.
68014         [C99-based-standards] (PRIoFAST64): Likewise.
68015         [C99-based-standards] (PRIuFAST64): Likewise.
68016         [C99-based-standards] (PRIxFAST64): Likewise.
68017         [C99-based-standards] (PRIXFAST64): Likewise.
68018         [C99-based-standards] (SCNdFAST64): Likewise.
68019         [C99-based-standards] (SCNiFAST64): Likewise.
68020         [C99-based-standards] (SCNoFAST64): Likewise.
68021         [C99-based-standards] (SCNuFAST64): Likewise.
68022         [C99-based-standards] (SCNxFAST64): Likewise.
68023         [C99-based-standards] (PRIdMAX): Likewise.
68024         [C99-based-standards] (PRIiMAX): Likewise.
68025         [C99-based-standards] (PRIoMAX): Likewise.
68026         [C99-based-standards] (PRIuMAX): Likewise.
68027         [C99-based-standards] (PRIxMAX): Likewise.
68028         [C99-based-standards] (PRIXMAX): Likewise.
68029         [C99-based-standards] (SCNdMAX): Likewise.
68030         [C99-based-standards] (SCNiMAX): Likewise.
68031         [C99-based-standards] (SCNoMAX): Likewise.
68032         [C99-based-standards] (SCNuMAX): Likewise.
68033         [C99-based-standards] (SCNxMAX): Likewise.
68034         [C99-based-standards] (PRIdPTR): Likewise.
68035         [C99-based-standards] (PRIiPTR): Likewise.
68036         [C99-based-standards] (PRIoPTR): Likewise.
68037         [C99-based-standards] (PRIuPTR): Likewise.
68038         [C99-based-standards] (PRIxPTR): Likewise.
68039         [C99-based-standards] (PRIXPTR): Likewise.
68040         [C99-based-standards] (SCNdPTR): Likewise.
68041         [C99-based-standards] (SCNiPTR): Likewise.
68042         [C99-based-standards] (SCNoPTR): Likewise.
68043         [C99-based-standards] (SCNuPTR): Likewise.
68044         [C99-based-standards] (SCNxPTR): Likewise.
68045         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
68046         allow.
68047         * conform/data/stdint.h-data: Update comments to clarify
68048         requirements.
68049         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
68050         type.
68051         [C99-based standards] (INT8_MAX): Likewise.
68052         [C99-based standards] (INT16_MIN): Likewise.
68053         [C99-based standards] (INT16_MAX): Likewise.
68054         [C99-based standards] (INT32_MIN): Likewise.
68055         [C99-based standards] (INT32_MAX): Likewise.
68056         [C99-based standards] (INT64_MIN): Likewise.
68057         [C99-based standards] (INT64_MAX): Likewise.
68058         [C99-based standards] (UINT8_MAX): Likewise.
68059         [C99-based standards] (UINT16_MAX): Likewise.
68060         [C99-based standards] (UINT32_MAX): Likewise.
68061         [C99-based standards] (UINT64_MAX): Likewise.
68062         [C99-based standards] (INT_LEAST8_MIN): Likewise.
68063         [C99-based standards] (INT_LEAST8_MAX): Likewise.
68064         [C99-based standards] (INT_LEAST16_MIN): Likewise.
68065         [C99-based standards] (INT_LEAST16_MAX): Likewise.
68066         [C99-based standards] (INT_LEAST32_MIN): Likewise.
68067         [C99-based standards] (INT_LEAST32_MAX): Likewise.
68068         [C99-based standards] (INT_LEAST64_MIN): Likewise.
68069         [C99-based standards] (INT_LEAST64_MAX): Likewise.
68070         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
68071         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
68072         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
68073         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
68074         [C99-based standards] (INT_FAST8_MIN): Likewise.
68075         [C99-based standards] (INT_FAST8_MAX): Likewise.
68076         [C99-based standards] (INT_FAST16_MIN): Likewise.
68077         [C99-based standards] (INT_FAST16_MAX): Likewise.
68078         [C99-based standards] (INT_FAST32_MIN): Likewise.
68079         [C99-based standards] (INT_FAST32_MAX): Likewise.
68080         [C99-based standards] (INT_FAST64_MIN): Likewise.
68081         [C99-based standards] (INT_FAST64_MAX): Likewise.
68082         [C99-based standards] (UINT_FAST8_MAX): Likewise.
68083         [C99-based standards] (UINT_FAST16_MAX): Likewise.
68084         [C99-based standards] (UINT_FAST32_MAX): Likewise.
68085         [C99-based standards] (UINT_FAST64_MAX): Likewise.
68086         [C99-based standards] (INTPTR_MIN): Likewise.
68087         [C99-based standards] (INTPTR_MAX): Likewise.
68088         [C99-based standards] (UINTPTR_MAX): Likewise.
68089         [C99-based standards] (INTMAX_MIN): Likewise.
68090         [C99-based standards] (INTMAX_MAX): Likewise.
68091         [C99-based standards] (UINTMAX_MAX): Likewise.
68092         [C99-based standards] (PTRDIFF_MIN): Likewise.
68093         [C99-based standards] (PTRDIFF_MAX): Likewise.
68094         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
68095         [C99-based standards] (SIZE_MAX): Likewise.
68096         [C99-based standards] (WCHAR_MAX): Likewise.
68097         [C99-based standards] (WINT_MAX): Likewise.
68098         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
68099         constraint on value.
68100         [C99-based standards] (WCHAR_MIN): Likewise.
68101         [C99-based standards] (WINT_MIN): Likewise.
68102         [C99-based standards] (*_t): Allow.
68103         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
68104         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
68105         Include math.h-data and complex.h-data.  Remove all expectations
68106         of math.h and complex.h contents.
68107         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
68108         at end of line.
68109         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
68110         (struct tm): Expect tag.
68111         [C99-based-standards] (wcstof): Expect function.
68112         [C99-based-standards] (wcstold): Likewise.
68113         [C99-based-standards] (wcstoll): Likewise.
68114         [C99-based-standards] (wcstoull): Likewise.
68115         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
68116         macro-int-constant.  Specify type.
68117         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
68118         constraint on value.
68119         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68120         Specify type.
68121         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
68122         Specify value.
68123         [ISO C standards]: Do not allow headers.
68124         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
68125         wcs[abcdefghijklmnopqrstuvwxyz]*.
68126         [ISO C standards] (*_t): Do not allow.
68127         * conform/data/wctype.h-data [C99-based standards] (iswblank):
68128         Expect function.
68129         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
68130         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68131         Specify type.
68132         [ISO C standards]: Do not allow headers.
68133         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
68134         is[abcdefghijklmnopqrstuvwxyz]*.
68135         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
68136         to[abcdefghijklmnopqrstuvwxyz]*.
68137         [ISO C standards] (*_t): Do not allow.
68138         * conform/data/stdalign.h-data: New file.
68139         * conform/data/stdbool.h-data: Likewise.
68140         * conform/data/stdnoreturn.h-data: Likewise.
68142 2012-11-07  Roland McGrath  <roland@hack.frob.com>
68144         [BZ #14815]
68145         * manual/filesys.texi (Directory Entries): Typo fix.
68146         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
68148 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68150         * elf/elf.h (EM_AARCH64): New macro.
68151         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
68152         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
68153         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
68154         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
68155         (R_AARCH64_TLSDESC): Likewise.
68156         (NT_ARM_TLS): Likewise.
68157         (NT_ARM_HW_BREAK): Likewise.
68158         (NT_ARM_HW_WATCH): Likewise.
68160 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68162         [BZ #14811]
68163         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
68164         (__ieee754_powl): Saturate nonzero exponents with absolute value
68165         below 0x1p-79 to +/- 0x1p-79.
68166         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
68167         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
68168         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
68169         nonzero exponents with absolute value below 0x1p-32 to +/-
68170         0x1p-32.
68171         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
68172         (__ieee754_powl): Saturate nonzero exponents with absolute value
68173         below 0x1p-79 to +/- 0x1p-79.
68174         * math/libm-test.inc (pow_test): Add more tests.
68176 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68178         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
68179         _dl_s390_cap_flags with kernel. Increase string length.
68180         (_dl_s390_platforms): Add z196 and zEC12.
68182 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68184         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
68185         Change XOPEN21K to XOPEN2K.
68187 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
68189         * string/memmove.c: Use memcpy when possible.
68191 2012-11-06  Andreas Jaeger  <aj@suse.de>
68193         * po/eo.po: Update from translation team.
68195 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
68197         [BZ #14793]
68198         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
68199         exponent and small x and y exponents, scale x or y up.  Increase
68200         by 2 the exponent used in scaling up.
68201         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68202         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68203         * math/libm-test.inc (fma_test): Add more tests.
68204         (fma_test_towardzero): Likewise.
68205         (fma_test_downward): Likewise.
68206         (fma_test_upward): Likewise.
68208 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
68210         [BZ #14805]
68211         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
68212         fenv_t *.
68214         [BZ #14801]
68215         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
68216         namespace for names of struct fields.
68217         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
68218         fenv_t fields.
68219         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
68220         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
68222 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68224         [BZ #3665]
68225         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
68227 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68229         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
68230         PTR_DEMANGLE.
68232         [BZ #5246]
68233         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
68234         PTR_DEMANGLE.
68236 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
68238         [BZ #14797]
68239         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
68240         definitely overflow as x * y not x * y + z.
68241         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68242         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68243         * math/libm-test.inc (fma_test): Add more tests.
68244         (fma_test_towardzero): Likewise.
68245         (fma_test_downward): Likewise.
68246         (fma_test_upward): Likewise.
68248 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68250         [BZ #157]
68252         * include/stub-tag.h: Remove file.
68253         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
68254         '#include' of it.
68255         * manual/maint.texi (Porting): Don't reference it.
68256         * Makerules ($(objpfx)stubs): Likewise.
68257         * dirent/closedir.c: Don't include <stub-tag.h>.
68258         * dirent/dirfd.c: Likewise.
68259         * dirent/fdopendir.c: Likewise.
68260         * dirent/getdents.c: Likewise.
68261         * dirent/getdents64.c: Likewise.
68262         * dirent/opendir.c: Likewise.
68263         * dirent/readdir.c: Likewise.
68264         * dirent/readdir64.c: Likewise.
68265         * dirent/readdir64_r.c: Likewise.
68266         * dirent/readdir_r.c: Likewise.
68267         * dirent/rewinddir.c: Likewise.
68268         * dirent/seekdir.c: Likewise.
68269         * dirent/telldir.c: Likewise.
68270         * gmon/profil.c: Likewise.
68271         * grp/setgroups.c: Likewise.
68272         * inet/if_index.c: Likewise.
68273         * io/access.c: Likewise.
68274         * io/chdir.c: Likewise.
68275         * io/chmod.c: Likewise.
68276         * io/chown.c: Likewise.
68277         * io/close.c: Likewise.
68278         * io/dup.c: Likewise.
68279         * io/dup2.c: Likewise.
68280         * io/dup3.c: Likewise.
68281         * io/euidaccess.c: Likewise.
68282         * io/faccessat.c: Likewise.
68283         * io/fchdir.c: Likewise.
68284         * io/fchmod.c: Likewise.
68285         * io/fchmodat.c: Likewise.
68286         * io/fchown.c: Likewise.
68287         * io/fchownat.c: Likewise.
68288         * io/fcntl.c: Likewise.
68289         * io/flock.c: Likewise.
68290         * io/fstatfs.c: Likewise.
68291         * io/fstatfs64.c: Likewise.
68292         * io/fstatvfs.c: Likewise.
68293         * io/fstatvfs64.c: Likewise.
68294         * io/futimens.c: Likewise.
68295         * io/fxstat.c: Likewise.
68296         * io/fxstat64.c: Likewise.
68297         * io/fxstatat.c: Likewise.
68298         * io/fxstatat64.c: Likewise.
68299         * io/getcwd.c: Likewise.
68300         * io/isatty.c: Likewise.
68301         * io/lchmod.c: Likewise.
68302         * io/lchown.c: Likewise.
68303         * io/link.c: Likewise.
68304         * io/linkat.c: Likewise.
68305         * io/lseek.c: Likewise.
68306         * io/lseek64.c: Likewise.
68307         * io/lxstat64.c: Likewise.
68308         * io/mkdir.c: Likewise.
68309         * io/mkdirat.c: Likewise.
68310         * io/mkfifo.c: Likewise.
68311         * io/mkfifoat.c: Likewise.
68312         * io/open.c: Likewise.
68313         * io/open64.c: Likewise.
68314         * io/openat.c: Likewise.
68315         * io/openat64.c: Likewise.
68316         * io/pipe.c: Likewise.
68317         * io/pipe2.c: Likewise.
68318         * io/poll.c: Likewise.
68319         * io/posix_fadvise.c: Likewise.
68320         * io/posix_fadvise64.c: Likewise.
68321         * io/posix_fallocate.c: Likewise.
68322         * io/posix_fallocate64.c: Likewise.
68323         * io/read.c: Likewise.
68324         * io/readlink.c: Likewise.
68325         * io/readlinkat.c: Likewise.
68326         * io/rmdir.c: Likewise.
68327         * io/sendfile.c: Likewise.
68328         * io/sendfile64.c: Likewise.
68329         * io/statfs.c: Likewise.
68330         * io/statfs64.c: Likewise.
68331         * io/statvfs.c: Likewise.
68332         * io/statvfs64.c: Likewise.
68333         * io/symlink.c: Likewise.
68334         * io/symlinkat.c: Likewise.
68335         * io/ttyname.c: Likewise.
68336         * io/ttyname_r.c: Likewise.
68337         * io/umask.c: Likewise.
68338         * io/unlink.c: Likewise.
68339         * io/unlinkat.c: Likewise.
68340         * io/utime.c: Likewise.
68341         * io/utimensat.c: Likewise.
68342         * io/write.c: Likewise.
68343         * io/xmknod.c: Likewise.
68344         * io/xmknodat.c: Likewise.
68345         * io/xstat.c: Likewise.
68346         * io/xstat64.c: Likewise.
68347         * login/getpt.c: Likewise.
68348         * login/grantpt.c: Likewise.
68349         * login/unlockpt.c: Likewise.
68350         * math/e_acoshl.c: Likewise.
68351         * math/e_acosl.c: Likewise.
68352         * math/e_asinl.c: Likewise.
68353         * math/e_atan2l.c: Likewise.
68354         * math/e_atanhl.c: Likewise.
68355         * math/e_coshl.c: Likewise.
68356         * math/e_expl.c: Likewise.
68357         * math/e_fmodl.c: Likewise.
68358         * math/e_gammal_r.c: Likewise.
68359         * math/e_hypotl.c: Likewise.
68360         * math/e_j0l.c: Likewise.
68361         * math/e_j1l.c: Likewise.
68362         * math/e_jnl.c: Likewise.
68363         * math/e_lgammal_r.c: Likewise.
68364         * math/e_log10l.c: Likewise.
68365         * math/e_log2l.c: Likewise.
68366         * math/e_logl.c: Likewise.
68367         * math/e_powl.c: Likewise.
68368         * math/e_rem_pio2l.c: Likewise.
68369         * math/e_sinhl.c: Likewise.
68370         * math/e_sqrtl.c: Likewise.
68371         * math/fclrexcpt.c: Likewise.
68372         * math/fedisblxcpt.c: Likewise.
68373         * math/feenablxcpt.c: Likewise.
68374         * math/fegetenv.c: Likewise.
68375         * math/fegetexcept.c: Likewise.
68376         * math/fegetround.c: Likewise.
68377         * math/feholdexcpt.c: Likewise.
68378         * math/fesetenv.c: Likewise.
68379         * math/fesetround.c: Likewise.
68380         * math/feupdateenv.c: Likewise.
68381         * math/fgetexcptflg.c: Likewise.
68382         * math/fraiseexcpt.c: Likewise.
68383         * math/fsetexcptflg.c: Likewise.
68384         * math/ftestexcept.c: Likewise.
68385         * math/k_cosl.c: Likewise.
68386         * math/k_rem_pio2l.c: Likewise.
68387         * math/k_sinl.c: Likewise.
68388         * math/k_tanl.c: Likewise.
68389         * math/s_asinhl.c: Likewise.
68390         * math/s_atanl.c: Likewise.
68391         * math/s_cbrtl.c: Likewise.
68392         * math/s_erfl.c: Likewise.
68393         * math/s_expm1l.c: Likewise.
68394         * math/s_log1pl.c: Likewise.
68395         * math/s_tanhl.c: Likewise.
68396         * misc/acct.c: Likewise.
68397         * misc/brk.c: Likewise.
68398         * misc/chflags.c: Likewise.
68399         * misc/chroot.c: Likewise.
68400         * misc/fchflags.c: Likewise.
68401         * misc/fgetxattr.c: Likewise.
68402         * misc/flistxattr.c: Likewise.
68403         * misc/fremovexattr.c: Likewise.
68404         * misc/fsetxattr.c: Likewise.
68405         * misc/fsync.c: Likewise.
68406         * misc/ftruncate.c: Likewise.
68407         * misc/futimes.c: Likewise.
68408         * misc/futimesat.c: Likewise.
68409         * misc/getdomain.c: Likewise.
68410         * misc/getdtsz.c: Likewise.
68411         * misc/gethostid.c: Likewise.
68412         * misc/gethostname.c: Likewise.
68413         * misc/getloadavg.c: Likewise.
68414         * misc/getpagesize.c: Likewise.
68415         * misc/getsysstats.c: Likewise.
68416         * misc/getxattr.c: Likewise.
68417         * misc/gtty.c: Likewise.
68418         * misc/ioctl.c: Likewise.
68419         * misc/lgetxattr.c: Likewise.
68420         * misc/listxattr.c: Likewise.
68421         * misc/llistxattr.c: Likewise.
68422         * misc/lremovexattr.c: Likewise.
68423         * misc/lsetxattr.c: Likewise.
68424         * misc/lutimes.c: Likewise.
68425         * misc/madvise.c: Likewise.
68426         * misc/mincore.c: Likewise.
68427         * misc/mlock.c: Likewise.
68428         * misc/mlockall.c: Likewise.
68429         * misc/mmap.c: Likewise.
68430         * misc/mprotect.c: Likewise.
68431         * misc/msync.c: Likewise.
68432         * misc/munlock.c: Likewise.
68433         * misc/munlockall.c: Likewise.
68434         * misc/munmap.c: Likewise.
68435         * misc/preadv.c: Likewise.
68436         * misc/preadv64.c: Likewise.
68437         * misc/ptrace.c: Likewise.
68438         * misc/pwritev.c: Likewise.
68439         * misc/pwritev64.c: Likewise.
68440         * misc/readv.c: Likewise.
68441         * misc/reboot.c: Likewise.
68442         * misc/remap_file_pages.c: Likewise.
68443         * misc/removexattr.c: Likewise.
68444         * misc/revoke.c: Likewise.
68445         * misc/select.c: Likewise.
68446         * misc/setdomain.c: Likewise.
68447         * misc/setegid.c: Likewise.
68448         * misc/seteuid.c: Likewise.
68449         * misc/sethostid.c: Likewise.
68450         * misc/sethostname.c: Likewise.
68451         * misc/setregid.c: Likewise.
68452         * misc/setreuid.c: Likewise.
68453         * misc/setxattr.c: Likewise.
68454         * misc/sstk.c: Likewise.
68455         * misc/stty.c: Likewise.
68456         * misc/swapoff.c: Likewise.
68457         * misc/swapon.c: Likewise.
68458         * misc/sync.c: Likewise.
68459         * misc/syncfs.c: Likewise.
68460         * misc/syscall.c: Likewise.
68461         * misc/truncate.c: Likewise.
68462         * misc/ualarm.c: Likewise.
68463         * misc/usleep.c: Likewise.
68464         * misc/ustat.c: Likewise.
68465         * misc/utimes.c: Likewise.
68466         * misc/vhangup.c: Likewise.
68467         * misc/writev.c: Likewise.
68468         * posix/_exit.c: Likewise.
68469         * posix/alarm.c: Likewise.
68470         * posix/execve.c: Likewise.
68471         * posix/fexecve.c: Likewise.
68472         * posix/fork.c: Likewise.
68473         * posix/fpathconf.c: Likewise.
68474         * posix/getaddrinfo.c: Likewise.
68475         * posix/getegid.c: Likewise.
68476         * posix/geteuid.c: Likewise.
68477         * posix/getgid.c: Likewise.
68478         * posix/getgroups.c: Likewise.
68479         * posix/getlogin.c: Likewise.
68480         * posix/getlogin_r.c: Likewise.
68481         * posix/getpgid.c: Likewise.
68482         * posix/getpid.c: Likewise.
68483         * posix/getppid.c: Likewise.
68484         * posix/getresgid.c: Likewise.
68485         * posix/getresuid.c: Likewise.
68486         * posix/getsid.c: Likewise.
68487         * posix/getuid.c: Likewise.
68488         * posix/glob64.c: Likewise.
68489         * posix/nanosleep.c: Likewise.
68490         * posix/pathconf.c: Likewise.
68491         * posix/pause.c: Likewise.
68492         * posix/posix_madvise.c: Likewise.
68493         * posix/pread.c: Likewise.
68494         * posix/pread64.c: Likewise.
68495         * posix/pwrite.c: Likewise.
68496         * posix/pwrite64.c: Likewise.
68497         * posix/sched_getaffinity.c: Likewise.
68498         * posix/sched_getp.c: Likewise.
68499         * posix/sched_gets.c: Likewise.
68500         * posix/sched_primax.c: Likewise.
68501         * posix/sched_primin.c: Likewise.
68502         * posix/sched_rr_gi.c: Likewise.
68503         * posix/sched_setaffinity.c: Likewise.
68504         * posix/sched_setp.c: Likewise.
68505         * posix/sched_sets.c: Likewise.
68506         * posix/sched_yield.c: Likewise.
68507         * posix/setgid.c: Likewise.
68508         * posix/setlogin.c: Likewise.
68509         * posix/setpgid.c: Likewise.
68510         * posix/setresgid.c: Likewise.
68511         * posix/setresuid.c: Likewise.
68512         * posix/setsid.c: Likewise.
68513         * posix/setuid.c: Likewise.
68514         * posix/sleep.c: Likewise.
68515         * posix/spawni.c: Likewise.
68516         * posix/sysconf.c: Likewise.
68517         * posix/times.c: Likewise.
68518         * posix/wait.c: Likewise.
68519         * posix/wait3.c: Likewise.
68520         * posix/wait4.c: Likewise.
68521         * posix/waitpid.c: Likewise.
68522         * resolv/gai_sigqueue.c: Likewise.
68523         * resource/getpriority.c: Likewise.
68524         * resource/getrlimit.c: Likewise.
68525         * resource/getrusage.c: Likewise.
68526         * resource/nice.c: Likewise.
68527         * resource/setpriority.c: Likewise.
68528         * resource/setrlimit.c: Likewise.
68529         * resource/ulimit.c: Likewise.
68530         * rt/aio_cancel.c: Likewise.
68531         * rt/aio_fsync.c: Likewise.
68532         * rt/aio_read.c: Likewise.
68533         * rt/aio_sigqueue.c: Likewise.
68534         * rt/aio_suspend.c: Likewise.
68535         * rt/aio_write.c: Likewise.
68536         * rt/clock_getres.c: Likewise.
68537         * rt/clock_gettime.c: Likewise.
68538         * rt/clock_nanosleep.c: Likewise.
68539         * rt/clock_settime.c: Likewise.
68540         * rt/lio_listio.c: Likewise.
68541         * rt/mq_close.c: Likewise.
68542         * rt/mq_getattr.c: Likewise.
68543         * rt/mq_notify.c: Likewise.
68544         * rt/mq_open.c: Likewise.
68545         * rt/mq_receive.c: Likewise.
68546         * rt/mq_send.c: Likewise.
68547         * rt/mq_setattr.c: Likewise.
68548         * rt/mq_timedreceive.c: Likewise.
68549         * rt/mq_timedsend.c: Likewise.
68550         * rt/mq_unlink.c: Likewise.
68551         * rt/shm_open.c: Likewise.
68552         * rt/shm_unlink.c: Likewise.
68553         * rt/timer_create.c: Likewise.
68554         * rt/timer_delete.c: Likewise.
68555         * rt/timer_getoverr.c: Likewise.
68556         * rt/timer_gettime.c: Likewise.
68557         * rt/timer_settime.c: Likewise.
68558         * setjmp/__longjmp.c: Likewise.
68559         * setjmp/setjmp.c: Likewise.
68560         * signal/kill.c: Likewise.
68561         * signal/killpg.c: Likewise.
68562         * signal/raise.c: Likewise.
68563         * signal/sigaction.c: Likewise.
68564         * signal/sigaltstack.c: Likewise.
68565         * signal/sigblock.c: Likewise.
68566         * signal/sigignore.c: Likewise.
68567         * signal/sigintr.c: Likewise.
68568         * signal/signal.c: Likewise.
68569         * signal/sigpause.c: Likewise.
68570         * signal/sigpending.c: Likewise.
68571         * signal/sigqueue.c: Likewise.
68572         * signal/sigreturn.c: Likewise.
68573         * signal/sigset.c: Likewise.
68574         * signal/sigsetmask.c: Likewise.
68575         * signal/sigstack.c: Likewise.
68576         * signal/sigsuspend.c: Likewise.
68577         * signal/sigtimedwait.c: Likewise.
68578         * signal/sigvec.c: Likewise.
68579         * signal/sigwait.c: Likewise.
68580         * signal/sigwaitinfo.c: Likewise.
68581         * signal/sysv_signal.c: Likewise.
68582         * socket/accept.c: Likewise.
68583         * socket/accept4.c: Likewise.
68584         * socket/bind.c: Likewise.
68585         * socket/connect.c: Likewise.
68586         * socket/getpeername.c: Likewise.
68587         * socket/getsockname.c: Likewise.
68588         * socket/getsockopt.c: Likewise.
68589         * socket/isfdtype.c: Likewise.
68590         * socket/listen.c: Likewise.
68591         * socket/recv.c: Likewise.
68592         * socket/recvfrom.c: Likewise.
68593         * socket/recvmsg.c: Likewise.
68594         * socket/send.c: Likewise.
68595         * socket/sendmsg.c: Likewise.
68596         * socket/sendto.c: Likewise.
68597         * socket/setsockopt.c: Likewise.
68598         * socket/shutdown.c: Likewise.
68599         * socket/sockatmark.c: Likewise.
68600         * socket/socket.c: Likewise.
68601         * socket/socketpair.c: Likewise.
68602         * stdio-common/ctermid.c: Likewise.
68603         * stdio-common/cuserid.c: Likewise.
68604         * stdio-common/remove.c: Likewise.
68605         * stdio-common/rename.c: Likewise.
68606         * stdio-common/renameat.c: Likewise.
68607         * stdio-common/tempname.c: Likewise.
68608         * stdlib/getcontext.c: Likewise.
68609         * stdlib/makecontext.c: Likewise.
68610         * stdlib/setcontext.c: Likewise.
68611         * stdlib/swapcontext.c: Likewise.
68612         * stdlib/system.c: Likewise.
68613         * streams/fattach.c: Likewise.
68614         * streams/fdetach.c: Likewise.
68615         * streams/getmsg.c: Likewise.
68616         * streams/getpmsg.c: Likewise.
68617         * streams/putmsg.c: Likewise.
68618         * streams/putpmsg.c: Likewise.
68619         * sysdeps/unix/bsd/getpt.c: Likewise.
68620         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
68621         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
68622         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
68623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68624         Likewise.
68625         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
68626         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68627         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
68628         * sysvipc/msgctl.c: Likewise.
68629         * sysvipc/msgget.c: Likewise.
68630         * sysvipc/msgrcv.c: Likewise.
68631         * sysvipc/msgsnd.c: Likewise.
68632         * sysvipc/semctl.c: Likewise.
68633         * sysvipc/semget.c: Likewise.
68634         * sysvipc/semop.c: Likewise.
68635         * sysvipc/semtimedop.c: Likewise.
68636         * sysvipc/shmat.c: Likewise.
68637         * sysvipc/shmctl.c: Likewise.
68638         * sysvipc/shmdt.c: Likewise.
68639         * sysvipc/shmget.c: Likewise.
68640         * termios/tcdrain.c: Likewise.
68641         * termios/tcflow.c: Likewise.
68642         * termios/tcflush.c: Likewise.
68643         * termios/tcgetattr.c: Likewise.
68644         * termios/tcgetpgrp.c: Likewise.
68645         * termios/tcsendbrk.c: Likewise.
68646         * termios/tcsetattr.c: Likewise.
68647         * termios/tcsetpgrp.c: Likewise.
68648         * time/adjtime.c: Likewise.
68649         * time/clock.c: Likewise.
68650         * time/getitimer.c: Likewise.
68651         * time/gettimeofday.c: Likewise.
68652         * time/setitimer.c: Likewise.
68653         * time/settimeofday.c: Likewise.
68654         * time/stime.c: Likewise.
68655         * time/time.c: Likewise.
68657 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
68659         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
68660         /usr/old/bin.
68662         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
68663         instead of spaces.
68664         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
68666 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
68668         [BZ #14796]
68669         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
68670         FE_TONEAREST before applying Dekker multiplication and Knuth
68671         addition.  Clear inexact exceptions and check for exact zero
68672         results afterwards.
68673         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68674         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68675         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68676         * math/libm-test.inc (fma_test): Add more tests.
68677         (fma_test_towardzero): Likewise.
68678         (fma_test_downward): Likewise.
68679         (fma_test_upward): Likewise.
68680         * sysdeps/generic/math_private.h (default_libc_fesetround): New
68681         function.
68682         (libc_fesetround): New macro.
68683         (libc_fesetroundf): Likewise.
68684         (libc_fesetroundl): Likewise.
68685         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
68686         function.
68687         (libc_fesetround_387): Likewise.
68688         (libc_fesetroundf): New macro.
68689         (libc_fesetround): Likewise.
68690         (libc_fesetroundl): Likewise.
68691         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
68692         function.
68693         (libc_fesetroundf): New macro.
68694         (libc_fesetround): Likewise.
68695         (libc_fesetroundl): Likewise.
68696         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
68697         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
68698         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
68699         libm_hidden_ver.
68700         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
68701         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
68702         libm_hidden_def.
68703         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
68704         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
68705         libm_hidden_ver.
68706         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
68707         libm_hidden_def.
68709         [BZ #3439]
68710         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
68711         integer constant usable in #if and use that to give value to enum
68712         constant.
68713         (FE_DIVBYZERO): Likewise.
68714         (FE_UNDERFLOW): Likewise.
68715         (FE_OVERFLOW): Likewise.
68716         (FE_INVALID): Likewise.
68717         (FE_INVALID_SNAN): Likewise.
68718         (FE_INVALID_ISI): Likewise.
68719         (FE_INVALID_IDI): Likewise.
68720         (FE_INVALID_ZDZ): Likewise.
68721         (FE_INVALID_IMZ): Likewise.
68722         (FE_INVALID_COMPARE): Likewise.
68723         (FE_INVALID_SOFTWARE): Likewise.
68724         (FE_INVALID_SQRT): Likewise.
68725         (FE_INVALID_INTEGER_CONVERSION): Likewise.
68726         (FE_TONEAREST): Likewise.
68727         (FE_TOWARDZERO): Likewise.
68728         (FE_UPWARD): Likewise.
68729         (FE_DOWNWARD): Likewise.
68730         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
68731         (FE_DIVBYZERO): Likewise.
68732         (FE_OVERFLOW): Likewise.
68733         (FE_UNDERFLOW): Likewise.
68734         (FE_INEXACT): Likewise.
68735         (FE_TONEAREST): Likewise.
68736         (FE_DOWNWARD): Likewise.
68737         (FE_UPWARD): Likewise.
68738         (FE_TOWARDZERO): Likewise.
68739         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
68740         (FE_UNDERFLOW): Likewise.
68741         (FE_OVERFLOW): Likewise.
68742         (FE_DIVBYZERO): Likewise.
68743         (FE_INVALID): Likewise.
68744         (FE_TONEAREST): Likewise.
68745         (FE_TOWARDZERO): Likewise.
68746         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
68747         (FE_OVERFLOW): Likewise.
68748         (FE_UNDERFLOW): Likewise.
68749         (FE_DIVBYZERO): Likewise.
68750         (FE_INEXACT): Likewise.
68751         (FE_TONEAREST): Likewise.
68752         (FE_TOWARDZERO): Likewise.
68753         (FE_UPWARD): Likewise.
68754         (FE_DOWNWARD): Likewise.
68755         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
68756         (FE_DIVBYZERO): Likewise.
68757         (FE_OVERFLOW): Likewise.
68758         (FE_UNDERFLOW): Likewise.
68759         (FE_INEXACT): Likewise.
68760         (FE_TONEAREST): Likewise.
68761         (FE_DOWNWARD): Likewise.
68762         (FE_UPWARD): Likewise.
68763         (FE_TOWARDZERO): Likewise.
68765 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
68767         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
68769 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
68771         * scripts/cross-test-ssh.sh (command): Use newlines to separate
68772         commands.  Quote $PWD.
68773         (blacklist_exports): Don't use remove_newlines.  Replace "declare
68774         -x" by "export".
68775         (remove_newlines): Remove.
68777 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
68779         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
68780         * stdlib/stdlib.h (atof): Moved to ...
68781         * include/bits/stdlib-float.h: Here.  New file.
68782         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
68783         * stdlib/bits/stdlib-float.h: New file.
68784         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
68785         -mno-sse -mno-mmx.
68786         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
68787         <xmmintrin.h>.
68789 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68791         * conform/conformtest.pl (@headers): Add fenv.h.
68792         * conform/data/fenv.h-data: New file.
68793         * include/fenv.h [_ISOMAC]: Disable all contents of file except
68794         include of <math/fenv.h>.
68796         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
68797         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
68798         && !UNIX98].  Enables tests for XOPEN2K8.
68799         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
68800         POSIX2008]: Likewise.
68802         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
68803         (struct rusage): Do not expect type or its members.
68805         [BZ #3439]
68806         * math/math.h (FP_NAN): Define macro to integer constant usable in
68807         #if and use that to give value to enum constant.
68808         (FP_INFINITE): Likewise.
68809         (FP_ZERO): Likewise.
68810         (FP_SUBNORMAL): Likewise.
68811         (FP_NORMAL): Likewise.
68813 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
68815         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
68816         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
68817         arguments.
68819 2012-11-02  Roland McGrath  <roland@hack.frob.com>
68821         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
68822         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
68823         autoconf-time if not.
68824         * configure.in: Remove AC_PREREQ.
68826 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68828         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
68829         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
68830         of the internal implementation.
68832 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68834         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
68835         except include of <misc/sys/syslog.h>.
68837 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
68840         function returns with a NULL context exit with zero.
68842 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68844         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
68846 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
68848         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
68849         (run_program_cmd): This.
68850         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
68851         (tst_langinfo): New variable.  Use it.
68853 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
68855         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
68856         floating point opcodes.
68858 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68860         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
68861         variable.
68863         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
68865         * sysdeps/mach/hurd/powerpc: Remove directory.
68866         * sysdeps/mach/powerpc: Likewise.
68868 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68870         * scripts/check-local-headers.sh: Ignore c++ headers.
68872 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68874         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
68875         __libc_cleanup_region_start argument.
68877 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
68879         [BZ #14784]
68880         [BZ #14785]
68881         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
68882         x * y using scaling, not as x * y + z.
68883         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68884         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68885         * math/libm-test.inc (fma_test): Add more tests.
68886         (fma_test_towardzero): Likewise.
68887         (fma_test_downward): Likewise.
68888         (fma_test_upward): Likewise.
68890 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68892         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
68894 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68896         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
68897         New variable.
68899 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
68901         * rt/tst-shm.c (worker): Correct checking for mmap failure.
68903 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68906         Fix sort order.
68907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68908         Likewise.
68910 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68913         Fix the order of the list for glibc 2.17.
68914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68915         Likewise.
68917 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68921 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68923         [BZ #14610]
68924         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
68925         for low part of x being zero before using __atanl (y).
68926         * math/libm-test.inc (atan2_test): Add another test.
68928         * manual/install.texi (Configuring and compiling): Document
68929         general use of test-wrapper and test-wrapper-env.
68930         * INSTALL: Regenerated.
68932         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
68933         (__fma): Do not extract and scale down low bits on after-rounding
68934         systems when result rounded to normal precision would have normal
68935         exponent.
68936         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
68937         (__fmal): Do not extract and scale down low bits on after-rounding
68938         systems when result rounded to normal precision would have normal
68939         exponent.
68940         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
68941         (__fmal): Do not extract and scale down low bits on after-rounding
68942         systems when result rounded to normal precision would have normal
68943         exponent.
68944         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
68945         macro.
68946         (fma_test): Add more tests.
68947         (fma_test_towardzero): Likewise.
68948         (fma_test_downward): Likewise.
68949         (fma_test_upward): Likewise.
68951 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
68953         * sysdeps/i386/tininess.h: Renamed to ...
68954         * sysdeps/x86/tininess.h: This.
68955         * sysdeps/x86_64/tininess.h: Removed.
68957 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68959         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
68960         input.  Use $(build-program-cmd).
68961         ($(objpfx)tst-array1-static.out): Likewise.
68962         ($(objpfx)tst-array2.out): Likewise.
68963         ($(objpfx)tst-array3.out): Likewise.
68964         ($(objpfx)tst-array4.out): Likewise.
68965         ($(objpfx)tst-array5.out): Likewise.
68966         ($(objpfx)tst-array5-static.out): Likewise.
68968 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
68970         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
68971         if defined.
68973         * nss/nsswitch.h (nss_interface_function): Provide new
68974         macro for use with NSS functions.
68975         * grp/initgroups.c: Use new macro.
68976         * nss/getXXbyYY.c: Likewise.
68977         * nss/getXXbyYY_r.c: Likewise.
68978         * nss/getXXent.c: Likewise.
68979         * nss/getXXent_r.c: Likewise.
68980         * sysdeps/posix/getaddrinfo.c: Likewise.
68982 2012-10-30  Andreas Jaeger  <aj@suse.de>
68984         * po/ru.po: Update Russion translation from translation project.
68986 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68988         [BZ #14152]
68989         [BZ #14783]
68990         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
68991         result and shift together with sticky bit instead of replicating
68992         round-to-nearest rounding.
68993         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68994         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68995         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
68996         missing underflow exceptions.
68997         (fma_test_towardzero): Add more tests.
68998         (fma_test_downward): Likewise.
68999         (fma_test_upward): Likewise.
69001         [BZ #14047]
69002         * sysdeps/generic/tininess.h: New file.
69003         * sysdeps/i386/tininess.h: Likewise.
69004         * sysdeps/sh/tininess.h: Likewise.
69005         * sysdeps/x86_64/tininess.h: Likewise.
69006         * stdlib/tst-strtod-underflow.c: Likewise.
69007         * stdlib/tst-tininess.c: Likewise.
69008         * stdlib/strtod_l.c: Include <tininess.h>.
69009         (round_and_return): Do not set errno for exact underflow cases.
69010         Force an underflow exception when setting errno for underflow.
69011         Determine underflow based on rounding to normal precision if
69012         TININESS_AFTER_ROUNDING.
69013         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
69014         ERANGE for exact underflow cases.
69015         * stdlib/Makefile (tests): Add tst-tininess and
69016         tst-strtod-underflow.
69017         ($(objpfx)tst-tininess): Use $(link-libm).
69018         ($(objpfx)tst-strtod-underflow): Likewise.
69020 2012-10-30  Andreas Jaeger  <aj@suse.de>
69022         [BZ #14767]
69023         * elf/Makefile (tests): Remove conditional for have-initfini-array
69024         since this is now always required and the variable does not exist
69025         anymore.
69026         (tests-static): Likewise.
69027         (modules-names): Likewise.
69029         * po/eo.po: Add Esperanto translation from translation project.
69031         * elf/tst-array1.c (fini_array): Make writeable so that it can be
69032         merged with constructor/destructor.
69033         (init_array): Likewise.
69034         * elf/tst-array2dep.c (fini_array): Likewise.
69035         (init_array): Likewise.
69037 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
69039         * manual/message.texi: Delete @cartouche tags.
69041 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
69043         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
69044         EOPNOTSUPP.
69045         * sysdeps/mach/hurd/fsync.c: Likewise.
69047         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
69048         [_POSIX_REALTIME_SIGNALS]: Change condition to
69049         [_POSIX_REALTIME_SIGNALS > 0].
69051 2012-10-27  Andreas Jaeger  <aj@suse.de>
69053         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
69054         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
69055         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
69056         [__WORDSIZE != 64]: Likewise.
69058 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
69060         *  iconvdata/tst-table.sh: Remove ${SHELL}.
69061         *  iconvdata/tst-tables.sh: Likewise.
69063 2012-10-25  David S. Miller  <davem@davemloft.net>
69065         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69066         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
69067         of strtoull.
69069         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
69070         ifunc-impl-list.c
69071         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69072         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
69073         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
69074         file.
69076 2012-10-25  Roland McGrath  <roland@hack.frob.com>
69078         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69079         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
69080         __getdirentries.
69082 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69083             Jim Blandy  <jimb@codesourcery.com>
69085         * scripts/cross-test-ssh.sh: New file.
69086         * manual/install.texi (Configuring and compiling): Document use of
69087         cross-test-ssh.sh.
69088         * INSTALL: Regenerated.
69090 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
69092         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
69093         EOPNOTSUPP.
69095 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69097         * Makeconfig (run-program-prefix): Fix comment.
69099 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69100             Jim Blandy  <jimb@codesourcery.com>
69102         * Makeconfig (test-wrapper): New variable,
69103         (test-wrapper-env): Likewise.
69104         [$(cross-compiling) = yes && $(test-wrapper) != ""]
69105         (run-built-tests): Define to yes.
69106         (run-program-prefix): Use $(test-wrapper).
69107         (built-program-cmd): Likewise.
69108         * Rules (make-test-out): Use $(test-wrapper-env) and
69109         $(host-built-program-cmd).
69110         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
69111         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
69112         tst-pathopt.sh.
69113         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
69114         $(test-wrapper-env) to tst-rtld-load-self.sh.
69115         ($(objpfx)order2.out): Use $(test-wrapper).
69116         ($(objpfx)tst-initorder.out): Likewise.
69117         ($(objpfx)tst-initorder2.out): Likewise.
69118         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
69119         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
69120         (test_wrapper_env): New variable.  Use it to run ld.so.
69121         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
69122         Use it to run ld.so.
69123         (test_wrapper_env): Likewise.
69124         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
69125         $(test-wrapper) to run-iconv-test.sh.
69126         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
69127         (ICONV): Use $test_wrapper.
69128         * posix/Makefile ($(objpfx)globtest.out): Pass
69129         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
69130         globtest.sh, not $(run-program-prefix).
69131         * posix/globtest.sh (run_via_rtld_prefix): New variable.
69132         (test_wrapper): Likewise.
69133         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
69134         set together with run_via_rtld_prefix.
69135         (run_program_prefix): Define in terms of test_wrapper and
69136         run_via_rtld_prefix.
69138 2012-10-24  Roland McGrath  <roland@hack.frob.com>
69140         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
69141         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
69142         Targets removed.
69144         [BZ #14743]
69145         * include/time.h: Remove librt_hidden_proto (clock_gettime).
69146         Declare __clock_getres, __clock_gettime, __clock_settime,
69147         __clock_nanosleep, and __clock_getcpuclockid.
69148         * rt/clock_gettime.c: Define __clock_gettime as an alias.
69149         Remove librt_hidden_def (clock_gettime).
69150         * sysdeps/unix/clock_gettime.c: Likewise.
69151         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
69152         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
69153         * rt/clock_getres.c: Define __clock_getres as an alias.
69154         * sysdeps/posix/clock_getres.c: Likewise.
69155         * rt/clock_settime.c: Define __clock_settime as an alias.
69156         * sysdeps/unix/clock_settime.c: Likewise.
69157         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
69158         * sysdeps/unix/clock_nanosleep.c: Likewise.
69159         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
69160         * rt/clock-compat.c: New file.
69161         * rt/Makefile (librt-routines): Add clock-compat and move
69162         $(clock-routines) to ...
69163         (routines): ... here, new variable.
69164         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
69165         Don't add get_clockfreq here.
69166         * rt/Versions (libc: GLIBC_2.17): New version set.
69167         Add clock_* symbols here.
69168         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
69169         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
69170         (GLIBC_2.17): Add clock_* symbols.
69171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69173         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69175         Likewise.
69176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69177         Likewise.
69178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69182         * NEWS: Mention the move.
69184         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
69185         Use __open, __read, __close rather than their public counterparts.
69186         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69187         (__get_clockfreq_via_cpuinfo): Likewise.
69188         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
69189         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
69191         * config.h.in (HAVE_IFUNC): New #undef.
69192         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
69193         was successful.
69194         * configure: Regenerated.
69196 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69198         * configure.in: Move READELF check to start of file.
69199         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
69200         libc_cv_asm_gnu_indirect_function in the process.
69201         * configure: Regenerated.
69203 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69205         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
69206         send the output to /dev/null.
69207         (libc_cv_cc_with_libunwind): Likewise.
69208         (libc_cv_as_noexecstack): Likewise.
69209         * configure: Regenerate.
69211 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69213         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
69215         * posix/globtest.sh (TMPDIR): Do not set.
69216         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
69217         (testout): Likewise.
69219 2012-10-24  Andreas Jaeger  <aj@suse.de>
69221         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
69222         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
69223         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
69224         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
69225         posix_fadvise64, posix_fallocate64.
69227         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
69228         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
69229         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
69230         Likewise.
69231         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
69232         Likewise.
69233         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
69235         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
69236         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
69237         <bits/fcntl-linux.h>.
69238         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
69240         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
69241         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
69242         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
69243         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
69244         [__WORDSIZE != 64]: Likewise.
69246 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69248         * Makeconfig (run-built-tests): New variable.
69249         * Rules [$(cross-compiling) = yes]: Change condition to
69250         [$(run-built-tests) = no].
69251         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
69252         to [$(run-built-tests) = yes].
69253         * elf/Makefile [$(cross-compiling) = no]: Likewise.
69254         * grp/Makefile [$(cross-compiling) = no]: Likewise.
69255         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
69256         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
69257         * intl/Makefile [$(cross-compiling) = no]: Likewise.
69258         * io/Makefile [$(cross-compiling) = no]: Likewise.
69259         * libio/Makefile [$(cross-compiling) = no]: Likewise.
69260         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
69261         * misc/Makefile [$(cross-compiling) = no]: Likewise.
69262         * posix/Makefile [$(cross-compiling) = no]: Likewise.
69263         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
69264         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
69265         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
69266         * string/Makefile [$(cross-compiling) = no]: Likewise.
69268         * posix/Makefile ($(objpfx)globtest.out): Pass
69269         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
69270         $(rtld-installed-name).
69271         * posix/globtest.sh (elf_objpfx): Remove variable.
69272         (rtld_installed_name): Likewise.
69273         (library_path): Likewise.
69274         (run_program_prefix): New variable.  Use for running globtest
69275         binary.
69277 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
69278             Joseph Myers  <joseph@codesourcery.com>
69280         * Makeconfig (host-built-program-cmd): New variable.
69281         * elf/Makefile (tst-stackguard1-ARGS): Use
69282         $(host-built-program-cmd).
69283         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
69284         (tst-spawn-ARGS): Likewise.
69285         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
69287 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69288             Jim Blandy  <jimb@codesourcery.com>
69290         * Makeconfig (run-via-rtld-prefix): New variable.
69291         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
69292         (built-program-cmd): Likewise.
69294 2012-10-22  Andreas Jaeger  <aj@suse.de>
69296         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
69297         __O_RSYNC if it exists, otherwise to O_SYNC.
69299 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
69300             Joseph Myers  <joseph@codesourcery.com>
69302         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
69303         /dev/null.
69304         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
69305         from /dev/null
69306         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
69307         /dev/null.
69309 2012-10-22  Andreas Jaeger  <aj@suse.de>
69311         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
69312         Define always.
69313         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
69315         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69316         bits/fcntl-linux.h.
69318         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
69319         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
69321         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
69322         to __O_LARGEFILE.
69323         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
69324         to __O_LARGEFILE.
69326 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
69327             Joseph Myers  <joseph@codesourcery.com>
69329         * config.make.in (NM): New variable.
69331 2012-10-21  Andreas Jaeger  <aj@suse.de>
69333         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
69334         definitions and declarations that are provided by
69335         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
69337 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69339         [BZ #14683]
69340         * elf/Makefile (tests-static): Add tst-leaks1-static.
69341         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
69342         ($(objpfx)tst-leaks1-static): New rule.
69343         ($(objpfx)tst-leaks1-static-mem): Likewise.
69344         (tst-leaks1-static-ENV): New macro.
69345         * elf/dl-open.c (dl_open_worker): Check the main application
69346         only if SHARED is defined.
69347         * elf/tst-leaks1-static.c: New file.
69349 2012-10-20  Andreas Jaeger  <aj@suse.de>
69351         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
69352         generic values for Linux.
69353         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
69354         and declarations that are provided by <bits/fcntl-linux.h> and
69355         include <bits/fcntl-linux.h>.
69356         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69357         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69359 2012-10-20  Roland McGrath  <roland@hack.frob.com>
69361         * io/fcntl.h: Move include of <bits/types.h> to the top and
69362         include it unconditionally.
69364 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69366         * wcsmbs/Makefile (tests-ifunc): New variable.
69367         (tests): Add $(tests-ifunc).
69368         * wcsmbs/test-wcschr-ifunc.c: New file.
69369         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
69370         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
69371         * wcsmbs/test-wcslen-ifunc.c: Likewise.
69372         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
69373         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
69375         * string/Makefile (tests-ifunc): New variable.
69376         (tests): Add $(tests-ifunc).
69377         * string/test-memccpy.c (TEST_NAME): New macro.
69378         * string/test-memchr.c (TEST_NAME): Likewise.
69379         * string/test-memcmp.c (TEST_NAME): Likewise.
69380         * string/test-memcpy.c (TEST_NAME): Likewise.
69381         * string/test-memmem.c (TEST_NAME): Likewise.
69382         * string/test-memmove.c (TEST_NAME): Likewise.
69383         * string/test-memset.c (TEST_NAME): Likewise.
69384         * string/test-rawmemchr.c (TEST_NAME): Likewise.
69385         * string/test-stpcpy.c (TEST_NAME): Likewise.
69386         * string/test-stpncpy.c (TEST_NAME): Likewise.
69387         * string/test-strcasecmp.c (TEST_NAME): Likewise.
69388         * string/test-strcasestr.c (TEST_NAME): Likewise.
69389         * string/test-strcat.c (TEST_NAME): Likewise.
69390         * string/test-strchr.c (TEST_NAME): Likewise.
69391         * string/test-strcmp.c(TEST_NAME): Likewise.
69392         * string/test-strcpy.c (TEST_NAME): Likewise.
69393         * string/test-strcspn.c (TEST_NAME): Likewise.
69394         * string/test-strlen.c (TEST_NAME): Likewise.
69395         * string/test-strncasecmp.c (TEST_NAME): Likewise.
69396         * string/test-strncmp.c (TEST_NAME): Likewise.
69397         * string/test-strncpy.c (TEST_NAME): Likewise.
69398         * string/test-strnlen.c (TEST_NAME): Likewise.
69399         * string/test-strpbrk.c (TEST_NAME): Likewise.
69400         * string/test-strrchr.c (TEST_NAME): Likewise.
69401         * string/test-strspn.c (TEST_NAME): Likewise.
69402         * string/test-strstr.c (TEST_NAME): Likewise.
69403         * string/test-bcopy-ifunc.c: New file.
69404         * string/test-bzero-ifunc.c: Likewise.
69405         * string/test-memccpy-ifunc.c: Likewise.
69406         * string/test-memchr-ifunc.c: Likewise.
69407         * string/test-memcmp-ifunc.c: Likewise.
69408         * string/test-memcpy-ifunc.c: Likewise.
69409         * string/test-memmem-ifunc.c: Likewise.
69410         * string/test-memmove-ifunc.c: Likewise.
69411         * string/test-mempcpy-ifunc.c: Likewise.
69412         * string/test-memset-ifunc.c: Likewise.
69413         * string/test-rawmemchr-ifunc.c: Likewise.
69414         * string/test-stpcpy-ifunc.c: Likewise.
69415         * string/test-stpncpy-ifunc.c: Likewise.
69416         * string/test-strcasecmp-ifunc.c: Likewise.
69417         * string/test-strcasestr-ifunc.c: Likewise.
69418         * string/test-strcat-ifunc.c: Likewise.
69419         * string/test-strchr-ifunc.c: Likewise.
69420         * string/test-strchrnul-ifunc.c: Likewise.
69421         * string/test-strcmp-ifunc.c: Likewise.
69422         * string/test-strcpy-ifunc.c: Likewise.
69423         * string/test-strcspn-ifunc.c: Likewise.
69424         * string/test-strlen-ifunc.c: Likewise.
69425         * string/test-strncasecmp-ifunc.c: Likewise.
69426         * string/test-strncat-ifunc.c: Likewise.
69427         * string/test-strncmp-ifunc.c: Likewise.
69428         * string/test-strncpy-ifunc.c: Likewise.
69429         * string/test-strnlen-ifunc.c: Likewise.
69430         * string/test-strpbrk-ifunc.c: Likewise.
69431         * string/test-strrchr-ifunc.c: Likewise.
69432         * string/test-strspn-ifunc.c: Likewise.
69433         * string/test-strstr-ifunc.c: Likewise.
69435         * debug/Makefile (tests-ifunc): New variable.
69436         (tests): Add $(tests-ifunc).
69437         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
69438         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
69439         * debug/test-stpcpy_chk-ifunc.c: New file.
69440         * debug/test-strcpy_chk-ifunc.c: Likewise.
69442 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69444         [BZ #13601]
69445         * elf/dl-load.c (open_verify): Retry read if the entire ELF
69446         header is not read in.
69448 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
69450         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
69451         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
69452         directly.  Pass built executable to script as
69453         $(built-program-cmd).
69454         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
69455         $testprogram without using LD_LIBRARY_PATH and $ldso.
69457         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
69458         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
69459         $(rtld-installed-name).
69460         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
69461         (rtld_installed_name): Likewise.
69462         (library_path): Likewise.
69463         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
69464         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
69465         $(run-program-prefix) to tst-tables.sh.
69466         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
69467         it to run tst-table-from and tst-table-to.
69468         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
69469         Pass it to tst-table.sh.
69470         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
69471         $(run-program-prefix) to tst-gettext.sh.
69472         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
69473         tst-translit.sh.
69474         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
69475         tst-gettext2.sh.
69476         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
69477         to run tst-gettext.
69478         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
69479         to run tst-gettext2.
69480         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
69481         to run tst-translit.
69482         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
69483         $(run-program-prefix) to tst-mtrace.sh.
69484         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
69485         to run tst-mtrace.
69486         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
69487         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
69488         $(rtld-installed-name).
69489         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
69490         (rtld_installed_name): Likewise.
69491         (run_program_prefix): New variable.  Use it to run wordexp-test.
69493         * Makeconfig (ARCH): Remove all definitions.
69494         (machine): Likewise.
69495         [ARCH]: Remove conditional code.
69496         [!objdir]: Give error.
69497         [!objdir] (objpfx): Remove.
69498         [!objdir] (common-objpfx): Likewise.
69499         [!objdir] (common-objdir): Likewise.
69500         * configure.in (config_makefile): Remove.  Hardcode Makefile in
69501         AC_CONFIG_FILES call.
69502         * configure: Regenerated.
69504         [BZ #13888]
69505         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
69506         or TMPDIR.
69507         (testout): Likewise.
69509         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
69510         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
69511         $(rtld-installed-name).
69512         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
69513         (rtld_installed_name): Likewise.
69514         (runit): Remove function.
69515         (run_getconf): New variable,  Use it for running getconf binary.
69517 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
69519         [BZ #14716]
69520         * string/test-memmem.c (check_result): New function.
69521         (do_one_test): Use it.
69522         (check1): New function.
69523         (test_main): Use it.
69525 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
69527         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
69529 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
69531         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
69532         (_G_LSEEK64): Likewise.
69533         (_G_MMAP64): Likewise.
69534         (_G_FSTAT64): Likewise.
69535         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
69536         (_G_LSEEK64): Likewise.
69537         (_G_MMAP64): Likewise.
69538         (_G_FSTAT64): Likewise.
69539         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
69540         unconditional.  Call __mmap64 directly.
69541         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
69542         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
69543         __lseek64 directly.
69544         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
69545         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
69546         __mmap64 directly.
69547         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
69548         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69549         __lseek64 directly.
69550         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
69551         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69552         __lseek64 directly.
69553         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
69554         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
69555         __lseek64 directly.
69556         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
69557         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
69558         __fxstat64 directly.
69559         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
69560         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
69561         unconditional.
69562         (freopen64) [!_G_OPEN64]: Remove conditional code.
69563         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
69564         unconditional.
69565         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
69566         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
69567         unconditional.
69568         (ftello64) [!_G_LSEEK64]: Remove conditional code.
69569         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
69570         unconditional.
69571         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69572         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
69573         unconditional.
69574         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
69575         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
69576         unconditional.
69577         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69578         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
69579         unconditional.
69580         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69581         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
69582         unconditional.
69583         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69585 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69587         [BZ #12140]
69588         * manual/memory.texi (Malloc Tunable Parameters): Add note
69589         about free list pointers overwriting some perturb bytes.
69590         Wording suggested by Roland McGrath.
69592 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
69594         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
69595         (lgamma_test): Likewise.
69596         (tgamma_test): Likewise.
69598 2012-10-16  Florian Weimer  <fweimer@redhat.com>
69600         [BZ #14700]
69601         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
69602         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
69604 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
69606         * NEWS: Mention BZ #14716.
69607         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
69608         when removing AVAILABLE1_USES_J macro.
69610 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
69612         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
69613         (__bswap_64): __uint64_t for unsigned 64-bit int.
69615 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
69617         * include/string.h (memmem): Declare libc hidden alias.
69618         * string/memmem.c (memmem): Define libc hidden alias.
69619         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
69620         __read, __close instead of open, read, close.
69622 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
69624         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
69625         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
69626         global and hidden.
69627         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
69628         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
69629         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
69630         Likewise.
69631         (__rawmemchr_sse2): Likewise.
69632         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
69633         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
69634         (__strchr_sse2): Likewise.
69635         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
69636         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
69637         (__strcasecmp_sse2): Likewise.
69638         (__strncasecmp_sse2): Likewise.
69639         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
69640         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
69641         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
69642         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
69643         (__strrchr_sse2): Likewise.
69644         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
69645         ifunc-impl-list.c.
69646         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
69647         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
69648         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
69649         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69650         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
69651         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
69652         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69653         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69654         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
69655         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
69656         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
69657         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
69658         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
69659         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
69660         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
69661         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
69662         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
69663         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
69664         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
69665         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
69666         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
69667         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
69668         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
69669         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69670         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
69671         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69672         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
69673         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69674         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
69675         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
69677         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
69678         global and hidden.
69679         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
69680         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
69681         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
69682         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
69683         Likewise.
69684         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
69685         Likewise.
69686         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
69687         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
69688         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
69689         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
69690         ifunc-impl-list.c.
69691         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69692         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69693         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69694         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69695         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69696         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69697         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69698         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69699         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69700         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69701         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69702         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69703         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69704         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
69705         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
69706         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69707         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
69708         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
69709         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69710         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69711         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69712         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69713         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69714         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69715         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69716         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
69717         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
69718         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
69719         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
69720         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69721         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
69722         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69723         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69724         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
69725         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69726         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69727         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69728         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69729         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69730         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69731         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
69733         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
69734         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
69735         * include/ifunc-impl-list.h: New file.
69736         * misc/ifunc-impl-list.c: Likewise.
69737         * misc/Makefile (routines): Add ifunc-impl-list.
69738         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
69739         * string/test-string.h: Include <ifunc-impl-list.h>.
69740         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
69741         TEST_NAME]: New variables.
69742         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
69743         are defined.
69744         (test_init): Call __libc_ifunc_impl_list to initialize
69745         func_list if TEST_IFUNC and TEST_NAME are defined.
69747         * string/Makefile (strop-tests): Add bcopy and bzero.
69748         * string/test-bcopy.c: New file.
69749         * string/test-bzero.c: Likewise.
69750         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
69751         defined.
69752         * string/test-memset.c: Support bzero test if TEST_BZERO is
69753         defined.
69754         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
69755         __libc_memmove.
69756         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
69757         __libc_memset.
69758         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
69759         of memset.
69761 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
69763         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
69764         * configure: Regenerated.
69766         * Makeconfig (+link-static-before-libc): Don't include
69767         $(link-static-libc).
69769         * libio/libio.h (_IO_pos_t): Remove.
69771 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69773         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
69774         McGrath.
69776 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69778         * crypt/crypt-entry.c: Include fips-private.h.
69779         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
69780         * crypt/md5c-test.c (main): Tolerate disabled MD5.
69781         * sysdeps/unix/sysv/linux/fips-private.h: New file.
69782         * sysdeps/generic/fips-private.h: New file, dummy fallback.
69784 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69786         * crypt/crypt-private.h: Include stdbool.h.
69787         (_ufc_setup_salt_r): Return bool.
69788         * crypt/crypt-entry.c: Include errno.h.
69789         (__crypt_r): Return NULL with EINVAL for bad salt.
69790         * crypt/crypt_util.c (bad_for_salt): New.
69791         (_ufc_setup_salt_r): Check that salt is long enough and within
69792         the specified alphabet.
69793         * crypt/badsalttest.c: New file.
69794         * crypt/Makefile (tests): Add it.
69795         ($(objpfx)badsalttest): New.
69797 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
69799         * NEWS: Add entry for BZ #14602.
69801 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69803         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
69804         type-generic.
69805         * math/libm-test.inc: Update comment listing what functions and
69806         macros are tested.
69807         (isgreater_test): New function.
69808         (isgreaterequal_test): Likewise.
69809         (isless_test): Likewise.
69810         (islessequal_test): Likewise.
69811         (islessgreater_test): Likewise.
69812         (isunordered_test): Likewise.
69813         (main): Call the new functions.
69815 2012-10-09  Roland McGrath  <roland@hack.frob.com>
69817         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
69818         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
69819         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
69820         * sysdeps/i386/configure: Regenerated.
69821         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
69822         * sysdeps/mach/configure: Regenerated.
69823         * sysdeps/mach/hurd/configure: Regenerated.
69824         * sysdeps/powerpc/configure: Regenerated.
69825         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69826         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69827         * sysdeps/s390/s390-32/configure: Regenerated.
69828         * sysdeps/s390/s390-64/configure: Regenerated.
69829         * sysdeps/sh/configure: Regenerated.
69830         * sysdeps/sparc/configure: Regenerated.
69831         * sysdeps/unix/sysv/linux/configure: Regenerated.
69832         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
69833         * sysdeps/x86_64/configure: Regenerated.
69835         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
69836         defined.  Don't check if MAP is NULL.
69838 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69840         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
69841         (_G_stat64): Likewise.
69842         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
69843         (_G_stat64): Likewise.
69844         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
69845         instead of struct _G_stat64.
69846         * libio/fileops.c (mmap_remap_check): Likewise.
69847         (decide_maybe_mmap): Likewise.
69848         (_IO_new_file_seekoff): Likewise.
69849         (_IO_file_stat): Likewise.
69850         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
69851         _G_off64_t.
69852         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
69853         instead of struct _G_stat64.
69854         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69856 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
69858         [BZ #14602]
69859         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69860         Replace with ...
69861         (CHECK_EOL): New macro.
69862         (two_way_short_needle): Check beginning of haystack for EOL.  Use
69863         CHECK_EOL.
69864         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69865         Replace with CHECK_EOL.
69866         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69867         Replace with CHECK_EOL.
69869 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
69871         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
69872         type-generic.
69873         * math/libm-test.inc: Update comment listing what functions and
69874         macros are tested.
69875         (finite_test): New function.
69876         (isinf_test): Likewise.
69877         (isnan_test): Likewise.
69878         (fpclassify_test): Test subnormal input.
69879         (isfinite_test): Likewise.
69880         (isnormal_test): Likewise.
69881         (main): Call the new functions.
69883 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
69885         [BZ #14660]
69886         * Makerules (%.dynsym): Force C locale when running
69887         $(OBJDUMP) --dynamic-syms.
69889 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
69891         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
69892         <stdint.h>.
69894 2012-10-06  David S. Miller  <davem@davemloft.net>
69896         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
69897         upper 32-bits of the length value in %o2 since we use branch-on-register
69898         tests which consider the entire 64-bit register.
69900 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
69902         * string/test-strstr.c (check2): Add a test for page boundary.
69904 2012-10-05  David S. Miller  <davem@davemloft.net>
69906         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
69907         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
69908         file.
69909         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69910         sysdep_routines.
69911         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69912         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
69913         and bzero when HWCAP_SPARC_CRYPTO is present.
69915 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
69917         [BZ #14602]
69918         * string/test-strstr.c (check2): New function.
69919         (test_main): Call check2.
69921         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
69922         and bug-strchr1.
69923         * string/bug-strcasestr1.c (do_test): Moved to ...
69924         * string/test-strcasestr.c (check1): Here.  New function.
69925         (do_one_test): Break out result checking code into ...
69926         (check_result): This.  New function.
69927         (do_one_test): Call check_result.
69928         (test_main): Call check1.
69929         * string/bug-strchr1.c (do_test): Moved to ...
69930         * string/test-strchr.c (check1): Here.  New function.
69931         (do_one_test): Break out result checking code into ...
69932         (check_result): This.  New function.
69933         (do_one_test): Call check_result.
69934         (test_main): Call check1.
69935         * string/bug-strstr1.c (main): Moved to ...
69936         * string/test-strstr.c (check1): Here.  New function.
69937         (do_one_test): Break out result checking code into ...
69938         (check_result): This.  New function.
69939         (do_one_test): Call check_result.
69940         (test_main): Call check1.
69941         * string/bug-strcasestr1.c: Removed.
69942         * string/bug-strchr1.c: Likewise.
69943         * string/bug-strstr1.c: Likewise.
69945         * elf/Makefile (dl-routines): Add hwcaps.
69946         * elf/dl-support.c (_dl_important_hwcaps): Removed.
69947         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
69948         (_dl_important_hwcaps): Moved to ...
69949         * elf/dl-hwcaps.c: Here.  New file.
69950         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
69952         [BZ #14557]
69953         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
69954         if IS_IN_rtld isn't defined.
69956         * elf/dl-support.c (_dl_sysinfo_map): New.
69957         Include "get-dynamic-info.h" and "setup-vdso.h".
69958         (_dl_non_dynamic_init): Call setup_vdso.
69959         * elf/dynamic-link.h: Don't include <assert.h>.
69960         (elf_get_dynamic_info): Moved to ...
69961         * elf/get-dynamic-info.h: Here.  New file.
69962         * elf/dynamic-link.h: Include "get-dynamic-info.h".
69963         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
69964         * elf/setup-vdso.h: Here.  New file.
69965         * elf/rtld.c: Include "setup-vdso.h".
69966         (dl_main): Call setup_vdso.
69968 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
69970         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
69971         creal in comment listing functions tested.  List finite, isinf,
69972         isnan, isless, islessequal, isgreater, isgreaterequal,
69973         islessgreater, isunordered, lgamma_r and pow10 as functions and
69974         macros not tested.  Mention which functions not tested are aliases
69975         for other functions.  Fix typo.  Note that signs of NaNs are not
69976         tested.
69978         * scripts/config.guess: Update from config.git.
69979         * scripts/config.sub: Likewise.
69981 2012-10-04  Roland McGrath  <roland@hack.frob.com>
69983         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
69984         * misc/madvise.c (madvise): Renamed to __madvise.
69985         Make madvise a weak alias.
69986         * include/sys/mman.h: Declare __madvise.
69987         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
69988         * sysdeps/unix/syscalls.list
69989         (madvise): Make __madvise the strong name, and madvise a weak alias.
69990         * sysdeps/unix/sysv/linux/syscalls.list
69991         (madvise, mmap): Remove redundant entries.
69992         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
69993         * malloc/malloc.c (mtrim): Likewise.
69994         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
69996 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69998         * sysdeps/mach/hurd/dl-cache.c: File removed.
69999         * config.h.in (USE_LDCONFIG): New #undef.
70000         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
70001         * configure: Regenerated.
70002         * elf/Makefile (dl-routines): Add dl-cache only under
70003         [$(use-ldconfig) = yes].
70004         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
70005         cache on [USE_LDCONFIG].
70006         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
70007         [USE_LDCONFIG].
70008         * elf/rtld.c (dl_main): Likewise.
70010 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
70012         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
70013         _SC_LEVEL4_CACHE_LINESIZE.
70015 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70017         * sysdeps/unix/bsd/confstr.h: File removed.
70019 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
70021         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
70022         sys/sdt-config.h.
70024 2012-10-02  Roland McGrath  <roland@hack.frob.com>
70026         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
70027         Make 'mapoff' field ElfW(Off) rather than off_t.
70029 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
70031         * nscd/Makefile: Remove nscd-cflags and all its users.
70032         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
70033         (CFLAGS-nonlib): Add compiler flags for nscd modules.
70035         [BZ #10631]
70036         * malloc.c (malloc_printerr): Clarify error message.
70038 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
70040         [BZ #14648]
70041         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70042         Set bit_FMA_Usable if FMA is supported.
70043         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
70044         macro.
70045         (bit_FMA4_Usable): Updated.
70046         (index_FMA_Usable): New macro.
70047         (CPUID_FMA): Likewise.
70048         (HAS_FMA): Defined with bit_FMA_Usable.
70050 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70052         * bits/types.h (__swblk_t): Type removed.
70053         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
70054         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
70055         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70056         (__SWBLK_T_TYPE): Likewise.
70057         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70058         (__SWBLK_T_TYPE): Likewise.
70059         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70060         (__SWBLK_T_TYPE): Likewise.
70061         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70062         (__SWBLK_T_TYPE): Likewise.
70064 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
70065             Honza Horak <hhorak@redhat.com>
70067         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
70068         (xdr_mapname): Use YPMAXMAP as maxsize.
70069         (xdr_peername): Use YPMAXPEER as maxsize.
70070         (xdr_keydat): Use YPAXRECORD as maxsize.
70071         (xdr_valdat): Use YPMAXRECORD as maxsize.
70073 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70075         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
70077         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
70078         * csu/init-first.c: ... here.
70079         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
70080         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
70081         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
70082         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
70083         * sysdeps/i386/init-first.c: File removed.
70084         * sysdeps/sh/init-first.c: File removed.
70086 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
70088         [BZ #14645]
70089         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
70090         if x * y might underflow to zero and z is zero.
70091         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70092         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70093         * math/libm-test.inc (min_subnorm_value): New variable.
70094         (fma_test): Add more tests.
70095         (fma_test_towardzero): Likewise.
70096         (fma_test_downward): Likewise.
70097         (fma_test_upward): Likewise.
70098         (initialize): Set min_subnorm_value.
70100 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
70102         [BZ #14638]
70103         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
70104         0 + 0.
70105         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
70106         mode for addition resulting in exact zero.
70107         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
70108         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
70109         exact 0 + 0.
70110         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
70111         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70112         * math/libm-test.inc (fma_test): Add more tests.
70113         (fma_test_towardzero): New function.
70114         (fma_test_downward): Likewise.
70115         (fma_test_upward): Likewise.
70116         (main): Call the new functions.
70118 2012-09-28  David S. Miller  <davem@davemloft.net>
70120         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
70122 2012-09-28  Roland McGrath  <roland@hack.frob.com>
70124         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
70125         instead of SIGALRM.
70127         * sysdeps/gnu/_G_config.h: Moved to ...
70128         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
70129         * sysdeps/mach/hurd/_G_config.h: Moved to ...
70130         * sysdeps/generic/_G_config.h: ... here.
70132         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
70134         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
70136         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
70137         Conditionalize target on [libnss_test1.so-version].
70139         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
70141         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
70142         (elfobjdir): Move out of conditionals.
70144         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
70145         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
70146         (__nss_lookup_function): Conditionalize label remove_from_tree on
70147         [!DO_STATIC_NSS || SHARED], matching its only use.
70149 2012-09-28  David S. Miller  <davem@davemloft.net>
70151         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
70152         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
70153         file.
70154         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70155         sysdep_routines.
70156         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70157         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
70158         when HWCAP_SPARC_CRYPTO is present.
70160 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70162         * io/tst-mknodat.c: Create a FIFO instead of a socket.
70164 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
70166         [BZ #6530]
70167         * stdio-common/vfprintf.c (process_string_arg): Revert
70168         2000-07-22 change.
70170 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
70172         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
70173         for testcase.
70174         * stdio-common/tst-sprintf.c: Include <locale.h>
70175         (main): Test sprintf's handling of incomplete multibyte
70176         characters.
70178 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
70180         * elf/dl-runtime.c (VERSYMIDX): Removed.
70181         * elf/dl-version.c (VERSYMIDX): Likewise.
70182         * elf/do-rel.h (VERSYMIDX): Likewise.
70183         (VALIDX): Likewise.
70184         * elf/dynamic-link.h (VERSYMIDX): Likewise.
70185         * elf/rtld.c (VALIDX): Likewise.
70186         (ADDRIDX): Likewise.
70187         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
70188         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
70189         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
70190         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
70191         (VALIDX): Likewise.
70192         (ADDRIDX): Likewise.
70194 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70196         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
70198 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
70200         [BZ #11438]
70201         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
70202         to global scope.
70203         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
70204         addresses are in the same scope as 192.0.2/24.
70205         * posix/gai.conf: Document new scope table defaults.
70207 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70209         [BZ #5298]
70210         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
70211         for ftell.  Compute offsets from write pointers instead.
70212         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70214 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70216         [BZ #14543]
70217         * libio/Makefile (tests): New test case tst-fseek.
70218         * libio/tst-fseek.c: New test case to verify that fseek/ftell
70219         combination works in wide mode.
70220         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
70221         state when the external buffer state changes.
70223 2012-09-27  David S. Miller  <davem@davemloft.net>
70225         [BZ #14376]
70226         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
70227         pass reloc->r_addend in as the 'high' argument to
70228         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
70230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70232 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70234         * rt/tst-aio2.c: Include <pthread.h>.
70235         * rt/tst-aio3.c: Likewise.
70237 2012-09-27  Steve Ellcey  <sellcey@mips.com>
70239         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
70241 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
70243         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
70244         contents on [SHARED].
70246 2012-09-26  Marek Polacek  <polacek@redhat.com>
70248         [BZ #14530]
70249         [BZ #13741]
70250         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
70251         for C++ and GCC <4.3 as well as for non GCC compilers.
70253 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
70255         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70257 2012-09-25  Roland McGrath  <roland@hack.frob.com>
70259         * Makefile.in (all, install): Declare with .PHONY.
70260         Reported by Michael Hope <michael.hope@linaro.org>.
70262 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70264         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
70265         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
70266         system header.
70267         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
70268         Likewise.
70269         (sydep_routines): Add the new and the internal functions.
70270         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
70271         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
70272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
70273         (GLIBC_2.17): Add the new function.
70274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
70275         (GLIBC_2.17): Likewise.
70276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
70277         (GLIBC_2.17): Likewise.
70278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
70279         (GLIBC_2.17): Likewise.
70280         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
70282 2012-09-25  Alan Modra  <amodra@gmail.com>
70284         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
70285         Add release barrier before setting once_control to say
70286         initialisation is done.  Add hints on lwarx.  Use macro in
70287         place of isync.
70288         (clear_once_control): Add release barrier.
70290 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70292         [BZ #13629]
70293         * math/s_clog.c (__clog): Handle more values close to |z| = 1
70294         specially.
70295         * math/s_clog10.c (__clog10): Likewise.
70296         * math/s_clog10f.c (__clog10f): Likewise.
70297         * math/s_clog10l.c (__clog10l): Likewise.
70298         * math/s_clogf.c (__clogf): Likewise.
70299         * math/s_clogl.c (__clogl): Likewise.
70300         * math/Makefile (libm-calls): Add x2y2m1.
70301         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
70302         (__x2y2m1): Likewise.
70303         (__x2y2m1l): Likewise.
70304         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
70305         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
70306         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
70307         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
70308         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
70309         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
70310         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
70311         * sysdeps/i386/fpu/libm-test-ulps: Update.
70312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70314         [BZ #14621]
70315         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
70316         int as type of variable DEPTH.
70317         (glob): Use size_t instead of int as type of variables NEWCOUNT
70318         and OLD_PATHC.
70320 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70322         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70323         Add s_sincosf-sse2.
70324         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
70325         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
70326         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
70327         macros for using routine as __sincosf_ia32.
70328         Use macro for function declaration and weak_alias.
70329         * sysdeps/i386/fpu/libm-test-ulps: Update.
70331         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
70332         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70334         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
70335         subnormal argument.
70336         * math/s_cexpf.c (__cexpf): Likewise.
70337         * math/s_csinf.c (__csinf): Likewise.
70338         * math/s_csinhf.c (__csinhf): Likewise.
70339         * math/s_ctanf.c (__ctanf): Likewise.
70340         * math/s_ctanhf.c (__ctanhf): Likewise.
70341         * math/s_ccosh.c (__ccoshf): Likewise.
70342         * math/s_cexp.c (__cexpl): Likewise.
70343         * math/s_csin.c (__csin): Likewise.
70344         * math/s_csinh.c (__csinh): Likewise.
70345         * math/s_ctan.c (__ctan): Likewise.
70346         * math/s_ctanh.c (ctanh): Likewise.
70347         * math/s_ccoshl.c (__ccoshl): Likewise.
70348         * math/s_cexpl.c (__cexpl): Likewise.
70349         * math/s_csinl.c (__csinl): Likewise.
70350         * math/s_csinhl.c (__csinhl): Likewise.
70351         * math/s_ctanl.c (__ctanl): Likewise.
70352         * math/s_ctanhl.c (__ctanhl): Likewise.
70354 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70356         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
70357         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
70358         (_IO_off_t): Define to __off_t, not _G_off_t.
70359         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
70360         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
70361         (_IO_wint_t): Define to wint_t, not _G_wint_t.
70362         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
70363         type of __dummy and __dummy2 fields.
70364         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
70365         (_G_ssize_t): Likewise.
70366         (_G_off_t): Likewise.
70367         (_G_pid_t): Likewise.
70368         (_G_uid_t): Likewise.
70369         (_G_wchar_t): Likewise.
70370         (_G_wint_t): Likewise.
70371         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
70372         (_G_ssize_t): Likewise.
70373         (_G_off_t): Likewise.
70374         (_G_pid_t): Likewise.
70375         (_G_uid_t): Likewise.
70376         (_G_wchar_t): Likewise.
70377         (_G_wint_t): Likewise.
70378         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
70379         (_G_ssize_t): Likewise.
70380         (_G_off_t): Likewise.
70381         (_G_pid_t): Likewise.
70382         (_G_uid_t): Likewise.
70383         (_G_wchar_t): Likewise.
70384         (_G_wint_t): Likewise.
70386 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70388         * malloc/arena.c: Include malloc-sysdep.h.
70389         (shrink_heap): Use check_may_shrink_heap to decide if madvise
70390         is sufficient to shrink the heap or an unmap is needed.
70391         * sysdeps/generic/malloc-sysdep.h: New file.  Define
70392         new function check_may_shrink_heap.
70393         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
70394         new function check_may_shrink_heap.
70396 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70398         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
70399         comments.
70401 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
70403         * catgets/test-gencat.sh: Add "set -e".
70404         * elf/tst-pathopt.sh: Likewise.
70405         * grp/tst_fgetgrent.sh: Likewise.
70406         * iconvdata/run-iconv-test.sh: Likewise.
70407         * intl/tst-gettext.sh: Likewise.
70408         * intl/tst-gettext2.sh: Likewise.
70409         * intl/tst-gettext4.sh: Likewise.
70410         * intl/tst-gettext6.sh: Likewise.
70411         * intl/tst-translit.sh: Likewise.
70412         * io/ftwtest-sh: Likewise.
70413         * libio/test-freopen.sh: Likewise.
70414         * malloc/tst-mtrace.sh: Likewise.
70415         * posix/globtest.sh: Likewise.
70416         * posix/tst-getconf.sh: Likewise.
70417         * posix/wordexp-tst.sh: Likewise.
70418         * stdio-common/tst-printf.sh: Likewise.
70419         * stdio-common/tst-unbputc.sh: Likewise.
70420         * stdlib/tst-fmtmsg.sh: Likewise.
70421         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70422         * catgets/Makefile: Do not specify -e option when running
70423         testsuite shell scripts.
70424         * elf/Makefile: Likewise.
70425         * grp/Makefile: Likewise.
70426         * iconvdata/Makefile: Likewise.
70427         * intl/Makefile: Likewise.
70428         * io/Makefile: Likewise.
70429         * libio/Makefile: Likewise.
70430         * malloc/Makefile: Likewise.
70431         * posix/Makefile: Likewise.
70432         * stdio-common/Makefile: Likewise.
70433         * stdlib/Makefile: Likewise.
70434         * sysdeps/x86_64/Makefile: Likewise.
70436         * io/ftwtest-sh: Add copyright header.
70437         * posix/globtest.sh: Likewise.
70438         * posix/tst-getconf.sh: Likewise.
70439         * posix/wordexp-tst.sh: Likewise.
70440         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70442 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
70444         [BZ #13679]
70445         * Makeconfig (+link): Defined as $(+link-static) if
70446         $(build-shared) isn't yes.
70447         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
70448         isn't yes.
70449         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
70451         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
70453         [BZ #14562]
70454         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
70455         new chunk size with MALLOC_ALIGN_MASK.
70457 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
70459         [BZ #5044]
70460         * stdio-common/printf_fphex.c: Include <stdbool.h> and
70461         <rounding-mode.h>.
70462         (__printf_fphex): Determine rounding using get_rounding_mode and
70463         round_away.
70464         * stdio-common/tst-printf-round.c (struct hex_test): New
70465         structure.
70466         (hex_tests): New variable.
70467         (test_hex_in_one_mode): New function.
70468         (do_test): Also run tests for hex float output.
70470 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
70472         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70473         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70474         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
70475         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70476         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70477         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
70478         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70479         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70481 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
70483         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
70484         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
70485         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
70486         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
70488 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
70490         [BZ #14579]
70491         * elf/rtld.c (dl_main): Limit the check for self loading to normal
70492         mode only.
70493         * elf/tst-rtld-load-self.sh: New test.
70494         * elf/Makefile: Run it.
70496 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
70498         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
70499         (tst-writev-ENV): Remove.
70500         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
70502 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
70504         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
70506 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
70508         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
70509         unconditional.
70510         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
70511         Likewise.
70512         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
70513         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
70514         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
70515         Likewise.
70517 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
70519         [BZ #14587]
70520         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
70521         * config.make.in (have-cpp-asm-debuginfo): Removed.
70522         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
70523         * configure: Regenerated.
70525 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
70527         [BZ #5044]
70528         * stdio-common/printf_fp.c: Include <stdbool.h> and
70529         <rounding-mode.h>.
70530         (___printf_fp): Determine rounding using get_rounding_mode and
70531         round_away.
70532         * stdio-common/tst-printf-round.c: New file.
70533         * stdio-common/Makefile (tests): Add tst-printf-round.
70534         (link-libm): New variable.
70535         ($(objpfx)tst-printf-round): Depend in $(link-libm).
70537 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
70539         [BZ #14576]
70540         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
70541         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
70542         Likewise.
70543         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
70544         Likewise.
70546 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
70548         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
70549         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70550         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70551         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70553 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
70555         [BZ #14518]
70556         * include/rounding-mode.h: New file.
70557         * sysdeps/generic/get-rounding-mode.h: Likewise.
70558         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
70559         * stdlib/strtod_l.c: Include <rounding-mode.h>.
70560         (MAX_VALUE): New macro.
70561         (MIN_VALUE): Likewise.
70562         (overflow_value): New function.
70563         (underflow_value): Likewise.
70564         (round_and_return): Use overflow_value and underflow_value to
70565         determine return values in overflow and underflow cases.  Use
70566         round_away to determine rounding depending on rounding mode.
70567         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
70568         determine return values in overflow and underflow cases.
70569         * stdlib/tst-strtod-round.c: Include <fenv.h>.
70570         (struct test_results): New structure.
70571         (struct test): Use struct test_results to store expected results
70572         for all rounding modes.
70573         (TEST): Include expected results for all rounding modes.
70574         (test_in_one_mode): New function.
70575         (do_test): Use test_in_one_mode to compute and check results.
70576         Check results for all rounding modes.
70577         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
70578         $(link-libm).
70580 2012-12-09  Allan McRae  <allan@archlinux.org>
70582         * sysdeps/i386/fpu/libm-test-ulps: Update
70584 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
70586         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
70587         (_G_int32_t): Likewise.
70588         (_G_uint16_t): Likewise.
70589         (_G_uint32_t): Likewise.
70590         (_G_HAVE_BOOL): Likewise.
70591         (_G_HAVE_ATEXIT): Likewise.
70592         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70593         (_G_HAVE_IO_FILE_OPEN): Likewise.
70594         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
70595         (_G_int32_t): Likewise.
70596         (_G_uint16_t): Likewise.
70597         (_G_uint32_t): Likewise.
70598         (_G_HAVE_BOOL): Likewise.
70599         (_G_HAVE_ATEXIT): Likewise.
70600         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70601         (_G_HAVE_IO_FILE_OPEN): Likewise.
70602         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
70603         (_G_int32_t): Likewise.
70604         (_G_uint16_t): Likewise.
70605         (_G_uint32_t): Likewise.
70606         (_G_HAVE_BOOL): Likewise.
70607         (_G_HAVE_ATEXIT): Likewise.
70608         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70609         (_G_HAVE_IO_FILE_OPEN): Likewise.
70611 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
70613         * csu/libc-tls.c: Update copyright years.
70615 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
70617         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
70618         [!_G_USING_THUNKS]: Remove conditional code.
70619         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
70620         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
70622         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
70623         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
70624         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70625         (_G_VTABLE_LABEL_PREFIX): Likewise.
70626         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70627         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70628         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70629         (_G_VTABLE_LABEL_PREFIX): Likewise.
70630         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
70631         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70632         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70633         (_G_VTABLE_LABEL_PREFIX): Likewise.
70634         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
70636 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
70638         * libio/Makefile: Include ../Makeconfig before tests.
70639         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
70640         only if $(build-shared) is yes.
70642         * iconv/gconv_db.c: Update copyright years.
70644 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70646         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
70647         unwind info if defined PIC. Fix special cases description.
70648         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
70650         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
70651         DP_HI_MASK entry.
70652         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
70654 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
70656         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
70658         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
70659         is NULL.
70661         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
70662         (LDLIBS-tst-chk4): This.
70663         (LDFLAGS-tst-chk5): Renamed to ...
70664         (LDLIBS-tst-chk5): This.
70665         (LDFLAGS-tst-chk6): Renamed to ...
70666         (LDLIBS-tst-chk6): This.
70667         (LDFLAGS-tst-lfschk4): Renamed to ...
70668         (LDLIBS-tst-lfschk4): This.
70669         (LDFLAGS-tst-lfschk5): Renamed to ...
70670         (LDLIBS-tst-lfschk5): This.
70671         (LDFLAGS-tst-lfschk6): Renamed to ...
70672         (LDLIBS-tst-lfschk6): This.
70674         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
70675         on $(common-objpfx)soversions.mk.
70677 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
70679         [BZ #10014]
70680         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
70681         example host name.
70683 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
70685         * malloc/arena.c (arena_get_retry): New function that gets
70686         another arena for the caller to try its request on.
70687         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
70688         current arena cannot fulfill the request.
70689         (__libc_memalign): Likewise.
70690         (__libc_memalign): Likewise.
70691         (__libc_pvalloc): Likewise.
70692         (__libc_calloc): Likewise.
70694 2012-09-05  John Tobey  <john.tobey@gmail.com>
70696         [BZ #13542]
70697         * manual/arith.texi (Operations on Complex): Fix description
70698         of carg branch cut.
70700 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
70702         [BZ #10014]
70703         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
70704         host name.
70706         [BZ #10038]
70707         * manual/memory.texi (Memory): Make order of menu items match
70708         order of sections.
70710 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70712         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
70713         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
70714         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
70716 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70718         * csu/libc-tls.c (static_dtv): Renamed to ...
70719         (_dl_static_dtv): This.  Make it global.
70720         (_dl_initial_dtv): Removed.
70721         (__libc_setup_tls): Updated.
70722         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
70723         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
70724         DL_INITIAL_DTV.
70726 2012-09-06  Petr Machata  <pmachata@redhat.com>
70728         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
70729         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
70730         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
70731         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
70733 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70735         [BZ #14545]
70736         * csu/libc-tls.c (_dl_initial_dtv): New variable.
70737         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
70738         freeing dtv[-1].
70740 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70742         [BZ #14544]
70743         * Makeconfig (link-static-before-libc): Replace $(+prector)
70744         with $(+prectorT).
70745         (link-static-after-libc): Replace $(+postctor) with
70746         $(+postctorT).
70747         (link-bounded): Replace $(+prector)/$(+postctor) with
70748         $(+prectorT)/$(+postctorT).
70749         (+prectorT): New macro.
70750         (+postctorT): Likewise.
70752 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
70754         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
70755         (round_str): Handle values above the maximum for IBM long double
70756         as inexact.
70757         * stdlib/tst-strtod-round.c (tests): Regenerated.
70759 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70761         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
70762         assembler flag.
70763         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
70764         zarch_nohighgprs around the zarch optimized routines.
70765         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
70766         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
70767         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
70768         for zarch.
70770 2012-09-05  David S. Miller  <davem@davemloft.net>
70772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70774         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
70775         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
70776         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
70777         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70778         entries.
70780 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70782         * malloc/arena.c: Fold copyright years.
70783         * malloc/mcheck.c, malloc/memusage.c: Likewise.
70785 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70787         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
70789 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70791         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
70793 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70795         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
70796         change internal state upon failure.
70798 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70800         * malloc/mcheck.c (mcheck_check_all): Fix typo.
70801         * malloc/memusage.c (mmap): Likewise.
70802         (mmap64, mremap): Likewise.  Adjust name in comment.
70804 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70806         * libio/fileops.c: Fix typos in comments.
70807         * libio/oldfileops.c: Likewise.
70808         * libio/wfileops.c: Likewise.
70810 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70812         [BZ #1349]
70813         * malloc/Makefile (tests): Add tst-malloc-usable test case.
70814         (tst-malloc-usable-ENV): Set environment for test case.
70815         * malloc/hooks.c (malloc_check_get_size): New function to get
70816         requested size.
70817         * malloc/malloc.c (musable): Use malloc_check_get_size.
70818         * malloc/tst-malloc-usable.c: New test case.
70820 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70822         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
70824 2012-09-05  Allan McRae  <allan@archlinux.org>
70826         [BZ #13966]
70827         * configure.in (CXX_SYSINCLUDES): Use compiler output to
70828         determine header location.
70829         * configure: Regenerated.
70831 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70833         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
70834         float format.
70835         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
70836         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
70837         format.
70838         (test): Regenerate.
70840 2012-09-04  David S. Miller  <davem@davemloft.net>
70842         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
70843         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
70844         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
70846 2012-09-04  Florian Weimer  <fweimer@redhat.com>
70848         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
70849         failures.
70851         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
70853 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
70855         [BZ #9914]
70856         * libio/iogetdelim.c: Include <limits.h>.
70857         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
70858         + len + 1 would overflow.
70860 2012-09-03  Andreas Jaeger  <aj@suse.de>
70862         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70863         * sysdeps/i386/fpu/libm-test-ulps: Update.
70865 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70867         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70868         Add s_sinf-sse2, s_conf-sse2.
70870         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
70871         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
70872         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
70873         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
70875         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
70876         for using routine as __sinf_ia32.
70877         Use macro for function declaration and weak_alias.
70878         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
70879         for using routine as __cosf_ia32.
70880         Use macro for function declaration and weak_alias.
70882         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
70883         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
70885         * sysdeps/x86_64/fpu/s_sinf.S: New file.
70886         * sysdeps/x86_64/fpu/s_cosf.S: New file.
70887         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70889         * math/libm-test.inc (cos_test): Add more test cases.
70890         (sin_test): Likewise.
70891         (sincos_test): Likewise.
70893 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70895         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
70896         (IFUNC_RESOLVE): Make pointers to the specialized implementations
70897         hidden.
70898         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70900 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
70902         [BZ #14538]
70903         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
70904         first element of the GOT.
70905         (elf_machine_load_address): Return the difference between
70906         the runtime address of _DYNAMIC and elf_machine_dynamic ().
70908 2012-09-01  Allan McRae  <allan@archlinux.org>
70910         [BZ #13412]
70911         * configure.in (AWK): Require gawk version 3.0 or later.
70912         * configure: Regenerated.
70914 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
70916         * sysdeps/unix/sysv/linux/kernel-features.h
70917         (__ASSUME_POSIX_CPU_TIMERS): Remove.
70918         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70919         [__NR_clock_getres]: Make code unconditional.
70920         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
70921         (clock_getcpuclockid): Remove code left unreachable by removal of
70922         conditionals.
70923         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
70924         code unconditional.
70925         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70926         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70927         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
70928         Make code unconditional.
70929         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70930         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70931         * sysdeps/unix/sysv/linux/clock_settime.c
70932         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
70933         conditional code.
70934         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
70935         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70937 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
70939         [BZ #14476]
70940         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
70941         scripts/test-installation.pl.
70943         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
70944         and $ld_so_version if it is set.
70946 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70948         [BZ #14516]
70949         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
70950         failure if reading from procfs failed.
70951         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
70953 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70955         * sysdeps/unix/sysv/linux/kernel-features.h
70956         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
70957         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70958         Remove conditional code.
70959         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70960         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
70961         Remove conditional code.
70962         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70963         * sysdeps/unix/sysv/linux/i386/fxstat.c
70964         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70965         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70966         * sysdeps/unix/sysv/linux/i386/fxstatat.c
70967         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70968         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70969         * sysdeps/unix/sysv/linux/i386/lxstat.c
70970         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70971         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70972         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
70973         Remove conditional code.
70974         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70975         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70976         Remove conditional code.
70977         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70978         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
70979         <kernel-features.h>.
70980         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
70981         Remove.
70982         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
70983         Remove conditional code.
70984         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70985         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
70986         Remove conditional.
70988 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
70990         [BZ #5400]
70991         * NEWS: Add fixed bug number.
70993 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70995         [BZ #14519]
70996         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
70997         underflowing exponent in case of negative sign.
70998         * stdlib/tst-strtod-round-data: Add more tests.
70999         * stdlib/tst-strtod-round.c (tests): Regenerated.
71001         [BZ #3479]
71002         * stdlib/strtod_l.c (NDIG): Remove.
71003         (HEXNDIG): Likewise.
71004         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
71005         smallest representable value.
71006         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
71007         lie within an exact representation of 1/2 ulp of the result.
71008         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
71009         unconditionally.
71010         (TENS_P9_IDX): Define unconditionally.
71011         (TENS_P9_SIZE): Likewise.
71012         (TENS_P10_IDX): Likewise.
71013         (TENS_P10_SIZE): Likewise.
71014         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
71015         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
71016         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
71017         entries for 10^2^13 and 10^2^14.
71018         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
71019         (TENS_P13_IDX): Define.
71020         (TENS_P13_SIZE): Likewise.
71021         (TENS_P14_IDX): Likewise.
71022         (TENS_P14_SIZE): Likewise.
71023         (_fpioconst_pow10): Change array size to
71024         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
71025         unconditional.
71026         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
71027         1024]: Add entries for 10^2^13 and 10^2^14.
71028         [LAST_POW10 > _LAST_POW10]: Remove #error.
71029         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
71030         (_fpioconst_pow10): Change array size to
71031         FPIOCONST_POW10_ARRAY_SIZE.
71032         * stdlib/gen-fpioconst.c: New file.
71033         * stdlib/gen-tst-strtod-round.c: Likewise.
71034         * stdlib/tst-strtod-round-data: Likewise.
71035         * stdlib/tst-strtod-round.c: Likewise.
71036         * stdlib/Makefile (tests): Add tst-strtod-round.
71038         [BZ #14459]
71039         * stdlib/strtod_l.c: Include <stdint.h>.
71040         (NDEBUG): Do not define.
71041         (round_and_return): Change EXPONENT parameter to type intmax_t.
71042         Rearrange calculations to avoid internal overflow possibilities.
71043         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
71044         Rearrange calculations to avoid internal overflow possibilities.
71045         Assert that number fits inside MPNSIZE limbs.
71046         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
71047         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
71048         calculations and add assertions to avoid internal overflow
71049         possibilities.  Add casts to avoid signed/unsigned operations.
71050         * stdlib/tst-strtod-overflow.c: New file.
71051         * stdlib/Makefile (tests): Add tst-strtod-overflow.
71053 2012-08-25  Marek Polacek  <polacek@redhat.com>
71055         * time/time.h: Fix some typos in comments.
71057 2012-08-23  Roland McGrath  <roland@hack.frob.com>
71059         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
71060         * posix/tst-rfc3484-2.c: Likewise.
71061         * posix/tst-rfc3484-3.c: Likewise.
71063 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
71065         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
71066         (EF_ARM_ABI_FLOAT_HARD): Likewise.
71068 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
71070         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
71071         #include of fxstatat64.c.
71073 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71075         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
71076         * shadow/getspent_r.c: Likewise.
71077         * shadow/getspnam.c: Likewise.
71078         * shadow/getspnam_r.c: Likewise.
71079         * gshadow/getsgent.c: Likewise.
71080         * gshadow/getsgent_r.c: Likewise.
71081         * gshadow/getsgnam.c: Likewise.
71082         * gshadow/getsgnam_r.c: Likewise.
71083         * inet/getnetbyad.c: Likewise.
71084         * inet/getnetbyad_r.c: Likewise.
71085         * inet/getnetbynm.c: Likewise.
71086         * inet/getnetbynm_r.c: Likewise.
71087         * inet/getnetent.c: Likewise.
71088         * inet/getnetent_r.c: Likewise.
71089         * inet/getproto.c: Likewise.
71090         * inet/getproto_r.c: Likewise.
71091         * inet/getprtent.c: Likewise.
71092         * inet/getprtent_r.c: Likewise.
71093         * inet/getprtname.c: Likewise.
71094         * inet/getprtname_r.c: Likewise.
71095         * inet/getrpcbyname.c: Likewise.
71096         * inet/getrpcbyname_r.c: Likewise.
71097         * inet/getrpcbynumber.c: Likewise.
71098         * inet/getrpcbynumber_r.c: Likewise.
71099         * inet/getrpcent.c: Likewise.
71100         * inet/getrpcent_r.c: Likewise.
71101         * inet/getaliasent.c: Likewise.
71102         * inet/getaliasent_r.c: Likewise.
71103         * inet/getaliasname.c: Likewise.
71104         * inet/getaliasname_r.c: Likewise.
71105         * nscd/getgrgid_r.c: Likewise.
71106         * nscd/getgrnam_r.c: Likewise.
71107         * nscd/gethstbyad_r.c: Likewise.
71108         * nscd/gethstbynm3_r.c: Likewise.
71109         * nscd/getpwnam_r.c: Likewise.
71110         * nscd/getpwuid_r.c: Likewise.
71111         * nscd/getsrvbynm_r.c: Likewise.
71112         * nscd/getsrvbypt_r.c: Likewise.
71113         * nscd/gai.c: Likewise.
71115         * configure.in (build_nscd): New substituted variable, set
71116         by --disable-build-nscd and defaults to $use_nscd.
71117         * configure: Regenerated.
71118         * config.make.in (build-nscd): New substituted variable.
71119         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
71120         Change conditional to require [$(build-nscd) = yes] as well.
71121         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
71123         [BZ #13696]
71124         * configure.in (use_nscd): New substituted variable, set by
71125         --disable-nscd.  If enabled, define USE_NSCD.
71126         * configure: Regenerated.
71127         * config.h.in: Add USE_NSCD.
71128         * config.make.in (use-nscd): New substituted variable.
71129         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
71130         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
71131         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
71132         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
71133         (CFLAGS-getgrnam_r.c): Likewise.
71134         (CFLAGS-initgroups.c): Likewise.
71135         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
71136         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
71137         Variables removed.
71138         * inet/getnetgrent_r.c
71139         (nscd_setnetgrent): New function, broken out of ...
71140         (setnetgrent): ... here.  Call it.
71141         (innetgr): Conditionalize nscd bits on [USE_NSCD].
71142         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
71143         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
71144         * nscd/Makefile (routines, aux): Move definitions after include of
71145         Makeconfig.  Conditionalize on [$(use-nscd) != no].
71146         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
71147         Conditionalize on [USE_NSCD].
71148         (is_nscd, nscd_init_cb): Likewise.
71149         (nss_load_library): Conditionalize init callback on [USE_NSCD].
71150         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
71151         * nss/nss_db/db-init.c: Likewise.
71152         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
71153         [USE_NSCD].
71154         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
71155         (make_request): Use it.
71156         (cache_valid_p): New function.
71157         (__check_pf): Use it.
71158         * NEWS: Add item for --disable-nscd.
71160 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
71162         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
71163         to support sed >= 4.2.1-20-ga9bf076.
71164         * configure: Regenerated.
71166 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71168         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
71169         Conditionalize whole body on [IREL].
71171 2012-08-22  Jeff Law <law@redhat.com>
71173         [BZ #14505]
71174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
71175         if the family is PF_UNSPEC.
71177 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
71179         * Makerules (lib-version): Rename from V.
71180         (install-lib-nosubdir): Change V to lib-version.
71182 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
71184         [BZ #14252]
71185         * powerpc32/power6/wcschr.c: New file.
71186         * powerpc32/power6/wcscpy.c: New file.
71187         * powerpc32/power6/wcsrchr.c: New file.
71188         * powerpc64/power6/wcschr.c: New file.
71189         * powerpc64/power6/wcscpy.c: New file.
71190         * powerpc64/power6/wcsrchr.c: New file.
71192 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71194         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
71195         (two_way_short_needle): Use it.
71196         * string/strstr.c (AVAILABLE1_USES_J): Define.
71197         * string/strcasestr.c: Likewise.
71199         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
71200         array references.
71201         * string/strcasestr.c (TOLOWER): Make side-effect safe.
71203         [BZ #11607]
71204         * NEWS: Add an entry.
71205         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
71206         define their defaults.
71207         (two_way_short_needle): Detect end-of-string on-the-fly.
71208         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
71209         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
71210         * string/bug-strcasestr1.c: New test.
71211         * string/Makefile: Run it.
71213 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71215         [BZ #11607]
71216         * string/str-two-way.h (two_way_short_needle): Optimize matching of
71217         the first character.
71219 2012-08-21  Roland McGrath  <roland@hack.frob.com>
71221         * csu/elf-init.c (__libc_csu_irel): Function removed.
71222         * csu/libc-start.c (apply_irel): New function.
71223         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
71225 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
71227         * sysdeps/unix/sysv/linux/kernel-features.h
71228         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
71229         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
71230         <kernel-features.h>.
71231         [__NR_fadvise64_64]: Make code unconditional.
71232         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
71233         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71234         !__NR_fadvise64_64)]: Likewise.
71235         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71236         !__NR_fadvise64_64))]: Likewise.
71237         [__NR_fadvise64]: Make code unconditional.
71238         [!__NR_fadvise64]: Remove conditional code.
71239         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
71240         <kernel-features.h>.
71241         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71242         unconditional.
71243         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71244         conditional code.
71245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
71246         not include <kernel-features.h>.
71247         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71248         unconditional.
71249         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71250         conditional code.
71251         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
71252         include <kernel-features.h>.
71253         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71254         unconditional.
71255         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71256         conditional code.
71258 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71260         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
71261         slight instruction rearrangements per scrollpipe analysis.
71262         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71264 2012-08-20  Roland McGrath  <roland@hack.frob.com>
71266         * manual/syslog.texi (syslog; vsyslog, closelog):
71267         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
71268         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
71270         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
71271         DSOCAPS to match condition on defining it.
71273 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
71275         * sysdeps/unix/sysv/linux/kernel-features.h
71276         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
71277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
71278         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71279         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
71281         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71282         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
71284         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71285         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71287         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
71288         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
71290         * sysdeps/unix/sysv/linux/kernel-features.h
71291         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
71292         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
71293         unconditional.
71294         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71295         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
71296         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71297         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71298         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
71299         Make code unconditional.
71300         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71301         (__mmap64) [!__NR_mmap2]: Likewise.
71302         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
71303         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71304         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71305         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
71306         [__NR_mmap2]: Make code unconditional.
71307         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71308         (__mmap64) [!__NR_mmap2]: Likewise.
71310 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71312         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
71314 2012-08-18  Andreas Jaeger  <aj@suse.de>
71316         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
71318 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71320         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
71321         * include/unistd.h (__have_sock_cloexec): Likewise.
71322         (__have_pipe2): Likewise.
71323         (__have_dup3): Likewise.
71325 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71327         [BZ #9685]
71328         * include/unistd.h (__have_pipe2): Change define into an extern int.
71329         (__have_dup3): Likewise.
71330         * socket/have_sock_cloexec.c: Include fcntl.h.
71331         (__have_pipe2): New variable.
71332         (__have_dup3): Likewise.
71334 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
71336         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
71338 2012-08-17  Marek Polacek  <polacek@redhat.com>
71340         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
71341         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
71343 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71345         * configure.in: Add AC_SUBST for sysheaders.
71346         * configure: Regenerated.
71347         * config.make.in (sysheaders): New substituted variable.
71349         * sysdeps/unix/mkfifo.c: Moved ...
71350         * sysdeps/posix/mkfifo.c: ... here.
71351         * sysdeps/unix/mkfifoat.c: Moved ...
71352         * sysdeps/posix/mkfifoat.c: ... here.
71354         * sysdeps/unix/utime.c: Moved ...
71355         * sysdeps/posix/utime.c: ... here.
71357         * sysdeps/unix/time.c: Moved ...
71358         * sysdeps/posix/time.c: ... here.
71359         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
71360         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
71362         * sysdeps/unix/nice.c: Moved ...
71363         * sysdeps/posix/nice.c: ... here.
71365         * sysdeps/unix/alarm.c: Moved ...
71366         * sysdeps/posix/alarm.c: ... here.
71368         * intl/Makefile ($(codeset_mo)): Depend on the input file.
71370 2012-08-17  Jeff Law <law@redhat.com>
71372         * intl/Makefile (codeset_mo): New variable.
71373         ($(codeset_mo)): New target.
71374         (tst-codeset.out): Depend on that.  Remove explicit rule.
71375         (tst-gettext3.out, tst-gettext5.out): Likewise.
71376         (LOCPATH-ENV, tst-codeset-ENV): New variables.
71377         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
71378         * intl/tst-codeset.sh: Remove.
71379         * intl/tst-gettext3.sh: Likewise.
71380         * intl/tst-gettext5.sh: Likewise.
71382 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71384         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
71385         * sysdeps/unix/syscalls.list: ... here.
71387         * sysdeps/posix/getaddrinfo.c
71388         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
71389         (gaiconf_init, gaiconf_reload): Use them.
71390         [!_STATBUF_ST_NSEC]
71391         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
71392         Define using time_t rather than struct timespec.
71394         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
71395         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
71396         Macros removed.
71397         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
71398         [!NO_THREADS].
71399         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
71400         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
71401         Likewise.
71403         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
71404         __libc_cleanup_push argument.
71406         * bits/param.h: New file.
71407         * misc/sys/param.h: New file.
71408         * include/sys/param.h: New file.
71409         * misc/Makefile (headers): Add bits/param.h.
71410         * sysdeps/generic/sys/param.h: File removed.
71411         * sysdeps/unix/sysv/linux/bits/param.h: New file.
71412         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
71413         * sysdeps/mach/hurd/bits/param.h: New file.
71414         * sysdeps/mach/hurd/sys/param.h: File removed.
71416         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
71417         last change.
71419         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
71420         [_IO_MTSAFE_IO].
71421         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
71422         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
71423         New macros.
71425         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
71426         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
71427         rather than -D_IO_MTSAFE_IO conditionally.
71428         * stdio-common/Makefile (CPPFLAGS): Likewise.
71429         * wcsmbs/Makefile (CPPFLAGS): Likewise.
71430         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
71431         Use $(libio-mtsafe).
71432         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
71433         of -D_IO_MTSAFE_IO.
71434         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
71435         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
71436         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
71437         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
71438         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
71439         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
71440         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
71441         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
71442         (CFLAGS-fread_u_chk.c): Likewise.
71443         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
71444         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
71445         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
71446         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
71447         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
71448         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
71449         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
71450         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
71451         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
71453         * libio/Makefile: Test [$(libc-reentrant) = yes]
71454         instead of [$(filter %REENTRANT, $(defines)) nonempty].
71456         * Makeconfig
71457         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
71458         * sysdeps/pthread/configure: File removed.
71459         * sysdeps/pthread/Makeconfig: New file.
71460         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
71461         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
71463 2012-08-16  Gary Benson  <gbenson@redhat.com>
71465         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
71466         unmapping the first object in a namespace.
71468 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71470         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
71471         (__internal_setnetgrent): ... this.  Add internal_function to
71472         definition.  Add libc_hidden_def.
71473         (setnetgrent): Update caller.
71474         (internal_endnetgrent): Renamed to ...
71475         (__internal_endnetgrent): ... this.  Add internal_function to
71476         definition.  Add libc_hidden_def.
71477         (endnetgrent): Update caller.
71478         (internal_getnetgrent_r): Renamed to ...
71479         (__internal_getnetgrent_r): ... this.  Add internal_function to
71480         definition.  Add libc_hidden_def.
71481         (__getnetgrent_r): Update caller.
71482         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
71484 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71486         * stdlib/longlong.h: Update from GCC.
71488 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71490         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
71491         on _QL, which is set by umul_ppmm but never used.
71492         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
71493         variables, which are set by GMP macros but never used.
71494         * stdio-common/_itowa.c (_itowa): Likewise.
71495         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
71496         * stdlib/mod_1.c (mpn_mod_1): Likewise.
71498 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
71500         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
71501         struct La_sh_regs is not constant.
71502         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
71503         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
71504         and struct La_sparc64_regs are not constant.
71506 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71508         * sysdeps/unix/sysv/linux/kernel-features.h
71509         (__ASSUME_POSIX_TIMERS): Remove.
71510         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71511         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71512         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
71513         Make code unconditional.
71514         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71515         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
71516         Make code unconditional.
71517         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71518         * sysdeps/unix/sysv/linux/clock_nanosleep.c
71519         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
71520         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71521         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
71522         Make code unconditional.
71523         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71524         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
71525         (__libc_missing_posix_timers): Remove.
71527 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71529         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
71530         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
71532         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
71534         * elf/dl-sym.c: Include <stdlib.h>.
71536         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
71537         constants, which avoids warnings in 32-bit builds.
71539         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
71540         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
71542         * misc/lseek.c: File moved to ...
71543         * io/lseek.c: ... here.
71545         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
71547         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
71548         shifting LEN more than 31 bits at once.
71550 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71552         [BZ #14195]
71553         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
71554         segmentation fault for a case of two empty input strings.
71555         * string/test-strncasecmp.c (check1): Renamed to...
71556         (bz12205): ...this.
71557         (bz14195): Add new testcase for two empty input strings and N > 0.
71558         (test_main): Call new testcase, adapt for renamed function.
71560 2012-08-15  Andreas Jaeger  <aj@suse.de>
71562         [BZ #14090]
71563         * crypt/md5test2.c: New test, based on test supplied by Serge
71564         Belyshev <belyshev@depni.sinp.msu.ru>.
71565         * crypt/Makefile (xtests): Add md5test-giant..
71566         * crypt/Makefile ($(objpfx)md5test-giant): Add.
71568 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
71570         [BZ #14090]
71571         * crypt/md5.c (md5_process_block): Don't assume the buffer
71572         length is less than 2**32.
71573         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
71574         length is less than 2**64.
71576 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71578         * string/str-two-way.h: Include <sys/param.h>.
71579         (MAX): Macro removed.
71581         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
71582         Move #define and #undef of memmove to just before and after
71583         including <string.h>.
71585         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
71586         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
71587         and after including <string.h>.  Move declarations of
71588         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
71589         to before #include "string/memmove.c".
71591         * include/dirent.h: Declare __getdirentries.
71593         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
71594         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
71596 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
71598         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
71599         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
71600         * sysdeps/i386/configure: Regenerated.
71601         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
71602         STABS_CURRENT_FILE, and STABS_FUN.
71603         (END): Remove call to STABS_FUN_END.
71604         (STABS_CURRENT_FILE1): Delete.
71605         (STABS_CURRENT_FILE): Likewise.
71606         (STABS_FUN): Likewise.
71607         (STABS_FUN_END): Likewise.
71608         (STABS_FUN2): Likewise.
71609         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
71610         * sysdeps/x86_64/configure: Regenerated.
71612 2012-08-14  Roland McGrath  <roland@hack.frob.com>
71614         * elf/dl-open.c: Include <atomic.h>.
71615         * elf/dl-lookup.c: Likewise.
71617 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
71619         * sysdeps/unix/sysv/linux/kernel-features.h
71620         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
71621         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
71622         unconditionally.
71623         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
71624         unconditionally.
71625         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
71626         condition on __ASSUME_CLONE_THREAD_FLAGS.
71628 2012-08-14  Andreas Jaeger  <aj@suse.de>
71630         * sysdeps/i386/fpu/libm-test-ulps: Update.
71632 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
71634         * include/atomic.h (atomic_exchange_and_add): Split into ...
71635         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
71636         New atomic macros.
71638 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
71640         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71642 2012-08-13  Jeff Law <law@redhat.com>
71644         * manual/stdio.texi (snprintf): Clarify handling of the trailing
71645         null byte in the output string.
71647 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
71649         * sysdeps/unix/sysv/linux/kernel-features.h
71650         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
71651         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
71652         (__ASSUME_ARG_MAX_STACK_BASED): Define.
71653         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
71654         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
71655         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
71656         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
71658 2012-08-09  Jeff Law <law@redhat.com>
71660         [BZ #13939]
71661         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
71662         When avoid_arena is set, don't retry in the that arena.  Pick the
71663         next one, whatever it might be.
71664         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
71665         (arena_lock): Pass in new parameter to arena_get2.
71666         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
71667         arena_get2.
71668         (__libc_malloc): Unify retrying after main arena failure with
71669         __libc_memalign version.
71670         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
71672 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
71674         [BZ #14166]
71675         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
71676         to __redirect_strstr.
71677         (__strstr_sse42): Use typeof __redirect_strstr.
71678         (__strstr_ia32): Likewise.
71679         (__libc_strstr): New prototype.
71680         (strstr): Renamed to ...
71681         (__libc_strstr): This.
71682         (strstr): New strong alias of __libc_strstr.
71683         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
71684         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
71685         __redirect_time.
71686         Include <time.h>.
71687         (__libc_time): New prototype.
71688         (time_ifunc): Replace time with __libc_time.
71689         (time): New strong alias and hidden definition of __libc_time.
71690         (__GI_time): Remove strong alias.
71691         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
71692         Include <stddef.h>.
71693         (memmove): Redefined to __redirect_memmove.
71694         (__memmove_sse2): Use typeof __redirect_memmove.
71695         (__memmove_ssse3): Likewise.
71696         (__memmove_ssse3_back): Likewise.
71697         (__libc_memmove): New prototype.
71698         (memmove): Renamed to ...
71699         (__libc_memmove): This.
71700         (memmove): New strong alias of __libc_memmove.
71702 2012-08-08  Mark Salter  <msalter@redhat.com>
71704         * elf/elf.h
71705         (R_MN10300_TLS_GD): Define.
71706         (R_MN10300_TLS_LD): Likewise.
71707         (R_MN10300_TLS_LDO): Likewise.
71708         (R_MN10300_TLS_GOTIE): Likewise.
71709         (R_MN10300_TLS_IE): Likewise.
71710         (R_MN10300_TLS_LE): Likewise.
71711         (R_MN10300_TLS_DTPMOD): Likewise.
71712         (R_MN10300_TLS_DTPOFF): Likewise.
71713         (R_MN10300_TLS_TPOFF): Likewise.
71714         (R_MN10300_SYM_DIFF): Likewise.
71715         (R_MN10300_ALIGN): Likewise.
71716         (R_MN10300_NUM): Update.
71718 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
71720         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
71721         Remove.
71723 2012-08-08  Roland McGrath  <roland@hack.frob.com>
71725         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
71727         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
71728         sysdeps/unix -> sysdeps/posix move.
71729         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
71731 2012-08-07      Allan McRae     <allan@archlinux.org>
71733         [BZ #14303]
71734         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
71735         (SUNOS_CPP): Likewise.
71736         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
71737         not found.
71738         (open_input): Call CPP using execvp.
71740 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71742         * sysdeps/unix/sysv/linux/kernel-features.h
71743         (__ASSUME_PROT_GROWSUPDOWN): Remove.
71744         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71745         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71746         (__ASSUME_WAITID_SYSCALL): Likewise.
71747         * sysdeps/unix/sysv/linux/dl-execstack.c
71748         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
71749         code unconditional.
71750         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
71751         conditional code.
71752         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
71753         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
71754         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
71755         code.
71756         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
71757         unconditional.
71758         [__ASSUME_WAITID_SYSCALL]: Likewise.
71759         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
71761 2012-08-07  Roland McGrath  <roland@hack.frob.com>
71763         * sysdeps/unix/closedir.c: Renamed to ...
71764         * sysdeps/posix/closedir.c: ... here.
71765         * sysdeps/unix/dirfd.c: Renamed to ...
71766         * sysdeps/posix/dirfd.c: ... here.
71767         * sysdeps/unix/dirstream.h: Renamed to ...
71768         * sysdeps/posix/dirstream.h: ... here.
71769         * sysdeps/unix/fdopendir.c: Renamed to ...
71770         * sysdeps/posix/fdopendir.c: ... here.
71771         * sysdeps/unix/opendir.c: Renamed to ...
71772         * sysdeps/posix/opendir.c: ... here.
71773         * sysdeps/unix/readdir.c: Renamed to ...
71774         * sysdeps/posix/readdir.c: ... here.
71775         * sysdeps/unix/readdir_r.c: Renamed to ...
71776         * sysdeps/posix/readdir_r.c: ... here.
71777         * sysdeps/unix/rewinddir.c: Renamed to ...
71778         * sysdeps/posix/rewinddir.c: ... here.
71779         * sysdeps/unix/seekdir.c: Renamed to ...
71780         * sysdeps/posix/seekdir.c: ... here.
71781         * sysdeps/unix/telldir.c: Renamed to ...
71782         * sysdeps/posix/telldir.c: ... here.
71783         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
71784         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
71785         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
71786         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
71788         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
71789         * bits/fcntl.h: ... here.
71791         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
71792         not 0.
71793         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
71794         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
71795         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
71796         (struct flock): Move l_start, l_len to the beginning.
71797         Use __pid_t for l_pid.
71798         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
71799         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
71800         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
71801         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
71802         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
71803         [__USE_LARGEFILE64] (struct flock64): New type.
71804         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
71806         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
71807         * bits/dirent.h: ... here.
71809         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
71810         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
71812 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71814         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71815         Change from 2.6.0 to 2.6.16.
71816         * sysdeps/unix/sysv/linux/configure: Regenerated.
71817         * sysdeps/unix/sysv/linux/kernel-features.h
71818         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
71819         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
71820         version.
71821         (__ASSUME_UTIMES): Likewise.
71822         (__ASSUME_CLONE_STOPPED): Remove.
71823         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
71824         architectures, not kernel version.
71825         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
71826         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71827         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71828         (__ASSUME_WAITID_SYSCALL): Likewise.
71829         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
71830         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
71831         * README: State 2.6.16 as minimum Linux kernel version.  Do not
71832         refer to older versions.
71834 2012-08-06  Roland McGrath  <roland@hack.frob.com>
71836         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
71837         Define alphasort64 as an alias.
71838         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
71839         Define versionsort64 as an alias.
71840         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
71841         Define scandir64 as an alias.
71842         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
71843         Define scandirat64 as an alias.
71844         * dirent/alphasort64.c (alphasort64):
71845         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
71846         * dirent/versionsort64.c: Likewise.
71847         * dirent/scandir64.c: Likewise.
71848         * dirent/scandirat64.c: Likewise.
71849         * sysdeps/wordsize-64/alphasort.c: File removed.
71850         * sysdeps/wordsize-64/alphasort64.c: File removed.
71851         * sysdeps/wordsize-64/scandir.c: File removed.
71852         * sysdeps/wordsize-64/scandir64.c: File removed.
71853         * sysdeps/wordsize-64/scandirat.c: File removed.
71854         * sysdeps/wordsize-64/scandirat64.c: File removed.
71855         * sysdeps/wordsize-64/versionsort.c: File removed.
71856         * sysdeps/wordsize-64/versionsort64.c: File removed.
71857         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
71858         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
71859         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
71860         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
71861         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
71862         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
71863         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
71864         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
71866         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
71867         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71868         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
71869         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71870         [defined __arch64__ || defined __sparcv9]
71871         (__INO_T_MATCHES_INO64_T): New macro.
71872         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71873         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
71874         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
71875         * sysdeps/unix/sysv/linux/bits/dirent.h
71876         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
71877         (_DIRENT_MATCHES_DIRENT64): New macro.
71879         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
71880         Define lockf64 as an alias.
71881         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
71882         Define fseeko64 as an alias.
71883         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
71884         Define ftello64 as an alias.
71885         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
71886         Define _IO_fgetpos64 and fgetpos64 as aliases.
71887         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
71888         Define _IO_fsetpos64 and fsetpos64 as aliases.
71889         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
71890         Conditionalize body on this.
71891         * libio/fseeko64.c: Likewise.
71892         * libio/ftello64.c: Likewise.
71893         * libio/iofgetpos64.c: Likewise.
71894         * libio/iofsetpos64.c: Likewise.
71895         * sysdeps/wordsize-64/lockf.c: File removed.
71896         * sysdeps/wordsize-64/lockf64.c: File removed.
71897         * sysdeps/wordsize-64/fseeko.c: File removed.
71898         * sysdeps/wordsize-64/fseeko64.c: File removed.
71899         * sysdeps/wordsize-64/ftello.c: File removed.
71900         * sysdeps/wordsize-64/ftello64.c: File removed.
71901         * sysdeps/wordsize-64/iofgetpos.c: File removed.
71902         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
71903         * sysdeps/wordsize-64/iofsetpos.c: File removed.
71904         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
71905         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
71906         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
71907         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
71908         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
71909         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
71910         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
71911         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
71912         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
71913         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
71914         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
71916         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71917         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71918         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
71919         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71920         [defined __arch64__ || defined __sparcv9]
71921         (__OFF_T_MATCHES_OFF64_T): New macro.
71922         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71923         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71924         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71925         (__OFF_T_MATCHES_OFF64_T): New macro.
71927 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71929         * stdlib/secure-getenv.c (__secure_getenv): Replace
71930         GLIBC_2_16 with GLIBC_2_17.
71932 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71934         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
71935         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71937 2012-08-03  David S. Miller  <davem@davemloft.net>
71939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71941 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71943         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
71944         Remove.
71945         (__ASSUME_CORRECT_SI_PID): Likewise.
71946         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
71947         (__ASSUME_TMPFS_NAME): Likewise.
71948         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
71949         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
71950         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
71951         (HAVE_AUX_SECURE): Make definition unconditional.
71952         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
71953         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
71955 2012-08-03  Roland McGrath  <roland@hack.frob.com>
71957         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
71958         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
71959         * sysdeps/mach/hurd/eloop-threshold.h: New file.
71960         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71961         __eloop_threshold instead of SYMLOOP_MAX.
71963         * sysdeps/generic/eloop-threshold.h: New file.
71964         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
71965         of MAXSYMLINKS.
71966         * elf/chroot_canon.c (chroot_canon): Likewise.
71968 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71970         [BZ #13717]
71971         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71972         Change to 2.6.0 everywhere.
71973         * sysdeps/unix/sysv/linux/configure: Regenerated.
71974         * sysdeps/unix/sysv/linux/kernel-features.h
71975         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
71976         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
71977         kernel versions.
71978         (__ASSUME_POSIX_TIMERS): Define unconditionally.
71979         (__ASSUME_FUTEX_REQUEUE): Remove.
71980         (__ASSUME_STATFS64): Define unconditionally.
71981         (__ASSUME_AT_SECURE): Likewise.
71982         (__ASSUME_CORRECT_SI_PID): Likewise.
71983         (__ASSUME_TGKILL): Define without depending on kernel version for
71984         i386.
71985         (__ASSUME_UTIMES): Likewise.
71986         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
71987         kernel version.
71988         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
71989         (__ASSUME_TMPFS_NAME): Likewise.
71990         * README: Update reference to Linux kernel versions.
71992 2012-08-02  Marek Polacek  <polacek@redhat.com>
71994         [BZ #14150]
71995         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
71996         libc_cv_asm_type_prefix with %.
71997         * configure: Regenerated.
71998         * include/libc-symbols.h: Remove comment about
71999         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72000         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
72001         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
72002         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
72003         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
72004         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72005         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
72006         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
72007         * elf/tst-unique2mod1.c: Likewise.
72008         * elf/tst-unique1mod2.c: Likewise.
72009         * elf/tst-unique1mod1.c: Likewise.
72010         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
72011         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
72012         Replace ASM_TYPE_DIRECTIVE with .type.
72013         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72014         * sysdeps/i386/sysdep.h: Likewise.
72015         * sysdeps/x86_64/sysdep.h: Likewise.
72016         * sysdeps/sh/sysdep.h: Likewise.
72017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72018         Do not define ASM_TYPE_DIRECTIVE.
72019         * sysdeps/powerpc/sysdep.h: Likewise.
72020         * sysdeps/powerpc/powerpc32/sysdep.h:
72021         Replace ASM_TYPE_DIRECTIVE with .type.
72022         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72023         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72024         * sysdeps/i386/fpu/e_powf.S: Likewise.
72025         * sysdeps/i386/fpu/e_expl.S: Likewise.
72026         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72027         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72028         * sysdeps/i386/fpu/e_pow.S: Likewise.
72029         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72030         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72031         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72032         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72033         * sysdeps/i386/fpu/e_log2.S: Likewise.
72034         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72035         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72036         * sysdeps/i386/fpu/e_powl.S: Likewise.
72037         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72038         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72039         * sysdeps/i386/fpu/e_logl.S: Likewise.
72040         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72041         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72042         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72043         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72044         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72045         * sysdeps/i386/fpu/e_log.S: Likewise.
72046         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72047         * sysdeps/i386/fpu/e_logf.S: Likewise.
72048         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72049         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72050         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72051         * sysdeps/i386/fpu/e_log10.S: Likewise.
72052         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72053         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72054         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72055         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72056         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72057         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
72058         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72059         * sysdeps/i386/i686/strtok.S: Likewise.
72060         * sysdeps/i386/i386-mcount.S: Likewise.
72061         * sysdeps/i386/strtok.S: Likewise.
72062         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
72063         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72064         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72065         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72066         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72067         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72068         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72069         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72070         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72071         * sysdeps/x86_64/_mcount.S: Likewise.
72072         * sysdeps/x86_64/strtok.S: Likewise.
72073         * sysdeps/sh/_mcount.S: Likewise.
72075 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72077         * libio/iofopen.c: Include <fcntl.h>.
72078         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
72079         (_IO_fopen64, fopen64): Define as aliases.
72080         * libio/iofopen64.c: Include <fcntl.h>.
72081         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
72082         Conditionalize body on this.
72083         * sysdeps/wordsize-64/iofopen.c: File removed.
72084         * sysdeps/wordsize-64/iofopen64.c: File removed.
72086 2012-08-01  Marek Polacek  <polacek@redhat.com>
72088         * libc/Makeconfig: Use elf in place of binfmt-subdir.
72089         Use dlfcn directly instead of a variable.
72090         (binfmt-subdir): Do not define.
72091         (dlfcn): Likewise.
72093 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
72095         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
72096         Remove all definitions.
72097         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
72098         <kernel-features.h>.
72099         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72100         (miss_F_GETOWN_EX): Remove all definitions.
72101         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
72102         macro definition.
72103         [!__ASSUME_FCNTL64]: Remove conditional code.
72104         [__ASSUME_FCNTL64]: Make code unconditional.
72105         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
72106         <kernel-features.h>.
72107         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72108         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
72109         (lockf64) [__NR_fcntl64]: Make code unconditional.
72110         (lockf64) [__ASSUME_FCNTL64]: Likewise.
72112         * sysdeps/unix/sysv/linux/kernel-features.h
72113         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
72114         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
72115         Make code unconditional.
72116         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72117         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
72119         [__NR_vfork]: Make code unconditional.
72120         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72121         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
72123         [__NR_vfork]: Make code unconditional.
72124         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72125         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72127 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72129         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
72130         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
72132         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72133         Define mkstemp64 as an alias.
72134         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72135         Define mkstemps64 as an alias.
72136         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72137         Define mkostemp64 as an alias.
72138         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72139         Define mkostemps64 as an alias.
72140         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
72141         Conditionalize body on this.
72142         * misc/mkostemp64.c: Likewise.
72143         * misc/mkostemps64.c: Likewise.
72144         * misc/mkstemps64.c: Likewise.
72145         * sysdeps/wordsize-64/mkstemp64.c: File removed.
72146         * sysdeps/wordsize-64/mkostemp64.c: File removed.
72147         * sysdeps/wordsize-64/mkostemp.c: File removed.
72148         * sysdeps/wordsize-64/mkstemp.c: File removed.
72149         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
72150         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
72151         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
72152         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
72154         [BZ #14138]
72155         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
72156         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
72157         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
72158         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
72160         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
72161         compat_symbol macros from <shlib-compat.h> rather than the underlying
72162         default_symbol_version and symbol_version macros, so that DEFAULT
72163         lines in shlib-versions are respected.
72164         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
72166 2012-08-01  Florian Weimer  <fweimer@redhat.com>
72168         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
72169         Declare with warn_unused_result.
72170         (setgid, setregid, setegid, setresgid): Likewise.
72171         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
72172         Likewise.
72173         * WUR-REPORT: Remove set*id functions.
72175 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
72177         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
72179 2012-07-31  Roland McGrath  <roland@hack.frob.com>
72181         [BZ #10191]
72182         * include/sys/socket.h (__libc_accept, __libc_accept4):
72183         Add attribute_hidden.
72184         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
72186         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
72187         use of PTR_MANGLE.
72188         * inet/getnetgrent_r.c (setup): Likewise.
72190         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
72192 2012-07-31  David S. Miller  <davem@davemloft.net>
72194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72196 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
72198         [BZ #13629]
72199         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
72200         value between 1.0 and 2.0 and smaller part has absolute value less
72201         than 1.0.
72202         * math/s_clog10.c (__clog10): Likewise.
72203         * math/s_clog10f.c (__clog10f): Likewise.
72204         * math/s_clog10l.c (__clog10l): Likewise.
72205         * math/s_clogf.c (__clogf): Likewise.
72206         * math/s_clogl.c (__clogl): Likewise.
72207         * math/libm-test.inc (clog_test): Add more tests.
72208         (clog10_test): Likewise.
72209         * sysdeps/i386/fpu/libm-test-ulps: Update.
72210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72212 2012-07-31  Florian Weimer  <fweimer@redhat.com>
72214         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
72215         Exit with zero in case no suitable GID is found, and write a
72216         message to standard error.
72218 2012-07-30  Roland McGrath  <roland@hack.frob.com>
72220         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
72221         rather than to 1.
72222         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
72223         (MAXPATHLEN): Removed.
72224         (NOGROUP, NODEV): New macros.
72225         (setbit, clrbit, isset, isclr): New macros.
72226         (howmany, roundup, powerof2): New macros.
72227         (DEV_BSIZE): New macro.
72229         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
72230         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
72232         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
72233         definition on [!__NO_LONG_DOUBLE_MATH].
72235         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
72236         PTR_MANGLE and PTR_DEMANGLE.
72238         * socket/accept4.c (accept4): Rename to __libc_accept4.
72239         Define accept4 as a weak alias.
72241         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
72242         on [_DIRENT_HAVE_D_TYPE].
72243         * io/ftw.c (ftw_dir): Likewise.
72245         * io/xmknod.c (__xmknod): Don't check PATH for being null.
72247         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
72249         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
72250         Use the BSD numbers rather than the arbitrary ones we had.
72251         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
72252         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
72253         (SIGXCPU, SIGXFSZ): New macros.
72254         (_NSIG): Now 32.
72256         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
72257         initializer on [_LIBC_REENTRANT].
72259         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
72260         definitions inside [_POSIX_MAPPED_FILES].
72262         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
72264         * dirent/opendir.c: Include <fcntl.h>.
72266         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
72267         (__libc_getspecific): Likewise.
72268         (__libc_key_create): Likewise.
72270         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
72271         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
72272         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
72273         (tmpfile64): Define as alias.
72274         * sysdeps/wordsize-64/tmpfile.c: File removed.
72275         * sysdeps/wordsize-64/tmpfile64.c: File removed.
72276         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
72277         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
72279         * stdio-common/vfscanf.c: Include <stdbool.h>.
72280         * nss/makedb.c: Likewise.
72281         * stdio-common/_i18n_number.h: Likewise.
72282         * argp/argp-help.c: Likewise.
72283         * posix/wordexp.c: Likewise.
72284         * sysdeps/posix/spawni.c: Likewise.
72285         * nss/nss_files/files-initgroups.c: Likewise.
72286         * stdio-common/reg-modifier.c: Include <stdlib.h>.
72287         * nss/nss_files/files-initgroups.c: Likewise.
72288         * nss/nss_db/db-netgrp.c: Likewise.
72289         * nss/nss_db/db-initgroups.c: Likewise.
72290         * io/fchmodat.c: Include <sys/stat.h>.
72292         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
72293         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
72295         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
72296         [HAVE_MMAP].
72298         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
72299         Add multiple inclusion protection.
72301 2012-07-27  David S. Miller  <davem@davemloft.net>
72303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72305 2012-07-27  Gary Benson  <gbenson@redhat.com>
72307         [BZ #14298]
72308         * elf/rtld.c: Include <stap-probe.h>.
72309         (dl_main): Added static probes "init_start" and "init_complete".
72310         * elf/dl-load.c: Include <stap-probe.h>.
72311         (lose): Take new parameter "nsid".
72312         Added static probe "map_failed".
72313         (_dl_map_object_from_fd): Pass namespace id to lose.
72314         Added static probe "map_start".
72315         (open_verify): Pass namespace id to lose.
72316         * elf/dl-open.c: Include <stap-probe.h>.
72317         (dl_open_worker) Added static probes "map_complete", "reloc_start"
72318         and "reloc_complete".
72319         * elf/dl-close.c: Include <stap-probe.h>.
72320         (_dl_close_worker): Added static probes "unmap_start" and
72321         "unmap_complete".
72322         * elf/rtld-debugger-interface.txt: New file documenting the above.
72324 2012-07-26  Roland McGrath  <roland@hack.frob.com>
72326         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
72327         rather than a string variable.
72328         * sunrpc/rpc_main.c (h_output): Likewise.
72329         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
72331 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
72333         * inet/check_native.c: New file.
72335 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
72337         [BZ #13629]
72338         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
72339         if larger part has absolute value 1.0.
72340         * math/s_clog10.c (__clog10): Likewise.
72341         * math/s_clog10f.c (__clog10f): Likewise.
72342         * math/s_clog10l.c (__clog10l): Likewise.
72343         * math/s_clogf.c (__clogf): Likewise.
72344         * math/s_clogl.c (__clogl): Likewise.
72345         * math/libm-test.inc (clog_test): Add more tests.
72346         (clog10_test): Likewise.
72347         * sysdeps/i386/fpu/libm-test-ulps: Update.
72348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72350         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
72351         (pltexit): Likewise.
72352         (La_regs): Likewise.
72353         (La_retval): Likewise.
72354         (int_retval): Likewise.
72355         Update #error for removed macros to refer only to definitions in
72356         tst-audit.h.
72357         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
72358         macro.
72359         (pltexit): Likewise.
72360         (La_regs): Likewise.
72361         (La_retval): Likewise.
72362         (int_retval): Likewise.
72363         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
72364         macro.
72365         (pltexit): Likewise.
72366         (La_regs): Likewise.
72367         (La_retval): Likewise.
72368         (int_retval): Likewise.
72369         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
72370         macro.
72371         (pltexit): Likewise.
72372         (La_regs): Likewise.
72373         (La_retval): Likewise.
72374         (int_retval): Likewise.
72375         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
72376         macro.
72377         (pltexit): Likewise.
72378         (La_regs): Likewise.
72379         (La_retval): Likewise.
72380         (int_retval): Likewise.
72381         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
72382         macro.
72383         (pltexit): Likewise.
72384         (La_regs): Likewise.
72385         (La_retval): Likewise.
72386         (int_retval): Likewise.
72387         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
72388         macro.
72389         (pltexit): Likewise.
72390         (La_regs): Likewise.
72391         (La_retval): Likewise.
72392         (int_retval): Likewise.
72393         * sysdeps/generic/tst-audit.h: Update comment to refer only to
72394         macro definitions in tst-audit.h.
72395         * sysdeps/i386/tst-audit.h: New file.
72396         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
72397         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
72398         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
72399         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
72400         * sysdeps/sh/tst-audit.h: Likewise.
72401         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
72402         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
72403         * sysdeps/x86_64/tst-audit.h: Likewise.
72405 2012-07-26  Andreas Jaeger  <aj@suse.de>
72407         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
72408         ptrace.
72410         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
72411         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
72412         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
72413         PTRACE_O_MASK.
72414         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
72415         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
72416         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
72418         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
72419         value.
72421         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
72422         _sigsys.
72423         (si_call_addr, si_syscall, si_arch): Define new macro.
72424         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
72425         _sigsys.
72426         (si_call_addr, si_syscall, si_arch): Define new marcro.
72427         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
72428         _sigsys.
72429         (si_call_addr, si_syscall, si_arch): Define new macro.
72430         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
72431         _sigsys.
72432         (si_call_addr, si_syscall, si_arch): Define new macro.
72434 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72436         [BZ #13717]
72437         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72438         Change to 2.4.21 where previously 2.4.1.
72439         * sysdeps/unix/sysv/linux/configure: Regenerated.
72440         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
72441         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
72442         Linux kernel version.
72443         (__ASSUME_STD_AUXV): Remove.
72444         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
72445         kernel version.
72446         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
72447         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
72448         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
72449         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
72450         (__ASSUME_NETLINK_SUPPORT): Likewise.
72451         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
72452         (__no_netlink_support): Remove conditional definition.
72453         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
72454         Remove.
72455         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72456         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
72457         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
72458         (if_nameindex_ioctl): Remove.
72459         (if_nameindex_netlink): Do not handle __no_netlink_support.
72460         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72461         code.
72462         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
72463         Remove conditional code.
72464         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72465         code.
72466         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
72467         unconditional.
72468         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72469         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
72470         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
72471         Remove.
72472         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
72473         [!__ASSUME_STD_AUXV]: Remove conditional code.
72474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
72475         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
72476         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
72477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
72478         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
72479         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72480         code.
72481         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
72483         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
72484         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72485         conditional code.
72486         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
72488         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72489         code.
72490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
72491         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72492         conditional code.
72493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
72494         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72495         code unconditional.
72496         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72497         conditional code.
72498         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72499         unconditional.
72500         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72501         conditional code.
72502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72503         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72504         unconditional.
72505         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72506         conditional code.
72507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
72508         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72509         code unconditional.
72510         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72511         conditional code.
72512         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72513         unconditional.
72514         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72515         conditional code.
72516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
72517         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72518         code unconditional.
72519         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72520         conditional code.
72521         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72522         unconditional.
72523         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72524         conditional code.
72526 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
72528         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
72529         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
72530         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
72531         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
72532         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
72533         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
72534         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
72535         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
72536         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
72537         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
72538         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
72539         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
72540         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
72541         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
72542         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
72543         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
72544         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
72545         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
72546         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
72547         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
72548         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
72549         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
72550         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
72552 2012-07-25  Florian Weimer  <fweimer@redhat.com>
72554         * Versions.def: Add GLIBC_2.17.
72555         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
72556         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
72557         Introduce __libc_secure_getenv.
72558         * stdlib/Versions (2.17): Add secure_getenv
72559         (GLIBC_PRIVATE): Add __libc_secure_getenv.
72560         * stdlib/secure-getenv.c: Rename __secure_getenv to
72561         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
72562         symbol __secure_getenv for GLIBC_2.0.
72563         * stdlib/tst-secure-getenv.c: New.
72564         * stdlib/Makefile (tests): Add testcase.
72565         * manual/startup.texi (Environment Access): Document
72566         secure_getenv.
72567         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
72568         __libc_secure_getenv.
72569         * inet/ruserpass.c (ruserpass): Likewise.
72570         * malloc/mtrace.c (mtrace): Likewise.
72571         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
72572         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
72573         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
72574         * sysdeps/posix/tempname.c: Likewise.  Evaluate
72575         HAVE_SECURE_GETENV.
72576         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
72577         __secure_getenv to __libc_secure_getenv.
72578         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
72579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72580         Likewise.
72581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72582         Likewise.
72583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72585         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72591 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72593         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
72594         (struct La_i86_retval): Likewise.
72595         (struct La_x86_64_regs): Likewise.
72596         (struct La_x86_64_retval): Likewise.
72597         (struct La_x32_regs): Likewise.
72598         (struct La_x32_retval): Likewise.
72599         (struct La_ppc32_regs): Likewise.
72600         (struct La_ppc32_retval): Likewise.
72601         (struct La_ppc64_regs): Likewise.
72602         (struct La_ppc64_retval): Likewise.
72603         (struct La_sh_regs): Likewise.
72604         (struct La_sh_retval): Likewise.
72605         (struct La_s390_32_regs): Likewise.
72606         (struct La_s390_32_retval): Likewise.
72607         (struct La_s390_64_regs): Likewise.
72608         (struct La_s390_64_retval): Likewise.
72609         (struct La_sparc32_regs): Likewise.
72610         (struct La_sparc32_retval): Likewise.
72611         (struct La_sparc64_regs): Likewise.
72612         (struct La_sparc64_retval): Likewise.
72613         (struct audit_ifaces): Remove architecture-specific pltenter and
72614         pltexit members.
72615         * sysdeps/i386/ldsodefs.h: New file.
72616         * sysdeps/powerpc/ldsodefs.h: Likewise.
72617         * sysdeps/s390/ldsodefs.h: Likewise.
72618         * sysdeps/sh/ldsodefs.h: Likewise.
72619         * sysdeps/sparc/ldsodefs.h: Likewise.
72620         * sysdeps/x86_64/ldsodefs.h: Likewise.
72622 2012-07-25  Marek Polacek  <polacek@redhat.com>
72624         [BZ #6808]
72625         * math/libm-test.inc (yn_test): Add another test.
72626         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
72627         to ERANGE when the result is +-Inf.
72628         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
72629         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
72630         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
72631         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
72633 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
72635         * conform/data/time.h-data (NULL): Use macro-constant.  Require
72636         equal to 0.
72637         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
72638         clock_t.
72639         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
72641 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
72643         * configure.in <sysdeps resolving>: Correct printing
72644         Implies_before.
72645         * configure: Regenerate.
72647 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
72649         * math/w_ilogb.c: Include <limits.h>.
72650         * math/w_ilogbl.c: Likewise.
72652 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
72654         * manual/lang.texi (__va_copy): Document primarily as ISO C99
72655         va_copy.  Document allowing for unavailable va_copy only as
72656         pre-C99 compatibility.
72657         * manual/string.texi (Copying and Concatenation): Use va_copy
72658         instead of __va_copy in concat example.
72660 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
72662         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
72663         (__sendto): Use create_address_port.  Initialize APORT and deallocate
72664         it if not null.
72666         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
72667         with O_NOLINK passed to __file_name_lookup.
72669         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
72670         with O_NOLINK passed to __file_name_lookup.
72672         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
72673         negative N or less than NGIDS.
72675         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
72676         type to string_t.  Set ERANGE as errno and return it if NAME is not big
72677         enough.  Use memcpy instead of strncpy.
72679 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
72681         * elf/Makefile (check-data): Remove.
72682         (localplt.data): New vpath directive.
72683         ($(objpfx)check-localplt.out): Use localplt.data from vpath
72684         instead of $(check-data).
72685         * scripts/data/localplt-generic.data: Move to ...
72686         * sysdeps/generic/localplt.data: ... here.
72687         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
72688         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
72689         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
72690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
72691         ... here.
72692         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
72693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
72694         ... here.
72695         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
72696         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
72697         ... here.
72698         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
72699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
72700         ... here.
72701         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
72702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
72703         ... here.
72704         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
72705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
72706         ... here.
72708 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72710         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
72711         PPC32 and PPC64 files.
72712         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
72713         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
72715 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72717         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
72718         __makecontext_ret to ...
72719         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
72720         ... here and call exit if uc_link is NULL.  New file.
72721         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
72722         __makecontext_ret.S.
72723         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
72724         __makecontext_ret to ...
72725         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
72726         ... here and call exit if uc_link is NULL.  New file.
72727         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
72728         __makecontext_ret.S.
72730 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72732         * elf/elf.h (R_390_IRELATIVE): New definition.
72733         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
72734         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
72735         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
72736         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
72737         (elf_machine_lazy_rel): Likewise.
72738         * sysdeps/s390/dl-irel.h: New file.
72739         * sysdeps/s390/s390-64/memcpy.S: New asm code.
72740         * sysdeps/s390/s390-64/memset.S: New asm code.
72741         * sysdeps/s390/s390-64/memcmp.S: New asm code.
72742         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
72743         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
72744         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
72745         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
72746         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
72747         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
72748         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
72749         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
72750         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
72751         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
72752         * sysdeps/s390/s390-32/memcpy.S: New asm code.
72753         * sysdeps/s390/s390-32/memset.S: New asm code.
72754         * sysdeps/s390/s390-32/memcmp.S: New asm code.
72756 2012-07-17  Marek Polacek  <polacek@redhat.com>
72758         [BZ #14349]
72759         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
72760         * sysdeps/s390/s390-64/configure.in: Likewise.
72761         * sysdeps/sparc/configure.in: Likewise.
72762         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
72763         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
72764         * sysdeps/i386/configure.in: Likewise.
72765         * sysdeps/x86_64/configure.in: Likewise.
72766         * sysdeps/sh/configure.in: Likewise.
72767         * sysdeps/s390/s390-32/configure: Regenerated.
72768         * sysdeps/s390/s390-64/configure: Likewise.
72769         * sysdeps/x86_64/configure: Likewise.
72770         * sysdeps/sh/configure: Likewise.
72771         * sysdeps/powerpc/powerpc64/configure: Likewise.
72772         * sysdeps/powerpc/powerpc32/configure: Likewise.
72773         * sysdeps/sparc/configure: Likewise.
72774         * sysdeps/i386/configure: Likewise.
72776         * elf/dl-open.c: Comment fixes.
72778 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
72780         * Makefile [CXX] (check-data): Remove.
72781         [CXX] (c++-types.data): New vpath directive.
72782         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
72783         vpath.  Do not allow for C++ type data being missing.
72784         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
72785         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
72786         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
72787         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
72788         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
72789         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
72790         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
72791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
72792         ... here.
72793         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
72794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
72795         ... here.
72796         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
72797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
72798         ... here.
72799         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
72800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
72801         ... here.
72802         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
72803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
72804         ... here.
72805         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
72806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
72807         ... here.
72808         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
72809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
72810         ... here.
72811         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
72812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
72814         * elf/tls-macros.h (TLS_LE): Move architecture-specific
72815         definitions to architecture-specific files.
72816         (TLS_IE): Likewise.
72817         (TLS_LD): Likewise.
72818         (TLS_GD): Likewise.
72819         * sysdeps/i386/tls-macros.h: New file.
72820         * sysdeps/powerpc/tls-macros.h: Likewise.
72821         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
72822         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
72823         * sysdeps/sh/tls-macros.h: Likewise.
72824         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
72825         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
72826         * sysdeps/x86_64/tls-macros.h: Likewise.
72828 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72830         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
72831         zero value for regular exit case.
72833         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
72834         (__start_context): Preserve zero value for regular exit case.
72836 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72837             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72839         * manual/setjmp.texi (setcontext): Clarify normal process
72840         termination when uc_link is the null pointer.
72841         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
72842         exit call.
72844 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
72846         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
72847         preprocessor.  Test for each exception mask separately.
72849 2012-07-16  Andreas Jaeger  <aj@suse.de>
72851         * po/ru.po: Update from translation team.
72853 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
72855         * conform/data/string.h-data (NULL): Use macro-constant.  Require
72856         equal to 0.
72857         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72858         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72859         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
72860         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
72861         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72863 2012-07-13  Andreas Jaeger  <aj@suse.de>
72865         * po/fr.po: Update from translation team.
72867 2012-07-12  Marek Polacek  <polacek@redhat.com>
72869         [BZ #14173]
72870         * math/libm-test.inc (yn_test): Add test for BZ #14173.
72871         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
72872         loop condition.
72874 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
72876         [BZ #13717]
72877         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72878         Change to 2.4.1 where previously 2.4.0.
72879         * sysdeps/unix/sysv/linux/configure: Regenerated.
72880         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
72881         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
72882         version.
72883         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
72884         (__ASSUME_AT_CLKTCK): Remove.
72885         (__ASSUME_AT_PAGESIZE): Likewise.
72886         (__ASSUME_AT_XID): Likewise.
72887         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
72888         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
72889         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
72890         unconditionally.
72891         (HAVE_AUX_PAGESIZE): Likewise.
72892         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
72893         [__ASSUME_AT_CLKTCK]: Make code unconditional.
72894         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
72896 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
72898         [BZ #14307]
72899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
72900         the temporary buffer used to invoke __gethostbyname2_r,
72901         __gethostbyaddr_r and gethostbyname4_r to make room for struct
72902         host_data / struct gaih_addrtuple.
72903         * resolv/nss_dns/dns-host.c (global scope): Move definition of
72904         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
72905         header file nss/nsswitch.h.
72906         * nss/nsswitch.h (global scope): Add definition of implementation
72907         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
72908         resolv/nss_dns/dns-host.c).
72910 2012-07-11  Andreas Jaeger  <aj@suse.de>
72912         * po/fr.po: Update from translation team.
72914         * po/sv.po: Update from translation team
72915         * po/fr.po: Another update from translation team.
72917 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72919         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
72920         for subnormals or multiply small sinh result by itself.
72921         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72924 2012-07-11  David S. Miller  <davem@davemloft.net>
72926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72928 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
72930         [BZ #14347]
72931         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
72932         (INTERNAL_MARK): Shift it here.
72934 2012-07-10  Marek Polacek  <polacek@redhat.com>
72936         [BZ #14151]
72937         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
72938         libc_cv_asm_global_directive with .globl.
72939         * configure: Regenerated.
72940         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
72941         with .globl.
72942         * sysdeps/i386/configure: Regenerated.
72943         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
72944         with .globl.
72945         * sysdeps/x86_64/configure: Regenerated.
72946         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
72947         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
72948         * elf/tst-unique2mod2.c: Likewise.
72949         * elf/tst-unique2mod1.c: Likewise.
72950         * elf/tst-unique1mod2.c: Likewise.
72951         * elf/tst-unique1mod1.c: Likewise.
72952         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72953         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72954         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72955         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72956         * sysdeps/mach/sysdep.h: Likewise.
72957         * sysdeps/i386/sysdep.h: Likewise.
72958         * sysdeps/i386/i386-mcount.S: Likewise.
72959         * sysdeps/x86_64/_mcount.S: Likewise.
72960         * sysdeps/x86_64/sysdep.h: Likewise.
72961         * sysdeps/sh/_mcount.S: Likewise.
72962         * sysdeps/sh/sysdep.h: Likewise.
72963         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
72964         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
72965         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
72966         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72967         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
72968         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
72969         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
72970         * locale/localeinfo.h: Likewise.
72971         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
72972         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
72974 2012-07-09  Roland McGrath  <roland@hack.frob.com>
72976         [BZ #14336]
72977         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
72978         system".
72979         * manual/message.texi (The Uniforum approach): Likewise.
72980         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
72981         (glibc iconv Implementation): Likewise.
72983 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
72985         [BZ #14337]
72986         * math/s_clog.c (__clog): Avoid scaling a value down where that
72987         could result in underflow.
72988         * math/s_clog10.c (__clog10): Likewise.
72989         * math/s_clog10f.c (__clog10f): Likewise.
72990         * math/s_clog10l.c (__clog10l): Likewise.
72991         * math/s_clogf.c (__clogf): Likewise.
72992         * math/s_clogl.c (__clogl): Likewise.
72993         * math/libm-test.inc (clog_test): Add more tests.
72994         (clog10_test): Likewise.
72995         * sysdeps/i386/fpu/libm-test-ulps: Update.
72996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72998 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
73000         [BZ #14283]
73001         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
73002         by 7 not 8 to examine high bit of fractional part.
73004         [BZ #14042]
73005         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
73006         for call to __mcount_internal.
73007         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
73008         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
73009         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
73011 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
73013         [BZ #14154]
73014         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
73015         approximation for values within 0x1p-13f of an odd multiple of
73016         pi/4.
73017         * math/libm-test.inc (tan_test): Do not allow spurious underflow
73018         exception.  Add more tests.
73019         * sysdeps/i386/fpu/libm-test-ulps: Update.
73021         [BZ #6778]
73022         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
73023         inputs and return -1 for them.  Do not check for +Inf in case not
73024         reachable for +Inf.
73025         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
73026         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
73027         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73028         and return -1 for them.  Do not check for +Inf in case not
73029         reachable for +Inf.
73030         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
73031         define.
73032         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73033         and return -1 for them.  Do not check for +Inf in case not
73034         reachable for +Inf.
73035         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
73036         spurious underflow.
73037         * sysdeps/i386/fpu/libm-test-ulps: Update.
73038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73040 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
73042         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
73044 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
73046         [BZ #14157]
73047         [BZ #14331]
73048         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
73049         could result in spurious underflow.  Scale down values above
73050         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
73051         * math/s_csqrtf.c (__csqrtf): Likewise.
73052         * math/s_csqrtl.c (__csqrtl): Likewise.
73053         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
73054         spurious underflow.
73055         * sysdeps/i386/fpu/libm-test-ulps: Update.
73056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73058 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
73060         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
73061         xopen-msg.sed.
73062         * catgets/xopen-msg.awk: New file.
73063         * catgets/xopen-msg.sed: Removed.
73065         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
73066         po2text.sed.
73067         * intl/po2test.awk: New file.
73068         * intl/po2test.sed: Removed.
73070 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
73072         [BZ #14328]
73073         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
73074         or multiply small sinh result by itself.
73075         * math/s_ctanf.c (__ctanf): Likewise.
73076         * math/s_ctanh.c (__ctanh): Likewise.
73077         * math/s_ctanhf.c (__ctanhf): Likewise.
73078         * math/s_ctanhl.c (__ctanhl): Likewise.
73079         * math/s_ctanl.c (__ctanl): Likewise.
73080         * math/libm-test.inc (ctan_test_tonearest): New function.
73081         (ctan_test_towardzero): Likewise.
73082         (ctan_test_downward): Likewise.
73083         (ctan_test_upward): Likewise.
73084         (ctanh_test_tonearest): Likewise.
73085         (ctanh_test_towardzero): Likewise.
73086         (ctanh_test_downward): Likewise.
73087         (ctanh_test_upward): Likewise.
73088         (main): Call these new functions.
73089         * sysdeps/i386/fpu/libm-test-ulps: Update.
73090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73092 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
73094         * .gitignore: Delete /ports entry.
73096 2012-07-03  Andreas Jaeger  <aj@suse.de>
73098         * po/bg.po: Update from translation team.
73099         * po/cs.po: Likewise.
73100         * po/de.po: Likewise.
73101         * po/hr.po: Likewise.
73102         * po/nl.pl: Likewise.
73103         * po/pl.po: Likewise.
73104         * po/vi.po: Likewise.
73106 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
73108         * Makeconfig [!+link] (+link-before-libc): New variable.
73109         [!+link] (+link-after-libc): Likewise.
73110         [!+link] (+link-tests): Likewise.
73111         [!+link] (+link): Define in terms of $(+link-before-libc) and
73112         $(+link-after-libc).
73113         [!+link-static] (+link-static-before-libc): New variable.
73114         [!+link-static] (+link-static-after-libc): Likewise.
73115         [!+link-static] (+link-static-tests): Likewise.
73116         [!+link-static] (+link-static): Define in terms of
73117         $(+link-static-before-libc) and $(+link-static-after-libc).
73118         [build-shared] (link-libc-before-gnulib): New variable.
73119         [build-shared] (link-libc-tests): Likewise.
73120         [build-shared] (link-libc): Define in terms of
73121         $(link-libc-before-gnulib).
73122         [!build-shared] (link-libc-tests): New variable.
73123         (link-libc-static-tests): New variable.
73124         [!gnulib] (gnulib-arch): New variable.
73125         [!gnulib] (gnulib-tests): Likewise.
73126         [!gnulib] (static-gnulib-arch): Likewise.
73127         [!gnulib] (static-gnulib-tests): Likewise.
73128         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
73129         Define with "=" instead of ":=".
73130         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
73131         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
73132         * Rules (binaries-all-notests): New variable.
73133         (binaries-all-tests): Likewise.
73134         (binaries-static-notests): Likewise.
73135         (binaries-static-tests): Likewise.
73136         (binaries-all): Define using $(binaries-all-notests) and
73137         $(binaries-all-tests).
73138         (binaries-static): Define using $(binaries-static-notests) and
73139         $(binaries-static-tests).
73140         (binaries-shared-tests): New variable.
73141         (binaries-shared-notests): Likewise.
73142         (binaries-shared): Remove variable.
73143         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
73144         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
73145         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
73146         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
73147         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
73148         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
73149         * elf/Makefile (sln-modules): New variable.
73150         (extra-objs): Add $(sln-modules:=.o).
73151         (ldconfig-modules): Add static-stubs.
73152         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
73153         * elf/static-stubs.c: New file.
73155         [BZ #14283]
73156         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
73157         by 7 not 8 to examine high bit of fractional part.  Use volatile
73158         variables when splitting into final array of floats if
73159         __FLT_EVAL_METHOD__ != 0.
73160         * math/libm-test.inc (cos_test): Add another test.
73161         (sin_test): Likewise.
73162         * sysdeps/i386/fpu/libm-test-ulps: Update.
73164         [BZ #14273]
73165         * math/libm-test.inc (cosh_test): Add more tests.
73167         * version.h (RELEASE): Set to "development".
73168         (VERSION): Set to "2.16.90".
73170 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
73172         * NEWS: Update copyright. Remove last-updated date.
73173         Mention math library bug fixes and timezone data changes.
73174         * README: Mention GNU/Hurd, x32, and HPPA support status.
73176 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
73178         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
73180 2012-06-27  Andreas Jaeger  <aj@suse.de>
73182         * manual/contrib.texi (Contributors): Add Samuel Thibault.
73184 2012-06-25  Andreas Jaeger  <aj@suse.de>
73186         * sysdeps/s390/fpu/libm-test-ulps: Update.
73188 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
73189             Thomas Schwinge  <thomas@codesourcery.com>
73191         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
73192         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
73193         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
73194         fanotify_mark.
73196 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
73198         * sysdeps/mach/start.c: Remove file.
73199         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
73200         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
73201         * sysdeps/sh/init-first.c: Likewise.
73203         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
73204         registers for frame unwinding purposes, add CFI directives.
73205         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73206         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
73207         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
73208         Likewise.
73210         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
73211         __fortify_fail returning.
73212         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73214         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
73215         sysdeps/sh/____longjmp_chk.S.
73216         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
73217         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
73218         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
73219         (gen-as-const-headers): Append sigaltstack-offsets.sym.
73221         * sysdeps/sh/abort-instr.h: New file.
73222         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
73223         process in case exit returns.
73225         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
73226         initialize the GOT register before use.
73228         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
73229         calculation of ARGC > 4.
73231         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
73232         meaningful names to some local labels.
73234 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73235             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73237         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
73238         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
73239         (__arch_compare_and_exchange_val_16_acq): Likewise.
73240         (__arch_compare_and_exchange_val_32_acq): Likewise.
73241         (atomic_exchange_and_add): Fix gUSA sequence.
73242         (atomic_add): Likewise.
73243         (atomic_add_negative): Likewise.
73244         (atomic_add_zero): Likewise.
73245         (atomic_bit_test_set): Likewise.
73247 2012-06-22  Andreas Schwab  <schwab@redhat.com>
73249         [BZ #13579]
73250         * include/link.h (struct link_map): Add l_free_initfini.
73251         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
73252         l_initfini.
73253         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
73254         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
73255         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
73256         set.
73258 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
73260         * configure.in: Use AC_LANG_SOURCE.
73261         * configure: Regenerate.
73263 2012-06-22  Roland McGrath  <roland@hack.frob.com>
73265         * configure.in (libc_cv_localstatedir): New substituted variable.
73266         * configure: Regenerated.
73267         * config.make.in (localstatedir): New variable, substituted from
73268         libc_cv_localstatedir.
73269         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
73270         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
73271         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
73272         * sysdeps/gnu/configure: Regenerated.
73274 2012-06-21  Jeff Law  <law@redhat.com>
73276         [BZ #14277]
73277         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
73278         free.  Simplify list management for _LIBC case.
73280 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
73282         [BZ #14273]
73283         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
73284         Clear sign bit of 64-bit integer value before comparing against
73285         overflow value.
73287         * sysdeps/mach/configure: Regenerated.
73289 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
73291         [BZ #14278]
73292         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
73294 2012-06-21  Jeff Law  <law@redhat.com>
73296         [BZ #13882]
73297         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
73298         uint16_t for elements in the "seen" array to avoid char overflows.
73299         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73300         * elf/dl-open.c (dl_open_worker): Likewise.
73302 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
73304         * scripts/list-sources.sh: Scan PORTS for translations.
73305         * po/libc.pot: Regenerated.
73307 2012-06-21  Andreas Jaeger  <aj@suse.de>
73309         [BZ #12194]
73310         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
73311         warning.
73312         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
73313         * bits/byteswap-16.h (__bswap_16): Likewise.
73314         * bits/byteswap.h (__bswap_constant_16): Likewise.
73316 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
73318         [BZ #14117]
73319         * sysdeps/i386/fpu_control.h: Removed.
73320         * sysdeps/x86_64/fpu_control.h: Moved to ...
73321         * sysdeps/x86/fpu_control.h: Here.
73323         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
73324         (_FPU_SETCW): Likewise.
73326 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
73328         [BZ #14117]
73329         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
73330         * sysdeps/x86/fpu/bits/mathinline.h: This.
73331         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
73333         [BZ #14050]
73334         [BZ #14117]
73335         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
73336         functions if __x86_64__ is defined.
73338 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
73340         * string/endian.h: Add !__ASSEMBLER__ condition for including
73341         conversion interfaces.
73343 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
73345         [BZ #14241]
73346         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
73347         of ABS(x) in calculating zero to negative powers other than odd
73348         integers.
73349         * math/libm-test.inc (pow_test): Add more tests.
73351 2012-06-15  Andreas Jaeger  <aj@suse.de>
73353         * manual/contrib.texi (Contributors): Update entry of Liubov
73354         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
73355         Machado Filho.
73357 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
73359         * string/string.h: Add __wur to GNU version of strerror_r.
73361 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
73363         [BZ #14229]
73364         * string/Makefile (tests): Add tst-strtok_r.
73365         * string/tst-strtok_r.c: New file.
73366         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
73367         RAX_LP/RDX_LP on SAVE_PTR.
73369 2012-06-14  Roland McGrath  <roland@hack.frob.com>
73371         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
73373 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
73375         * libm_test.inc (csqrt_test): Allow more spurious underflow
73376         exceptions.
73377         (j0_test): Likewise.
73378         (j1_test): Likewise.
73379         (y0_test): Likewise.
73380         (y1_test): Likewise.
73382 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
73384         * po/Makefile (libc.pot): Use UTF-8 charset.
73386 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
73388         [BZ #14210]
73389         Suppress sign-conversion warning from FD_SET.
73390         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
73391         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
73392         not unsigned long int.
73393         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
73395 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
73397         [BZ #14050]
73398         [BZ #14117]
73399         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
73400         __extern_always_inline instead of __extern_inline.
73401         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
73402         (__signbit): Likewise.
73403         (__signbitl): Support C++ namespace.
73404         (lrintf): New inline function.
73405         (lrint): Likewise.
73406         (llrintf): Likewise.
73407         (llrint): Likewise.
73408         (fmaxf): Likewise.
73409         (fmax): Likewise.
73410         (fminf): Likewise.
73411         (fmin): Likewise.
73412         (rint): Likewise.
73413         (rintf): Likewise.
73414         (ceil): Likewise.
73415         (ceilf): Likewise.
73416         (floor): Likewise.
73417         (floorf): Likewise.
73418         (nearbyint): Likewise.
73419         (nearbyintf): Likewise.
73421 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
73423         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
73424         non-default versions.
73426 2012-06-11  Roland McGrath  <roland@hack.frob.com>
73428         [BZ #14218]
73429         * manual/argp.texi (Argp): Reword argp_parse description slightly.
73431 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
73433         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
73434         (FE_UPWARD, FE_DOWNWARD): Don't define.
73435         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
73436         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73438         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
73439         reading it.
73440         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73441         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73443 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73445         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73446         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
73447         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
73448         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
73450 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
73452         [BZ #14117]
73453         * sysdeps/i386/fpu/bits/fenv.h: Removed.
73454         * sysdeps/i386/fpu/Implies: New file.
73455         * sysdeps/x86_64/fpu/Implies: Likewise.
73456         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
73457         * sysdeps/x86/fpu/bits/fenv.h: This.
73459         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
73460         __SSE_MATH__.
73462 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73464         [BZ #14134]
73465         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
73466         character 0xffff that matches the last element of the
73467         conversion table.
73469 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73471         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
73472         fmodl commit.
73474 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73476         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
73477         values higher than 25.6283.
73479 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73481         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
73482         subnormal exponent extraction and add some __builtin_expect.
73483         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
73484         Fix for subnormal mantissa calculation.
73486 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
73488         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
73489         cpu2 is -1 and errno is not ENOSYS.
73491 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
73493         [BZ #14117]
73494         * sysdeps/i386/i486/bits/string.h: Renamed to ...
73495         * sysdeps/x86/bits/string.h: This.
73496         * sysdeps/x86_64/bits/string.h: Removed.
73498         * sysdeps/i386/i486/bits/string.h: Define inline functions only
73499         if not compiling for x86-64, but compiling for >= i486.
73501         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
73502         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
73504         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
73505         New macro from Linux kernel 3.4.0.
73506         (FP_XSTATE_MAGIC2): Likewise.
73507         (FP_XSTATE_MAGIC2_SIZE): Likewise.
73508         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
73509         (struct _fpx_sw_bytes): New struct.
73510         (struct _xsave_hdr): Likewise.
73511         (struct _ymmh_state): Likewise.
73512         (struct _xstate): Likewise.
73514         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
73515         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
73516         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
73517         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
73518         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
73519         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
73521         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
73522         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
73523         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
73524         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
73525         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
73526         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
73528 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73530         [BZ #13743]
73531         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
73532         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
73533         (sysdep_headers): Include sys/platform/ppc.h.
73534         * sysdeps/powerpc/test-gettimebase.c: Test for
73535         __ppc_get_timebase() to catch future ISA opcode/insn changes.
73536         * manual/Makefile (appendices): Include platform.texi.
73537         * manual/contrib.texi (Contributors): Update @node pointers.
73538         * manual/maint.texi (Maintenance): Likewise.
73539         (Platform): New node.
73540         * manual/platform.texi: New file.  Document the new features.
73542 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
73543             Jakub Jelinek  <jakub@redhat.com>
73545         [BZ #14188]
73546         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
73547         where __builtin_expect is unavailable.
73549 2012-06-03  David S. Miller  <davem@davemloft.net>
73551         * stdlib/longlong.h: Updated from GCC.
73553 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
73555         [BZ #14042]
73556         * sysdeps/powerpc/powerpc32/mcount.c: New file.
73557         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
73558         __mcount_internal.
73559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73560         (GLIBC_2.16): Likewise.
73562 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73564         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
73566 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
73569         (default-abi): New variable.
73570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
73571         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
73572         variable.
73573         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
73574         Likewise.
73575         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
73576         Likewise.
73577         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
73578         Likewise.
73580         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
73581         definition.  Document in comment.
73583 2012-06-01  David S. Miller  <davem@davemloft.net>
73585         * stdlib/longlong.h: Updated from GCC.
73587 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73589         [BZ #14117]
73590         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
73591         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
73592         sys/debugreg.h sys/io.h here.
73593         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
73594         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
73595         sys/io.h.
73596         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
73597         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
73598         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
73599         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
73600         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
73601         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
73603         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
73604         Define only if __x86_64__ is defined.
73606 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73608         [BZ #14048]
73609         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
73610         Use int64_t for variable i.
73611         * math/libm-test.inc (fmod_test): Add more tests.
73613         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
73614         z computation is not scheduled after fetestexcept.
73615         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
73616         Use math_force_eval instead of asm to ensure calculation scheduled
73617         before exception test.
73618         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
73619         Ensure a1 + u.d computation is not scheduled after fetestexcept.
73621 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
73623         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
73624         computation is not scheduled after fetestexcept.
73626 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73628         [BZ #14117]
73629         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
73630         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
73632 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73634         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
73635         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73637 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
73639         [BZ #14117]
73640         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
73641         <bits/wordsize.h>.
73642         (__WCHAR_MIN): Support __WORDSIZE == 64.
73643         (__WCHAR_MAX): Likewise.
73645         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
73646         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
73648         [BZ #14183]
73649         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
73650         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
73652         [BZ #14117]
73653         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
73654         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
73656         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
73657         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
73659         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
73660         Defined to 1 if __x86_64__ isn't defined.
73661         (_STAT_VER_LINUX_OLD): New.
73662         (st_atime): Remove duplicate.
73663         (st_mtime): Likewise.
73664         (st_ctime): Likewise.
73666 2012-05-31  David S. Miller  <davem@davemloft.net>
73668         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
73669         entries.
73671 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
73673         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
73674         gen-libm-test.pl.
73676         [BZ #14132]
73677         * elf/dl-reloc.c: Include <_itoa.h>.
73678         (_dl_reloc_bad_type): Remove use of INTUSE.
73679         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
73680         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
73681         * stdio-common/psiginfo.c (psiginfo): Likewise.
73682         * stdio-common/psignal.c (psignal): Likewise.
73683         * string/strsignal.c (strsignal): Likewise.
73684         * include/signal.h (_sys_siglist): Declare hidden proto.
73685         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
73686         INTVARDEF with libc_hidden_data_def.
73687         * stdio-common/itoa-udigits.c: Likewise.
73688         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
73689         (_itoa_lower_digits_internal): Remove declaration.
73690         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
73691         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
73692         (_sys_sigabbrev_internal): Remove aliases.
73693         (_sys_siglist): Define hidden alias.
73695 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
73697         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73698         bits/sysctl.h.
73700 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
73702         [BZ #14117]
73703         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
73704         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
73706         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
73707         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
73708         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
73709         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
73710         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
73711         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
73713         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
73714         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
73715         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
73717         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
73718         with __addr.
73719         (insw): Likewise.
73720         (insl): Likewise.
73721         (outsb): Likewise.
73722         (outsw): Likewise.
73723         (outsl): Likewise.
73725         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
73726         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
73727         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
73729         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
73730         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
73731         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
73732         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
73733         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
73734         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
73736         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
73737         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
73739         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
73740         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
73742         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
73743         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
73744         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
73746         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
73747         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
73748         to ...
73749         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
73751         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
73752         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
73753         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
73755         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
73756         for x86-64.
73757         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
73759 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
73761         * math/math.h (M_El): Use two more decimal places.
73762         (M_LOG2El): Likewise.
73763         (M_LOG10El): Likewise.
73764         (M_LN2l): Likewise.
73765         (M_LN10l): Likewise.
73766         (M_PIl): Likewise.
73767         (M_PI_2l): Likewise.
73768         (M_PI_4l): Likewise.
73769         (M_1_PIl): Likewise.
73770         (M_2_PIl): Likewise.
73771         (M_2_SQRTPIl): Likewise.
73772         (M_SQRT2l): Likewise.
73773         (M_SQRT1_2l): Likewise.
73775 2012-05-31  David S. Miller  <davem@davemloft.net>
73777         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
73778         values between float registers.
73779         * sysdeps/sparc/sparc64/memset.S: Likewise.
73780         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
73782 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
73784         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
73785         -D_FORTIFY_SOURCE=1.
73786         (CPPFLAGS-tst-longjmp_chk.c): Define.
73787         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
73788         (CPPFLAGS-tst-longjmp_chk2.c): Define.
73789         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
73790         CFLAGS-tst-wchar-h.c.
73792 2012-05-31  Marek Polacek  <polacek@redhat.com>
73794         [BZ #14132]
73795         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
73796         __endmntent_internal): Remove declaration.
73797         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
73798         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
73799         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
73801 2012-05-30  David S. Miller  <davem@davemloft.net>
73803         * sysdeps/sparc/sparc32/soft-fp/q_util.c
73804         (___Q_simulate_exceptions): Use real FP ops rather than writing
73805         into the %fsr.
73806         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
73807         Likewise.
73809 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73811         [BZ #14117]
73812         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
73813         * sysdeps/x86/bits/xtitypes.h: This.
73815         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
73816         * sysdeps/x86/bits/wordsize.h: This.
73818         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
73819         * sysdeps/x86/bits/huge_vall.h: This.
73821         * sysdeps/i386/bits/select.h: Removed.
73822         * sysdeps/x86_64/bits/select.h: Renamed to ...
73823         * sysdeps/x86/bits/select.h: This.
73825         * sysdeps/i386/bits/setjmp.h: Removed.
73826         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
73827         * sysdeps/x86/bits/setjmp.h: This.
73829         * sysdeps/i386/bits/mathdef.h: Removed.
73830         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
73831         * sysdeps/x86/bits/mathdef.h: This.
73833 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
73835         [BZ #14132]
73836         * include/sys/socket.h (__connect_internal)
73837         (__libc_sa_len_internal): Remove declaration.
73838         (__connect, __libc_sa_len): Declare hidden_proto.
73839         (SA_LEN): Remove use of INTUSE.
73840         * socket/connect.c: Add libc_hidden_def.
73841         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
73842         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
73843         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
73844         alias.
73845         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
73846         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
73847         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
73848         of adding _internal alias.
73850 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73852         [BZ #14117]
73853         * sysdeps/i386/bits/link.h: Removed.
73854         * sysdeps/i386/bits/linkmap.h: Likewise.
73855         * sysdeps/x86_64/bits/link.h: Renamed to ...
73856         * sysdeps/x86/bits/link.h: This.
73857         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
73858         * sysdeps/x86/bits/linkmap.h: This.
73860         * sysdeps/i386/bits/endian.h: Removed.
73861         * sysdeps/x86_64/bits/endian.h: Renamed to ...
73862         * sysdeps/x86/bits/endian.h: This.
73864         * sysdeps/i386/bits/byteswap.h: Removed.
73865         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73866         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
73867         * sysdeps/x86/bits/byteswap.h: This.
73868         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
73869         * sysdeps/x86/bits/byteswap-16.h: This.
73870         * sysdeps/i386/Implies: Add x86.
73871         * sysdeps/x86_64/Implies: Likewise.
73873 2012-05-30  David S. Miller  <davem@davemloft.net>
73875         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
73876         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
73877         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
73878         (FP_TRAPPING_EXCEPTIONS): Define.
73879         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
73880         (FP_TRAPPING_EXCEPTIONS): Define.
73881         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
73882         subnormals only when inexact has been signalled or underflow
73883         exceptions are enabled.
73884         (_FP_PACK_CANONICAL): Likewise.
73886 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73888         [BZ #14183]
73889         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
73890         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
73892 2012-05-30  Richard Henderson  <rth@twiddle.net>
73894         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
73895         with #ifndef NOT_IN_libc.
73897         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
73898         marked to avoid plt entry.
73900 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73902         [BZ #14112]
73903         * Makeconfig (default-abi): New macro.
73904         (abi-includes): Likewise.
73905         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
73906         $(abi-$(default-abi)-lib-soname) for soname if defined.
73907         ($(common-objpfx)gnu/lib-names.stmp): Generate from
73908         abi-variants.
73909         * Makefile (installed-stubs): Likewise.
73910         * include/stubs-biarch.h: Removed.
73911         * scripts/lib-names.awk: Only handle one library at a time.
73912         * scripts/soversions.awk: Remove WORDSIZE support.
73913         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
73914         entries.
73915         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
73916         Removed.
73917         (syscall-list-default-condition): Likewise.
73918         (syscall-list-default-condition): Likewise.
73919         (syscall-list-includes): Likewise.
73920         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
73921         syscall-list-* with abi-*.  Handle undefined abi-variants.
73922         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
73923         * sysdeps/unix/sysv/linux/i386/Implies: New file.
73924         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
73925         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
73926         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
73927         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
73928         Removed.
73929         (syscall-list-32-options): Likewise.
73930         (syscall-list-32-condition): Likewise.
73931         (syscall-list-64-options): Likewise.
73932         (syscall-list-64-condition): Likewise.
73933         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
73934         macro.
73935         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
73936         Renamed to ...
73937         (abi-*): This.
73938         (abi-64-ld-soname): New macro.
73939         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
73940         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
73941         Renamed to ...
73942         (abi-*): This.
73943         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
73944         * sysdeps/x86_64/x32/shlib-versions: Likewise.
73946 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
73948         * sysdeps/unix/sysv/linux/kernel-features.h
73949         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
73950         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
73951         include <kernel-features.h>.
73952         [!__NR_ftruncate64]: Remove conditional code.
73953         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73954         [__NR_ftruncate64]: Make code unconditional.
73955         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73956         * sysdeps/unix/sysv/linux/truncate64.c: Do not
73957         include <kernel-features.h>.
73958         [!__NR_ftruncate64]: Remove conditional code.
73959         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73960         [__NR_ftruncate64]: Make code unconditional.
73961         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
73963         include <kernel-features.h>.
73964         [!__NR_ftruncate64]: Remove conditional code.
73965         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73966         [__NR_ftruncate64]: Make code unconditional.
73967         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
73969         include <kernel-features.h>.
73970         [!__NR_ftruncate64]: Remove conditional code.
73971         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73972         [__NR_ftruncate64]: Make code unconditional.
73973         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73975         * configure.in (libc_cv_fpie): Weaken to a compile test using
73976         LIBC_TRY_CC_OPTION.
73977         * configure: Regenerated.
73979 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
73982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
73983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
73984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73985         Refreshed.
73986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
73987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
73988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
73989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
73990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
73991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73992         Refreshed.
73994 2012-05-27  David S. Miller  <davem@davemloft.net>
73996         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
73997         (___Q_zero): New.
73998         (__Q_simulate_exceptions): Return void.  Change to simulate
73999         exceptions by writing into the %fsr.
74000         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
74001         (__Qp_handle_exceptions): Likewise.
74002         (numbers): Delete.
74003         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
74004         __Qp_handle_exceptions.
74005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
74006         __Qp_handle_exceptions.
74007         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74008         as unused and give dummy FP_RND_NEAREST initializer.
74009         (FP_INHIBIT_RESULTS): Define.
74010         (___Q_simulate_exceptions): Update declaration.
74011         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
74012         formatting.
74013         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74014         as unused and give dummy FP_RND_NEAREST initializer.
74015         (__Qp_handle_exceptions): Update declaration.
74016         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
74017         formatting.
74019 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
74021         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
74022         the temporary FPU control word.
74023         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
74024         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
74025         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
74026         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74027         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
74028         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
74029         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
74030         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74031         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
74032         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
74033         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74035 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74037         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
74038         fields.
74040 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
74042         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
74043         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
74044         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
74045         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
74046         Likewise.
74047         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
74048         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
74049         Likewise.
74051 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
74053         * po/h.po: Update from translation team.
74055 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
74057         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
74059         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
74060         handling of denormals.
74061         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74062         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
74063         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74064         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74065         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74066         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
74067         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
74068         Likewise.
74070 2012-05-26  Marek Polacek  <polacek@redhat.com>
74072         [BZ #14152]
74073         * math/libm-test.inc (fma_test): Don't always expect underflow
74074         exception.
74076 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
74078         [BZ #12416]
74079         * elf/tst-execstack.c: Include stackinfo.h.
74080         (do_test): Adjust test case to ensure that pthread_getattr_np
74081         behaviour remains the same after marking stack executable.
74083 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74085         * sysdeps/unix/sysv/linux/kernel-features.h
74086         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
74087         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
74088         kernel-features.h.
74089         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74090         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74091         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
74092         kernel-features.h.
74093         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74094         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74096 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
74098         * configure.in: Define the default includes to being none.
74099         * configure: Regenerated.
74101 2012-05-25  Roland McGrath  <roland@hack.frob.com>
74103         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
74104         * sysdeps/x86_64/setjmp.S: Likewise.
74105         * sysdeps/i386/bsd-setjmp.S: Likewise.
74106         * sysdeps/i386/bsd-_setjmp.S: Likewise.
74107         * sysdeps/i386/setjmp.S: Likewise.
74108         * sysdeps/i386/__longjmp.S: Likewise.
74109         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74110         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
74112         * include/stap-probe.h: New file.
74113         * configure.in: Handle --enable-systemtap.
74114         * configure: Regenerated.
74115         * config.h.in (USE_STAP_PROBE): New #undef.
74116         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
74117         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
74118         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
74120 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74122         [BZ #13717]
74123         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74124         to 2.4.0 where earlier.
74125         * sysdeps/unix/sysv/linux/configure: Regenerated.
74126         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
74127         <kernel-features.h>.
74128         [__ASSUME_32BITUIDS]: Make code unconditional.
74129         [!__ASSUME_32BITUIDS]: Remove conditional code.
74130         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
74131         <kernel-features.h>.
74132         [__ASSUME_32BITUIDS]: Make code unconditional.
74133         [!__ASSUME_32BITUIDS]: Remove conditional code.
74134         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
74135         [__ASSUME_32BITUIDS]: Make code unconditional.
74136         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
74137         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
74138         <kernel-features.h>.
74139         [__ASSUME_32BITUIDS]: Make code unconditional.
74140         [!__ASSUME_32BITUIDS]: Remove conditional code.
74141         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
74142         <kernel-features.h>.
74143         [__ASSUME_32BITUIDS]: Make code unconditional.
74144         [!__ASSUME_32BITUIDS]: Remove conditional code.
74145         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
74146         <kernel-features.h>.
74147         [__ASSUME_32BITUIDS]: Make code unconditional.
74148         [!__ASSUME_32BITUIDS]: Remove conditional code.
74149         * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.c: Do not include
74158         <kernel-features.h>.
74159         [__ASSUME_32BITUIDS]: Make code unconditional.
74160         [!__ASSUME_32BITUIDS]: Remove conditional code.
74161         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
74162         <kernel-features.h>.
74163         [__ASSUME_32BITUIDS]: Make code unconditional.
74164         [!__ASSUME_32BITUIDS]: Remove conditional code.
74165         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
74166         <kernel-features.h>.
74167         [__ASSUME_32BITUIDS]: Make code unconditional.
74168         [!__ASSUME_32BITUIDS]: Remove conditional code.
74169         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
74170         <kernel-features.h>.
74171         [__ASSUME_32BITUIDS]: Make code unconditional.
74172         [!__ASSUME_32BITUIDS]: Remove conditional code.
74173         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
74174         <kernel-features.h>.
74175         [__ASSUME_32BITUIDS]: Make code unconditional.
74176         [!__ASSUME_32BITUIDS]: Remove conditional code.
74177         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
74178         <kernel-features.h>.
74179         [__NR_setresgid] (__setresgid): Do not declare.
74180         [__ASSUME_32BITUIDS]: Make code unconditional.
74181         [!__ASSUME_32BITUIDS]: Remove conditional code.
74182         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
74183         <kernel-features.h>.
74184         [__NR_setresuid] (__setresuid): Do not declare.
74185         [__ASSUME_32BITUIDS]: Make code unconditional.
74186         [!__ASSUME_32BITUIDS]: Remove conditional code.
74187         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
74188         <kernel-features.h>.
74189         [__ASSUME_32BITUIDS]: Make code unconditional.
74190         [!__ASSUME_32BITUIDS]: Remove conditional code.
74191         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
74192         <kernel-features.h>.
74193         [__ASSUME_32BITUIDS]: Make code unconditional.
74194         [!__ASSUME_32BITUIDS]: Remove conditional code.
74195         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
74196         <kernel-features.h>.
74197         [__ASSUME_32BITUIDS]: Make code unconditional.
74198         [!__ASSUME_32BITUIDS]: Remove conditional code.
74199         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
74200         <kernel-features.h>.
74201         [__ASSUME_32BITUIDS]: Make code unconditional.
74202         [!__ASSUME_32BITUIDS]: Remove conditional code.
74203         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
74204         <kernel-features.h>.
74205         [__ASSUME_32BITUIDS]: Make code unconditional.
74206         [!__ASSUME_32BITUIDS]: Remove conditional code.
74207         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
74208         <kernel-features.h>.
74209         [__ASSUME_32BITUIDS]: Make code unconditional.
74210         [!__ASSUME_32BITUIDS]: Remove conditional code.
74211         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
74212         <kernel-features.h>.
74213         [__ASSUME_32BITUIDS]: Make code unconditional.
74214         [!__ASSUME_32BITUIDS]: Remove conditional code.
74215         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
74216         <kernel-features.h>.
74217         [__ASSUME_32BITUIDS]: Make code unconditional.
74218         [!__ASSUME_32BITUIDS]: Remove conditional code.
74219         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
74220         <kernel-features.h>.
74221         [__ASSUME_32BITUIDS]: Make code unconditional.
74222         [!__ASSUME_32BITUIDS]: Remove conditional code.
74223         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
74224         <kernel-features.h>.
74225         [__ASSUME_32BITUIDS]: Make code unconditional.
74226         [!__ASSUME_32BITUIDS]: Remove conditional code.
74227         * sysdeps/unix/sysv/linux/kernel-features.h
74228         (__ASSUME_SETRESUID_SYSCALL): Remove.
74229         (__ASSUME_SETRESGID_SYSCALL): Likewise.
74230         (__ASSUME_32BITUIDS): Likewise.
74231         (__ASSUME_LDT_WORKS): Likewise.
74232         (__ASSUME_O_DIRECTORY): Likewise.
74233         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
74234         architecture but not kernel version.
74235         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
74236         (__ASSUME_MMAP2_SYSCALL): Likewise.
74237         (__ASSUME_STAT64_SYSCALL): Likewise.
74238         (__ASSUME_IPC64): Likewise.
74239         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
74240         <kernel-features.h>.
74241         [__ASSUME_32BITUIDS]: Make code unconditional.
74242         [!__ASSUME_32BITUIDS]: Remove conditional code.
74243         * sysdeps/unix/sysv/linux/opendir.c: Do not include
74244         <kernel-features.h>.
74245         [__ASSUME_O_DIRECTORY]: Make code unconditional.
74246         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
74247         132096]: Remove conditional code.
74248         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
74249         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
74250         <kernel-features.h>.
74251         [__ASSUME_32BITUIDS]: Make code unconditional.
74252         [!__ASSUME_32BITUIDS]: Remove conditional code.
74253         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
74254         <kernel-features.h>.
74255         [__ASSUME_32BITUIDS]: Make code unconditional.
74256         [!__ASSUME_32BITUIDS]: Remove conditional code.
74257         * sysdeps/unix/sysv/linux/setegid.c: Do not include
74258         <kernel-features.h>.
74259         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
74260         unconditional.
74261         (__setresgid): Do not declare.
74262         [__ASSUME_32BITUIDS]: Make code unconditional.
74263         [!__ASSUME_32BITUIDS]: Remove conditional code.
74264         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
74265         <kernel-features.h>.
74266         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
74267         unconditional.
74268         (__setresuid): Do not declare.
74269         [__ASSUME_32BITUIDS]: Make code unconditional.
74270         [!__ASSUME_32BITUIDS]: Remove conditional code.
74271         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
74272         <kernel-features.h>.
74273         [__ASSUME_32BITUIDS]: Make code unconditional.
74274         [!__ASSUME_32BITUIDS]: Remove conditional code.
74275         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
74276         <kernel-features.h>.
74277         [__ASSUME_32BITUIDS]: Make code unconditional.
74278         [!__ASSUME_32BITUIDS]: Remove conditional code.
74280 2012-05-25  Richard Henderson  <rth@twiddle.net>
74282         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
74283         dl_hwcap to ifunc resolver.
74284         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
74285         elf_ifunc_invoke.
74286         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
74287         dl_hwcap to ifunc resolver.
74288         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
74290 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74292         [BZ #14153]
74293         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
74294         for |x| <= 2**-26, not 2**-57.
74295         * math/libm-test.inc (acos_test): Do not allow spurious underflow
74296         exception.
74298 2012-05-24  Jeff Law  <law@redhat.com>
74300         * stdio-common/Makefile (tests): Add bug25.
74301         * stdio-common/bug25.c: New test.
74303 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74305         [BZ #13576]
74306         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
74307         multiple of MALLOC_ALIGNMENT in size.
74308         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
74310 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74312         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
74313         Require >= 256.
74314         (FILENAME_MAX): Use macro-int-constant.
74315         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
74316         (_IOFBF): Use macro-int-constant.
74317         (_IOLBF): Likewise.
74318         (_IONBF): Likewise.
74319         (SEEK_CUR): Likewise.
74320         (SEEK_END): Likewise.
74321         (SEEK_SET): Likewise.
74322         (TMP_MAX): Likewise.
74323         (EOF): Use macro-int-constant.  Require < 0.
74324         (NULL): Use macro-constant.  Require == 0.
74325         (stdin): Require type to be FILE *.
74326         (stdout): Likewise.
74327         (stderr): Likewise.
74328         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
74329         macro-int-constant.
74330         (EXIT_SUCCESS): Likewise.
74331         (NULL): Use macro-constant.  Require == 0.
74332         (RAND_MAX): Use macro-int-constant.
74333         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
74334         [C99-based standards] (strtof): Require function.
74335         [C99-based standards] (strtold): Likewise.
74336         [C99-based standards] (strtoll): Likewise.
74337         [C99-based standards] (strtoull): Likewise.
74338         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74339         [ISO || ISO99 || ISO11] (limits.h): Likewise.
74340         [ISO || ISO99 || ISO11] (math.h): Likewise.
74341         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
74342         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74343         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74345 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
74347         [BZ #14132]
74348         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
74349         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
74350         * intl/dgettext.c (DCGETTEXT): Likewise.
74351         * intl/gettext.c (DCGETTEXT): Likewise.
74352         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
74353         * posix/regex_internal.h (gettext): Likewise.
74354         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
74355         Remove declaration.
74356         * include/argz.h (__argz_count_internal)
74357         (__argz_stringify_internal): Remove declaration.
74358         (__argz_count, __argz_stringify): Declare hidden proto.
74359         * intl/dcgettext.c: Remove use of INTDEF.
74360         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
74361         * string/argz-stringify.c: Likewise.
74362         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74363         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74364         Declare hidden proto.
74365         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74366         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74367         Declare hidden proto.
74368         * include/stdio.h (__asprintf_internal): Don't declare.
74369         (__asprintf): Don't define as macro.  Declare hidden proto.
74370         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
74371         (__fsetlocking): Declare hidden proto.
74372         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
74373         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
74374         hidden proto.
74375         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
74376         (_IO_setlinebuf): Remove use of INTUSE.
74377         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
74378         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
74379         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
74380         Remove declaration.
74381         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
74382         (_IO_do_flush): Remove use of INTUSE.
74383         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
74384         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
74385         (_IO_adjust_column, _IO_least_wmarker)
74386         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
74387         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
74388         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
74389         (_IO_default_doallocate, _IO_wdefault_doallocate)
74390         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
74391         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
74392         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
74393         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
74394         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
74395         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
74396         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
74397         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
74398         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
74399         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
74400         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
74401         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
74402         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
74403         proto.
74404         (_IO_flush_all_internal, _IO_adjust_column_internal)
74405         (_IO_default_uflow_internal, _IO_default_finish_internal)
74406         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
74407         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
74408         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
74409         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
74410         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
74411         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
74412         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
74413         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
74414         (_IO_file_close_internal, _IO_file_close_it_internal)
74415         (_IO_file_underflow_internal, _IO_file_overflow_internal)
74416         (_IO_file_init_internal, _IO_file_attach_internal)
74417         (_IO_file_fopen_internal, _IO_file_read_internal)
74418         (_IO_file_sync_internal, _IO_file_seek_internal)
74419         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
74420         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
74421         (_IO_str_underflow_internal, _IO_str_overflow_internal)
74422         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
74423         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
74424         (_IO_list_all_internal, _IO_link_in_internal)
74425         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
74426         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
74427         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
74428         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
74429         (_IO_do_write_internal, _IO_padn_internal)
74430         (_IO_getline_info_internal, _IO_getline_internal)
74431         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
74432         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
74433         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
74434         (_IO_vfscanf_internal, _IO_vfprintf_internal)
74435         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
74436         (_IO_init_internal, _IO_un_link_internal): Don't declare.
74437         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
74438         with libc_hidden_ver, remove use of INTUSE.
74439         * libio/genops.c: Likewise.
74440         * libio/freopen.c: Likewise.
74441         * libio/freopen64.c: Likewise.
74442         * libio/iofclose.c: Likewise.
74443         * libio/iofdopen.c: Likewise.
74444         * libio/iofflush.c: Likewise.
74445         * libio/iofflush_u.c: Likewise.
74446         * libio/iofgets.c: Likewise.
74447         * libio/iofgets_u.c: Likewise.
74448         * libio/iofopen.c: Likewise.
74449         * libio/iofopncook.c: Likewise.
74450         * libio/iofread.c: Likewise.
74451         * libio/iofread_u.c: Likewise.
74452         * libio/ioftell.c: Likewise.
74453         * libio/iofwrite.c: Likewise.
74454         * libio/iogetline.c: Likewise.
74455         * libio/iogets.c: Likewise.
74456         * libio/iogetwline.c: Likewise.
74457         * libio/iopadn.c: Likewise.
74458         * libio/iopopen.c: Likewise.
74459         * libio/ioseekoff.c: Likewise.
74460         * libio/ioseekpos.c: Likewise.
74461         * libio/iosetbuffer.c: Likewise.
74462         * libio/iosetvbuf.c: Likewise.
74463         * libio/ioungetc.c: Likewise.
74464         * libio/ioungetwc.c: Likewise.
74465         * libio/iovdprintf.c: Likewise.
74466         * libio/iovsprintf.c: Likewise.
74467         * libio/iovsscanf.c: Likewise.
74468         * libio/memstream.c: Likewise.
74469         * libio/obprintf.c: Likewise.
74470         * libio/oldfileops.c: Likewise.
74471         * libio/oldiofclose.c: Likewise.
74472         * libio/oldiofdopen.c: Likewise.
74473         * libio/oldiofopen.c: Likewise.
74474         * libio/oldiopopen.c: Likewise.
74475         * libio/oldstdfiles.c: Likewise.
74476         * libio/putc.c: Likewise.
74477         * libio/setbuf.c: Likewise.
74478         * libio/setlinebuf.c: Likewise.
74479         * libio/stdfiles.c: Likewise.
74480         * libio/strops.c: Likewise.
74481         * libio/vasprintf.c: Likewise.
74482         * libio/vscanf.c: Likewise.
74483         * libio/vsnprintf.c: Likewise.
74484         * libio/vswprintf.c: Likewise.
74485         * libio/wfiledoalloc.c: Likewise.
74486         * libio/wfileops.c: Likewise.
74487         * libio/wgenops.c: Likewise.
74488         * libio/wmemstream.c: Likewise.
74489         * libio/wstrops.c: Likewise.
74490         * libio/__fpurge.c: Likewise.
74491         * libio/__fsetlocking.c: Likewise.
74492         * assert/assert.c: Likewise.
74493         * debug/fgets_chk.c: Likewise.
74494         * debug/fgets_u_chk.c: Likewise.
74495         * debug/fread_chk.c: Likewise.
74496         * debug/fread_u_chk.c: Likewise.
74497         * debug/gets_chk.c: Likewise.
74498         * debug/obprintf_chk.c: Likewise.
74499         * debug/vasprintf_chk.c: Likewise.
74500         * debug/vdprintf_chk.c: Likewise.
74501         * debug/vsnprintf_chk.c: Likewise.
74502         * debug/vsprintf_chk.c: Likewise.
74503         * malloc/mtrace.c: Likewise.
74504         * misc/error.c: Likewise.
74505         * misc/syslog.c: Likewise.
74506         * stdio-common/asprintf.c: Likewise.
74507         * stdio-common/fxprintf.c: Likewise.
74508         * stdio-common/getw.c: Likewise.
74509         * stdio-common/isoc99_fscanf.c: Likewise.
74510         * stdio-common/isoc99_scanf.c: Likewise.
74511         * stdio-common/isoc99_vfscanf.c: Likewise.
74512         * stdio-common/isoc99_vscanf.c: Likewise.
74513         * stdio-common/isoc99_vsscanf.c: Likewise.
74514         * stdio-common/printf-prs.c: Likewise.
74515         * stdio-common/printf_fp.c: Likewise.
74516         * stdio-common/printf_fphex.c: Likewise.
74517         * stdio-common/printf_size.c: Likewise.
74518         * stdio-common/putw.c: Likewise.
74519         * stdio-common/scanf.c: Likewise.
74520         * stdio-common/sprintf.c: Likewise.
74521         * stdio-common/tmpfile.c: Likewise.
74522         * stdio-common/vfprintf.c: Likewise.
74523         * stdio-common/vfscanf.c: Likewise.
74524         * stdlib/strfmon_l.c: Likewise.
74525         * sunrpc/openchild.c: Likewise.
74526         * sunrpc/xdr_stdio.c: Likewise.
74527         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
74528         * sysdeps/mach/hurd/tmpfile.c: Likewise.
74530 2012-05-24  Roland McGrath  <roland@hack.frob.com>
74532         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74534         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
74535         in the third column, to generate for the shared library an IFUNC
74536         that uses _dl_vdso_vsym.
74537         * Makerules (COMPILE.c, compile-stdin.c): New variables.
74538         * Makeconfig (object-suffixes-noshared): New variable.
74540         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
74541         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
74542         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
74543         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
74545         [BZ #14132]
74546         * include/sys/time.h (__gettimeofday): Remove macro.
74547         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
74548         * time/gettimeofday.c (__gettimeofday): Remove #undef.
74549         Remove INTDEF.
74550         (__gettimeofday): Add libc_hidden_def.
74551         (gettimeofday): Add libc_hidden_weak.
74552         * sysdeps/mach/gettimeofday.c: Likewise.
74553         * sysdeps/posix/gettimeofday.c: Likewise.
74554         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
74555         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
74556         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
74557         (__gettimeofday_internal): Remove strong_alias.
74558         (__gettimeofday): Add libc_hidden_def.
74559         (gettimeofday): Add libc_hidden_weak.
74560         * sysdeps/unix/syscalls.list (gettimeofday):
74561         Remove __gettimeofday_internal alias.
74563 2012-05-24  Daniel Jacobowitz  <drow@false.org>
74564             H.J. Lu  <hongjiu.lu@intel.com>
74566         [BZ #12495]
74567         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
74568         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
74569         (largebin_index_32_big): New.
74570         (largebin_index): Use it for 16-byte alignment.
74571         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
74572         correction with front_misalign.
74574 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
74577         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
74578         Likewise.
74579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
74580         Likewise.
74581         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
74582         Likewise.
74583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
74584         Likewise.
74585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
74586         Likewise.
74587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
74588         Likewise.
74589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
74590         Likewise.
74591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
74592         Likewise.
74593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
74594         Likewise.
74595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
74596         Likewise.
74597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
74598         Likewise.
74599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
74600         Likewise.
74602         * scripts/data/c++-types-x32-linux-gnu.data: New file.
74603         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
74605 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74607         [BZ #10846]
74608         [BZ #14036]
74609         * math/libm-test.inc (exp_test): Add test from bug 14036.
74610         (pow_test): Add test from bug 10846.
74612         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
74613         and other flags.
74614         (special_function): Do not include flags in test name.
74615         (parse_args): Likewise.
74616         * sysdeps/i386/fpu/libm-test-ulps: Update.
74617         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74618         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
74619         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
74620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74622         * math/gen-libm-test.pl (%beautify): Add entries for underflow
74623         exceptions.
74624         * math/libm-test.inc ("Philosophy"): Update comment about
74625         exception testing.
74626         (UNDERFLOW_EXCEPTION): New macro.
74627         (UNDERFLOW_EXCEPTION_OK): Likewise.
74628         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
74629         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
74630         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
74631         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
74632         (INVALID_EXCEPTION_OK): Update value.
74633         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74634         (OVERFLOW_EXCEPTION_OK): Likewise.
74635         (IGNORE_ZERO_INF_SIGN): Likewise.
74636         (test_exceptions): Handle underflow exceptions.
74637         (acos_test): Update for underflow exception expectations.
74638         (cexp_test): Likewise.
74639         (clog_test): Likewise.
74640         (clog10_test): Likewise.
74641         (csqrt_test): Likewise.
74642         (ctan_test): Likewise.
74643         (ctanh_test): Likewise.
74644         (exp_test): Likewise.
74645         (exp10_test): Likewise.
74646         (exp2_test): Likewise.
74647         (expm1_test): Likewise.
74648         (fma_test): Likewise.
74649         (j0_test): Likewise.
74650         (jn_test): Likewise.
74651         (nexttoward_test): Likewise.
74652         (pow_test): Likewise.
74653         (scalbn_test): Likewise.
74654         (scalbln_test): Likewise.
74655         (tan_test): Likewise.
74656         (y1_test): Likewise.
74657         * sysdeps/i386/fpu/libm-test-ulps: Update.
74658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74660 2012-05-23  David S. Miller  <davem@davemloft.net>
74662         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
74663         (__libc_sigaction): Remove unused local variables.
74665 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74667         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
74669 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
74671         mktime: avoid signed integer overflow
74672         * time/mktime.c (__mktime_internal): Do not mishandle the case
74673         where diff == INT_MIN.
74675         mktime: simplify computation of average
74676         * time/mktime.c (ranged_convert): Use new time_t_avg function
74677         instead of rolling our own (probably-slower) code.
74679         mktime: do not assume signed right shift propagates sign bit
74680         * time/mktime.c (isdst_differ): New static function.
74681         (__mktime_internal): No need to normalize tm_isdst now.
74682         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
74683         tm_isdst values.
74685         mktime: merge another wrapv change from gnulib
74686         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
74687         from some compilers.
74689         mktime: remove incorrect attempt at unusual arithmetics
74690         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
74691         The code didn't really work on such machines anyway.
74692         (TYPE_MINIMUM): Assume two's complement.
74693         (twos_complement_arithmetic): Verify that long_int and time_t
74694         are two's complement (or unsigned, in the latter case).
74696         mktime: check signed shifts on long_int and time_t, too
74697         * time/mktime.c (SHR): Check that shifts work as desired
74698         on the types long_int and time_t too, as SHR is used on
74699         such types.
74701         mktime: do not assume 'long' is wide enough
74702         * time/mktime.c (verify): Move decl up.
74703         (long_int): New type.
74704         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
74705         to remove assumption in the code that 'long' is wide enough to
74706         store year values.  This assumption is not true on x32 and on
74707         some non-glibc platforms.
74709         mktime: merge wrapv change from gnulib
74710         * time/mktime.c (WRAPV): New macro.
74711         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
74712         (guess_time_tm, __mktime_internal): Do not assume that signed
74713         integer overflow wraps around; modern compilers generate code
74714         where this assumption is no longer valid.
74716 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74718         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74719         Replace "jmp L(pseudo_end)" with "ret".
74720         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
74721         Likewise.
74723 2012-05-23  Andreas Jaeger  <aj@suse.de>
74725         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
74726         * sysdeps/unix/sysv/linux/poll.c: Remove file.
74728 2012-05-23  Andreas Jaeger  <aj@suse.de>
74729             Maximilian Attems  <max@stro.at>
74731         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
74732         New macros.
74734 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74736         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
74737         code so that pseudo_end is just ret and the stack pointer is
74738         correct also for static library in error case.
74740 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
74742         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
74743         move to syscalls.list.
74744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
74745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
74746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
74747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
74749         * manual/install.texi (Running make install): Do not mention Linux
74750         kernel version for which pt_chown is not needed.
74751         (Linux): Do not mention problems with nscd with 2.0 kernels.
74752         * INSTALL: Regenerated.
74754 2012-05-23  Andreas Jaeger  <aj@suse.de>
74756         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
74757         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
74758         macro.
74759         * sysdeps/unix/sysv/linux/s390/bits/mman.h
74760         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74761         * sysdeps/unix/sysv/linux/sh/bits/mman.h
74762         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74763         * sysdeps/unix/sysv/linux/i386/bits/mman.h
74764         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74765         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
74766         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74767         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
74768         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74769         * sysdeps/unix/sysv/linux/bits/in.h
74770         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
74772 2012-05-22  Roland McGrath  <roland@hack.frob.com>
74774         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
74775         (PREPARE_VERSION): Just use assert instead, it will be elided
74776         under [NDEBUG] anyway.
74778 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74780         * sysdeps/unix/sysv/linux/Makefile: Include
74781         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
74782         (sysdep_routines): Remove sysctl.
74783         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
74784         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
74785         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
74786         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
74787         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
74789 2012-05-22  Andreas Jaeger  <aj@suse.de>
74791         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
74792         that pseudo_end is just ret and the stack pointer is correct also
74793         for static library in error case.
74795 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
74797         [BZ #14122]
74798         * nss/nsswitch.c (defconfig_entries): New variable.
74799         (__nss_database_lookup): Don't leak defconfig entries.
74800         (nss_parse_service_list): Don't leak on error paths.
74801         (free_database_entries): New function.
74802         (free_defconfig): New function.
74803         (free_mem): Move common code to free_database_entries.
74805 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74807         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
74808         Add arch_prctl.
74809         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
74811         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
74812         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
74813         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
74814         New macro.
74815         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
74816         (INTERNAL_SYSCALL_TYPES): Likewise.
74817         (LOAD_ARGS_TYPES_[1-6]): Likewise.
74818         (LOAD_REGS_TYPES_[1-6]): Likewise.
74819         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
74820         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
74822 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74824         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
74825         copysignl for GLIBC_2_0.
74826         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
74827         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
74828         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
74829         logbl for GLIBC_2_0.
74830         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
74831         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
74833 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74835         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
74836         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74838         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74839         Use "neg %eax".
74841         * time/mktime.c: Update copyright years.
74843 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
74845         mktime: merge comment-quoting-style change from gnulib
74846         * time/mktime.c: Quote 'like this' in comments.
74847         The GNU coding standards suggest that we no longer quote `like this',
74848         as "`" and "'" are typically rendered asymmetrically nowadays.
74849         The typical gnulib style is to quote 'like this' when quoting
74850         code, and "like this" when quoting English.
74852         * time/mktime.c (compile-command): Add "-I.".
74854         mktime: merge mktime-internal.h change from gnulib
74855         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
74857         mktime: merge time_r change from gnulib
74858         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
74860         mktime: merge DEBUG change from gnulib
74861         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
74862         case system <time.h> has a #define.
74864         mktime: merge <sys/types.h> change from gnulib
74865         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
74866         since <time.t> is now guaranteed to define time_t.
74868         mktime: merge HAVE_CONFIG_H change from gnulib
74869         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
74871 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74873         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74874         Use "neg %eax".
74876         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
74877         __rlim_t cast.
74878         (struct rusage): Use anonymous union to pad each field to
74879         __syscall_slong_t.
74881 2012-05-21  David S. Miller  <davem@davemloft.net>
74883         * Makefules (o-iterator): Remove .s cases.
74884         (compile-command.s): Delete.
74885         (COMPILE.s): Delete.
74886         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
74888 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
74890         * configure.in (libc_cv_predef_stack_protector): Only consider
74891         "foobar" and "__stack_chk_fail" lines in libc_undefs.
74892         * configure: Regenerated.
74894 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74896         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74897         New macro.  Use R*LP on int and pointer.
74898         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
74899         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
74900         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
74901         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
74903         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
74904         [__WORDSIZE_TIME64_COMPAT32] instead of
74905         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
74906         (struct utmp): Likewise.
74907         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
74908         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
74909         Renamed to ...
74910         (__WORDSIZE_TIME64_COMPAT32): This.
74911         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
74912         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
74913         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
74914         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
74915         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
74916         (__WORDSIZE_TIME64_COMPAT32): New macro.
74918 2012-05-21  Andreas Jaeger  <aj@suse.de>
74920         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
74921         only if [SHARED]. Add prototype for __wcschr_ia32.
74923 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74925         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
74926         of %rbp unmolested in the jmp_buf while mangling the low bits.
74927         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
74928         unmolested high bits of %rbp while demangling the low bits.
74929         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74931 2012-05-21  Andreas Jaeger  <aj@suse.de>
74933         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
74934         * sunrpc/svc_simple.c: Use it for registerrpc.
74935         * sunrpc/xcrypt.c: Use it for passwd2des.
74937         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
74939 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74941         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
74942         Don't define if [__SYSCALL_WORDSIZE != 32].
74943         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
74944         New macro.
74946 2012-05-21  Bruno Haible  <bruno@clisp.org>
74947             Andreas Jaeger  <aj@suse.de>
74949         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
74950         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
74951         inptr and inend for must_buffer_ch.
74952         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
74953         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
74954         * stdio-common/Makefile (tests): Remove bug15.
74955         (bug15-ENV): Remove macro.
74956         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
74957         anymore.
74959 2012-05-19  Andreas Jaeger  <aj@suse.de>
74960             Roland McGrath  <roland@hack.frob.com>
74962         * manual/contrib.texi: Completely rewritten. It contains now an
74963         alphabetical list of contributors and their contributions.
74965 2012-05-21  Richard Henderson  <rth@twiddle.net>
74967         * misc/getauxval.c (__getauxval): Use unsigned long int.
74968         * misc/sys/auxv.h: Include <sys/cdefs.h>.
74969         (getauxval): Use unsigned long int.
74971 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74973         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74975 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74977         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
74978         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
74979         __alignof__ (long double).
74981 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74985 2012-05-20  Richard Henderson  <rth@twiddle.net>
74987         * misc/getauxval.c: New file.
74988         * misc/sys/auxv.h: New file.
74989         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
74990         (routines): Add getauxval.
74991         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
74992         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
74993         * elf/dl-sysdep.c (_dl_auxv): Remove.
74994         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
74995         * elf/dl-support.c (_dl_auxv): New variable.
74996         (_dl_aux_init): Initialize it.
74997         * manual/startup.texi (Auxiliary Vector): New node.
74998         * sysdeps/generic/bits/hwcap.h: New file.
74999         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
75000         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
75001         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
75002         * sysdeps/sparc/sysdep.h: ... here.  Include it.
75003         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
75004         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
75005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75006         Update.
75007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
75008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
75009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
75010         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
75011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
75014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
75016 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75020 2012-05-19  David S. Miller  <davem@davemloft.net>
75022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75024 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75026         [BZ #14123]
75027         * math/s_ccosh.c: Include <float.h>
75028         (__ccosh): Avoid internal overflow calculating sinh and cosh
75029         values before multiplying by sin and cos values.
75030         * math/s_ccoshf.c: Likewise.
75031         * math/s_ccoshl.c: Likewise.
75032         * math/s_csin.c: Likewise.
75033         * math/s_csinf.c: Likewise.
75034         * math/s_csinl.c: Likewise.
75035         * math/s_csinh.c: Likewise.
75036         * math/s_csinhf.c: Likewise.
75037         * math/s_csinhl.c: Likewise.
75038         * math/libm-test.inc (ccos_test): Add more tests.
75039         (ccosh_test): Likewise.
75040         (csin_test): Likewise.
75041         (csinh_test): Likewise.
75042         * sysdeps/i386/fpu/libm-test-ulps: Update.
75043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75045 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
75047         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
75048         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
75050         * sysdeps/x86_64/x32/_itoa.h: Add comment.
75052 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75054         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
75055         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
75056         * sysdeps/powerpc/soft-fp/Versions: Likewise.
75057         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
75058         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
75059         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
75060         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
75061         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
75062         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
75063         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
75064         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
75065         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
75066         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
75067         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
75068         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
75069         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
75070         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
75071         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
75072         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
75073         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
75074         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
75075         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
75076         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
75077         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
75078         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
75079         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
75080         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
75081         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
75082         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
75083         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
75084         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
75086 2012-05-18  Andreas Jaeger  <aj@suse.de>
75088         * csu/.gitignore: Delete.
75090 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75092         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
75093         (timex): Use __syscall_slong_t.
75095 2012-05-18  Andreas Jaeger  <aj@suse.de>
75096             Carlos O'Donell  <carlos_odonell@mentor.com>
75098         * manual/install.texi (Configuring and compiling): Update
75099         description about files modified in the source directory.
75100         * INSTALL: Regenerated.
75102 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75104         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
75105         value.  Use "or" to set return value to -1.
75106         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
75107         negate return value.
75109 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75111         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
75112         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
75113         failure if the compiler has Graphite support disabled.
75114         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
75115         Likewise.
75116         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
75117         (CFLAGS-memmove.c): Likewise.
75118         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
75119         Likewise.
75121 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75123         * sysdeps/x86_64/x32/_itoa.h: New file.
75125         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
75126         getdents system call only if kernel and user dirents have the
75127         same d_ino and d_off.
75129         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75130         LLONG_MAX != LONG_MAX.
75131         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75132         (_fitoa_word): Likewise.
75134         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
75135         years.
75136         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
75137         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
75138         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
75140         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
75141         include <bits/wordsize.h>.  Check __x86_64__ instead of
75142         __WORDSIZE.
75143         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
75144         if __x86_64__ is defined.  Use anonymous union on fpstate.
75146         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
75147         anonymous union.
75149 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
75151         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
75152         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
75153         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
75154         Refer to _rtld_local_ro instead of _rtld_global_ro.
75155         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
75156         Likewise.
75157         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
75158         Likewise.
75159         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
75160         Likewise.
75161         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
75162         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
75163         of _rtld_global, and rtld_progname instead of _dl_argv[0].
75165         [BZ #10882]
75166         * sysdeps/powerpc/powerpc32/dl-machine.c
75167         (__elf_machine_runtime_setup) [PROF]: Don't reference
75168         _dl_prof_resolve.
75170 2012-05-18  Andreas Jaeger  <aj@suse.de>
75172         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
75173         function only available for GCCs before 3.4 since GCC 3.4
75174         introduced a builtin.
75175         (lrint): Likewise.
75176         (llrintf): Likewise.
75177         (llrint): Likewise.
75178         (fmaxf): Likewise.
75179         (fmax): Likewise.
75180         (fminf): Likewise.
75181         (fmin): Likewise.
75182         (rint): Likewise.
75183         (rintf): Likewise.
75184         (nearbyint): Likewise.
75185         (nearbyintf): Likewise.
75186         (ceil): Likewise.
75187         (ceilf): Likewise.
75188         (floor): Likewise.
75189         (floorf): Likewise.
75191 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75193         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
75194         on both fields and cast pointer to __syscall_ulong_t.
75196         * bits/types.h (__fsword_t): New type.
75197         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
75198         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
75199         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75200         (__FSWORD_T_TYPE): Likewise.
75201         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75202         (__FSWORD_T_TYPE): Likewise.
75203         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75204         (__FSWORD_T_TYPE): Likewise.
75205         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
75206         (__FSWORD_T_TYPE): Likewise.
75207         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
75208         __SWORD_TYPE with __fsword_t.
75209         (statfs64): Likewise.
75211 2012-05-17  David S. Miller  <davem@davemloft.net>
75213         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
75215 2012-05-17  Andreas Jaeger  <aj@suse.de>
75217         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
75218         warning.
75220 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75222         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
75224 2012-05-17  Andreas Jaeger  <aj@suse.de>
75226         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
75227         when it is used.
75229 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75231         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
75233 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75235         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
75236         * sysdeps/x86_64/tst-mallocalign1.c: New file.
75238 2012-05-17  Andreas Jaeger  <aj@suse.de>
75239             Carlos O'Donell  <carlos_odonell@mentor.com>
75241         [BZ #14059]
75242         * sysdeps/x86_64/multiarch/init-arch.h
75243         (bit_YMM_Usable): Rename to...
75244         (bit_AVX_Usable): ... this.
75245         (bit_FMA4_Usable): New macro.
75246         (bit_XMM_state): New macro.
75247         (bit_YMM_state): New macro.
75248         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
75249         [__ASSEMBLER__] (index_AVX_Usable): ... this.
75250         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
75251         (CPUID_OSXSAVE): New macro.
75252         (CPUID_AVX): New macro.
75253         (CPUID_FMA4): New macro.
75254         (index_YMM_Usable): Rename to...
75255         (index_AVX_Usable): ... this.
75256         (HAS_AVX): Use HAS_ARCH_FEATURE.
75257         (HAS_FMA4): Likewise.
75258         (HAS_YMM_USABLE): Remove.
75259         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75260         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
75261         are present.
75262         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
75263         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
75264         * sysdeps/x86_64/multiarch/Makefile: Likewise.
75265         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
75266         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
75268 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75270         * math/libm-test.c: Support platforms without multiple rounding modes.
75271         * math/bug-nextafter.c: Support platforms without FP exceptions.
75272         * math/bug-nexttoward.c: Likewise.
75273         * math/test-fenv.c: Likewise.
75274         * math/test-misc.c: Likewise.
75275         * stdlib/bug-getcontext.c: Likewise.
75277 2012-05-17  Andreas Jaeger  <aj@suse.de>
75279         * manual/examples/search.c (critter_cmp): Change signature to
75280         avoid warnings.
75281         * manual/string.texi (Collation Functions): Likewise.
75283 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75285         * bits/types.h: Fold copyright years.
75286         * bits/typesizes.h: Likewise.
75287         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
75288         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
75289         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
75290         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
75291         * time/time.h: Likewise.
75293 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
75295         [BZ #208]
75296         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
75297         in instead of returning them.  Return void.
75298         (__libc_mallinfo): Accumulate over all arenas.
75299         (__malloc_stats): Adjust for change in int_mallinfo interface.
75301 2012-05-16  Roland McGrath  <roland@hack.frob.com>
75303         [BZ #10375]
75304         * configure.in (NM): Add AC_CHECK_TOOL for it.
75305         (libc_extra_cflags): New substituted variable.
75306         Check for -fstack-protector being used implicitly.
75307         * configure: Regenerated.
75308         * config.make.in (config-extra-cflags): New variable,
75309         gets @libc_extra_cflags@.
75310         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
75312         [BZ #10375]
75313         * configure.in: Check for _FORTIFY_SOURCE being predefined.
75314         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
75315         * configure: Regenerated.
75316         * config.make.in (CPPUNDEFS): New substituted variable.
75317         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
75318         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
75319         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
75321 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75323         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
75324         (mq_attr): Use __syscall_slong_t.
75326 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75328         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
75329         Check __x86_64__ instead of __WORDSIZE.
75330         (_STAT_VER_LINUX): Likewise.
75331         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
75332         __syscall_ulong_t and __syscall_slong_t.
75333         (stat64): Likewise.
75335 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75337         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
75339 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75341         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
75343 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75345         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
75346         __syscall_ulong_t.
75348         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
75349         include <bits/wordsize.h>.  Check __x86_64__ instead of
75350         __WORDSIZE.
75351         (greg_t): Use "__extension__ long long int" if __x86_64__ is
75352         defined.
75353         (mcontext_t): Replace "unsigned long" with "unsigned long long".
75355         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
75356         include <bits/wordsize.h>.  Check __x86_64__ instead of
75357         __WORDSIZE.
75358         (user_regs_struct): Use "__extension__ unsigned long long"
75359         instead of "unsigned long" if __x86_64__ is defined.
75360         (user): Likewise.  Pad after pointer field if __ILP32__ is
75361         defined.
75363 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
75365         * configure.in (makeinfo): Require version 4.5 or later.  Allow
75366         versions 5 to 9.
75367         * configure: Regenerated.
75368         * manual/install.texi (texinfo): Increase version requirement to
75369         4.5 or later.
75370         * INSTALL: Regenerated.
75372         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
75374 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75376         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
75378         * sysdeps/x86_64/x32/ffs.c: New file.
75380         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
75381         __syscall_ulong_t.
75382         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
75383         defined.  Use __syscall_ulong_t.
75384         (shminfo): Use __syscall_ulong_t.
75385         (shm_info): Likewise.
75387         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
75388         __syscall_ulong_t.
75390         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
75391         <bits/wordsize.h>.
75392         (msgqnum_t): Use __syscall_ulong_t.
75393         (msglen_t): Likewise.
75394         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
75395         __syscall_ulong_t.
75397         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
75398         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75400         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
75402         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
75403         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
75405         * sysvipc/sys/msg.h (msgbuf): Replace long int with
75406         __syscall_slong_t.
75408         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
75409         include <bits/wordsize.h>.  Check __x86_64__ instead of
75410         __WORDSIZE.
75412         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
75413         "unsigned long long int" if __x86_64__ is defined.
75414         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
75416         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
75417         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75418         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
75420         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
75421         <stdint.h>.
75422         (GET_PC): Cast to uintptr_t first.
75423         (GET_FRAME): Likewise.
75424         (GET_STACK): Likewise.
75426         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
75427         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
75428         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
75429         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
75430         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
75431         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
75432         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
75433         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
75434         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
75435         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
75436         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
75437         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
75438         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75439         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
75440         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
75441         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
75442         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
75443         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
75444         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
75445         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
75446         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
75447         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
75448         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
75449         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
75450         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
75451         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
75452         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
75453         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
75454         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
75456 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
75458         * Makerules (+depfiles): Also collect depfiles from .oS in
75459         $(extra-objs).
75460         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
75461         .oS, $(libnldbl-routines)).
75463         * Makerules (native-compile-mkdep-flags): Define.
75464         * sunrpc/Makefile (extra-objs): Add $(addprefix
75465         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
75466         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
75467         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
75468         calling $(make-target-directory).
75470 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75472         * bits/types.h (__snseconds_t): Removed.
75473         * time/time.h (struct timespec): Replace __snseconds_t with
75474         __syscall_slong_t.
75475         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
75476         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
75477         Likewise.
75478         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75479         (__SNSECONDS_T_TYPE): Likewise.
75480         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75481         (__SNSECONDS_T_TYPE): Likewise.
75482         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75483         (__SNSECONDS_T_TYPE): Likewise.
75485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75487         * sysdeps/mach/hurd/bits/typesizes.h
75488         (__SYSCALL_SLONG_TYPE): New macro.
75489         (__SYSCALL_ULONG_TYPE): Likewise.
75491 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75493         * bits/types.h (__syscall_slong_t): New type.
75494         (__syscall_ulong_t): Likewise.
75496         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
75497         (__SYSCALL_ULONG_TYPE): Likewise.
75498         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75499         (__SYSCALL_SLONG_TYPE): Likewise.
75500         (__SYSCALL_ULONG_TYPE): Likewise.
75501         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75502         (__SYSCALL_SLONG_TYPE): Likewise.
75503         (__SYSCALL_ULONG_TYPE): Likewise.
75504         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75505         (__SYSCALL_SLONG_TYPE): Likewise.
75506         (__SYSCALL_ULONG_TYPE): Likewise.
75508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75510         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
75511         Add sigaltstack-offsets.sym.
75512         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
75513         <sigaltstack-offsets.h>.
75514         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
75515         longjmp_msg pointer.
75516         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
75517         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
75518         signal stack.
75519         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
75521 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75523         * elf/stackguard-macros.h: Remove file.
75524         * sysdeps/generic/stackguard-macros.h: New file.
75525         * sysdeps/i386/stackguard-macros.h: Likewise.
75526         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
75527         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
75528         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
75529         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
75530         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
75531         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
75532         * sysdeps/x86_64/stackguard-macros.h: Likewise.
75533         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
75534         <elf/stackguard-macros.h>.
75536         [BZ #14109]
75537         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
75538         __aligned__ in attribute.
75539         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
75540         (gregset_t): Likewise.
75542 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75544         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
75545         * sysdeps/x86_64/64/Implies-after: Here.  New file.
75546         * sysdeps/x86_64/x32/Implies-after: New file.
75548 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75550         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
75551         and access return value for _dl_profile_fixup.  Use R10_LP to
75552         load frame size.
75554 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75556         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
75558 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75560         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
75561         * sysdeps/x86_64/x32/sysdep.h: New file.
75563 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75565         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
75566         * sysdeps/x86_64/setjmp.S: Likewise.
75568 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75570         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
75571         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
75572         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
75573         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
75574         remove unused global constant.
75576 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
75578         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
75579         include of <not-cancel.h>.
75581 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75583         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
75585 2012-05-15  Jeff Law  <law@redhat.com>
75586             Andreas Jaeger  <aj@suse.de>
75588         [BZ #13594]
75589         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
75590         out from...
75591         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
75592         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
75593         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
75594         code changing __hst_map_handle.map.
75596 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75598         * configure.in (sysnames): Look for Implies-before and Implies-after
75599         files.
75600         * configure: Regenerated.
75602 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75604         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
75605         8-byte data alignment with LP_SIZE alignment.
75607 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75609         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
75610         into R10_LP.
75612 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75614         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
75616 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75618         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
75619         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
75620         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
75621         Likewise.
75622         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
75624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75626         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
75627         (stackinfo_sub_sp): Likewise.
75629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75631         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
75632         RAX_LP.
75634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75636         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
75637         into R*_LP.
75639 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75641         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
75642         sizes into R*_LP.
75644 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75646         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
75648 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75650         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
75651         into R11_LP and load __x86_64_shared_cache_size_half into
75652         R8_LP.
75654 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75656         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
75657         R8_LP.
75659 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75661         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
75662         logb for POWER7.
75663         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
75664         logbf for POWER7.
75665         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
75666         logbl for POWER7.
75667         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
75668         powerpc32/power7/fpu/s_logb.c via #include.
75669         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
75670         powerpc32/power7/fpu/s_logbf.c via #include.
75671         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
75672         powerpc32/power7/fpu/s_logbl.c via #include.
75674 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75676         * README.libm: Remove file.
75678 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75680         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
75681         count for x32.  Use R*_LP and omit operand-size suffix.
75683 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75685         * shlib-versions: Move x86_64-.*-linux.* entries to ...
75686         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
75687         * sysdeps/x86_64/x32/shlib-versions: New file.
75689 2012-05-14  Roland McGrath  <roland@hack.frob.com>
75691         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
75692         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
75693         Use _dl_fatal_printf instead.
75695 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75697         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
75698         set if not set by the user.  Do not allow for being unset.
75699         * sysdeps/unix/sysv/linux/configure: Regenerated.
75701 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75703         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
75704         the `q' suffix from lea and replace .quad with ASM_ADDR.
75706 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75708         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
75709         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
75710         instead of $17.
75711         (PTR_DEMANGLE): Likewise.
75713 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75715         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
75716         (LP_OP): Likewise.
75717         (ASM_ADDR): Likewise.
75718         (RAX_LP): Likewise.
75719         (RBP_LP): Likewise.
75720         (RBX_LP): Likewise.
75721         (RCX_LP): Likewise.
75722         (RDI_LP): Likewise.
75723         (RSI_LP): Likewise.
75724         (RSP_LP): Likewise.
75725         (R8_LP): Likewise.
75726         (R9_LP): Likewise.
75727         (R10_LP): Likewise.
75728         (R10_LP): Likewise.
75729         (R11_LP): Likewise.
75730         (R12_LP): Likewise.
75731         (R13_LP): Likewise.
75732         (R14_LP): Likewise.
75733         (R15_LP): Likewise.
75735 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75737         * sysdeps/x86_64/x32/dl-machine.h: New file.
75739 2012-05-14  Andreas Jaeger  <aj@suse.de>
75741         * manual/Makefile (subdir): Remove export of subdir.
75742         (all): Remove target.
75743         (.PHONY): Remove all from list.
75744         (mkinstalldirs): Remove.
75745         (.PHONY): Remove installdirs from list.
75746         ($(inst_infodir)/libc.info): Use make-target-directory.
75747         (installdirs): Remove.
75748         (subdir_%): Remove.
75749         (glibc-targets): Remove.
75750         (lib): Remove.
75751         (stubs): Remove.
75752         ($(objpfx)stubs ../po/manual.pot): Remove.
75753         ($(objpfx)stamp%): Remove.
75754         (make-target-directory): Remove.
75755         (subdir_install): Remove.
75756         (routines): Remove.
75757         (aux): Remove.
75758         (sources): Remove.
75759         (objects): Remove.
75760         (headers): Remove.
75762         [BZ #13750]
75763         * manual/.gitignore: Remove, it's not needed anymore.
75764         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
75765         all files in it.
75766         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
75767         directory.
75768         (texis): Renamed to $(objpfx)texis.
75769         (texis-path): New, contains path to generated files.
75770         (chapters.%): Use texis-path for complete path, add extra argument
75771         libc-texinfo.sh.
75772         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
75773         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
75774         (summary,texi, stamp-summary): Use complete path of
75775         files. Generate files in build dir.
75776         (dir-add.texi): Build in build dir.
75777         (libm-err.texi,stamp-libm-err): Likewise.
75778         (version.texi, stamp-version): Likewise.
75779         (.%c.texi): Likewise.
75780         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
75781         (mostlyclean): Remove target.
75782         (realclean): Remove target.
75783         (generated): Add new variable with contents from mostlyclean and
75784         realclean, remove entries duplicated in common-mostlyclean, add
75785         stamp-libm-err and stamp-version.
75786         (generated-dirs): Add libc directory.
75787         ($(inst_infodir)/libc.info): Install files from build dir.
75789         * manual/install.texi (Configuring and compiling): Adjust since
75790         the info files are not part of the tar ball anymore.
75792 2012-05-14  Andreas Jaeger  <aj@suse.de>
75794         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
75795         variable.
75797 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75799         [BZ #13717]
75800         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75801         to 2.2.0 where earlier.
75802         * sysdeps/unix/sysv/linux/configure: Regenerated.
75803         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
75804         Remove conditional code.
75805         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
75806         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
75807         Remove conditional code.
75808         [!__NR_lchown]: Likewise.
75809         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75810         [__NR_lchown]: Likewise.
75811         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
75812         comment referencing __ASSUME_LCHOWN_SYSCALL.
75813         * sysdeps/unix/sysv/linux/i386/sigaction.c
75814         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75815         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75816         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
75817         Remove conditional code.
75818         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
75819         (__protocol_available): Remove #if 0 code.
75820         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
75821         conditional code.
75822         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
75823         * sysdeps/unix/sysv/linux/kernel-features.h
75824         (__ASSUME_GETCWD_SYSCALL): Don't define.
75825         (__ASSUME_REALTIME_SIGNALS): Likewise.
75826         (__ASSUME_PREAD_SYSCALL): Likewise.
75827         (__ASSUME_PWRITE_SYSCALL): Likewise.
75828         (__ASSUME_POLL_SYSCALL): Likewise.
75829         (__ASSUME_LCHOWN_SYSCALL): Likewise.
75830         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
75831         non-SPARC.
75832         (__ASSUME_SIOCGIFNAME): Don't define.
75833         (__ASSUME_MSG_NOSIGNAL): Likewise.
75834         (__ASSUME_SENDFILE): Define unconditionally.
75835         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
75836         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
75837         conditional code.
75838         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
75839         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
75840         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75841         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75842         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
75843         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75844         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
75846         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75847         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
75849         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75850         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
75852         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75853         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
75855         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75856         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
75858         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75859         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
75861         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75862         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
75864         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75865         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
75867         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75868         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75869         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
75870         Remove conditional code.
75871         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75872         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75873         Remove conditional code.
75874         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75875         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
75876         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
75877         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75878         Remove conditional code.
75879         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75880         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
75881         Remove conditional code.
75882         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75883         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
75884         Remove conditional code.
75885         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75886         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75887         Remove conditional code.
75888         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75889         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75890         Remove conditional code.
75891         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75892         * sysdeps/unix/sysv/linux/sh/pwrite64.c
75893         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75894         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75895         * sysdeps/unix/sysv/linux/sigaction.c
75896         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75897         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75898         * sysdeps/unix/sysv/linux/sigpending.c
75899         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75900         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75901         * sysdeps/unix/sysv/linux/sigprocmask.c
75902         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75903         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75904         * sysdeps/unix/sysv/linux/sigsuspend.c
75905         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75906         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75907         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75908         (__libc_missing_rt_sigs): Remove.
75909         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
75910         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
75911         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
75912         Remove conditional code.
75913         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
75914         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
75915         return 1.
75916         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
75917         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
75918         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
75919         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
75921 2012-05-14  Andreas Jaeger  <aj@suse.de>
75923         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
75924         it's not used in glibc.
75925         (__coshm1): Likewise.
75926         (__acosh1p): Likewise.
75927         (__sgn): Likewise.
75929         * manual/string.texi (Copying and Concatenation): Add missing
75930         variable in concat example.
75931         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
75933 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75935         [BZ #14103]
75936         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
75937         __builtin_clzl with __builtin_clzll.
75939 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75941         [BZ #14104]
75942         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
75943         libc_freeres_ptr.
75945 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75947         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
75948         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
75949         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
75950         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
75952 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
75954         * NEWS: Update ia64 info.
75956 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
75958         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
75959         used as bcopy.
75961 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
75963         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
75964         * sysdeps/unix/syscalls.list (dup3): Likewise.
75965         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
75966         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
75968 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75970         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
75971         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
75973 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75975         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
75976         thread pointer.
75977         (TLS_IE): Use mov/add instead of movq/addq to load thread
75978         pointer.
75979         (TLS_GD_PREFIX): New.
75980         (TLS_GD): Use it.
75982 2012-05-11  David S. Miller  <davem@davemloft.net>
75984         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
75985         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
75986         (_FPU_SETCW): Likewise.
75988 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75990         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
75991         is 32-byte aligned.
75993 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
75995         [BZ #11837]
75996         * iconvdata/gb18030.c: Update tables.
75997         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
75998         characters specially.
75999         (BODY for TO_LOOP): Add encoding of missing ranges.
76001 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
76003         [BZ #13673]
76004         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
76005         * sysdeps/mach/hurd/dup3.c: Likewise.
76006         * sysdeps/mach/hurd/readlinkat.c: Likewise.
76007         * sysdeps/powerpc/memmove.c:: Likewise.
76009 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76011         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
76012         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
76014 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76016         * elf/elf.h (R_X86_64_RELATIVE64): New.
76017         (R_X86_64_NUM): Updated.
76018         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
76019         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
76020         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
76021         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
76022         tst-quad1pie tst-quad2pie
76023         (modules-names): Add tst-quadmod1 tst-quadmod2.
76024         ($(objpfx)tst-quad1): New dependency.
76025         ($(objpfx)tst-quad2): Likewise.
76026         ($(objpfx)tst-quad1pie): Likewise.
76027         ($(objpfx)tst-quad2pie): Likewise.
76028         * sysdeps/x86_64/tst-quad1.c: New file.
76029         * sysdeps/x86_64/tst-quad1pie.c: New file.
76030         * sysdeps/x86_64/tst-quad2.c: Likewise.
76031         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
76032         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
76033         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
76034         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
76035         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
76037 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76039         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
76040         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
76041         * streams/stropts.h (t_scalar_t): Define type.
76043         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
76044         (_PATH_PRESERVE): Set to "/var/lib".
76045         (_PATH_RWHODIR): Set to "/var/spool/rwho".
76047         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
76048         instead of int.
76050         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
76051         if __dir_mkfile succeeded.
76053         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
76054         checking for _hurd_dtablesize.  Unlock it right after having
76055         finished _hurd_dtable allocation.
76057 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76059         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
76060         * sysdeps/mach/hurd/configure: Regenerated.
76061         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
76062         special-casing to...
76063         * sysdeps/gnu/configure.in: ... this new file.
76064         * sysdeps/unix/sysv/linux/configure: Regenerated.
76065         * sysdeps/gnu/configure: New generated file.
76067         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
76068         for Linux: use nsec instead of usec, as well as:
76069         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
76070         members of type struct timespec.
76071         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
76072         New macros.
76073         (struct stat64): Likewise.
76074         (_STATBUF_ST_NSEC): New macro.
76075         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
76077         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76078         __strtoul_internal rather than strtoul.
76080 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76082         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
76083         and reject them.
76085 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76087         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
76088         which preserves existing values.
76089         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
76091 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76093         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
76094         TIMEOUT values.  Return EINVAL for NFDS values either negative or
76095         greater than FD_SETSIZE.
76097 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76099         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
76100         allocated, call __vm_protect to finish enabling the existing space, and
76101         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
76102         allocate the remainder.
76104 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76106         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
76107         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
76109 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76111         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
76112         sysdeps/mach/hurd/readlink.c.
76114         * posix/tst-sysconf.c (posix_options): Only use
76115         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
76116         _POSIX_SYNCHRONIZED_IO when they are defined
76117         * sysdeps/mach/hurd/bits/posix_opt.h:
76118         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
76119         (_XOPEN_REALTIME): Undefine macro.
76120         (_XOPEN_REALTIME_THREADS): Undefine macro.
76121         (_XOPEN_SHM): Undefine macro.
76122         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
76123         macro to -1.
76124         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
76125         macro to -1.
76126         (_POSIX_ASYNC_IO): Undefine macro.
76127         (_POSIX_PRIORITIZED_IO): Undefine macro.
76128         (_POSIX_SPIN_LOCKS): Define macro to -1.
76130         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
76131         SA_NODEFER, SA_RESETHAND.
76132         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
76133         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
76134         F_DUPFD_CLOEXEC.
76136 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76138         * elf/Makefile (pldd-modules): Define unconditionally.
76140 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76142         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
76144 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76146         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
76147         Return ENOENT when name is empty.
76148         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
76150 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76152         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
76154         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
76156 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76158         Fix mlock in all cases except non-readable pages.
76159         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
76160         instead of VM_PROT_ALL as parameter to __vm_wire function.
76162         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
76163         (__mkdir): When path is `/', just fail with EEXIST.
76164         * sysdeps/mach/hurd/mkdirat.c: Likewise.
76166 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76168         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
76169         <sys/uio.h> (for writev).
76170         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
76171         and <sys/param.h> (for MIN).
76173 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76175         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
76176         REQUESTED_TIME.  Properly set the remaining time and return EINTR
76177         if interrupted.
76179 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76181         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
76182         Depend on against $(link-rpcuserlibs).
76184 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76186         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
76187         (__libc_stack_end): Do not use attribute_relro.
76188         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
76189         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
76190         to libthread-provided value.
76191         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
76192         attribute_relro.
76194 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76196         [BZ #3748]
76197         * bits/libc-lock.h (__libc_once_get): New macro.
76198         * sysdeps/mach/bits/libc-lock.h: Likewise.
76199         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
76200         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
76201         instead of using implementation details.
76203         * libio/fileops.c: Unconditionally include <kernel-features.h>.
76204         * libio/freopen.c: Likewise.
76205         * libio/freopen64.c: Likewise.
76206         * misc/syslog.c: Likewise.
76207         * nscd/connections.c: Likewise.
76208         * nscd/netgroupcache.c: Likewise.
76209         * sysdeps/posix/getcwd.c: Likewise.
76211 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76213         * math/w_ilogbf.c: Add #include <limits.h>.
76215 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76217         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
76218         path instead of returning without unlocking.
76220         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
76221         immediate-write ioctls.
76222         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
76224 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76226         * sysdeps/mach/hurd/i386/init-first.c (init): Use
76227         __builtin_frame_address instead of making assumptions about the
76228         location of the return address relative to DATA.  Force early load of
76229         the return address.
76230         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
76231         __builtin_frame_address.
76233         dup3 for GNU Hurd.
76234         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
76235         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
76236         implement dup3 and do some further code clean-ups.
76237         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
76238         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
76240 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76242         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
76244         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
76245         HURD_CRITICAL_END around holding _hurd_dtable_lock.
76246         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
76247         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
76248         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
76249         d->port.lock.
76251         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
76252         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
76253         when handler == SIG_ERR, not when handler != SIG_ERR.
76255 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76257         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
76258         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
76259         definitions.
76261         accept4 for GNU Hurd.
76262         * include/sys/socket.h (__libc_accept4): New prototype.
76263         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
76264         to implement __libc_accept4.
76265         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
76266         __libc_accept4.
76267         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
76269         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
76270         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
76271         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
76272         signal-defines.sym.
76274 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76276         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
76278 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76280         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
76281         assertion on O_CLOEXEC flag.
76282         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
76283         * hurd/intern-fd.c: Likewise.
76284         * hurd/port2fd.c: Likewise.
76286 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76288         [BZ #3906]
76289         * bits/in.h (IPV6_PKTINFO): Define new macro.
76290         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
76292 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76294         [BZ #13954]
76295         [BZ #13955]
76296         [BZ #13956]
76297         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
76298         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76299         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
76300         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76301         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76302         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76303         * math/libm-test.inc (logb_test) : Additional logb tests.
76305 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
76306             Andreas Jaeger  <aj@suse.de>
76308         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
76309         * configure: Regenerated.
76310         * config.h.in (LINK_OBSOLETE_RPC): New macro.
76311         * config.make.in (link-obsolete-rpc): New substituted variable.
76312         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
76313         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
76314         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76315         (shared-only-routines): Don't set it under [link-obsolete-rpc],
76316         so that libc.a contains the symbols.
76317         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76318         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
76319         * sunrpc/auth_none.c: Likewise.
76320         * sunrpc/auth_unix.c: Likewise.
76321         * sunrpc/authdes_prot.c: Likewise.
76322         * sunrpc/authuxprot.c: Likewise.
76323         * sunrpc/clnt_gen.c: Likewise.
76324         * sunrpc/clnt_perr.c: Likewise.
76325         * sunrpc/clnt_raw.c: Likewise.
76326         * sunrpc/clnt_simp.c: Likewise.
76327         * sunrpc/clnt_tcp.c: Likewise.
76328         * sunrpc/clnt_udp.c: Likewise.
76329         * sunrpc/clnt_unix.c: Likewise.
76330         * sunrpc/des_crypt.c: Likewise.
76331         * sunrpc/des_soft.c: Likewise.
76332         * sunrpc/get_myaddr.c: Likewise.
76333         * sunrpc/key_call.c: Likewise.
76334         * sunrpc/key_prot.c: Likewise.
76335         * sunrpc/netname.c: Likewise.
76336         * sunrpc/pm_getmaps.c: Likewise.
76337         * sunrpc/pm_getport.c: Likewise.
76338         * sunrpc/pmap_clnt.c: Likewise.
76339         * sunrpc/pmap_prot.c: Likewise.
76340         * sunrpc/pmap_prot2.c: Likewise.
76341         * sunrpc/pmap_rmt.c: Likewise.
76342         * sunrpc/publickey.c: Likewise.
76343         * sunrpc/rpc_cmsg.c: Likewise.
76344         * sunrpc/rpc_common.c: Likewise.
76345         * sunrpc/rpc_dtable.c: Likewise.
76346         * sunrpc/rpc_prot.c: Likewise.
76347         * sunrpc/rpc_thread.c: Likewise.
76348         * sunrpc/rtime.c: Likewise.
76349         * sunrpc/svc.c: Likewise.
76350         * sunrpc/svc_auth.c: Likewise.
76351         * sunrpc/svc_raw.c: Likewise.
76352         * sunrpc/svc_run.c: Likewise.
76353         * sunrpc/svc_tcp.c: Likewise.
76354         * sunrpc/svc_udp.c: Likewise.
76355         * sunrpc/svc_unix.c: Likewise.
76356         * sunrpc/svcauth_des.c: Likewise.
76357         * sunrpc/xcrypt.c: Likewise.
76358         * sunrpc/xdr.c: Likewise.
76359         * sunrpc/xdr_array.c: Likewise.
76360         * sunrpc/xdr_float.c: Likewise.
76361         * sunrpc/xdr_intXX_t.c: Likewise.
76362         * sunrpc/xdr_mem.c: Likewise.
76363         * sunrpc/xdr_rec.c: Likewise.
76364         * sunrpc/xdr_ref.c: Likewise.
76365         * sunrpc/xdr_sizeof.c: Likewise.
76366         * sunrpc/xdr_stdio.c: Likewise.
76368 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76370         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
76371         change.  Update copyright years.
76373 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76375         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
76377 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
76378             Joseph Myers  <joseph@codesourcery.com>
76379             Paul Pluzhnikov  <ppluzhnikov@google.com>
76381         [BZ #14012]
76382         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
76383         requiring rpcgen.
76384         [cross-compiling] (extra-libs): Likewise.
76385         [cross-compiling] (extra-libs-others): Likewise.
76386         [cross-compiling] (librpcsvc-routines): Likewise.
76387         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
76388         [cross-compiling] (omit-deps): Likewise.
76389         (sunrpc-CPPFLAGS): New variable.
76390         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
76391         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
76392         (cross-rpcgen-objs): New variable.
76393         (extra-objs): Append $(cross-rpcgen-objs).
76394         ($(cross-rpcgen-objs)): New rule.
76395         ($(objpfx)cross-rpcgen): Likewise.
76396         (rpcgen-cmd): Define to use $(built-program-file).  Expand
76397         comment.
76398         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
76399         ($(objpfx)x%.stmp): Likewise.
76400         * sunrpc/proto.h [IS_IN_build] (_): Define.
76401         [IS_IN_build] (_libc_intl_domainname): Likewise.
76403 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76405         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
76406         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
76407         and R_X86_64_TPOFF64.
76409 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76411         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
76412         sysdeps/unix/sysv/syscalls.list.
76413         (stime): Likewise.
76414         (utime): Likewise.
76415         * sysdeps/unix/sysv/syscalls.list: Remove file.
76417 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
76419         [BZ #3440]
76420         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
76421         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
76422         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
76423         (__LC_IDENTIFICATION): Make these macros useful in #if
76424         expressions, as required by C99.
76426 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
76428         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
76429         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
76430         after this.
76432 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
76434         * stdlib/longlong.h: Updated from GCC.
76436 2012-05-09  Andreas Jaeger  <aj@suse.de>
76438         * nscd/nscd.c (run_modes): Make named enum, reorder so that
76439         default is first entry.
76440         (run_mode): Set type.
76441         (main): Remove informal message about syslog.
76442         (options): Fix typo.
76444         [BZ #14053]
76445         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
76446         to asm.
76447         (lrint): Likewise.
76448         (llrintf): Likewise.
76449         (llrint): Likewise.
76450         (rint): Likewise.
76451         (rintf): Likewise.
76452         (nearbyint): Likewise.
76453         (nearbyintf): Likewise.
76455 2012-05-09  Andreas Jaeger  <aj@suse.de>
76456             Pedro Alves  <palves@redhat.com>
76458         * nscd/nscd.c (run_mode): Use enum.
76459         (main): Cleanup coding style issue.
76461 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
76462             Andreas Jaeger  <aj@suse.de>
76464         * nscd/nscd.c (go_background): Replaced with...
76465         (run_mode): ... this.
76466         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
76467         (options): Add -F --foreground.
76468         (main): Implement it.
76469         (parse_opt): Parse it.
76471 2012-05-09  Andreas Jaeger  <aj@suse.de>
76473         [BZ #14083]
76474         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
76475         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
76476         -Wconversion warning.
76477         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
76478         Likewise.
76480 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
76482         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
76483         == 0.
76484         (LC_ALL): Use macro-int-constant.
76485         (LC_COLLATE): Likewise.
76486         (LC_CTYPE): Likewise.
76487         (LC_MESSAGES): Likewise.
76488         (LC_MONETARY): Likewise.
76489         (LC_NUMERIC): Likewise.
76490         (LC_TIME): Likewise.
76491         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
76492         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76493         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76494         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
76495         Specify type.
76496         [C99-based standards] (float_t): Expect type.
76497         [C99-based standards] (double_t): Expect type.
76498         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
76499         type.
76500         [C99-based standards] (HUGE_VALL): Likewise.
76501         [C99-based standards] (INFINITY): Likewise.
76502         [C99-based standards] (NAN): Likewise.
76503         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
76504         [C99-based standards] (FP_NAN): Likewise.
76505         [C99-based standards] (FP_NORMAL): Likewise.
76506         [C99-based standards] (FP_SUBNORMAL): Likewise.
76507         [C99-based standards] (FP_ZERO): Likewise.
76508         [C99-based standards] (FP_FAST_FMA): Use
76509         optional-macro-int-constant.  Specify type.  Require == 1.
76510         [C99-based standards] (FP_FAST_FMAF): Likewise.
76511         [C99-based standards] (FP_FAST_FMAL): Likewise.
76512         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
76513         [C99-based standards] (FP_ILOGBNAN): Likewise.
76514         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
76515         Specify type.
76516         [C99-based standards] (MATH_ERREXCEPT): Likewise.
76517         [C99-based standards] (math_errhandling): Specify type.
76518         [ISO99 || ISO11] (signgam): Do not allow.
76519         [non-C99-based standards] (copysignf): Do not allow.
76520         [non-C99-based standards] (exp2f): Likewise.
76521         [non-C99-based standards] (log2f): Likewise.
76522         [non-C99-based standards] (modff): Allow.
76523         [non-C99-based standards] (erff): Do not allow.
76524         [non-C99-based standards] (erfcf): Likewise.
76525         [non-C99-based standards] (gammaf): Likewise.
76526         [non-C99-based standards] (hypotf): Likewise.
76527         [non-C99-based standards] (j0f): Likewise.
76528         [non-C99-based standards] (j1f): Likewise.
76529         [non-C99-based standards] (jnf): Likewise.
76530         [non-C99-based standards] (lgammaf): Likewise.
76531         [non-C99-based standards] (tgammaf): Likewise.
76532         [non-C99-based standards] (y0f): Likewise.
76533         [non-C99-based standards] (y1f): Likewise.
76534         [non-C99-based standards] (ynf): Likewise.
76535         [non-C99-based standards] (isnanf): Likewise.
76536         [non-C99-based standards] (acoshf): Likewise.
76537         [non-C99-based standards] (asinhf): Likewise.
76538         [non-C99-based standards] (atanhf): Likewise.
76539         [non-C99-based standards] (cbrtf): Likewise.
76540         [non-C99-based standards] (expm1f): Likewise.
76541         [non-C99-based standards] (ilogbf): Likewise.
76542         [non-C99-based standards] (log1pf): Likewise.
76543         [non-C99-based standards] (logbf): Likewise.
76544         [non-C99-based standards] (nextafterf): Likewise.
76545         [non-C99-based standards] (remainderf): Likewise.
76546         [non-C99-based standards] (rintf): Likewise.
76547         [non-C99-based standards] (scalbf): Likewise.
76548         [non-C99-based standards] (copysignl): Likewise.
76549         [non-C99-based standards] (exp2l): Likewise.
76550         [non-C99-based standards] (log2l): Likewise.
76551         [non-C99-based standards] (modfl): Allow.
76552         [non-C99-based standards] (erfl): Do not allow.
76553         [non-C99-based standards] (erfcl): Likewise.
76554         [non-C99-based standards] (gammal): Likewise.
76555         [non-C99-based standards] (hypotl): Likewise.
76556         [non-C99-based standards] (j0l): Likewise.
76557         [non-C99-based standards] (j1l): Likewise.
76558         [non-C99-based standards] (jnl): Likewise.
76559         [non-C99-based standards] (lgammal): Likewise.
76560         [non-C99-based standards] (tgammal): Likewise.
76561         [non-C99-based standards] (y0l): Likewise.
76562         [non-C99-based standards] (y1l): Likewise.
76563         [non-C99-based standards] (ynl): Likewise.
76564         [non-C99-based standards] (isnanl): Likewise.
76565         [non-C99-based standards] (acoshl): Likewise.
76566         [non-C99-based standards] (asinhl): Likewise.
76567         [non-C99-based standards] (atanhl): Likewise.
76568         [non-C99-based standards] (cbrtl): Likewise.
76569         [non-C99-based standards] (expm1l): Likewise.
76570         [non-C99-based standards] (ilogbl): Likewise.
76571         [non-C99-based standards] (log1pl): Likewise.
76572         [non-C99-based standards] (logbl): Likewise.
76573         [non-C99-based standards] (nextafterl): Likewise.
76574         [non-C99-based standards] (remainderl): Likewise.
76575         [non-C99-based standards] (rintl): Likewise.
76576         [non-C99-based standards] (scalbl): Likewise.
76577         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76578         [non-C99-based standards] (FP_*): Do not allow.
76579         [C99-based standards] (FP_*): Change to
76580         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76581         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76582         allow.
76583         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
76584         (SIG_ERR): Likewise.
76585         [X/Open-based standards] (SIG_HOLD): Likewise.
76586         (SIG_IGN): Likewise.
76587         (SIGABRT): Use macro-int-constant.  Specify type.  Require
76588         positive value.
76589         (SIGFPE): Likewise.
76590         (SIGILL): Likewise.
76591         (SIGINT): Likewise.
76592         (SIGSEGV): Likewise.
76593         (SIGTER): Likewise.
76594         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
76595         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
76596         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
76597         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
76598         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
76599         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
76600         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
76601         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
76602         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
76603         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
76604         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
76605         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
76606         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
76607         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
76608         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
76609         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
76610         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
76611         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
76612         [X/Open-based standards] (SIGTRAP): Likewise.
76613         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
76614         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
76615         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
76616         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
76617         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76618         allow.
76620 2012-05-08  Ian Wienand  <ianw@vmware.com>
76622         [BZ #14080]
76623         * time/tzset.c (__tzset_parse_tz): Update default rules for
76624         daylight time changes in the Energy Policy Act of 2005.
76626 2012-05-09  Andreas Jaeger  <aj@suse.de>
76628         [BZ #13983]
76629         * elf/ldconfig.c (parse_conf): Change string to make clear that
76630         ldconfig only issued a warning if ld.so.conf does not exist.
76632 2012-05-08  David S. Miller  <davem@davemloft.net>
76634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
76635         movxtod instead of popping the value on the stack.
76637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76639 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
76641         * config.h.in: Add HAVE_ARM_PCS_VFP.
76643 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
76645         [BZ #13979]
76646         * include/features.h: Warn if user requests __FORTIFY_SOURCE
76647         checking but the checks are disabled for any reason.
76649 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
76651         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
76652         and ELF64_R_TYPE with ELFW(R_TYPE).
76654 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
76656         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
76657         (ulimit): Likewise.
76659         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
76660         (settimeofday): Likewise.
76662 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
76664         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
76665         a struct th_u2 inside the union, and move tu_block/tu_code into
76666         a new th_u3 union of tu_block/tu_code inside of that.  Move
76667         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
76668         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
76669         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
76670         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
76671         (th_stuff): Change to th_u1.tu_stuff.
76672         (th_data): Define.
76673         (th_msg): Change to th_u1.th_u2.tu_data.
76675 2012-05-07  David S. Miller  <davem@davemloft.net>
76677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76679         [BZ #14074]
76680         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
76681         (SETUP_PIC_REG): Use it.
76682         (SETUP_PIC_REG_LEAF): Use it.
76684 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
76686         [BZ #13885]
76687         [BZ #13923]
76688         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76689         USE_AS_EXPM1L.
76690         (EXPL_FINITE): Likewise.
76691         (FLDLOG): Likewise.
76692         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
76693         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76694         e_expl.S.
76695         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76696         USE_AS_EXPM1L.
76697         (EXPL_FINITE): Likewise.
76698         (FLDLOG): Likewise.
76699         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
76700         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76701         e_expl.S.
76702         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
76703         test of -max_value argument for long double.
76704         * sysdeps/i386/fpu/libm-test-ulps: Update.
76705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76707 2012-05-06  David S. Miller  <davem@davemloft.net>
76709         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
76710         quad soft-float symbols whose references which are compiler
76711         generated.
76712         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76714 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
76716         [BZ #13884]
76717         [BZ #13914]
76718         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76719         USE_AS_EXP10L.
76720         (EXPL_FINITE): Likewise.
76721         (FLDLOG): Likewise.
76722         (c0): Likewise.
76723         (c1): Likewise.
76724         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
76725         Adjust comments for base varying.
76726         (__expl_finite): Change alias to EXPL_FINITE.
76727         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
76728         e_expl.S.
76729         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
76730         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
76731         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
76732         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
76733         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76734         USE_AS_EXP10L.
76735         (EXPL_FINITE): Likewise.
76736         (FLDLOG): Likewise.
76737         (c0): Likewise.
76738         (c1): Likewise.
76739         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
76740         Adjust comments for base varying.
76741         (__expl_finite): Change alias to EXPL_FINITE.
76742         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
76743         tests for bugs.
76744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76746         [BZ #14064]
76747         * math/libm-test.inc (check_float_internal): Correct ulp
76748         calculation for subnormal expected results.
76750 2012-05-06  Andreas Jaeger  <aj@suse.de>
76752         * Makeconfig (+math-flags): New, set to -frounding-math.
76753         (+cflags): Add +math-flags so that all of glibc gets compiled with
76754         it.
76756         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
76758 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
76760         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
76761         Disable one test.
76763         [BZ #13787]
76764         [BZ #13922]
76765         [BZ #14036]
76766         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
76767         (__ieee754_expl): Allow for and saturate large arguments.
76768         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
76769         (u_threshold): Likewise.
76770         (__exp): Call __ieee754_exp before checking for overflow and
76771         underflow.
76772         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
76773         (u_threshold): Likewise.
76774         (__expf): Call __ieee754_expf before checking for overflow and
76775         underflow.
76776         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
76777         (u_threshold): Likewise.
76778         (__expl): Call __ieee754_expl before checking for overflow and
76779         underflow.
76780         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
76781         (__ieee754_expl): Allow for and saturate large arguments.
76782         * math/libm-test.inc (exp_test): Add another test.  Do not allow
76783         missing overflow exception on overflow.
76784         (expm1_test): Do not allow missing overflow exception on overflow.
76786         * sysdeps/i386/fpu/e_expl.c: Move to ...
76787         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
76788         rather than using inline asm.
76789         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
76790         * sysdeps/x86_64/fpu/e_expl.S: Copy from
76791         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
76793         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
76794         (nice): Likewise.
76795         (poll): Likewise.
76796         (signal): Likewise.
76797         (time): Likewise.
76798         (times): Likewise.
76800 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76802         * sysdeps/unix/syscalls.list (adjtime): Add entry from
76803         sysdeps/unix/common/syscalls.list.
76804         (fchmod): Likewise.
76805         (fchown): Likewise.
76806         (ftruncate): Likewise.
76807         (getrusage): Likewise.
76808         (gettimeofday): Likewise.
76809         (setpgid): Likewise.
76810         (setregid): Likewise.
76811         (setreuid): Likewise.
76812         (sigaction): Likewise.
76813         (truncate): Likewise.
76814         (vhangup): Likewise.
76815         * sysdeps/unix/common/syscalls.list: Remove file.
76816         * sysdeps/unix/bsd/Implies: Don't include unix/common.
76817         * sysdeps/unix/sysv/linux/Implies: Likewise.
76819 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
76821         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
76822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
76823         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
76824         Moved to ...
76825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
76826         Here.
76827         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
76828         to ...
76829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
76830         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
76831         to ...
76832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
76833         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
76834         to ...
76835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
76836         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
76837         to ...
76838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
76839         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
76840         to ...
76841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
76842         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
76843         to ...
76844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
76845         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
76846         to ...
76847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
76848         Here.
76849         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
76850         to ...
76851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
76852         Here.
76853         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
76854         to ...
76855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
76856         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
76857         Moved to ...
76858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
76859         Here.
76860         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
76861         to ...
76862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
76864 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76866         * sysdeps/unix/common/bits/dirent.h: Remove file.
76867         * sysdeps/unix/common/bits/fcntl.h: Likewise.
76869         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
76870         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
76871         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
76872         * sysdeps/unix/bsd/isatty.c: Likewise.
76873         * sysdeps/unix/bsd/tcdrain.c: Likewise.
76874         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
76875         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
76877 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76879         [BZ #13563]
76880         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
76881         long double comparison inaccuracies.
76882         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
76883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76885 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
76887         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
76888         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
76890 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76892         [BZ #14049]
76893         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
76894         nonzero digits before rounding a hex value.
76895         * stdlib/tst-strtod.c (tests): Add another test.
76897 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76899         * sysdeps/s390/fpu/libm-test-ulps: Update.
76901 2012-05-03  Andreas Jaeger  <aj@suse.de>
76903         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
76904         does not get optimized out.
76905         (malloc_opt_barrier): New.
76907 2012-05-03  Andreas Jaeger  <aj@suse.de>
76908             Roland McGrath  <roland@hack.frob.com>
76910         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
76911         intermediate file deletion.
76912         (generated): Add .symlist files.
76914 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
76916         [BZ #13775]
76917         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
76918         Redirect under this condition.
76919         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76920         [__USE_GNU] (__dprintf_chk): Not under this condition.
76921         [__USE_GNU] (__vdprintf_chk): Likewise.
76922         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
76923         under this condition.
76924         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76925         [__USE_XOPEN2K8] (dprintf): Define under this condition.
76926         [__USE_XOPEN2K8] (vdprintf): Likewise.
76927         [__USE_GNU] (__dprintf_chk): Not under this condition.
76928         [__USE_GNU] (__vdprintf_chk): Likewise.
76929         [__USE_GNU] (dprintf): Likewise.
76930         [__USE_GNU] (vdprintf): Likewise.
76932 2012-05-03  Roland McGrath  <roland@hack.frob.com>
76934         * elf/Makefile (common-generated): Set this instead of generated for
76935         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
76936         $(all-built-dso)-derived lists.
76938 2012-05-03  Andreas Jaeger  <aj@suse.de>
76940         * sysdeps/i386/fpu/libm-test-ulps: Update.
76942         * FAQ: Removed.
76943         * FAQ.in: Likewise.
76944         * scripts/gen-FAQ.pl: Likewise.
76945         * manual/install.texi (Installation): Point to online location of
76946         FAQ.
76947         * Makefile (files-for-dist): Remove FAQ.
76948         (FAQ): Remove.
76950 2012-05-02  Allan McRae  <allan@archlinux.org>
76952         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
76953         (LDFLAGS-reldepmod5.so): Likewise.
76954         (LDFLAGS-reldep6mod1.so): Likewise.
76955         (LDFLAGS-reldep6mod4.so): Likewise.
76956         (LDFLAGS-reldep8mod3.so): Likewise.
76957         (LDFLAGS-unload4mod1.so): Likewise.
76958         (LDFLAGS-unload4mod2.so): Likewise.
76959         (LDFLAGS-tst-initorder): Likewise.
76960         (LDFLAGS-tst-initordera2.so): Likewise.
76961         (LDFLAGS-tst-initordera3.so): Likewise.
76962         (LDFLAGS-tst-initordera4.so): Likewise.
76963         (LDFLAGS-tst-initorderb2.so): Likewise.
76964         (LDFLAGS-noload): Likewise.
76965         (LDFLAGS-next): Likewise.
76966         (LDFLAGS-order2mod1.so): Likewise.
76967         (LDFLAGS-order2mod2.so): Likewise.
76968         (LDFLAGS-tst-initorder2): Likewise.
76969         (LDFLAGS-tst-initorder2a.so): Likewise.
76970         (LDFLAGS-tst-initorder2b.so): Likewise.
76971         (LDFLAGS-tst-initorder2c.so): Likewise.
76972         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
76974 2012-05-02  David S. Miller  <davem@davemloft.net>
76976         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76978 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
76980         [BZ #14055]
76981         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
76983 2012-05-02  Andreas Jaeger  <aj@suse.de>
76985         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
76986         since we manipulate rounding mode.
76987         (CPPFLAGS-test-idouble.c): Likewise.
76988         (CPPFLAGS-test-ifloat.c): Likewise.
76989         (CFLAGS-test-ldouble.c): Likewise.
76990         (CFLAGS-test-double.c): Likewise.
76991         (CFLAGS-test-float.c): Likewise.
76992         (CFLAGS-test-misc.c): Likewise.
76993         (CFLAGS-test-test-fenv.c): Likewise.
76995 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76997         [BZ #2550]
76998         [BZ #2570]
76999         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
77000         comparisons to determine direction to adjust input.
77002 2012-05-01  Roland McGrath  <roland@hack.frob.com>
77004         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
77005         output to the target.
77007         * scripts/localplt.awk: New file.
77008         * elf/Makefile ($(objpfx)check-localplt): Target removed.
77009         (check-localplt-CFLAGS): Variable removed.
77010         ($(all-built-dso:=.jmprel)): New static pattern rule.
77011         (generated): Add those targets.
77012         (localplt-built-dso): New variable.
77013         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
77015         * elf/check-localplt.c: File removed.
77017         * scripts/check-execstack.awk: New file.
77018         * elf/Makefile ($(objpfx)check-execstack): Target removed.
77019         (check-execstack-CFLAGS): Variable removed.
77020         ($(objpfx)check-execstack.h): Target removed.
77021         ($(objpfx)execstack-default): New target.
77022         (generated): Add that instead of check-execstack.h.
77023         ($(all-built-dso:=.phdr)): New static pattern rule.
77024         (generated): Add those targets.
77025         * elf/check-execstack.c: File removed.
77027         * scripts/check-textrel.awk: New file.
77028         * elf/Makefile ($(objpfx)check-textrel): Target removed.
77029         (check-textrel-CFLAGS): Variable removed.
77030         (all-built-dso): Use := to define.o
77031         ($(all-built-dso:=.dyn)): New static pattern rule.
77032         (generated): Add those targets.
77033         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
77034         * config.make.in (READELF): New substituted variable.
77035         * elf/check-textrel.c: File removed.
77037 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77039         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77040         allow.
77041         * conform/data/ctype.h-data [C99-based standards] (isblank):
77042         Expect function.
77043         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
77044         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
77045         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77046         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
77047         Specify type.  Require positive value.
77048         (EILSEQ): Likewise.
77049         (ERANGE): Likewise.
77050         [ISO || POSIX] (EILSEQ): Do not expect.
77051         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
77052         Specify type.  Require positive value.
77053         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
77054         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
77055         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
77056         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
77057         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
77058         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
77059         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
77060         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
77061         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
77062         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
77063         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
77064         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
77065         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
77066         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
77067         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
77068         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
77069         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
77070         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
77071         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
77072         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
77073         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
77074         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
77075         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
77076         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
77077         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
77078         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
77079         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
77080         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
77081         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
77082         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
77083         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
77084         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
77085         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
77086         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
77087         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
77088         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
77089         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
77090         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
77091         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
77092         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
77093         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
77094         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
77095         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
77096         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
77097         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
77098         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
77099         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
77100         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
77101         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
77102         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
77103         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
77104         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
77105         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
77106         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
77107         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
77108         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
77109         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
77110         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
77111         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
77112         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
77113         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
77114         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
77115         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
77116         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
77117         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
77118         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
77119         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
77120         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
77121         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
77122         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
77123         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
77124         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
77125         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
77126         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
77127         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
77128         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
77129         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
77130         Require >= 2.
77131         (FLT_ROUNDS): Expect as macro, not constant.
77132         (FLT_MANT_DIG): Use macro-int-constant.
77133         (DBL_MANT_DIG): Likewise.
77134         (LDBL_MANT_DIG): Likewise.
77135         (FLT_DIG): Likewise.
77136         (DBL_DIG): Likewise.
77137         (LDBL_DIG): Likewise.
77138         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
77139         (DBL_MIN_EXP): Likewise.
77140         (LDBL_MIN_EXP): Likewise.
77141         (FLT_MAX_EXP): Use macro-int-constant.
77142         (DBL_MAX_EXP): Likewise.
77143         (LDBL_MAX_EXP): Likewise.
77144         (FLT_MAX_10_EXP): Likewise.
77145         (DBL_MAX_10_EXP): Likewise.
77146         (LDBL_MAX_10_EXP): Likewise.
77147         (FLT_MAX): Use macro-constant.
77148         (DBL_MAX): Likewise.
77149         (LDBL_MAX): Likewise.
77150         (FLT_EPSILON): Use macro-constant.  Give upper bound.
77151         (DBL_EPSILON): Likewise.
77152         (LDBL_EPSILON): Likewise.
77153         (FLT_MIN): Likewise.
77154         (DBL_MIN): Likewise.
77155         (LDBL_MIN): Likewise.
77156         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
77157         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
77158         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
77159         [ISO11] (FLT_HAS_SUBNORM): Likewise.
77160         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
77161         [ISO11] (DBL_DECIMAL_DIG): Likewise.
77162         [ISO11] (FLT_DECIMAL_DIG): Likewise.
77163         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
77164         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
77165         [ISO11] (FLT_TRUE_MIN): Likewise.
77166         [ISO11] (LDBL_TRUE_MIN): Likewise.
77167         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77168         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
77169         (SCHAR_MIN): Use macro-int-constant.  Specify type.
77170         (SCHAR_MAX): Likewise.
77171         (UCHAR_MAX): Likewise.
77172         (CHAR_MIN): Likewise.
77173         (CHAR_MAX): Likewise.
77174         (MB_LEN_MAX): Use macro-int-constant.
77175         (SHRT_MIN): Use macro-int-constant.  Specify type.
77176         (SHRT_MAX): Likewise.
77177         (USHRT_MAX): Likewise.
77178         (INT_MAX): Likewise.
77179         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
77180         bound negative.
77181         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77182         bound with "U".
77183         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77184         bound with "L".
77185         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
77186         bound negative.  Suffix upper bound with "L".
77187         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77188         bound with "UL".
77189         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
77190         Specify type.
77191         [C99-based standards] (LLONG_MAX): Likewise.
77192         [C99-based standards] (ULLONG_MAX): Likewise.
77193         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
77194         == 0.
77195         [ISO11] (max_align_t): Require type.
77196         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77198         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
77199         from $CFLAGS, without defining away __attribute__ calls.
77200         (checknamespace): Use $CFLAGS_namespace.
77202         * conform/conformtest.pl (@keywords): Only include C99 keywords
77203         for standards based on C99 or C11.
77205         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
77206         Disable tests.
77207         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
77208         UNIX98]: Likewise.
77210         * conform/conformtest.pl: Handle "macro-int-constant" and test for
77211         usability of symbols in #if.
77213         * conform/conformtest.pl: If macro or constant types start
77214         "promoted:", expect the symbol to be of the following type
77215         promoted by the integer promotions.
77217         * conform/conformtest.pl: Parse all "constant" and "macro" lines
77218         in one place.  Also handle "macro-constant".
77220         * conform/conformtest.pl: Only accept expected macro values with
77221         "==".  Parse all "macro" lines in one place.
77222         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
77224         * conform/conformtest.pl: Handle braced types on "constant" lines
77225         instead of handling "typed-constant".
77226         * conform/data/signal.h-data: Use "constant" instead of
77227         "typed-constant".
77229         * conform/conformtest.pl: Handle "optional-" at start of lines in
77230         one place rather than duplicating several cases.  Handle each
77231         format of "macro" line with initial "optional-".
77233         * conform/conformtest.pl: Only accept expected constant or
77234         optional-constant values with "==".  Parse all "constant" lines in
77235         one place.  Parse all "optional-constant" lines in one place.
77236         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
77237         * conform/data/fmtmsg.h-data: Likewise.
77238         * conform/data/netinet/in.h-data: Likewise.
77239         * conform/data/tar.h-data: Likewise.
77240         * conform/data/limits.h-data: Use "==" form on "constant" and
77241         "optional-constant" lines.
77243         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
77244         Use -std=c99 for XOPEN2K.
77245         (@knownproblems): Remove.
77246         (newtoken): Don't check %isknown.
77248         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
77249         Do not expect macro.
77250         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
77251         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
77252         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
77253         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
77254         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
77255         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
77256         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
77257         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
77258         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
77259         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
77260         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
77261         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
77262         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
77263         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
77264         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
77265         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
77266         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
77267         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
77268         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
77269         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
77270         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
77271         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
77272         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
77273         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
77274         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
77275         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
77276         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
77277         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
77278         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
77279         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
77280         [XPG3] (acosh): Likewise.
77281         [XPG3] (asinh): Likewise.
77282         [XPG3] (atanh): Likewise.
77283         [XPG3] (cbrt): Likewise.
77284         [XPG3] (expm1): Likewise.
77285         [XPG3] (ilogb): Likewise.
77286         [XPG3] (log1p): Likewise.
77287         [XPG3] (logb): Likewise.
77288         [XPG3] (nextafter): Likewise.
77289         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
77290         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
77291         [XPG3] (remainder): Likewise.
77292         [XPG3] (rint): Likewise.
77293         [XPG3 || XPG4 || UNIX98] (round): Likewise.
77294         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
77295         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
77296         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
77297         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
77298         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
77299         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
77300         [UNIX98 || XOPEN2K] (scalb): Expect.
77301         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
77302         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
77303         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
77304         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
77305         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
77306         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
77307         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
77308         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
77309         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
77310         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
77311         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
77312         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
77313         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
77314         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
77315         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
77316         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
77317         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
77318         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
77319         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
77320         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
77321         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
77322         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
77323         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
77324         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
77325         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
77326         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
77327         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
77328         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
77329         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
77330         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
77331         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
77332         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
77333         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
77334         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
77335         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
77336         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
77337         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
77338         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
77339         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
77340         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
77341         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
77342         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
77343         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
77344         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
77345         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
77346         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
77347         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
77348         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
77349         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
77350         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
77351         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
77352         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
77353         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
77354         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
77355         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
77356         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
77357         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
77358         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
77359         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
77360         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
77361         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
77362         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
77363         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
77364         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
77365         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
77366         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
77367         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
77368         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
77369         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
77370         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
77371         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
77372         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
77373         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
77374         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
77375         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
77376         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
77377         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
77378         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
77379         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
77380         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
77381         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
77382         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
77383         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
77384         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
77385         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
77386         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
77387         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
77388         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
77389         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
77390         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
77391         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
77392         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
77393         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
77394         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
77395         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
77396         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
77397         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
77398         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
77399         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
77400         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
77401         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
77402         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
77403         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
77404         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
77405         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
77406         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
77407         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
77408         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
77409         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
77410         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
77411         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
77412         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
77413         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
77414         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
77415         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
77416         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
77417         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
77418         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
77419         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
77420         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
77421         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
77422         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
77423         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
77424         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
77425         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
77426         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
77427         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
77428         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
77429         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
77430         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
77431         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
77432         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
77433         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
77434         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
77435         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
77436         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
77437         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
77439         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
77440         _XOPEN_SOURCE_EXTENDED for XPG4.
77442         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
77444         * Makeconfig (localtime): Remove variable.
77445         (inst_localtime-file): Likewise.
77447 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
77450         Update.
77451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77452         Update.
77453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
77454         Update.
77455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
77456         Update.
77457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
77458         Update.
77459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
77460         Update.
77461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77462         Update.
77463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
77464         Update.
77465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77466         Update.
77468 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77470         [BZ #2550]
77471         [BZ #2570]
77472         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
77473         comparisons to determine direction to adjust input.
77474         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
77475         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
77476         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
77477         Likewise.
77478         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
77479         Likewise.
77480         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
77481         Likewise.
77482         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
77483         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
77484         Likewise.
77485         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
77486         Likewise.
77487         * math/libm-test.inc (nexttoward_test): Add more tests.
77489 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77491         [BZ #14040]
77492         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
77493         in version GLIBC_2.1, not GLIBC_2.0.
77494         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
77495         Likewise.
77497 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
77499         [BZ #13942]
77500         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
77501         (1 - x) * (1 + x).
77502         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77503         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
77504         * math/libm-test.inc (acos_test): Add more tests.
77505         (asin_test): Likewise.
77506         * sysdeps/i386/fpu/libm-test-ulps: Update.
77507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77509         [BZ #14034]
77510         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
77511         of square root.
77512         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
77513         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77514         * math/libm-test.inc (acos_test_tonearest): New function.
77515         (acos_test_towardzero): Likewise.
77516         (acos_test_downward): Likewise.
77517         (acos_test_upward): Likewise.
77518         (asin_test_tonearest): Likewise.
77519         (asin_test_towardzero): Likewise.
77520         (asin_test_downward): Likewise.
77521         (asin_test_upward): Likewise.
77522         (main): Call the new functions.
77523         * sysdeps/i386/fpu/libm-test-ulps: Update.
77524         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77526         [BZ #13884]
77527         [BZ #13924]
77528         * math/e_exp10.c: Include <float.h>.
77529         (__ieee754_exp10): Handle underflow here rather than multiplying
77530         large negative argument by M_LN10.
77531         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
77532         of __ieee754_expf.
77533         * math/e_exp10l.c: Include <float.h>.
77534         (__ieee754_exp10l): Handle underflow here rather than multiplying
77535         large negative argument by M_LN10l.
77536         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
77537         spurious overflow exception on underflow.
77539 2012-04-29  Marek Polacek  <polacek@redhat.com>
77541         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
77542         (__fortify_function): New macro.
77543         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
77544         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
77545         __extern_always_inline.
77546         * libio/bits/stdio2.h: Likewise.
77547         * libio/bits/stdio.h: Likewise.
77548         * string/string.h: Likewise.
77549         * string/bits/string3.h: Likewise.
77550         * include/stdio.h: Likewise.
77551         * stdlib/bits/stdlib.h: Likewise.
77552         * stdlib/stdlib.h: Likewise.
77553         * rt/bits/mqueue2.h: Likewise.
77554         * rt/mqueue.h: Likewise.
77555         * posix/bits/unistd.h: Likewise.
77556         * posix/unistd.h: Likewise.
77557         * io/bits/poll2.h: Likewise.
77558         * io/bits/fcntl2.h: Likewise.
77559         * io/fcntl.h: Likewise.
77560         * io/sys/poll.h: Likewise.
77561         * misc/bits/syslog.h: Likewise.
77562         * misc/bits/syslog-ldbl.h: Likewise.
77563         * misc/sys/syslog.h: Likewise.
77564         * socket/bits/socket2.h: Likewise.
77565         * socket/sys/socket.h: Likewise.
77566         * debug/tst-chk1.c: Likewise.
77567         * wcsmbs/bits/wchar2.h: Likewise.
77568         * wcsmbs/bits/wchar-ldbl.h: Likewise.
77569         * wcsmbs/wchar.h: Likewise.
77571 2012-04-29  Andreas Jaeger  <aj@suse.de>
77573         * Makerules (tests): Remove enable-check-abi protection.
77574         (check-abi-warn): Remove.
77575         (check-abi-%): Remove check-abi-warn usage.
77577         * configure.in: Remove check-abi configure option.
77578         * configure: Regenerated.
77579         * config.make.in (enable-check-abi): Remove.
77581 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
77583         [BZ #14033]
77584         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
77585         double functions to double *_finite functions.
77587         [BZ #13941]
77588         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
77589         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
77590         LDBL_MIN_EXP.
77591         * stdio-common/Makefile (tests): Add tst-sprintf3.
77592         * stdio-common/tst-sprintf3.c: New file.
77594         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
77595         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
77597 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77599         * conform/conformtest.pl: Remove duplicate typed-constant
77600         handling.
77602 2012-04-28  David S. Miller  <davem@davemloft.net>
77604         * Makerules (%.abilist): Add vpath on sysdep_dirs.
77605         (check-abi-%): Remove AWK script prerequisite and explicit
77606         abilist directory.
77607         (check-abi): Rewrite to just diff the symlist with the abilist.
77608         (config-tls, config-abi-config): Delete, no longer used.
77609         (update-abi-%): Remove AWK script and explicit abilist directory.
77610         (update-abi): Rewrite to simply compare and conditionally copy the
77611         symlist and the sysdep abilist file.  Remove update-abi-config
77612         checks.
77613         * abilist/ld.abilist: Remove.
77614         * abilist/libBrokenLocale.abilist: Remove.
77615         * abilist/libanl.abilist: Remove.
77616         * abilist/libcrypt.abilist: Remove.
77617         * abilist/libdl.abilist: Remove.
77618         * abilist/librt.abilist: Remove.
77619         * abilist/libthread_db.abilist: Remove.
77620         * abilist/libutil.abilist: Remove.
77621         * scripts/extract-abilist.awk: Remove.
77622         * scripts/merge-abilist.awk: Remove.
77623         * sysdeps/generic/libcidn.abilist: New file.
77624         * sysdeps/generic/libnss_compat.abilist: New file.
77625         * sysdeps/generic/libnss_db.abilist: New file.
77626         * sysdeps/generic/libnss_dns.abilist: New file.
77627         * sysdeps/generic/libnss_files.abilist: New file.
77628         * sysdeps/generic/libnss_hesiod.abilist: New file.
77629         * sysdeps/generic/libnss_nis.abilist: New file.
77630         * sysdeps/generic/libnss_nisplus.abilist: New file.
77631         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
77632         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
77633         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
77634         file.
77635         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
77636         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
77637         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
77638         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
77639         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
77640         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
77641         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
77642         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
77643         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
77644         file.
77645         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
77646         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
77647         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
77648         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
77649         file.
77650         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
77651         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
77652         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
77653         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
77654         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
77655         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
77656         file.
77657         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
77658         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
77659         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
77660         file.
77661         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
77662         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
77663         New file.
77664         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
77665         New file.
77666         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
77667         New file.
77668         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
77669         New file.
77670         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
77671         New file.
77672         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
77673         New file.
77674         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
77675         New file.
77676         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
77677         New file.
77678         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
77679         New file.
77680         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
77681         New file.
77682         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
77683         New file.
77684         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
77685         New file.
77686         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
77687         New file.
77688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
77689         file.
77690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
77691         New file.
77692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
77693         New file.
77694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
77695         file.
77696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
77697         New file.
77698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
77699         New file.
77700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
77701         file.
77702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
77703         New file.
77704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77705         New file.
77706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
77707         New file.
77708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
77709         New file.
77710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
77711         New file.
77712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
77713         New file.
77714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
77715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
77716         file.
77717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
77718         New file.
77719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
77720         file.
77721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
77722         file.
77723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
77724         file.
77725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
77726         file.
77727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
77728         file.
77729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77730         New file.
77731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
77732         file.
77733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
77734         file.
77735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
77736         New file.
77737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
77738         file.
77739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
77740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
77741         file.
77742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
77743         New file.
77744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
77745         file.
77746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
77747         file.
77748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
77749         file.
77750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
77751         file.
77752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
77753         file.
77754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77755         New file.
77756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
77757         file.
77758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
77759         file.
77760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
77761         New file.
77762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
77763         file.
77764         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77765         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
77766         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
77767         file.
77768         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
77769         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
77770         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
77771         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
77772         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
77773         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
77774         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
77775         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
77776         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
77777         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
77778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
77779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
77780         file.
77781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
77782         New file.
77783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
77784         file.
77785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
77786         file.
77787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
77788         file.
77789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
77790         file.
77791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
77792         file.
77793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
77794         New file.
77795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
77796         New file.
77797         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
77798         file.
77799         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
77800         New file.
77801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
77802         file.
77803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
77804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
77805         file.
77806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
77807         New file.
77808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
77809         file.
77810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
77811         file.
77812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
77813         file.
77814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
77815         file.
77816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
77817         file.
77818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
77819         New file.
77820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
77821         New file.
77822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
77823         file.
77824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
77825         New file.
77826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
77827         file.
77829 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77831         * conform/conformtest.pl: Fix typo in handling typed-constant from
77832         allow-header.
77834 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77836         * README: Cut down references to pre-2.6 Linux kernels and
77837         Linuxthreads.  Update lists of configurations in libc and ports
77838         and sort alphabetically.  Say "or newer" with Linux kernel version
77839         requirements.
77841         * config.h.in [IS_IN_build]: Allow compiling without optimization.
77843 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
77845         [BZ #887]
77846         * math/libm-test.inc (logb_test_downward): New test to expose
77847         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
77848         rounding mode.
77850 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77852         [BZ #14027]
77853         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
77854         to be done.
77855         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
77856         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
77858 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
77860         * sysdeps/unix/i386/brk.S: Remove file.
77861         * sysdeps/unix/i386/dl-brk.S: Likewise.
77862         * sysdeps/unix/i386/pipe.S: Likewise.
77863         * sysdeps/unix/i386/sigreturn.S: Likewise.
77864         * sysdeps/unix/i386/syscall.S: Likewise.
77865         * sysdeps/unix/i386/vfork.S: Likewise.
77866         * sysdeps/unix/i386/wait.S: Likewise.
77868         * sysdeps/unix/common/tcsendbrk.c: Move to ...
77869         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
77871         * configure.in (arm*-none*): Do not allow without
77872         --enable-hacker-mode.
77873         (netbsd*): Remove case setting base_os.
77874         (386bsd*): Likewise.
77875         (freebsd*): Likewise.
77876         (bsdi*): Likewise.
77877         (osf*): Likewise.
77878         (sunos*): Likewise.
77879         (ultrix*): Likewise.
77880         (newsos*): Likewise.
77881         (dynix*): Likewise.
77882         (*bsd*): Likewise.
77883         (sysv*): Likewise.
77884         (isc*): Likewise.
77885         (esix*): Likewise.
77886         (sco*): Likewise.
77887         (minix*): Likewise.
77888         (irix4*): Likewise.
77889         (irix6*): Likewise.
77890         (solaris[2-9]*): Likewise.
77891         (none): Likewise.
77892         * configure: Regenerated.
77894 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77896         [BZ #11521]
77897         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
77898         overflow or cancellation in calculating denominator.
77899         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
77900         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
77901         down expression to avoid unexpected rounding in newer GCCs.
77902         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
77904 2012-04-26  David S. Miller  <davem@davemloft.net>
77906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
77907         long-double compat symbols.
77908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
77912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
77914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
77915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
77916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
77917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
77918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
77919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
77920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77922 2012-04-25  David S. Miller  <davem@davemloft.net>
77924         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
77925         HWCAP_* values only after the memory barriers have been defined.
77926         (atomic_full_barrier): Define.
77927         (atomic_read_barrier): Define.
77928         (atomic_write_barrier): Define.
77930 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77932         * shlib-versions: Add libgcc_s version information.
77933         * sysdeps/generic/libgcc_s.h: Remove.
77934         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
77935         libgcc_s.h.
77936         * sysdeps/gnu/unwind-resume.c: Likewise.
77937         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
77939 2012-04-25  David S. Miller  <davem@davemloft.net>
77941         * sysdeps/unix/sparc/brk.S: Delete.
77942         * sysdeps/unix/sparc/dl-brk.S: Delete.
77943         * sysdeps/unix/sparc/pipe.S: Delete.
77944         * sysdeps/unix/sparc/sysdep.S: Delete.
77945         * sysdeps/unix/sparc/sysdep.h: Delete.
77946         * sysdeps/unix/sparc/vfork.S: Delete.
77947         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
77948         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
77949         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
77950         (ret_ERRVAL, r0, r1, MOVE): Define.
77951         (JUMPTARGET): Remove.
77952         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
77953         sysdeps/unix/sparc/sysdep.h
77954         (ENTRY, END): Remove.
77955         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77957 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
77959         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
77960         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
77961         -DIS_IN_build.
77963         * timezone/README: Update upstream location and email address for
77964         tzcode and tzdata.
77965         * timezone/zdump.c: Update from tzcode 2012b.
77966         * timezone/zic.c: Likewise.
77968         * configure.in (libc_cv_as_needed): Remove test.
77969         * configure: Regenerated.
77970         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
77971         conditional definition.
77972         [$(have-as-needed) != yes] (no-as-needed): Likewise.
77973         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
77974         * config.make.in (have-as-needed): Remove variable.
77976 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77977             Paul Pluzhnikov  <ppluzhnikov@google.com>
77979         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
77980         strings correctly.
77982 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
77984         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
77985         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
77986         * sysdeps/sh/strlen.S: Likewise.
77988 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77990         * sysdeps/unix/fork.S: Remove file.
77991         * sysdeps/unix/i386/fork.S: Likewise.
77992         * sysdeps/unix/sparc/fork.S: Likewise.
77994         * sysdeps/unix/system.c: Remove file.
77995         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
77997         * sysdeps/unix/getegid.S: Remove file.
77998         * sysdeps/unix/geteuid.S: Likewise.
78000 2012-04-24  Roland McGrath  <roland@hack.frob.com>
78002         * scripts/check-localplt.awk: New file.
78003         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
78004         of diff.
78005         * scripts/data/localplt-generic.data: Add a comment.
78007         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
78008         NODE when __dir_mkfile failed.
78009         * sysdeps/mach/hurd/symlinkat.c: Likewise.
78010         Reported by Ludovic Courtès <ludo@gnu.org>.
78012 2012-04-24  Andreas Jaeger  <aj@suse.de>
78014         * Makerules (common-clean): Also remove gen-as-const-headers
78015         files.
78017 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78019         * Makerules (native-compile): Do not change working directory for
78020         build.  Use $(OUTPUT_OPTION) in command.
78021         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
78023 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78025         [BZ #13886]
78026         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
78027         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
78028         * math/libm-test.inc (floor_test): Add more tests.
78029         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
78031 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78033         * sysdeps/unix/getdents.c: Remove file.
78034         * sysdeps/unix/sysv/getdents.c: Likewise.
78035         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
78037         * sysdeps/unix/syscalls.list (madvise): Add syscall from
78038         sysdeps/unix/mman/syscalls.list.
78039         (mmap): Likewise.
78040         (mprotect): Likewise.
78041         (msync): Likewise.
78042         (munmap): Likewise.
78043         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
78044         * sysdeps/unix/mman/syscalls.list: Remove.
78045         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
78047         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
78048         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
78049         * configure: Regenerated.
78050         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
78051         $(libgcc_s_suffix).
78052         * config.make.in (libgcc_s_suffix): Remove variable.
78054 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
78056         * sysdeps/unix/sysv/gethostname.c: Move to ...
78057         * sysdeps/posix/gethostname.c: ... here.
78059         * sysdeps/unix/execve.S: Remove file.
78061         * sysdeps/unix/_exit.S: Remove file.
78063 2012-04-23  Andreas Jaeger  <aj@suse.de>
78065         [BZ #13739]
78066         * manual/Makefile: Remove make dist support, there's no
78067         need for a stand-alone documentation tar ball.
78068         (TEXI2DVI): Define always, it's not in Makeconfig.
78069         (dist): Removed.
78070         (tar-it): Removed.
78071         (edition): Removed.
78072         (glibc-doc-$(edition).tar): Removed
78073         (%.Z): Removed.
78074         (%.gz): Removed.
78075         (%.uu): Removed.
78076         (ETAGS): Remove, it's in Makeconfig.
78077         (move-if-change): Remove, it's in Makeconfig.
78079 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
78081         [BZ #13970]
78082         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
78083         (strtod, strtof, strtold, strtol, strtoul, strtoq)
78084         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
78085         (strtod_l, strtof_l, strtold_l): Remove __wur.
78086         It is not necessarily an error to ignore strtol's return value.
78087         One can reliably look at the stored endptr to decide whether
78088         the number had valid syntax.
78090 2012-04-21  Andreas Jaeger  <aj@suse.de>
78092         [BZ #13739]
78093         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
78095 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
78097         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
78098         * sysdeps/unix/sysv/Versions: Remove file.
78100 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
78102         [BZ #13927]
78103         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78105 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
78107         [BZ #7064]
78108         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
78109         version from __vm86.
78111 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
78113         * sysdeps/unix/common/lxstat.c: Remove file.
78114         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
78116         * sysdeps/unix/sysv/Makefile: Remove file.
78118         * sysdeps/unix/sysv/direct.h: Remove file.
78120         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
78121         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
78122         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
78123         * sysdeps/unix/sysv/bits/signum.h: Likewise.
78124         * sysdeps/unix/sysv/bits/stat.h: Likewise.
78125         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
78126         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
78128         * sysdeps/unix/sysv/setrlimit.c: Remove file.
78130         * sysdeps/unix/xmknod.c: Remove file.
78131         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
78133         * sysdeps/unix/sysv/settimeofday.c: Remove file.
78135         * sysdeps/unix/sysv/i386/time.S: Remove file.
78137         * sysdeps/unix/fxstat.c: Remove file.
78138         * sysdeps/unix/xstat.c: Likewise.
78139         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
78141         * sysdeps/unix/sysv/sigaction.c: Remove file.
78143         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
78144         (sysdep_headers): Remove variable.
78145         [termio.h not in sysdep_headers] (generated): Likewise.
78146         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
78147         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
78148         * sysdeps/unix/sysv/tcdrain.c: Likewise.
78149         * sysdeps/unix/sysv/tcflow.c: Likewise.
78150         * sysdeps/unix/sysv/tcflush.c: Likewise.
78151         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
78152         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
78153         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
78154         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
78155         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
78157         * sysdeps/unix/siglist.c: Remove file.
78159         * sysdeps/unix/getppid.S: Remove file.
78161         * sysdeps/unix/mkdir.c: Remove file.
78162         * sysdeps/unix/rmdir.c: Likewise.
78164 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
78166         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
78167         ERR_MAX value.
78168         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
78169         errlist-compat value.
78171 2012-04-18  David S. Miller  <davem@davemloft.net>
78173         * sysdeps/generic/memcopy.h (reg_char): Delete.
78174         * debug/strcat_chk.c: Use char, not reg_char.
78175         * debug/strcpy_chk.c: Likewise.
78176         * debug/strncat_chk.c: Likewise.
78177         * debug/strncpy_chk.c: Likewise.
78178         * string/memchr.c: Likewise.
78179         * string/memrchr.c: Likewise.
78180         * string/rawmemchr.c: Likewise.
78181         * string/strcat.c: Likewise.
78182         * string/strchr.c: Likewise.
78183         * string/strchrnul.c: Likewise.
78184         * string/strcmp.c: Likewise.
78185         * string/strcpy.c: Likewise.
78186         * string/strncat.c: Likewise.
78187         * string/strncmp.c: Likewise.
78188         * string/strncpy.c: Likewise.
78190 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78192         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
78193         __builtin_memcopy is called when src and dest ranges are known to not
78194         overlap.
78196 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78198         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
78199         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
78200         fwd_align_merge macro call.
78201         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
78202         bwd_align_merge macro call.
78203         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78205 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78207         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
78208         bwd_align_merge macros.
78209         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
78210         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
78211         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78213 2012-04-18  David S. Miller  <davem@davemloft.net>
78215         * sysdeps/sparc/sparc64/memcopy.h: Delete.
78217 2012-04-18  Andreas Jaeger  <aj@suse.de>
78219         [BZ #6794]
78220         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
78221         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
78222         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78224         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
78225         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
78226         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78228         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
78229         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
78230         Adjust for changed ldbl-128 files.
78232         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
78233         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
78234         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78236 2012-04-17  David S. Miller  <davem@davemloft.net>
78238         * sysdeps/sparc/sparc32/memcopy.h: Delete.
78240 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
78242         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
78243         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
78244         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
78245         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
78246         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
78247         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
78249 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78251         [BZ #6794]
78252         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
78253         * math/libm-test.inc: Add ilogb errno and exception tests.
78254         * math/w_ilogb.c: New file: ilogb wrapper.
78255         * math/w_ilogbf.c: New file: ilogbf wrapper.
78256         * math/w_ilogbl.c: New file: ilogbl wrapper.
78257         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
78258         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
78259         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
78260         exception being thrown with 0.0 as argument.
78261         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
78262         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
78263         exception being thrown with 0.0 as argument.
78264         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
78265         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78266         exception being thrown with 0.0 as argument.
78267         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
78268         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78269         exception being thrown with 0.0 as argument.
78270         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
78271         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
78272         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
78273         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
78274         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
78275         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
78276         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
78277         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
78278         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
78280 2012-04-17  Petr Baudis  <pasky@ucw.cz>
78282         * include/sys/uio.h: Change __vector to __iovec to avoid clash
78283         with altivec.
78285 2012-04-16  Marek Polacek  <polacek@redhat.com>
78287         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
78289 2012-04-16  Marek Polacek  <polacek@redhat.com>
78291         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
78292         operands of fdivp instruction.
78294 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78296         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
78297         * elf/tst-auditmod3b.c: Likewise.
78298         * elf/tst-auditmod4b.c: Likewise.
78299         * elf/tst-auditmod5b.c: Likewise.
78300         * elf/tst-auditmod6b.c: Likewise.
78301         * elf/tst-auditmod6c.c: Likewise.
78302         * elf/tst-auditmod7b.c: Likewise.
78303         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
78304         * sysdeps/x86_64/preconfigure.in: Likewise.
78305         * sysdeps/x86_64/preconfigure: Regenerated.
78307 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78309         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
78310         __ILP32__.
78312 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
78314         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78315         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
78317 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
78319         [BZ #13973]
78320         * locale/iso-639.def: Fix gl language name. Spotted by
78321         Yaron Shahrabani.
78323 2012-04-12  Roland McGrath  <roland@hack.frob.com>
78325         [BZ #2074]
78326         * libio/libio.h (__io_write_fn): Update comment.
78328 2012-04-12  Petr Baudis  <pasky@ucw.cz>
78330         [BZ #2074]
78331         * stdio.texi (Hook Functions): The user provided writer function
78332         is not allowed to return -1.
78334 2012-04-11  David S. Miller  <davem@davemloft.net>
78336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78338 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
78340         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
78341         Add a leading slash to rtkaio.
78343 2012-04-11  Jim Meyering  <meyering@redhat.com>
78345         [BZ #11959]
78346         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
78347         It is not necessarily an error to ignore fwrite's return
78348         value.  One can reliably use ferror to test for errors after
78349         the fact.
78351 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78353         * bits/types.h (__snseconds_t): New type.
78354         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
78356         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
78357         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78358         (__SNSECONDS_T_TYPE): Likewise.
78359         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78360         (__SNSECONDS_T_TYPE): Likewise.
78361         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78362         (__SNSECONDS_T_TYPE): Likewise.
78364 2012-04-10  Andreas Jaeger  <aj@suse.de>
78366         [BZ #2636]
78367         * manual/time.texi (Processor Time): Return type of times is
78368         elapsed real time since an arbitrary point in the past.
78369         (CPU Time): Move CLK_TCK from here...
78370         (Processor Time): ...to here.  Correct description.
78371         * manual/conf.texi (Constants for Sysconf): Correct description of
78372         _SC_CLK_TCK.
78374 2012-04-10  David S. Miller  <davem@davemloft.net>
78376         [BZ #13967]
78377         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
78378         where the is a gap between DT_REL(A) and DT_JMPREL.
78380 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78382         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
78383         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78384         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78386 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
78388         * elf/dl-support.c (_dl_inhibit_cache): New variable.
78389         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
78390         (dl_main): Handle --inhibit-cache.
78391         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
78392         _dl_inhibit_cache.
78393         * elf/dl-load.c (_dl_map_object): Use it.
78394         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
78396 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78398         [BZ #13872]
78399         * sysdeps/i386/fpu/e_powl.S (p78): New object.
78400         (__ieee754_powl): Saturate large exponents rather than testing for
78401         overflow of y*log2(x).
78402         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78403         * math/libm-test.inc (pow_test): Do not permit spurious overflow
78404         exceptions.
78406         [BZ #11521]
78407         * math/s_ctan.c: Include <float.h>.
78408         (__ctan): Avoid internal overflow or cancellation in calculating
78409         denominator.
78410         * math/s_ctanf.c: Likewise.
78411         * math/s_ctanl.c: Likewise.
78412         * math/s_ctanh.c: Likewise.
78413         * math/s_ctanhf.c: Likewise.
78414         * math/s_ctanhl.c: Likewise.
78415         * math/libm-test.inc (ctan_test): Add more tests.
78416         (ctanh_test): Likewise.
78417         * sysdeps/i386/fpu/libm-test-ulps: Update.
78418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78420 2012-04-09  Andreas Jaeger  <aj@suse.de>
78422         [BZ #6894]
78423         * manual/filesys.texi (Directory Entries): Mention that d_namlen
78424         is an optional BSD extension.
78426         [BZ #10254]
78427         * manual/stdio.texi (Opening Streams): Document additional fopen
78428         parameters.
78430 2012-04-09  Roland McGrath  <roland@hack.frob.com>
78432         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
78433         %eax without telling the compiler.
78435 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
78437         [BZ # 13963]
78438         * manual/install.texi: Use sourceware.org.
78440 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78442         [BZ #13873]
78443         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
78444         (__ieee754_pow): Generate overflow and underflow using huge*huge
78445         and tiny*tiny rather than just returning constant infinity or zero
78446         for large exponents.
78447         * math/libm-test.inc (pow_test): Require overflow exceptions for
78448         applicable cases of large exponents.
78450         [BZ #706]
78451         * sysdeps/i386/fpu/e_pow.S (p10): New object.
78452         (__ieee754_pow): Use iterative multiplication algorithm only for
78453         integer exponents with absolute value below 1024.  Check for odd
78454         integer exponents when using algorithm for real exponents.
78455         * math/libm-test.inc (pow_test): Add more tests.
78456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78458 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
78460         [BZ #13705]
78461         * math/libm-test.inc (exp_test): Do not allow overflow exception
78462         on underflow test.
78464 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
78466         [BZ #13705]
78467         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
78468         instead of __kernel_standard_f.
78470 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
78472         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
78473         * sysdeps/x86_64/memset_chk.S: Likewise.
78475 2012-04-08  Andreas Jaeger  <aj@suse.de>
78477         [BZ #10153]
78478         * manual/startup.texi (Environment Access): Describe return value
78479         for putenv and setenv.
78481         [BZ #6895]
78482         * manual/filesys.texi (Directory Entries): Add description for
78483         DT_LNK.
78485         [BZ #6890]
78486         * manual/filesys.texi (Directory Entries): Clarify that it's file
78487         system not operating system in the description of DT_UNKNOWN.
78489         [BZ #6578]
78490         * manual/syslog.texi (closelog): Fix reference, it's openlog.
78492 2012-04-08  Stephen Compall  <s11@member.fsf.org>
78494         [BZ #6649]
78495         * manual/llio.texi (Opening and Closing Files): Add cross
78496         reference to explain mode argument.
78498 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
78500         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
78501         * sysdeps/x86_64/memset_chk.S: Likewise.
78503 2012-04-07  David S. Miller  <davem@davemloft.net>
78505         * elf/elf.h (R_SPARC_WDISP10): Define.
78506         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
78507         R_SPARC_SIZE32.
78508         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
78509         R_SPARC_SIZE64 and R_SPARC_H34.
78511 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
78513         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
78514         conditions and remove no longer applicable assertion.
78516 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78518         * bits/byteswap.h: Include <features.h>.
78519         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78520         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78522 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78524         * bits/byteswap.h (__bswap_16): Removed.
78525         Include <bits/byteswap-16.h> to get __bswap_16.
78526         * sysdeps/i386/bits/byteswap.h: Likewise.
78527         * sysdeps/s390/bits/byteswap.h: Likewise.
78528         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78529         * bits/byteswap-16.h: New file.
78530         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78531         * sysdeps/s390/bits/byteswap-16.h: Likewise.
78532         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
78533         * string/Makefile (headers): Add bits/byteswap-16.h.
78535 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78537         [BZ #13895]
78538         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
78539         extra indirection.
78540         * nss/Makefile (tests-static, tests): Add tst-nss-static.
78541         * nss/tst-nss-static.c: New.
78543 2012-04-06  Robert Millan  <rmh@gnu.org>
78545         [BZ #6486]
78546         * manual/llio.texi (File Position Primitive): lseek
78547         refers to WHENCE when it really means OFFSET.
78549 2012-04-06  Andreas Jaeger  <aj@suse.de>
78551         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
78552         strncmp declarations.
78554         * abilist/libc.abilist: Add __poll and __ppoll.
78556 2012-04-05  David S. Miller  <davem@davemloft.net>
78558         * scripts/check-local-headers.sh: Accept a host triplet in the
78559         path matched by the exclude regexp.
78561         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
78562         definition.
78563         * sysdeps/powerpc/powerpc32/dl-machine.h
78564         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
78565         * sysdeps/s390/s390-32/dl-machine.h
78566         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78567         * sysdeps/sparc/sparc32/dl-machine.h
78568         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78569         * sysdeps/sparc/sparc64/dl-machine.h
78570         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78572         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
78573         lazy binding.
78574         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
78575         undefined symbol errors.
78577         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
78578         DT_NEEDED entries.
78580 2012-04-05  Michael Matz  <matz@suse.de>
78582         [BZ #13592]
78583         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
78585 2012-04-05  Andreas Jaeger  <aj@suse.de>
78587         [BZ #13908]
78588         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
78589         comment.
78591 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78593         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
78594         which ROUND is no valid rounding mode.
78596 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78598         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
78599         read again.
78600         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
78602 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78604         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
78605         an exception using FPU order intentionally.
78607 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78609         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
78610         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
78611         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
78612         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
78614 2012-04-05  Simon Josefsson  <simon@josefsson.org>
78616         [BZ #12340]
78617         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
78618         EINVAL when BUFLEN is too smal.
78620 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
78622         [BZ #13553]
78623         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
78624         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
78626 2012-04-03  Andreas Jaeger  <aj@suse.de>
78628         [BZ #13938]
78629         * manual/setjmp.texi (System V contexts): Fix sentence.
78631         [BZ #13926]
78632         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
78633         New macro for this case.
78634         [!__GNUC__] (__bswap_64): New inline function for this case.
78635         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78636         * bits/byteswap.h: Likewise.
78637         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
78638         ull, guard with __GLIBC_HAVE_LONG_LONG.
78640         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
78641         __GLIBC_HAVE_LONG_LONG.
78643         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
78644         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
78646 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
78648         [BZ #13691]
78649         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
78650         inptr and inend, rather than using last_ch.
78652 2012-04-02  David S. Miller  <davem@davemloft.net>
78654         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
78655         * stdio-common/printf-parse.h (read_int): Change return type to
78656         'int', return -1 on INT_MAX overflow.
78657         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
78658         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
78659         overflows INT_MAX.  Check for overflow of in-format-string precision
78660         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
78661         SIZE_MAX not INT_MAX for integer overflow test.
78662         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
78663         skip the construct in the format string but do not record anything.
78664         * stdio-common/bug22.c: Adjust to test both width/prevision
78665         INT_MAX overflow as well as total length INT_MAX overflow.  Check
78666         explicitly for proper errno values.
78668 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
78670         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
78671         CHAR_MAX.
78672         * string/test-strcmp.c [! WIDE]: Likewise.
78673         * time/tst-mktime2.c: Likewise for INT_MAX.
78674         * string/test-string.h: #include <sys/param.h> for MIN.
78676         * csu/init-first.c (__libc_init_first): Call __ctype_init.
78677         * sysdeps/i386/init-first.c (init): Likewise.
78678         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
78679         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
78680         * sysdeps/sh/init-first.c (init): Likewise.
78682 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
78684         * po/ru.po: Update from translation team.
78685         * po/vi.po: Likewise.
78687 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
78689         * resolv/nss_dns/dns-host.c: Merge copyright years.
78691 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78693         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
78694         Optimize memcpy with prefetch if
78695         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
78696         src, dst pointers have unequal 16 byte alignments.
78698 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
78700         [BZ #13928]
78701         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
78702         from a CNAME entry and return the minimum ttl for the query.
78703         (gaih_getanswer_slice): Likewise.
78705 2012-03-30  Jeff Law  <law@redhat.com>
78707         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
78708         due to long keys.
78709         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
78710         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
78712         * resolv/nss_dns/dns-host.c: Update copyright year.
78714 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
78716         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
78717         requests to save a system call.  Fix check that all bytes are sent.
78719         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
78720         comments for sendmmsg.
78722 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78724         [BZ #13691]
78725         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
78726         with only 1 character between 0x0041 and 0x01b0.
78727         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
78728         * wcsmbs/tst-mbsnrtowcs.c: New file.
78730 2012-03-29  David S. Miller  <davem@davemloft.net>
78732         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
78733         small copies by hand.
78735 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
78737         [BZ #13761]
78738         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
78739         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
78740         group memberships.
78742 2012-03-28  David S. Miller  <davem@davemloft.net>
78744         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
78745         that branches into memcpy.
78746         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
78747         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
78748         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78749         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
78750         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
78751         bits.
78752         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
78753         implementation too.
78754         * sysdeps/sparc/mempcpy.S: New file.
78756         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
78757         the IFUNC routine in the libc case.
78758         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
78760         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
78761         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
78762         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
78763         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
78764         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
78765         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
78766         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
78767         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
78769         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
78770         loop to 256 bytes instead of 64 bytes and fix test signedness.
78772         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
78773         * sysdeps/sparc/sparc32/Makefile: rather than here...
78774         * sysdeps/sparc/sparc64/Makefile: and here.
78776 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
78778         * malloc/mallocbug.c: Avoid warnings about unused variables.
78780 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
78782         [BZ #13760]
78783         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
78784         in the right place. Discard and retry query if response is
78785         larger than input buffer size.
78787 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
78789         [BZ #369]
78790         [BZ #2678]
78791         [BZ #3866]
78792         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
78793         x for large integer exponent.
78794         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
78795         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
78796         sign of result as needed afterwards.
78797         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
78798         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
78799         result for underflowing pow the same as for overflow.
78800         (__kernel_standard_l): Handle powl overflow and underflow here
78801         rather than calling __kernel_standard.
78802         * math/libm-test.inc (pow_test): Add more tests.
78804         [BZ #3868]
78805         [BZ #13879]
78806         [BZ #13910]
78807         [BZ #13911]
78808         [BZ #13912]
78809         [BZ #13913]
78810         [BZ #13915]
78811         [BZ #13916]
78812         [BZ #13917]
78813         [BZ #13918]
78814         [BZ #13919]
78815         [BZ #13920]
78816         [BZ #13921]
78817         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
78818         * sysdeps/ieee754/k_standard.c: Include <float.h>.
78819         (__kernel_standard_l): New function.
78820         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
78821         __kernel_standard.
78822         * math/w_acosl.c (__acosl): Likewise.
78823         * math/w_asinl.c (__asinl): Likewise.
78824         * math/w_atan2l.c (__atan2l): Likewise.
78825         * math/w_atanhl.c (__atanhl): Likewise.
78826         * math/w_coshl.c (__coshl): Likewise.
78827         * math/w_exp10l.c (__exp10l): Likewise.
78828         * math/w_exp2l.c (__exp2l): Likewise.
78829         * math/w_fmodl.c (__fmodl): Likewise.
78830         * math/w_hypotl.c (__hypotl): Likewise.
78831         * math/w_j0l.c (__j0l, __y0l): Likewise.
78832         * math/w_j1l.c (__j1l, __y1l): Likewise.
78833         * math/w_jnl.c (__jnl, __ynl): Likewise.
78834         * math/w_lgammal.c (__lgammal): Likewise.
78835         * math/w_log10l.c (__log10l): Likewise.
78836         * math/w_log2l.c (__log2l): Likewise.
78837         * math/w_logl.c (__logl): Likewise.
78838         * math/w_powl.c (__powl): Likewise.
78839         * math/w_remainderl.c (__remainderl): Likewise.
78840         * math/w_scalbl.c (sysv_scalbl): Likewise.
78841         * math/w_sinhl.c (__sinhl): Likewise.
78842         * math/w_sqrtl.c (__sqrtl): Likewise.
78843         * math/w_tgammal.c (__tgammal): Likewise.
78844         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
78845         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
78846         * math/libm-test.inc (acos_test): Add more tests.
78847         (acosh_test): Likewise.
78848         (asin_test): Likewise.
78849         (atanh_test): Likewise.
78850         (exp_test): Likewise.
78851         (exp10_test): Likewise.
78852         (exp2_test): Likewise.
78853         (expm1_test): Likewise.
78854         (lgamma_test): Likewise.
78855         (log_test): Likewise.
78856         (log10_test): Likewise.
78857         (log1p_test): Likewise.
78858         (log2_test): Likewise.
78859         (pow_test): Do not allow some spurious overflow exceptions.
78860         (sqrt_test): Add more tests.
78861         (tgamma_test): Likewise.
78862         (y0_test): Likewise.
78863         (y1_test): Likewise.
78864         (yn_test): Likewise.
78866 2012-03-27  Anton Blanchard  <anton@samba.org>
78868         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
78869         MAP_HUGETLB.
78870         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78871         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78872         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78874 2012-03-27  David S. Miller  <davem@davemloft.net>
78876         * conform/Makefile: Run run-conformtest.sh using $(BASH).
78878         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
78879         have-as-vis3 check.
78881 2012-03-27  Andreas Jaeger  <aj@suse.de>
78883         * sysdeps/x86_64/elf/configure.in: Moved to ...
78884         * sysdeps/x86_64/configure.in: ... here.
78885         * sysdeps/x86_64/elf/start.S: Moved to ...
78886         * sysdeps/x86_64/start.S: ... here.
78887         * sysdeps/x86_64/elf/configure: Delete.
78889         * sysdeps/x86_64/configure.in: Merge contents from
78890         sysdeps/i386/configure.in (without i686 check).
78892         * sysdeps/i386/elf/Versions: Merge into ...
78893         * sysdeps/i386/Versions: ... this.
78894         * sysdeps/i386/elf/Versions: Delete file.
78895         * sysdeps/i386/elf/start.S: Moved to ...
78896         * sysdeps/i386/start.S: ...here.
78897         * sysdeps/i386/elf/configure.in: Merge into...
78898         * sysdeps/i386/configure.in: ...here.
78899         * sysdeps/i386/elf/configure.in: Delete file.
78900         * sysdeps/i386/elf/configure: Delete file.
78902         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
78903         * debug/backtracesyms.c: ... here.
78904         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
78905         * debug/backtracesymsfd.c: ... here.
78906         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
78907         * sysdeps/generic/ifunc-sel.h: ... here.
78909         * sysdeps/unix/i386/start.c: Delete file.
78910         * sysdeps/unix/sparc/start.c: Delete file.
78911         * sysdeps/unix/start.c: Delete file.
78913         * sysdeps/sh/elf/configure.in: Moved to ...
78914         * sysdeps/sh/configure.in: ... here.
78915         * sysdeps/sh/elf/start.S: Moved to ...
78916         * sysdeps/sh/start.S: ... here.
78917         * sysdeps/sh/elf/configure: Delete file.
78919         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
78920         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
78921         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
78922         * sysdeps/powerpc/powerpc64/entry.h: ... here.
78923         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
78924         * sysdeps/powerpc/powerpc64/start.S: here.
78925         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
78926         * sysdeps/powerpc/powerpc64/Makefile: ... this.
78927         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
78928         * sysdeps/powerpc/powerpc64/configure.in: ... this.
78929         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
78931         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
78932         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
78933         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
78934         * sysdeps/powerpc/powerpc32/start.S: ... here.
78935         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
78936         * sysdeps/powerpc/powerpc32/configure.in: ... this.
78937         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
78939         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
78940         * sysdeps/powerpc/ifunc-sel.h: ... here.
78941         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
78942         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
78944         * sysdeps/sparc/elf/configure.in: Moved to ...
78945         * sysdeps/sparc/configure.in: ... here.
78946         * sysdeps/sparc/elf/configure: Delete file.
78947         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
78948         * sysdeps/sparc/sparc32/start.S: ... here.
78949         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
78950         * sysdeps/sparc/sparc64/start.S: ... here.
78951         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
78952         * sysdeps/sparc/sparc32/Makefile: ... this.
78953         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
78954         * sysdeps/sparc/sparc64/Makefile: ... this.
78956         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
78957         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
78958         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
78959         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
78960         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
78961         * sysdeps/s390/s390-32/setjmp.S: ... here.
78962         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
78963         * sysdeps/s390/s390-32/configure.in: ... here.
78964         * sysdeps/s390/s390-32/elf/configure: Delete file.
78965         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
78966         * sysdeps/s390/s390-32/start.S: ... here.
78968         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
78969         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
78970         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
78971         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
78972         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
78973         * sysdeps/s390/s390-64/setjmp.S: ... here.
78974         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
78975         * sysdeps/s390/s390-64/configure.in: ... here
78976         * sysdeps/s390/s390-64/elf/configure: Delete file.
78977         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
78978         * sysdeps/s390/s390-64/start.S: ... here.
78979         * sysdeps/s390/s390-64/elf/configure: Delete.
78981         * configure.in: Remove support for elf directories in sysdeps.
78983         * configure: Regenerated.
78984         * sysdeps/i386/configure: Regenerated.
78985         * sysdeps/powerpc/powerpc32/configure: Regenerated.
78986         * sysdeps/powerpc/powerpc64/configure: Regenerated.
78987         * sysdeps/s390/s390-32/configure: Regenerated.
78988         * sysdeps/s390/s390-64/configure: Regenerated.
78989         * sysdeps/sh/configure: Regenerated.
78990         * sysdeps/sparc/configure: Regenerated.
78991         * sysdeps/x86_64/configure: Regenerated.
78993 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
78995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78997         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
78998         denormal result into account.
79000 2012-03-25  Roland McGrath  <roland@hack.frob.com>
79002         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
79003         Reported by Allan McRae <allan@archlinux.org>.
79005 2012-03-23  Jeff Law  <law@redhat.com>
79007         * nss/getnssent.c (__nss_getent): Fix typo.
79009 2012-03-23  David S. Miller  <davem@davemloft.net>
79011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79013 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
79015         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
79016         to pad to uint64_t for each field.
79017         (dl_tls_index): Replace unsigned long with uint64_t.
79019 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
79020         Paul Pluzhnikov  <ppluzhnikov@google.com>
79022         [BZ #6528]
79023         * grp/Makefile (otherlibs): Don't set it.
79024         * inet/Makefile (otherlibs): Likewise.
79025         * login/Makefile (otherlibs): Likewise.
79026         * nscd/Makefile (otherlibs): Likewise.
79027         * posix/Makefile (otherlibs): Likewise.
79028         * pwd/Makefile (otherlibs): Likewise.
79029         * rt/Makefile (otherlibs): Likewise.
79030         * sunrpc/Makefile (otherlibs): Likewise.
79031         * nss/Makefile (otherlibs): Likewise.
79032         Add libnss_files to routines and static-only-routines.
79033         ($(objpfx)getent): Remove rule.
79034         * resolv/Makefile: Add libnss_dns and libresolv to routines and
79035         static-only-routines.
79037 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79039         [BZ #13892]
79040         * math/s_cexp.c: Include <float.h>.
79041         (__cexp): Handle exp result overflowing not necessarily
79042         overflowing both real and imaginary parts of result.
79043         * math/s_cexpf.c: Likewise.
79044         * math/s_cexpl.c: Likewise.
79045         * math/libm-test.inc (cexp_test): Add more tests.
79046         * sysdeps/i386/fpu/libm-test-ulps: Update.
79047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79049 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79051         * include/link.h (ELFW): New macro.
79052         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
79053         Replace ELF64_R_TYPE with ELFW(R_TYPE).
79055 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79057         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
79058         with uint64_t.
79060 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79062         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
79063         declaration.
79064         (struct La_x32_retval): Likewise.
79066 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79068         * sysdeps/x86_64/preconfigure.in: New file.
79069         * sysdeps/x86_64/preconfigure: New generated file.
79071 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79073         [BZ #13824]
79074         * math/e_exp2l.c: Include <float.h>.
79075         (__ieee754_exp2l): Handle overflow and underflow cases
79076         separately.  Only pass fractional part of argument to
79077         __ieee754_expl.
79078         * math/libm-test.inc (exp2_test): Add more tests.
79080         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
79081         negating x to take absolute value.
79082         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
79083         Likewise.
79084         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
79085         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
79086         Likewise.
79087         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
79088         computing low part if x was negated.
79089         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
79091 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79093         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
79094         la_x32_gnu_pltexit.
79095         (pltexit): Cast int_retval to ptrdiff_t.
79096         * elf/tst-auditmod3b.c: Likewise.
79097         * elf/tst-auditmod4b.c: Likewise.
79098         * elf/tst-auditmod5b.c: Likewise.
79099         * elf/tst-auditmod6b.c: Likewise.
79100         * elf/tst-auditmod6c.c: Likewise.
79101         * elf/tst-auditmod7b.c: Likewise.
79103         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
79104         and x32_gnu_pltexit.
79106         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
79107         __ELF_NATIVE_CLASS.
79108         (La_x32_regs): New macro.
79109         (La_x32_retval): Likewise.
79110         (la_x32_gnu_pltenter): New function prototype.
79111         (la_x32_gnu_pltexit): Likewise.
79113 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
79115         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
79116         exponent.
79118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79120         * configure.in (libc_cv_cc_nofma): Check for option to disable
79121         generation of FMA instructions.
79122         * configure: Regenerate.
79123         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
79124         * sysdeps/ieee754/dbl-64/Makefile: New file.
79125         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
79126         Remove brandred-fma4.
79127         (CFLAGS-brandred-fma4.c): Remove.
79128         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
79129         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
79130         define.
79131         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
79132         define.
79134 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79136         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79137         LLONG_MAX != LONG_MAX.
79138         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79139         (_fitoa_word): Likewise.
79140         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
79141         LLONG_MAX != LONG_MAX.
79142         * stdio-common/_itowa.h: Include <_itoa.h>.
79143         (_itowa_word): Use _ITOA_WORD_TYPE on value.
79144         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
79145         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
79146         only if not defined.
79147         (_ITOA_WORD_TYPE): Likewise.
79148         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79149         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
79151 2012-03-21  David S. Miller  <davem@davemloft.net>
79153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79155 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79157         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
79158         of x86_64 when setting libc_cv_slibdir, libdir and
79159         libc_cv_localedir.
79160         * sysdeps/unix/sysv/linux/configure: Regenerated.
79162 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79164         * manual/lang.texi (Old Varargs): Remove section.
79165         (How Variadic): Update menu.
79166         (va_start): Do not mention varargs.h.
79168 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79169             Joseph Myers  <joseph@codesourcery.com>
79171         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
79172         link test.
79173         * configure: Regenerated.
79175 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79177         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
79178         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
79179         conformtest.pl
79181 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79183         * NOTES: Remove.
79184         * Makefile (files-for-dist): Remove NOTES.
79185         (NOTES): Remove rule.
79186         * README: Don't refer to NOTES.
79187         * manual/creature.texi: Don't include macros.texi.
79188         * manual/intro.texi (creature.texi): Remove comment referring to
79189         NOTES.
79191         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
79192         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
79193         * configure: Regenerated.
79194         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
79195         LIBC_TRY_CC_OPTION.
79196         (libc_cv_as_i686): Likewise.
79197         (libc_cv_cc_avx): Likewise.
79198         (libc_cv_cc_sse2avx): Likewise.
79199         (libc_cv_cc_fma4): Likewise.
79200         (libc_cv_cc_novzeroupper): Likewise.
79201         * sysdeps/i386/configure: Regenerated.
79203         [BZ #13883]
79204         * sysdeps/i386/fpu/s_cexp.S: Remove.
79205         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79206         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79207         * math/libm-test.inc (cexp_test): Add more tests.
79208         * sysdeps/i386/fpu/libm-test-ulps: Update.
79209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79211 2012-03-21  Allan McRae  <allan@archlinux.org>
79213         * timezone/Makefile: Do not install iso3166.tab and zone.tab
79215 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79217         [BZ #13871]
79218         * math/w_exp2.c: Do not include <float.h>.
79219         (o_threshold, u_threshold): Remove.
79220         (__exp2): Calculate result before checking finiteness and calling
79221         __kernel_standard.
79222         * math/w_exp2f.c: Likewise.
79223         * math/w_exp2l.c: Likewise.
79224         * math/libm-test.inc (exp2_test): Require overflow exception for
79225         1e6 input.
79227         [BZ #3866]
79228         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
79229         range of signed 64-bit integers before using fistpll.  Remove
79230         checks for whether integers fit in mantissa bits.
79231         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
79232         the range of signed 32-bit integers before using fistpl.  Remove
79233         checks for whether integers fit in mantissa bits.
79234         * sysdeps/i386/fpu/e_powl.S (p64): New object.
79235         (__ieee754_powl): Test for y outside the range of signed 64-bit
79236         integers before using fistpll.  Reduce 64-bit values to 63-bit
79237         ones as needed.
79238         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
79239         divide-by-zero is raised for zero to large negative powers.
79240         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
79241         (__ieee754_powl): Test for y outside the range of signed 64-bit
79242         integers before using fistpll.  Reduce 64-bit values to 63-bit
79243         ones as needed.
79244         * math/libm-test.inc (pow_test): Add more tests.
79246 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79248         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
79249         <stdio-common/_itoa.h>.
79250         * debug/segfault.c: Likewise.
79251         * elf/dl-cache.c: Likewise.
79252         * elf/dl-minimal.c: Likewise.
79253         * elf/dl-misc.c: Likewise.
79254         * elf/dl-sysdep.c: Likewise.
79255         * elf/dl-version.c: Likewise.
79256         * elf/rtld.c: Likewise.
79257         * hurd/hurdsock.c: Likewise.
79258         * hurd/lookup-retry.c: Likewise.
79259         * malloc/malloc.c: Likewise.
79260         * malloc/mtrace.c: Likewise.
79261         * nscd/nscd_getgr_r.c: Likewise.
79262         * nscd/nscd_getpw_r.c: Likewise.
79263         * nscd/nscd_getserv_r.c: Likewise.
79264         * posix/getopt_init.c: Likewise.
79265         * posix/wordexp.c: Likewise.
79266         * stdio-common/_itoa.c: Likewise.
79267         * stdio-common/printf_fphex.c: Likewise.
79268         * stdio-common/vfprintf.c: Likewise.
79269         * string/_strerror.c: Likewise.
79270         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
79271         * sysdeps/i386/i686/hp-timing.h: Likewise.
79272         * sysdeps/mach/_strerror.c: Likewise.
79273         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
79274         * sysdeps/mach/hurd/sethostid.c: Likewise.
79275         * sysdeps/mach/hurd/xmknodat.c: Likewise.
79276         * sysdeps/mach/xpg-strerror.c: Likewise.
79277         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
79278         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
79279         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
79280         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
79281         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
79282         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
79283         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
79284         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
79285         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
79286         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
79287         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
79288         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
79289         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
79290         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
79291         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
79292         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
79293         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
79294         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
79295         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
79296         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
79297         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
79299         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
79301         * stdio-common/_itoa.h: Moved to ...
79302         * sysdeps/generic/_itoa.h: Here.
79304         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
79306         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
79307         instead of "_itoa.h" and "_itowa.h".
79308         * stdio-common/vfprintf.: Likewise.
79310 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79312         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
79313         <bits/wordsize.h>.
79314         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
79315         (__signbit): Likewise.
79316         (llrintf): Likewise.
79317         (llrint): Likewise.
79319 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79321         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
79322         __WORDSIZE != 64.
79324 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
79326         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
79327         OVERFLOW_EXCEPTION_OK.
79328         * math/libm-test.inc ("Philosophy"): Update comment about
79329         exception testing.
79330         (OVERFLOW_EXCEPTION): Define.
79331         (OVERFLOW_EXCEPTION_OK): Likewise.
79332         (INVALID_EXCEPTION_OK): Renumber.
79333         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79334         (IGNORE_ZERO_INF_SIGN): Likewise.
79335         (test_exceptions): Handle FE_OVERFLOW.
79336         (exp10_test): Expect overflow exceptions.
79337         (exp2_test): Likewise.
79338         (expm1_test): Likewise.
79339         (nextafter_test): Likewise.
79340         (pow_test): Likewise.
79341         (scalbn_test): Likewise.
79342         (scalbln_test): Likewise.
79344 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79346         * sysdeps/x86_64/bits/atomic.h
79347         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
79348         64bit integer.
79349         (atomic_exchange_acq): Likewise.
79350         (__arch_exchange_and_add_body): Likewise.
79351         (__arch_add_body): Likewise.
79352         (atomic_add_negative): Likewise.
79353         (atomic_add_zero): Likewise.
79355 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79357         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
79358         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
79360 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79362         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
79363         Check __x86_64__ instead of __WORDSIZE.
79365 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79367         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
79369 2012-03-19  David S. Miller  <davem@davemloft.net>
79371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79373         * sysdeps/sparc/fpu/fenv_private.h: New file.
79374         * sysdeps/sparc/fpu/math_private.h: Use it.
79375         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
79376         Remove.
79377         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
79378         (libc_feholdexcept_setroundl): Remove.
79379         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
79380         Remove.
79381         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
79382         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
79384 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79386         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
79387         int64_t instead of long int.
79388         (INSERT_WORDS64): Likewise.
79390 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79392         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
79393         _Unwind_GetCFA return to _Unwind_Ptr first.
79395 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
79397         [BZ #13629]
79398         * math/s_clog.c: Include <float.h>.
79399         (__clog): Scale large or subnormal inputs.
79400         * math/s_clogf.c: Likewise.
79401         * math/s_clogl.c: Likewise.
79402         * math/s_clog10.c: Include <float.h>.
79403         (M_LOG10_2): Define.
79404         (__clog10): Scale large or subnormal inputs.
79405         * math/s_clog10f.c: Likewise.
79406         * math/s_clog10l.c: Likewise.
79407         * math/libm-test.inc (clog_test): Add more tests.
79408         (clog10_test): Likewise.
79409         * sysdeps/i386/fpu/libm-test-ulps: Update.
79410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79412         [BZ #11451]
79413         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
79414         x and y.
79415         * math/libm-test.inc (atan2_test): Add another test.
79417         * Makerules (common-objdir-compile): Remove.
79418         * sysdeps/unix/Makefile (config-generated): Do not add
79419         $(unix-generated) to variable.
79420         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
79421         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
79422         Remove rule.
79423         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
79424         Likewise.
79425         [generic bits/local_lim.h] (before-compile): Do not append to
79426         variable.
79427         [generic bits/local_lim.h] (common-generated): Likewise.
79428         [generic sys/param.h] (before-compile): Do not append to variable.
79429         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
79430         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
79431         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
79432         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
79433         include.
79434         [generic sys/param.h] (sys/param.h-includes): Remove variable.
79435         [generic sys/param.h] (sys/param.h-includes): Remove rule.
79436         [generic sys/param.h] ($(addprefix
79437         $(common-objpfx),$(sys/param.h-includes))): Likewise.
79438         [generic sys/param.h] (common-generated): Do not append to
79439         variable.
79440         [generic sys/param.h] (sysdep_headers): Likewise.
79441         [generic bits/errno.h] (before-compile): Do not append to
79442         variable.
79443         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
79444         rule.
79445         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
79446         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
79447         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
79448         [generic bits/errno.h] (common-generated): Do not append to
79449         variable.
79450         [generic bits/ioctls.h] (before-compile): Do not append to
79451         variable.
79452         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
79453         rule.
79454         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
79455         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
79456         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
79457         rule.
79458         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
79459         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
79460         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
79461         [generic bits/ioctls.h] (common-generated): Do not append to
79462         variable.
79463         [generic sys/syscall.h] (syscall.h): Remove variable.
79464         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
79465         rule.
79466         [generic sys/syscall.h] (before-compile): Do not append to
79467         variable.
79468         [generic sys/syscall.h] (common-generated): Likewise.
79469         * sysdeps/unix/errnos-tmpl.c: Remove file.
79470         * sysdeps/unix/errnos.awk: Likewise.
79471         * sysdeps/unix/ioctls-tmpl.c: Likewise.
79472         * sysdeps/unix/ioctls.awk: Likewise.
79473         * sysdeps/unix/mk-local_lim.c: Likewise.
79474         * sysdeps/unix/snarf-ioctls: Likewise.
79476 2012-03-19  Richard Henderson  <rth@twiddle.net>
79478         * sysdeps/i386/fpu/fenv_private.h: New file.
79479         * sysdeps/i386/fpu/math_private.h: Use it.
79480         (math_opt_barrier, math_force_eval): Remove.
79481         (libc_feholdexcept_setround_53bit): Remove.
79482         (libc_feupdateenv_53bit): Remove.
79483         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79484         (math_opt_barrier, math_force_eval): Remove.
79485         (libc_feholdexcept): Remove.
79486         (libc_feholdexcept_setround): Remove.
79487         (libc_fetestexcept, libc_fesetenv): Remove.
79488         (libc_feupdateenv_test): Remove.
79489         (libc_feupdateenv, libc_feholdsetround): Remove.
79490         (libc_feresetround): Remove.
79492         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
79493         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
79495         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
79496         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
79497         (libc_feupdateenv_testl): New.
79498         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
79499         (libc_feupdateenv_testf): New.
79500         (libc_feupdateenv): Use libc_feupdateenv_test.
79501         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
79502         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
79504         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
79505         (libc_feholdsetroundf, libc_feholdsetroundl): New.
79506         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
79507         (libc_feresetround_noex): New.
79508         (libc_feresetround_noexf): New.
79509         (libc_feresetround_noexl): New.
79510         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
79511         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
79512         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
79513         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
79514         SET_RESTORE_ROUND.
79515         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
79516         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
79517         (__cos): Likewise.
79518         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
79519         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
79520         SET_RESTORE_ROUND_NOEX.
79521         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
79522         SET_RESTORE_ROUND_NOEXF.
79523         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
79524         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
79525         (libc_feholdsetroundf): New.
79526         (libc_feresetround, libc_feresetroundf): New.
79528         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
79529         (libc_feholdexcept_setround_53bit): Convert from macro to function.
79530         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
79532         * sysdeps/generic/math_private.h: Include <fenv.h>.
79533         (default_libc_feholdexcept): New.
79534         (default_libc_feholdexcept_setround): New.
79535         (default_libc_fesetenv, default_libc_feupdateenv): New.
79536         (libc_feholdexcept): Only define if undefined.
79537         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
79538         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
79539         (libc_feholdexcept_setroundl): Likewise.
79540         (libc_feholdexcept_setround_53bit): Likewise.
79541         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
79542         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
79543         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
79544         (libc_feupdateenv_53bit): Likewise.
79545         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
79546         (libc_feholdexcept): Convert from macro to inline function.
79547         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
79548         (libc_fesetenv, libc_feupdateenv): Likewise.
79550         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
79551         not previously defined.
79552         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
79553         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
79554         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
79555         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
79556         * sysdeps/ieee754/flt-32/math_private.h: New file.
79557         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
79558         math_private.h below SET_FLOAT_WORD.
79559         (__isnan, __isinf_ns, __finite): Remove.
79560         (__isnanf, __isinf_nsf, __finitef): Remove.
79562 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
79564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79566 2012-03-17  David S. Miller  <davem@davemloft.net>
79568         [BZ #6471]
79569         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
79570         for 2.16.
79572 2012-03-16  David S. Miller  <davem@davemloft.net>
79574         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
79575         warnings.
79577         [BZ #6471]
79578         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
79579         properly.
79580         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
79581         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
79582         sysdep_routines when subdir is sysvipc.
79583         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
79584         __getshmlba helper.
79586         * sysdeps/sparc/fpu/libm-test/ulps: Update.
79588 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79590         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
79591         [__LP64__].
79593 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79595         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
79596         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
79597         (__lround): Renamed to ...
79598         (__llround): This.  Replace long int with long long int.
79599         Define lround functions as aliases of llround functions.
79600         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
79602 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79604         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
79605         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
79606         adresses to uintptr_t.  Replace "long int" and "unsigned long
79607         int" with "greg_t" on va_arg.
79609 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79611         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
79612         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
79614         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
79615         Move e_machine check before EI_CLASS check.  Handle x32
79616         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
79617         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
79618         SKIP_EM_IA_64 and include
79619         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
79621         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
79622         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
79623         (add_system_dir): New macro.
79625         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
79626         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
79628 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
79630         [BZ #2551]
79631         [BZ #2552]
79632         [BZ #2553]
79633         [BZ #2554]
79634         [BZ #2562]
79635         [BZ #2563]
79636         [BZ #2565]
79637         [BZ #2566]
79638         [BZ #2576]
79639         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
79640         (y0): Likewise.
79641         * math/w_j0f.c (j0f): Likewise.
79642         (y0f): Likewise.
79643         * math/w_j0l.c (__j0l): Likewise.
79644         (__y0l): Likewise.
79645         * math/w_j1.c (j1): Likewise.
79646         (y1): Likewise.
79647         * math/w_j1f.c (j1f): Likewise.
79648         (y1f): Likewise.
79649         * math/w_j1l.c (__j1l): Likewise.
79650         (__y1l): Likewise.
79651         * math/w_jn.c (jn): Likewise.
79652         (yn): Likewise.
79653         * math/w_jnf.c (jnf): Likewise.
79654         (ynf): Likewise.
79655         * math/w_jnl.c (__jnl): Likewise.
79656         (__ynl): Likewise.
79657         * math/libm-test.inc (j0_test): Add more tests.
79658         (j1_test): Likewise.
79659         (jn_test): Likewise.  Add trailing semicolon to existing test.
79660         (y0_test): Likewise.
79661         (y1_test): Likewise.
79662         * sysdeps/i386/fpu/libm-test-ulps: Update.
79663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79665         [BZ #13851]
79666         [BZ #13854]
79667         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
79668         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
79669         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
79670         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
79671         (__tanl): Set errno for infinite argument.
79672         * sysdeps/i386/fpu/mptan.c: Remove.
79673         * sysdeps/i386/fpu/s_tan.S: Likewise.
79674         * sysdeps/i386/fpu/s_tanl.S: Likewise.
79675         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
79676         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
79677         * math/libm-test.inc (tan_test): Add more tests and enable more
79678         tests for double and long double.
79679         * sysdeps/i386/fpu/libm-test-ulps: Update.
79680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79682 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
79684         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
79685         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
79687 2012-03-16  Roland McGrath  <roland@hack.frob.com>
79689         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
79690         * configure.in: Use it for both main tree and add-ons.
79691         * configure: Regenerated.
79693 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79695         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
79697 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
79699         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
79700         in comment.
79702         [BZ #13851]
79703         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
79704         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
79705         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
79706         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
79707         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
79708         infinite argument.
79709         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
79710         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
79711         != 0 for prec == 2.
79712         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
79713         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
79714         * sysdeps/i386/fpu/s_cosl.S: Likewise.
79715         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
79716         * sysdeps/i386/fpu/s_sinl.S: Likewise.
79717         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
79718         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
79719         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
79720         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
79721         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
79722         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
79723         * math/libm-test.inc (cos_test): Add more tests and enable more
79724         tests for long double.
79725         (sin_test): Likewise.
79726         (sincos_test): Likewise.
79727         * sysdeps/i386/fpu/libm-test-ulps: Update.
79728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79730 2012-03-16  David S. Miller  <davem@davemloft.net>
79732         * sysdeps/sparc/fpu/math_private.h: New file.
79734 2012-03-15  David S. Miller  <davem@davemloft.net>
79736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
79737         file.
79738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
79739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
79740         file.
79741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
79742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
79743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
79744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
79745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
79746         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
79747         sysdep routines.
79748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79750         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
79751         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
79753         * sysdeps/sparc/sparc-ifunc.h: New file.
79754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
79755         sparc-ifunc.h
79756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
79757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
79758         Likewise.
79759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
79760         Likewise.
79761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
79762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
79763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
79764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
79765         Likewise.
79766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
79767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
79768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
79769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
79770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
79771         Likewise.
79772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
79773         Likewise.
79774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
79775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
79776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
79777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
79778         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
79779         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
79780         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
79781         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
79782         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
79783         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
79784         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
79785         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
79786         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
79787         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
79788         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
79789         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
79790         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
79791         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
79792         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
79793         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
79794         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
79795         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
79796         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
79797         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
79799 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79801         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
79802         scaling.
79803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79805 2012-03-15  Andreas Jaeger  <aj@suse.de>
79807         [BZ #13852]
79808         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
79809         ieee754/flt-32 implementation for sin, cos and sincos.
79810         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
79811         * sysdeps/i386/fpu/s_cosf.S: Likewise.
79812         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
79813         * sysdeps/i386/fpu/s_sinf.S: Likewise.
79814         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
79815         ieee754/flt-32 implementation for tan.
79817         * math/libm-test.inc (cos_test): Enable some large input tests for
79818         float as well
79819         (sin_test): Likewise.
79820         (sincos_test): Likewise.
79821         (tan_test): Add tests for large input.
79823         * sysdeps/i386/fpu/libm-test-ulps: Update.
79825 2012-03-15  Andreas Jaeger  <aj@suse.de>
79827         [BZ #13658]
79828         * math/libm-test.inc (cos_test): Add more test cases.
79829         (sin_test): Likewise.
79830         (sincos_test): Likewise.
79832 2012-03-15  Andreas Jaeger  <aj@suse.de>
79834         [BZ #13837]
79835         * math/libm-test.inc (cos_test): Add a test case for large input
79836         value.
79837         (sin_test): Likewise.
79838         (sincos_test): Likewise.
79840 2012-03-15  Andreas Jaeger  <aj@suse.de>
79841             Joseph Myers  <joseph@codesourcery.com>
79843         [BZ #13658]
79844         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
79845         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
79846         * sysdeps/i386/fpu/branred.c: Likewise.
79847         * sysdeps/i386/fpu/dosincos.c: Likewise.
79848         * sysdeps/i386/fpu/mpa.c: Likewise.
79849         * sysdeps/i386/fpu/s_cos.S: Likewise.
79850         * sysdeps/i386/fpu/s_sin.S: Likewise.
79851         * sysdeps/i386/fpu/s_sincos.S: Likewise.
79852         * sysdeps/i386/fpu/sincos32.c: Likewise.
79854         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
79855         Define.
79856         (libc_feupdateenv_53bit): Define.
79857         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
79858         Define.
79859         (libc_feupdateenv_53bit): Define.
79861         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
79862         53 bit (without extend i386 double precision).
79864         * math/libm-test.inc (sincos_test): Add tests for large input.
79865         (sin): Likewise.
79866         (cos): Likewise.
79868         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
79870 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79874 2012-03-15  David S. Miller  <davem@davemloft.net>
79876         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
79877         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
79878         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
79879         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
79880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
79881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
79882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
79883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
79884         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
79885         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
79886         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
79887         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
79888         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
79889         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
79890         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
79891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
79892         file.
79893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
79894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
79895         file.
79896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
79897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
79898         file.
79899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
79900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
79901         file.
79902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
79903         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
79904         fmin/fmax sysdep routines.
79905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79907 2012-03-14  David S. Miller  <davem@davemloft.net>
79909         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
79910         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
79911         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
79912         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
79913         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
79914         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
79915         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
79916         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
79917         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
79918         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
79919         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
79920         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
79921         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
79922         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
79923         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
79924         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
79925         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
79926         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
79927         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
79928         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
79929         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
79930         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
79931         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
79932         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
79933         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
79934         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
79935         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
79936         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
79937         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
79938         routines.
79939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
79940         file.
79941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
79942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
79943         file.
79944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
79945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
79946         file.
79947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
79948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
79949         file.
79950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
79951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
79952         file.
79953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
79954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
79955         file.
79956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
79957         file.
79958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
79959         file.
79960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
79961         file.
79962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
79963         New file.
79964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
79965         file.
79966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
79967         file.
79968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
79969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
79970         file.
79971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
79972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
79973         file.
79974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
79975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
79976         file.
79977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
79978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
79979         VIS3 routines.
79981         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
79982         New file.
79984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79986         * sysdeps/sparc/configure.in: New file.
79987         * sysdeps/sparc/configure: Generate.
79988         * configure.in (libc_cv_sparc_as_vis3): Substitute.
79989         * configure: Regenerate.
79990         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
79991         * config.make.in (have-as-vis3): New.
79992         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
79993         available use -Av9d instead of -Av9a.
79994         * sysdeps/sparc/sparc64/Makefile: Likewise.
79995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
79996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
79997         New file.
79998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
79999         file.
80000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
80001         New file.
80002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
80003         file.
80004         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
80005         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
80006         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
80007         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
80008         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
80010         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
80011         fzeros/fnegs to load 0x80000000 into a float register instead of
80012         using the stack.
80013         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
80015 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80017         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80018         bits/syscall.h.
80019         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
80020         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
80021         ($(inst_includedir)/bits/syscall.h): Remove rule.
80022         ($(objpfx)bits/syscall.d): Include instead of
80023         $(objpfx)syscall-list.d.
80024         (generated): Change syscall-list.h and syscall-list.d to
80025         bits/syscall.h and bits/syscall.d.
80027 2012-03-14  Roland McGrath  <roland@hack.frob.com>
80029         [BZ #13846]
80030         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
80032 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80034         [BZ #13841]
80035         * math/s_csqrt.c: Include <float.h>.
80036         (__csqrt): Scale large or subnormal inputs.
80037         * math/s_csqrtf.c: Likewise.
80038         * math/s_csqrtl.c: Likewise.
80039         * math/libm-test.inc (csqrt_test): Add more tests.
80040         * sysdeps/i386/fpu/libm-test-ulps: Update.
80041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80043         [BZ #13840]
80044         * math/libm-test.inc (hypot_test): Add more tests.
80046 2012-03-13  David S. Miller  <davem@davemloft.net>
80048         [BZ #13840]
80049         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
80050         double-precision for the calculation instead of scaling.
80052 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
80054         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
80055         manipulate bits before adding and subtracting TWO52[sx].
80056         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
80057         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
80058         Likewise.
80059         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
80061 2012-03-13  David S. Miller  <davem@davemloft.net>
80063         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
80064         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
80065         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
80066         rtld-global-offsets.h
80067         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80069         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
80070         large parameters.
80072         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
80074         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
80075         'err' in the ifdef scope in which it is actually used.
80077         * nss/nss_db/db-init.c: Include string.h
80079 2012-03-12  David S. Miller  <davem@davemloft.net>
80081         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80082         masking out of the most significant byte of random value used.
80083         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80084         Fix coding style in previous change.
80086         * sysdeps/unix/sysv/linux/kernel-features.h
80087         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
80088         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
80089         expression.
80090         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
80091         later.
80093 2012-03-11  David S. Miller  <davem@davemloft.net>
80095         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
80096         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
80097         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
80098         for 'resultvar' otherwise things get truncated on 64-bit.
80100         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80101         Fix masking out of the most significant byte of random value used.
80103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80105 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
80107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80109 2012-03-09  David S. Miller  <davem@davemloft.net>
80111         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
80112         variables with appropriate CPP guards.
80113         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
80114         from the frame pointer, not the stack pointer.  Correct layout
80115         comments.  Fix test on resulting framesize and the management of
80116         the outregs buffer for pltexit.  Preserve floating point return
80117         values across _dl_call_pltexit call.
80118         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
80119         framesize and the management of the outregs buffer for pltexit.
80120         Preserve floating point return values across _dl_call_pltexit
80121         call.
80122         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
80123         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
80124         (la_sparc64_gnu_pltexit): New functions.
80125         (print_exit): Fix format string for return register value.
80127 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
80129         * sunrpc/Makefile (others): Add rpcgen.
80130         ($(objpfx)rpcgen): Remove special build rule and dependency on
80131         libc.
80132         * sunrpc/rpcgen.c: New file.
80134 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
80136         [BZ #13673]
80137         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
80138         * stdio-common/bug-vfprintf-nargs.c: Likewise.
80139         * sysdeps/i386/crti.S: Likewise.
80140         * sysdeps/i386/crtn.S: Likewise.
80141         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
80142         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
80143         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
80144         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
80145         * sysdeps/sh/crti.S: Likewise.
80146         * sysdeps/sh/crtn.S: Likewise.
80147         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
80149         [BZ #13673]
80150         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
80151         with URL.
80152         * locale/programs/locfile-kw.gperf: Likewise.
80153         * locale/programs/charmap-kw.h: Regenerated.
80154         * locale/programs/locfile-kw.h: Likewise.
80156         [BZ #13673]
80157         * intl/plural.y: Replace FSF snail mail address with URL.
80158         * intl/plural.c: Regenerated.
80160 2012-03-09  Richard Henderson  <rth@twiddle.net>
80162         * include/math_private.h: Remove file.
80163         * math/math_private.h: Move file ...
80164         * sysdeps/generic/math_private.h: ... here.
80166         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
80167         * sysdeps/powerpc/fpu/math_private.h: Likewise.
80168         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80170         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
80171         and <math_private.h>.
80172         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80173         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80174         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80175         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80176         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80177         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
80178         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80179         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80180         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80181         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80182         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80183         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80184         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80185         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80186         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80187         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80188         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80189         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80190         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80191         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80192         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80193         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80194         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80195         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80196         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
80197         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80198         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80199         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80200         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80201         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80202         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80203         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80204         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
80205         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80206         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80207         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80208         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80209         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80210         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80211         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80212         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
80213         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80214         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80215         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
80216         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
80217         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80218         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
80219         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
80220         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80221         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80222         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
80223         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
80224         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
80225         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80226         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
80227         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80228         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80229         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
80230         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
80231         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
80232         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80233         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
80234         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80235         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80236         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
80237         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80238         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80239         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80240         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
80241         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
80242         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
80243         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80244         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
80245         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80246         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
80247         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
80248         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
80249         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80250         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
80251         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
80252         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
80253         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
80254         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
80255         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80256         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80257         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
80258         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
80259         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
80260         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80261         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80262         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80263         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80264         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80265         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80266         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80267         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80268         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80269         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80270         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80271         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80272         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80273         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80274         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80275         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80276         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80277         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80278         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80279         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80280         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80281         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80282         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80283         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80284         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80285         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80286         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
80287         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80288         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80289         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80290         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80291         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80292         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80293         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80294         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80295         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
80296         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80297         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80298         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80299         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
80300         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80301         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
80302         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
80303         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80304         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80305         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
80306         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
80307         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80308         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80309         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80310         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
80311         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80312         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80313         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80314         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80315         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
80316         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
80317         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80318         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80319         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80320         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
80321         * sysdeps/ieee754/k_standard.c: Likewise.
80322         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80323         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80324         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80325         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80326         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80327         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80328         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80329         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80330         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80331         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80332         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80333         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80334         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80335         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80336         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80337         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80338         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
80339         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80340         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80341         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
80342         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
80343         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
80344         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80345         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80346         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
80347         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
80348         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80349         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80350         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80351         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80352         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
80353         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80354         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80355         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80356         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
80357         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80358         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80359         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
80360         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
80361         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80362         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
80363         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
80364         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
80365         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80366         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
80367         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
80368         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80369         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80370         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80371         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80372         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80373         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
80374         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80375         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
80376         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80377         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80378         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
80379         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
80380         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80381         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80382         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80383         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
80384         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80385         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80386         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80387         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80388         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80389         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80390         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80391         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80392         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80393         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80394         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80395         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80396         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80397         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80398         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
80399         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80400         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80401         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
80402         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
80403         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
80404         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80405         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80406         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
80407         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80408         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80409         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
80410         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
80411         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80412         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
80413         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80414         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
80415         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
80416         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80417         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80418         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
80419         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
80420         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
80421         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
80422         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80423         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80424         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80425         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80426         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
80427         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80428         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80429         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
80430         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
80431         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80432         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80433         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80434         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80435         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80436         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80437         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80438         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80439         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80440         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80441         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80442         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80443         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80444         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80445         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80446         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80447         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
80448         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80449         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80450         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80451         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80452         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80453         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80454         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80455         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
80456         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80457         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80458         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
80459         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
80460         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80461         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
80462         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
80463         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80464         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
80465         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
80466         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80467         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80468         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80469         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80470         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80471         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
80472         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80473         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80474         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80475         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80476         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
80477         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
80478         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80479         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80480         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80481         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
80482         * sysdeps/ieee754/s_lib_version.c: Likewise.
80483         * sysdeps/ieee754/s_matherr.c: Likewise.
80484         * sysdeps/ieee754/s_signgam.c: Likewise.
80485         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80486         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80487         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
80488         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
80489         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
80490         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80491         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
80492         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
80493         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
80494         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
80495         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
80496         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
80497         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80498         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80499         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
80500         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
80501         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
80502         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
80503         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
80504         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80505         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80507 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80509         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
80510         * sunrpc/rpc_main.c: Likewise.
80511         * sunrpc/rpc_svcout.c: Likewise.
80513 2012-03-09  David S. Miller  <davem@davemloft.net>
80515         * include/math_private.h: New file.
80517 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80519         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
80520         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
80521         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
80522         from <bits/socket_type.h>.
80523         (enum __socket_type): Don't define here.
80524         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
80525         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80526         bits/socket_type.h.
80528         [BZ #13566]
80529         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
80530         checking __USE_GNU.
80532         * Makerules ($(inst_includedir)/%.h): New rule.
80533         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
80534         (install-others): Remove variable setting.
80535         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
80537 2012-03-08  Richard Henderson  <rth@twiddle.net>
80539         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
80540         from macro to inline function; merge with the
80541         !__LIBC_INTERNAL_MATH_INLINES version.
80542         (__ieee754_sqrtf): Likewise.
80544         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
80545         to inline function.
80546         (__rintf, __floor, __floorf): Likewise.
80548         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
80549         macro to inline function.
80550         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
80552         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
80553         not <math/math_private.h>.
80555 2012-03-08  David S. Miller  <davem@davemloft.net>
80557         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
80558         copyright year.
80559         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
80561 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
80563         * resolv/gai_misc.c (handle_requests): Fix struct timespec
80564         normalization.
80565         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
80566         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
80568 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
80570         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
80571         be defined individually, they must be defined as a block.  Define
80572         S for printing a string instead of hidint the different by using a
80573         macro for adding the 'l'.
80574         * stdio-common/tst-fphex-wide.c: Adjust.
80576 2012-03-07  Marek Polacek  <polacek@redhat.com>
80578         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
80580 2012-03-08  Marek Polacek  <polacek@redhat.com>
80582         [BZ #13806]
80583         * stdio-common/Makefile (tests): Add tst-fphex-wide.
80584         * stdio-common/tst-fphex.c: Define a few macros to make the
80585         test reusable.  Use them.
80586         * stdio-common/tst-fphex-wide.c: New file.
80588 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
80590         [BZ #6911]
80591         * manual/macros.texi (gnusystems): New macro.
80592         (nongnusystems): Likewise.
80593         (gnulinuxhurdsystems): Likewise.
80594         (gnuhurdsystems): Likewise..
80595         (gnulinuxsystems): Likewise.
80596         * manual/charset.texi: Use new macros or @theglibc{} to refer to
80597         variants of the GNU system, not "GNU system".
80598         * manual/conf.texi: Likewise.
80599         * manual/errno.texi: Likewise.  Update example of errno macro
80600         expansion.
80601         * manual/filesys.texi: Likewise.
80602         (getumask): Document as specific to GNU/Hurd.
80603         * manual/install.texi: Likewise.  Reword some references to
80604         GNU/Linux.
80605         * manual/intro.texi: Likewise.
80606         * manual/io.texi: Likewise.
80607         (File Name Portability): Detail which constraints are inapplicable
80608         to all GNU systems and which are only inapplicable to GNU/Hurd.
80609         * manual/job.texi: Likewise.
80610         * manual/llio.texi: Likewise.
80611         (O_NOCTTY): Document as present on GNU/Linux.
80612         * manual/maint.texi: Likewise.
80613         * manual/memory.texi: Likewise.
80614         * manual/pattern.texi: Likewise.
80615         * manual/pipe.texi: Likewise.
80616         * manual/process.texi: Likewise.
80617         * manual/resource.texi: Likewise.
80618         (RUSAGE_CHILDREN): Remove statement about specifying a particular
80619         child on GNU/Hurd.
80620         * manual/setjmp.texi: Likewise.
80621         * manual/signal.texi: Likewise.
80622         * manual/startup.texi: Likewise.
80623         * manual/stdio.texi: Likewise.
80624         * manual/terminal.texi: Likewise.
80625         (ONLCR): Document as POSIX.
80626         (OXTABS): Document availability on GNU/Linux as XTABS.
80627         (ONOEOT): Document availability separately from other bits.
80628         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
80629         * manual/time.texi: Likewise.
80630         * manual/users.texi: Likewise.
80631         * INSTALL: Regenerated.
80632         * sysdeps/gnu/errlist.c: Regenerated.
80634         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
80635         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
80636         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
80637         puts.
80638         * configure: Regenerated.
80640 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
80642         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
80643         default includes instead of AC_HEADER_CHECK.
80644         * sysdeps/i386/configure: Regenerated.
80646         [BZ #10716]
80647         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
80648         * math/s_cacoshf.c (__cacoshf): Likewise.
80649         * math/s_cacoshl.c (__cacoshl): Likewise.
80650         * math/s_casinh.c (__casinh): Set signs of result from argument.
80651         * math/s_casinhf.c (__casinhf): Likewise.
80652         * math/s_casinhl.c (__casinhl): Likewise.
80653         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
80654         (casinh_test): Add more tests.
80655         * sysdeps/i386/fpu/libm-test-ulps: Update.
80656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80658 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
80660         * po/zh_TW.po: Update from translation team.
80662         * login/Makefile (distribute): Remove variable.
80663         * catgets/Makefile: Likewise.
80664         * mach/Makefile: Likewise.
80665         * malloc/Makefile: Likewise.
80666         * misc/Makefile: Likewise.
80667         * iconv/Makefile: Likewise.
80668         * nscd/Makefile: Likewise.
80669         * hurd/Makefile: Likewise.
80670         * manual/Makefile: Likewise.
80671         * locale/Makefile: Likewise.
80672         * intl/Makefile: Likewise.
80673         * conform/Makefile: Likewise.
80674         * nss/Makefile: Likewise.
80675         * time/Makefile: Likewise.
80676         * soft-fp/Makefile: Likewise.
80677         * dirent/Makefile: Likewise.
80678         * gmon/Makefile: Likewise.
80679         * po/Makefile: Likewise.
80680         * rt/Makefile: Likewise.
80681         * socket/Makefile: Likewise.
80682         * math/Makefile: Likewise.
80683         * signal/Makefile: Likewise.
80684         * debug/Makefile: Likewise.
80685         * elf/Makefile: Likewise.
80686         * timezone/Makefile: Likewise.
80687         * stdlib/Makefile: Likewise.
80688         * iconvdata/Makefile: Likewise.
80689         * sunrpc/Makefile: Likewise.
80690         * io/Makefile: Likewise.
80691         * argp/Makefile: Likewise.
80692         * inet/Makefile: Likewise.
80693         * hesiod/Makefile: Likewise.
80694         * grp/Makefile: Likewise.
80695         * csu/Makefile: Likewise.
80696         * wctype/Makefile: Likewise.
80697         * crypt/Makefile: Likewise.
80698         * libio/Makefile: Likewise.
80699         * string/Makefile: Likewise.
80700         * nis/Makefile: Likewise.
80701         * resolv/Makefile: Likewise.
80702         * stdio-common/Makefile: Likewise.
80703         * wcsmbs/Makefile: Likewise.
80704         * dlfcn/Makefile: Likewise.
80705         * posix/Makefile: Likewise.
80707         [BZ #6959]
80708         * timezone/Makefile: Don't install timezone files, just the programs
80709         and scripts.
80711 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
80713         * nss/databases.def: Add missing gshadow entry.
80715         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
80717 2012-03-06  Marek Polacek  <polacek@redhat.com>
80719         [BZ #13726]
80720         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
80721         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
80722         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
80723         * stdio-common/tst-long-dbl-fphex.c: New file.
80725 2012-03-06  David S. Miller  <davem@davemloft.net>
80727         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80728         (set_obp_int): New function.
80729         (get_obp_int): New function.
80730         (__get_clockfreq_via_dev_openprom): Likewise.
80731         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
80732         Avoid unused variable warnings on 'val' and use builtin_expect.
80733         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
80734         __builtin_expect.
80735         (INLINE_CLONE_SYSCALL): Likewise.
80737 2012-03-05  David S. Miller  <davem@davemloft.net>
80739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80741 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
80743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80745         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
80746         only for |x| >= 40.
80747         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80749 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
80751         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
80752         Replace gettimeofday with __vdso_gettimeofday.
80754         * sysdeps/unix/sysv/linux/x86_64/init-first.c
80755         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
80756         __vdso_clock_gettime and __vdso_getcpu.
80758         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
80759         time with __vdso_time.
80761 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
80763         * manual/lang.texi (size_t): Note types to which size_t may be
80764         equivalent with the GNU C Library, but do not describe when
80765         differences between them are significant.
80767 2012-03-05  Andreas Jaeger  <aj@suse.de>
80769         * sysdeps/i386/fpu/libm-test-ulps: Update.
80771 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
80773         [BZ #3976]
80774         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
80775         (__ieee754_pow): Save and restore rounding mode and use
80776         round-to-nearest for main computations.
80777         * math/libm-test.inc (pow_test_tonearest): New function.
80778         (pow_test_towardzero): Likewise.
80779         (pow_test_downward): Likewise.
80780         (pow_test_upward): Likewise.
80781         (main): Call the new functions.
80782         * sysdeps/i386/fpu/libm-test-ulps: Update.
80783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80785         [BZ #3976]
80786         * math/libm-test.inc (cosh_test_tonearest): New function.
80787         (cosh_test_towardzero): Likewise.
80788         (cosh_test_downward): Likewise.
80789         (cosh_test_upward): Likewise.
80790         (sinh_test_tonearest): Likewise.
80791         (sinh_test_towardzero): Likewise.
80792         (sinh_test_downward): Likewise.
80793         (sinh_test_upward): Likewise.
80794         (main): Call the new functions.
80795         * sysdeps/i386/fpu/libm-test-ulps: Update.
80796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80798 2012-03-05  Tom de Vries  <tom@codesourcery.com>
80800         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
80801         default stack guard is set in last bytes.
80802         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
80804 2012-03-05  Kees Cook  <keescook@chromium.org>
80806         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
80808         [BZ #13656]
80809         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
80810         possibly allocate from heap instead of stack.
80811         * stdio-common/bug-vfprintf-nargs.c: New file.
80812         * stdio-common/Makefile (tests): Add nargs overflow test.
80814 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
80816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80818 2012-03-03  Marek Polacek  <polacek@redhat.com>
80820         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
80821         * math/math_private.h: Likewise.
80822         * stdlib/tst-strtod.c: Likewise.
80823         * sysdeps/i386/i486/bits/atomic.h: Likewise.
80824         * sysdeps/x86_64/bits/atomic.h: Likewise.
80826 2012-03-02  David S. Miller  <davem@davemloft.net>
80828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
80829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
80830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
80831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
80832         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
80833         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
80834         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
80835         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
80837 2012-03-02  Roland McGrath  <roland@hack.frob.com>
80839         [BZ #13792]
80840         * manual/examples/README: New file, says the example source files
80841         can be used under GPL>=2.
80842         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
80843         line containing just "*/".
80844         * manual/examples/add.c: Add copyright header (GPL>=2).
80845         * manual/examples/argp-ex1.c: Likewise.
80846         * manual/examples/argp-ex2.c: Likewise.
80847         * manual/examples/argp-ex3.c: Likewise.
80848         * manual/examples/argp-ex4.c: Likewise.
80849         * manual/examples/atexit.c: Likewise.
80850         * manual/examples/db.c: Likewise.
80851         * manual/examples/dir.c: Likewise.
80852         * manual/examples/dir2.c: Likewise.
80853         * manual/examples/execinfo.c: Likewise.
80854         * manual/examples/filecli.c: Likewise.
80855         * manual/examples/filesrv.c: Likewise.
80856         * manual/examples/fmtmsgexpl.c: Likewise.
80857         * manual/examples/genpass.c: Likewise.
80858         * manual/examples/inetcli.c: Likewise.
80859         * manual/examples/inetsrv.c: Likewise.
80860         * manual/examples/isockad.c: Likewise.
80861         * manual/examples/longopt.c: Likewise.
80862         * manual/examples/memopen.c: Likewise.
80863         * manual/examples/memstrm.c: Likewise.
80864         * manual/examples/mkfsock.c: Likewise.
80865         * manual/examples/mkisock.c: Likewise.
80866         * manual/examples/mygetpass.c: Likewise.
80867         * manual/examples/pipe.c: Likewise.
80868         * manual/examples/popen.c: Likewise.
80869         * manual/examples/rprintf.c: Likewise.
80870         * manual/examples/search.c: Likewise.
80871         * manual/examples/select.c: Likewise.
80872         * manual/examples/setjmp.c: Likewise.
80873         * manual/examples/sigh1.c: Likewise.
80874         * manual/examples/sigusr.c: Likewise.
80875         * manual/examples/stpcpy.c: Likewise.
80876         * manual/examples/strdupa.c: Likewise.
80877         * manual/examples/strftim.c: Likewise.
80878         * manual/examples/strncat.c: Likewise.
80879         * manual/examples/subopt.c: Likewise.
80880         * manual/examples/swapcontext.c: Likewise.
80881         * manual/examples/termios.c: Likewise.
80882         * manual/examples/testopt.c: Likewise.
80883         * manual/examples/testpass.c: Likewise.
80884         * manual/examples/timeval_subtract.c: Likewise.
80886         [BZ #13792]
80887         * manual/time.texi (Elapsed Time): Move timeval_subtract example
80888         function to ...
80889         * manual/timeval_subtract.c.texi: ... here, new file.
80891 2012-03-02  David S. Miller  <davem@davemloft.net>
80893         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
80895 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
80897         [BZ #3976]
80898         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
80899         (__sin): Save and restore rounding mode and use round-to-nearest
80900         for all computations.
80901         (__cos): Save and restore rounding mode and use round-to-nearest
80902         for all computations.
80903         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
80904         <fenv.h>.
80905         (tan): Save and restore rounding mode and use round-to-nearest for
80906         all computations.
80907         * math/libm-test.inc (cos_test_tonearest): New function.
80908         (cos_test_towardzero): Likewise.
80909         (cos_test_downward): Likewise.
80910         (cos_test_upward): Likewise.
80911         (sin_test_tonearest): Likewise.
80912         (sin_test_towardzero): Likewise.
80913         (sin_test_downward): Likewise.
80914         (sin_test_upward): Likewise.
80915         (tan_test_tonearest): Likewise.
80916         (tan_test_towardzero): Likewise.
80917         (tan_test_downward): Likewise.
80918         (tan_test_upward): Likewise.
80919         (main): Call the new functions.
80920         * sysdeps/i386/fpu/libm-test-ulps: Update.
80921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80923         [BZ #10135]
80924         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
80925         small n, then large n, before computing and testing k+n.
80926         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
80927         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
80928         Likewise.
80929         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
80930         Likewise.
80931         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
80932         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
80933         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
80934         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
80935         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
80936         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
80937         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
80938         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
80939         * math/libm-test.inc (scalbn_test): Add more tests.
80940         (scalbln_test): Likewise.
80942         * manual/filesys.texi (mode_t): Describe constraints on size and
80943         signedness, not exact equivalence to a particular type.
80944         (ino_t): Likewise.
80945         (ino64_t): Likewise.
80946         (dev_t): Likewise.
80947         (nlink_t): Likewise.
80948         (blkcnt_t): Likewise.
80949         (blkcnt64_t): Likewise.
80950         * manual/llio.texi (off_t): Likewise.
80952         [BZ #3976]
80953         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
80954         (__ieee754_exp): Save and restore rounding mode and use
80955         round-to-nearest for all computations.
80956         * math/libm-test.inc (exp_test_tonearest): New function.
80957         (exp_test_towardzero): Likewise.
80958         (exp_test_downward): Likewise.
80959         (exp_test_upward): Likewise.
80960         (main): Call the new functions.
80961         * sysdeps/i386/fpu/libm-test-ulps: Update.
80962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80964 2012-03-01  Chris Demetriou  <cgd@google.com>
80966         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
80967         have predictable order.
80969 2012-03-01  David S. Miller  <davem@davemloft.net>
80971         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
80973         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
80974         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
80975         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
80976         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
80978         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
80979         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
80980         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
80981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
80982         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
80983         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
80984         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
80985         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
80986         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
80988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80990         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
80991         * sysdeps/sparc/fpu/libm-test-ulps: to here.
80992         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
80994         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
80995         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80996         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80997         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
80998         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
80999         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
81000         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
81001         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81002         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81003         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
81004         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
81005         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81006         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81007         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81008         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81009         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81010         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
81011         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
81012         * sysdeps/sparc/elf/configure: Regenerated.
81014 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
81016         * configure.in (AS, LD): Require binutils 2.20 or later.
81017         * configure: Regenerated.
81018         * manual/install.texi (Tools for Compilation): Give binutils 2.20
81019         as required minimum version.
81020         * INSTALL: Regenerated.
81022         [BZ #2541]
81023         [BZ #4108]
81024         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
81025         before squaring exponent.
81026         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
81027         bottom long double and 27 bits of top long double before squaring
81028         exponent.
81029         * math/libm-test.inc (erfc_test): Add more tests.
81030         * sysdeps/i386/fpu/libm-test-ulps: Update.
81031         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81034 2012-03-01  Kai Tietz  <ktietz@redhat.com>
81036         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
81037         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
81038         containing bit-fields.
81039         * soft-fp/extended.h (_FP_UNION_E): Likewise.
81040         * soft-fp/single.h (_FP_UNION_S): Likewise.
81041         * soft-fp/double.h (_FP_UNION_D): Likewise.
81043 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81045         [BZ #13786]
81046         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
81047         not include ../strcmp.S.
81048         [USE_AS_STRNCASECMP_L]: Likewise.
81049         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
81050         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
81051         * sysdeps/i386/i686/multiarch/strncase_l-c.c
81052         (__strncasecmp_l_ia32): Define as alias to
81053         __strncasecmp_l_nonascii.
81055         [BZ #5794]
81056         * math/libm-test.inc (expm1_test): Add test for bug 5794.
81057         * sysdeps/i386/fpu/libm-test-ulps: Update.
81058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81060         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
81061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81063 2012-02-29  Jeff Law  <law@redhat.com>
81065         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
81066         out of bounds read.
81068 2012-02-29  Marek Polacek  <polacek@redhat.com>
81070         [BZ #13706]
81071         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
81072         * elf/Makefile: Add rules to run tst-unused-dep.out.
81074 2012-02-28  David S. Miller  <davem@davemloft.net>
81076         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
81077         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
81078         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
81079         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
81080         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
81081         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
81083 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81085         * math/libm-test.inc (llround_test): Move one test from
81086         lround_test.  Use TEST_f_L in moved test.
81087         (lround_test): Move misplaced test to llround_test.  Add testcase
81088         from bug 2561.
81090 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
81092         * sysdeps/x86_64/fpu/e_expf.S: New file.
81093         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
81095 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
81097         [BZ #13637]
81098         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
81099         of remain_len that may cause incomplete multi-byte character and
81100         false match.
81101         * posix/bug-regex33.c: New file.
81102         * posix/Makefile (tests): Add bug-regex33.
81104 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
81106         * manual/macros.texi: New file.
81107         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
81108         * manual/libc.texinfo: Include macros.texi.
81109         * manual/creatute.texi: Likewise.
81110         * manual/install.texi: Likewise.
81111         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
81112         @glibcadj{} in references to the GNU C Library.
81113         * manual/charset.texi: Likewise.
81114         * manual/conf.texi: Likewise.
81115         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
81116         when not using those macros.
81117         * manual/creature.texi: Likewise.
81118         * manual/crypt.texi: Likewise.
81119         * manual/errno.texi: Likewise.
81120         * manual/filesys.texi: Likewise.
81121         * manual/header.texi: Likewise.
81122         * manual/install.texi: Likewise.
81123         * manual/intro.texi: Likewise.
81124         * manual/io.texi: Likewise.
81125         * manual/job.texi: Likewise.
81126         * manual/lang.texi: Likewise.
81127         * manual/libc.texiinfo: Likewise.
81128         * manual/llio.texi: Likewise.
81129         * manual/locale.texi: Likewise.
81130         * manual/maint.texi: Likewise.
81131         * manual/math.texi: Likewise.
81132         * manual/memory.texi: Likewise.
81133         * manual/message.texi: Likewise.
81134         * manual/nss.texi: Likewise.
81135         * manual/pattern.texi: Likewise.
81136         * manual/process.texi: Likewise.
81137         * manual/resource.texi: Likewise.
81138         * manual/search.texi: Likewise.
81139         * manual/setjmp.texi: Likewise.
81140         * manual/signal.texi: Likewise.
81141         * manual/socket.texi: Likewise.
81142         * manual/startup.texi: Likewise.
81143         * manual/stdio.texi: Likewise.
81144         * manual/string.texi: Likewise.
81145         * manual/sysinfo.texi: Likewise.
81146         * manual/syslog.texi: Likewise.
81147         * manual/terminal.texi: Likewise.
81148         * manual/time.texi: Likewise.
81149         * manual/users.texi: Likewise.
81150         * INSTALL: Regenerated.
81151         * NOTES: Regenerated.
81152         * sysdeps/gnu/errlist.c: Regenerated.
81154 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
81156         * include/dirent.h: Include <dirstream.h> before
81157         <dirent/dirent.h>.
81159 2012-02-28  David S. Miller  <davem@davemloft.net>
81161         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
81162         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
81163         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
81164         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
81166 2012-02-27  David S. Miller  <davem@davemloft.net>
81168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
81169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
81170         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
81171         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
81173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
81174         frame pointer instead of stack pointer relative arg slot.
81175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81176         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81177         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81179 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
81181         [BZ #3992]
81182         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
81184 2012-02-27  David S. Miller  <davem@davemloft.net>
81186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
81187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
81190         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81191         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81192         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
81193         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
81195 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81197         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
81198         later.  Allow versions 5-9.
81199         * configure: Regenerated.
81200         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
81201         required minimum version and 4.6 as recommended version.  Do not
81202         mention bugs in GCC 2.7 and 2.8.
81203         * INSTALL: Regenerated.
81205 2012-02-27  David S. Miller  <davem@davemloft.net>
81207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
81208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
81209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
81210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
81211         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
81212         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
81213         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
81214         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
81216         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
81217         manipulate bits before adding and subtracting TWO112[sx].
81218         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
81220 2012-02-27  Roland McGrath  <roland@hack.frob.com>
81222         [BZ #13775]
81223         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
81224         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
81225         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
81226         being in POSIX, because they are in 1003.1-2008.
81228         * rt/tst-aio.c: Include <fcntl.h>.
81229         * rt/tst-aio7.c: Likewise.
81230         * rt/tst-aio64.c: Likewise.
81232         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
81234 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81236         * manual/install.texi (--with-headers): Describe headers as
81237         interface headers, not private headers.
81238         (Specific advice for GNU/Linux systems): Describe use of headers
81239         from "make headers_install", not private headers from older
81240         kernels.
81241         * INSTALL: Regenerated.
81242         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
81243         Change to 2.6.19.
81244         * sysdeps/unix/sysv/linux/configure: Regenerated.
81246         * manual/llio.texi (fclean): Remove documentation.
81248         * manual/Makefile (libc-texi-generated): New variable.  Include
81249         version.texi.
81250         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
81251         $(libc-texi-generated), not duplicated list of files.
81252         (version.texi, stamp-version): New rules.
81253         (realclean): Remove $(libc-texi-generated), not individual files
81254         from that list.  Do not remove dir-add.texinfo.
81255         * manual/libc.texinfo: Comment out uses of edition numbers and
81256         references to printed manual.  Remove last-updated dates.
81257         (EDITION): Comment out.
81258         (ISBN): Likewise.
81259         (VERSION, UPDATED): Remove.
81260         (version.texi): Include.
81262 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
81264         * sysdeps/posix/spawni.c: Include <signal.h>.
81265         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
81266         * sysdeps/pthread/aio_fsync.c: Likewise.
81268 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
81270         * conform/Makefile (tests): Run only when not cross-compiling and
81271         when fast-check is not defined.
81273         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
81274         * conform/data/limits.h-data: Fixes for POSIX2008.
81275         * conform/run-conformtest.sh: Run all tests.
81276         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
81277         headers.
81278         * include/bits/dlfcn.h: Likewise.
81279         * include/langinfo.h: Likewise.
81280         * include/monetary.h: Likewise.
81281         * include/sys/poll.h: Likewise.
81283         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
81284         for __USE_GNU.
81285         * posix/spawn.h: Define __need_sigset_t.
81286         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
81287         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
81288         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
81289         to get sigevent_t only.
81290         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
81291         only for __USE_GNU.
81292         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81293         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81294         process_vm_writev only for __USE_GNU.
81295         * termios/termios.h: Declare tcgetsid also for POSIX2008.
81297         * conform/Makefile: For now ignore errors from run-conformtest.
81298         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
81299         POSIX to avoid namespace pollution.  Don't prepend headers.
81300         * conform/data/aio.h-data: Fixes for POSIX testing.
81301         * conform/data/fcntl.h-data: Likewise.
81302         * conform/data/glob.h-data: Likewise.
81303         * conform/data/grp.h-data: Likewise.
81304         * conform/data/pthread.h-data: Likewise.
81305         * conform/data/pwd.h-data: Likewise.
81306         * conform/data/signal.h-data: Likewise.
81307         * conform/data/spawn.h-data: Likewise.
81308         * conform/data/stdio.h-data: Likewise.
81309         * conform/data/stdlib.h-data: Likewise.
81310         * conform/data/stropts.h-data: Likewise.
81311         * conform/data/sys/mman.h-data: Likewise.
81312         * conform/data/sys/stat.h-data: Likewise.
81313         * conform/data/sys/types.h-data: Likewise.
81314         * conform/data/sys/wait.h-data: Likewise.
81315         * conform/data/time.h-data: Likewise.
81316         * conform/data/unistd.h-data: Likewise.
81317         * conform/data/utime.h-data: Likewise.
81319         * io/sys/stat.h: fchmod was always in POSIX.
81320         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
81321         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
81322         * rt/aio.h: Define __need_timespec before including <time.h>.
81323         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
81324         struct.  Add forward declaration of pthread_attr_t and use it in
81325         sigevent.
81326         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81327         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81328         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
81329         always remove CLK_TCK definition.
81331 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
81333         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
81335 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
81337         * conform/run-conformtest.sh: New file.
81338         * conform/Makefile: Run run-conformtest for tests.
81339         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
81340         support.
81342         * conform/data/uchar.h-data: New file.
81343         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
81344         * conform/data/arpa/inet.h-data: Likewise.
81345         * conform/data/assert.h-data: Likewise.
81346         * conform/data/complex.h-data: Likewise.
81347         * conform/data/cpio.h-data: Likewise.
81348         * conform/data/ctype.h-data: Likewise.
81349         * conform/data/dirent.h-data: Likewise.
81350         * conform/data/dlfcn.h-data: Likewise.
81351         * conform/data/errno.h-data: Likewise.
81352         * conform/data/fcntl.h-data: Likewise.
81353         * conform/data/float.h-data: Likewise.
81354         * conform/data/fmtmsg.h-data: Likewise.
81355         * conform/data/fnmatch.h-data: Likewise.
81356         * conform/data/ftw.h-data: Likewise.
81357         * conform/data/glob.h-data: Likewise.
81358         * conform/data/grp.h-data: Likewise.
81359         * conform/data/iconv.h-data: Likewise.
81360         * conform/data/inttypes.h-data: Likewise.
81361         * conform/data/langinfo.h-data: Likewise.
81362         * conform/data/libgen.h-data: Likewise.
81363         * conform/data/limits.h-data: Likewise.
81364         * conform/data/locale.h-data: Likewise.
81365         * conform/data/math.h-data: Likewise.
81366         * conform/data/monetary.h-data: Likewise.
81367         * conform/data/mqueue.h-data: Likewise.
81368         * conform/data/ndbm.h-data: Likewise.
81369         * conform/data/net/if.h-data: Likewise.
81370         * conform/data/netdb.h-data: Likewise.
81371         * conform/data/netinet/in.h-data: Likewise.
81372         * conform/data/nl_types.h-data: Likewise.
81373         * conform/data/poll.h-data: Likewise.
81374         * conform/data/pthread.h-data: Likewise.
81375         * conform/data/pwd.h-data: Likewise.
81376         * conform/data/regex.h-data: Likewise.
81377         * conform/data/sched.h-data: Likewise.
81378         * conform/data/search.h-data: Likewise.
81379         * conform/data/semaphore.h-data: Likewise.
81380         * conform/data/setjmp.h-data: Likewise.
81381         * conform/data/signal.h-data: Likewise.
81382         * conform/data/spawn.h-data: Likewise.
81383         * conform/data/stdarg.h-data: Likewise.
81384         * conform/data/stdio.h-data: Likewise.
81385         * conform/data/stdlib.h-data: Likewise.
81386         * conform/data/string.h-data: Likewise.
81387         * conform/data/strings.h-data: Likewise.
81388         * conform/data/stropts.h-data: Likewise.
81389         * conform/data/sys/ipc.h-data: Likewise.
81390         * conform/data/sys/mman.h-data: Likewise.
81391         * conform/data/sys/msg.h-data: Likewise.
81392         * conform/data/sys/resource.h-data: Likewise.
81393         * conform/data/sys/select.h-data: Likewise.
81394         * conform/data/sys/sem.h-data: Likewise.
81395         * conform/data/sys/shm.h-data: Likewise.
81396         * conform/data/sys/socket.h-data: Likewise.
81397         * conform/data/sys/stat.h-data: Likewise.
81398         * conform/data/sys/statvfs.h-data: Likewise.
81399         * conform/data/sys/time.h-data: Likewise.
81400         * conform/data/sys/timeb.h-data: Likewise.
81401         * conform/data/sys/times.h-data: Likewise.
81402         * conform/data/sys/types.h-data: Likewise.
81403         * conform/data/sys/uio.h-data: Likewise.
81404         * conform/data/sys/un.h-data: Likewise.
81405         * conform/data/sys/utsname.h-data: Likewise.
81406         * conform/data/sys/wait.h-data: Likewise.
81407         * conform/data/syslog.h-data: Likewise.
81408         * conform/data/tar.h-data: Likewise.
81409         * conform/data/termios.h-data: Likewise.
81410         * conform/data/utime.h-data: Likewise.
81411         * conform/data/utmpx.h-data: Likewise.
81412         * conform/data/varargs.h-data: Likewise.
81413         * conform/data/wchar.h-data: Likewise.
81414         * conform/data/wctype.h-data: Likewise.
81415         * conform/data/wordexp.h-data: Likewise.
81417         * include/stropts.h: New file.
81418         * include/uchar.h: New file.
81419         * include/aio.h: Changes to allow conformtest.pl to use the headers.
81420         * include/assert.h: Likewise.
81421         * include/ctype.h: Likewise.
81422         * include/dirent.h: Likewise.
81423         * include/dlfcn.h: Likewise.
81424         * include/fcntl.h: Likewise.
81425         * include/fnmatch.h: Likewise.
81426         * include/glob.h: Likewise.
81427         * include/grp.h: Likewise.
81428         * include/libio.h: Likewise.
81429         * include/locale.h: Likewise.
81430         * include/math.h: Likewise.
81431         * include/net/if.h: Likewise.
81432         * include/netdb.h: Likewise.
81433         * include/netinet/in.h: Likewise.
81434         * include/pthread.h: Likewise.
81435         * include/pwd.h: Likewise.
81436         * include/regex.h: Likewise.
81437         * include/sched.h: Likewise.
81438         * include/search.h: Likewise.
81439         * include/setjmp.h: Likewise.
81440         * include/signal.h: Likewise.
81441         * include/stdio.h: Likewise.
81442         * include/stdlib.h: Likewise.
81443         * include/string.h: Likewise.
81444         * include/sys/cdefs.h: Likewise.
81445         * include/sys/mman.h: Likewise.
81446         * include/sys/msg.h: Likewise.
81447         * include/sys/resource.h: Likewise.
81448         * include/sys/select.h: Likewise.
81449         * include/sys/socket.h: Likewise.
81450         * include/sys/stat.h: Likewise.
81451         * include/sys/statvfs.h: Likewise.
81452         * include/sys/time.h: Likewise.
81453         * include/sys/times.h: Likewise.
81454         * include/sys/uio.h: Likewise.
81455         * include/sys/utsname.h: Likewise.
81456         * include/sys/wait.h: Likewise.
81457         * include/termios.h: Likewise.
81458         * include/time.h: Likewise.
81459         * include/ulimit.h: Likewise.
81460         * include/unistd.h: Likewise.
81461         * include/utime.h: Likewise.
81462         * include/wchar.h: Likewise.
81463         * include/wctype.h: Likewise.
81464         * include/wordexp.h: Likewise.
81466         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
81468         * time/time.h: TIME_UTC must be a macro.
81469         Make timespec_get available for ISO C11 only as well.
81471 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
81473         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
81474         Reported by Peng Haitao <penght@cn.fujitsu.com>.
81476 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81478         * configure.in: Use -o not -a in test for unsupported multi-arch.
81480 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81482         * manual/texinfo.tex: Update to version 2012-01-19.16.
81484 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81486         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
81488 2012-02-24  Roland McGrath  <roland@hack.frob.com>
81490         [BZ #13738]
81491         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
81492         * manual/fdl-1.3.texi: New file.
81493         * manual/fdl-1.1.texi: File removed.
81495         [BZ #13738]
81496         * manual/libc.texinfo (FDL_VERSION): New @set.
81497         Use it for mention of FDL in cover text.
81498         (Documentation License): Use it in @include file name.
81500 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81501             Roland McGrath  <roland@hack.frob.com>
81503         [BZ #5461]
81504         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
81505         (not LONG_LONG_MAX and LONG_LONG_MIN.
81506         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
81507         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
81508         name.
81509         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
81511 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81513         [BZ #2547]
81514         [BZ #11365]
81515         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
81516         manipulate bits before adding and subtracting TWO23[sx].
81517         * math/libm-test.inc (nearbyint_test): Add more tests.
81519 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81521         [BZ #2548]
81522         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
81523         bits before adding and subtracting TWO23[sx].
81524         * math/libm-test.inc (rint_test): Add more tests.
81525         (rint_test_tonearest): Likewise.
81526         (rint_test_towardzero): Likewise.
81527         (rint_test_downward): Likewise.
81528         (rint_test_upward: Likewise.
81530 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81532         [BZ #10110]
81533         * include/stdc-predef.h: New file.  Extracted from features.h.
81534         * include/features.h: Include stdc-predef.h.
81535         * Makefile (headers): Add stdc-predef.h.
81536         * CONFORMANCE (Compiler limitations): Update.
81538 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81540         * manual/libc.texinfo (VERSION, UPDATED): Revert.
81542 2012-02-21  David S. Miller  <davem@davemloft.net>
81544         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
81545         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81547 2012-02-20  David S. Miller  <davem@davemloft.net>
81549         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
81550         using a normal save/restore sequence, rather than allocating a
81551         dummy stack frame just to store a frame pointer and restore.
81552         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81554 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81556         * manual/install.texi: Fix stray word in line-wrapped comment.
81558 2012-02-20  David S. Miller  <davem@davemloft.net>
81560         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
81561         both binutils and gcc support GOTDATA.
81563         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
81564         "rd %pc" in the PIC register setup sequences.
81566         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
81567         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
81568         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81569         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
81570         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81571         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81572         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81573         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81574         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
81575         (SYSCALL_ERROR_HANDLER): Likewise.
81576         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81577         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81578         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
81579         (SYSCALL_ERROR_HANDLER): Likewise.
81581         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
81582         (HAVE_GCC_GOTDATA): New.
81583         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
81584         relocation support in both binutils and gcc.
81585         * sysdeps/sparc/elf/configure: Regenerate.
81587         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
81588         * sysdeps/sparc/sparc32/elf/configure: Delete.
81589         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
81590         * sysdeps/sparc/sparc64/elf/configure: Delete.
81591         * sysdeps/sparc/elf/configure.in: New file.
81592         * sysdeps/sparc/elf/configure: Generate.
81594         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
81595         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
81596         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81597         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
81598         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
81600 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81602         * manual/install.texi: Do not mention specific glibc version
81603         numbers.
81604         * manual/libc.texinfo (VERSION, UPDATED): Update.
81605         (@copying): Use @copyright{} and range of years.
81607 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81609         [BZ #13695]
81610         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
81611         [crti.S not in sysdirs] (generated): Do not append.
81612         [crti.S not in sysdirs] (omit-deps): Likewise.
81613         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
81614         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
81615         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
81616         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
81617         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
81618         Likewise.
81619         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
81620         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
81621         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
81622         * csu/defs.awk: Remove file.
81623         * sysdeps/generic/initfini.c: Likewise.
81624         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
81625         variable.
81626         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
81627         Likewise.
81629 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81631         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
81632         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
81633         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
81634         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
81635         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81636         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
81637         <bits/epoll.h>.
81638         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
81639         (__EPOLL_PACKED): Define to empty if not defined by
81640         <bits/epoll.h>.
81641         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
81642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81643         bits/epoll.h.
81645 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81647         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
81648         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
81649         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
81650         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
81651         <bits/timerfd.h>.
81652         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
81653         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81654         bits/timerfd.h.
81656 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81658         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
81659         in C locale.
81660         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81661         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
81662         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
81663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81665 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
81667         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81668         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81670 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
81672         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
81673         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
81674         defined.
81675         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
81676         Likewise.
81677         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
81678         entry for 2.16.
81680 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
81682         * math/w_acos.c: Use non-signaling floating-point comparisons.
81683         * math/w_acosf.c: Likewise.
81684         * math/w_acosh.c: Likewise.
81685         * math/w_acoshf.c: Likewise.
81686         * math/w_acoshl.c: Likewise.
81687         * math/w_acosl.c: Likewise.
81688         * math/w_asin.c: Likewise.
81689         * math/w_asinf.c: Likewise.
81690         * math/w_asinl.c: Likewise.
81691         * math/w_atanh.c: Likewise.
81692         * math/w_atanhf.c: Likewise.
81693         * math/w_atanhl.c: Likewise.
81694         * math/w_exp2.c: Likewise.
81695         * math/w_exp2f.c: Likewise.
81696         * math/w_exp2l.c: Likewise.
81697         * math/w_j0.c: Likewise.
81698         * math/w_j0f.c: Likewise.
81699         * math/w_j0l.c: Likewise.
81700         * math/w_j1.c: Likewise.
81701         * math/w_j1f.c: Likewise.
81702         * math/w_j1l.c: Likewise.
81703         * math/w_jn.c: Likewise.
81704         * math/w_jnf.c: Likewise.
81705         * math/w_log.c: Likewise.
81706         * math/w_log10.c: Likewise.
81707         * math/w_log10f.c: Likewise.
81708         * math/w_log10l.c: Likewise.
81709         * math/w_log2.c: Likewise.
81710         * math/w_log2f.c: Likewise.
81711         * math/w_log2l.c: Likewise.
81712         * math/w_logf.c: Likewise.
81713         * math/w_logl.c: Likewise.
81714         * math/w_sqrt.c: Likewise.
81715         * math/w_sqrtf.c: Likewise.
81716         * math/w_sqrtl.c: Likewise.
81717         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81718         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
81719         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81720         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
81721         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
81723 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81725         [BZ #9739]
81726         * manual/string.texi (strnlen): Use correct parameter name in
81727         equivalent expression.
81729 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81731         [BZ #11174]
81732         * manual/users.texi (seteuid): Consistently use neweuid for
81733         argument name.
81735 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81737         [BZ #13704]
81738         * manual/nss.texi (Services in the NSS configuration): Correct
81739         list of services in example configuration file.
81741 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
81743         [BZ #11322]
81744         * manual/arith.texi: Remove statements about negative zero
81745         behaving identically to zero.
81747 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
81749         [BZ #5993]
81750         * manual/install.texi: Do not document upgrading from libc5.
81752 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
81754         [BZ #4596]
81755         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
81757 2012-02-18  David S. Miller  <davem@davemloft.net>
81759         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
81760         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
81761         %o7 across the call.
81762         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
81763         instead.
81764         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
81765         SETUP_PIC_REG_LEAF.
81766         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81767         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
81768         * sysdeps/sparc/crtn.S: Likewise.
81770 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
81772         * aout/Makefile: Remove.
81774 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
81776         [BZ #13058]
81777         * manual/examples/argp-ex1.c (main): Format definition in GNU
81778         style.
81779         * manual/examples/argp-ex2.c (main): Likewise.
81780         * manual/examples/argp-ex3.c (main): Likewise.
81781         * manual/examples/argp-ex4.c (main): Likewise.
81782         * manual/examples/longopt.c (main): Use new-style prototype
81783         definition.
81784         * manual/examples/strncat.c (main): Specify return type and use
81785         (void) for arguments.
81786         * manual/examples/subopt.c (main): Use char **argv argument.
81788 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81790         [BZ #5077]
81791         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
81792         rounding modes.
81794 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
81796         [BZ #6907]
81797         * manual/string.texi (strchr): Change when strchrnul is
81798         recommended.
81800 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
81802         [BZ #174]
81803         * manual/locale.texi (setlocale): Document LOCPATH.
81805 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81807         [BZ #10210]
81808         * manual/process.texi (execle): Move @dots{} before last argument.
81810 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
81812         [BZ #12047]
81813         * manual/charset.texi (Generic Charset Conversion): Fix typo
81814         (LC_TYPE -> LC_CTYPE).
81816 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
81818         [BZ #5805]
81819         * manual/arith.texi (scalbn): Use @var{} on parameter names.
81820         (scalbnf): Likewise.
81821         (scalbnl): Likewise.
81822         (scalbln): Likewise.
81823         (scalblnf): Likewise.
81824         (scalblnl): Likewise.
81825         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
81826         (vwarnx): Likewise.
81827         (verr): Likewise.
81828         (verrx): Likewise.
81829         * manual/filesys.texi (telldir): Use braces around return type.
81830         * manual/llio.texi (mmap): Add space after comma.
81831         (mmap64): Likewise.
81832         * manual/math.texi (jn): Use @var{} on parameter names.
81833         (jnf): Likewise.
81834         (jnl): Likewise.
81835         (yn): Likewise.
81836         (ynf): Likewise.
81837         (ynl): Likewise.
81838         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
81839         line.
81840         * manual/resource.texi (ulimit): Use @dots{} instead of literal
81841         "...".
81842         (sched_get_priority_min): Remove semicolon on @deftypefun line.
81843         (sched_get_priority_max): Likewise.
81844         * manual/signal.texi (sigvec): Add space after comma.
81845         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
81846         names.
81847         (if_indextoname): Likewise.
81848         (if_freenameindex): Likewise.
81849         (sendto): Use ',' instead of '.' in prototype.
81850         * manual/startup.texi (syscall): Use @dots{} instead of literal
81851         "...".
81852         * manual/stdio.texi (__fpending): Separate initial words of
81853         paragraph from @deftypefun line.
81854         * manual/syslog.texi (syslog): Use @dots{} instead of literal
81855         "...".
81856         (vsyslog): Use @var{} on parameter names.
81857         * manual/terminal.texi (stty): Use @var{} on parameter names.
81858         * manual/users.texi (getutmp): Use @var{} on parameter names.
81859         (getutmpx): Likewise.
81861 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81863         [BZ #6884]
81864         * manual/stdio.texi (fopen): Fix typos in description of
81865         ",ccs=STRING".
81867 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
81869         [BZ #4026]
81870         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
81871         get clock_id definition.
81873 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
81875         [BZ #4822]
81876         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
81877         (madvise): Cast every argument to void on its own.
81879 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81881         [BZ #9902]
81882         * manual/startup.texi (Exit Status): Fix typo.
81884 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81886         [BZ #10140]
81887         * manual/examples/argp-ex1.c: Include <stdlib.h>.
81888         * manual/examples/argp-ex2.c: Likewise.
81889         * manual/examples/argp-ex3.c: Likewise.
81891 2012-02-16  Richard Henderson  <rth@redhat.com>
81893         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
81894         * sysdeps/s390/s390-32/initfini.c: Remove.
81895         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
81896         * sysdeps/s390/s390-64/initfini.c: Remove.
81898 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
81900         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
81901         compiler output for sysdeps/generic/initfini.c.
81902         * sysdeps/sh/elf/initfini.c: Remove file.
81904 2012-02-16  David S. Miller  <davem@davemloft.net>
81906         [BZ #11494]
81907         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
81909         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
81910         * sysdeps/sparc/crti.S: New file.
81911         * sysdeps/sparc/crtn.S: New file.
81912         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
81913         * sysdeps/sparc/sparc64/Makefile: Likewise.
81915 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
81917         [BZ #3335]
81918         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
81920 2012-02-15  Roland McGrath  <roland@hack.frob.com>
81922         [BZ #4822]
81923         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
81925         * mach/devstream.c (cookie_io_functions_t): Macro removed.
81926         (write, read, close): Likewise.
81927         Patch by Aurelien Jarno <aurelien@aurel32.net>.
81929 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
81931         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
81932         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
81933         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
81934         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
81935         <bits/signalfd.h>.
81936         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
81937         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81938         bits/signalfd.h.
81940 2012-02-14  Marek Polacek  <polacek@redhat.com>
81942         * sysdeps/x86_64/crti.S: New file.
81943         * sysdeps/x86_64/crtn.S: New file.
81944         * sysdeps/x86_64/elf/initfini.c: Remove file.
81946 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81948         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
81949         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
81950         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
81951         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
81952         <bits/inotify.h>.
81953         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
81954         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81955         bits/inotify.h.
81957 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81959         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
81960         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
81961         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
81962         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
81963         <bits/eventfd.h>.
81964         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
81965         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81966         bits/eventfd.h.
81968 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
81970         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
81971         __feraiseexcept instead of feraiseexcept.
81973         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
81974         nanosleep invocations.
81975         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
81976         strings, and add error checking for a nanosleep invocations.
81978 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
81980         Replace FSF snail mail address with URLs, as per GNU coding standards.
81981         Most of the snail mail addresses were wrong anyway, and omitting
81982         them makes the source code easier to maintain.  Almost all of the
81983         changes are to license notices and to locale LC_IDENTIFICATION
81984         addresses, except for this one:
81985         * manual/libc.texinfo: In "Published by", give the FSF's URL,
81986         not its snail mail address.
81988 2012-02-09  Richard Henderson  <rth@twiddle.net>
81990         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
81991         of kernel-features.h.
81993         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
81995 2012-02-08  Marek Polacek  <polacek@redhat.com>
81997         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
81998         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
81999         * sysdeps/gnu/_G_config.h: Likewise.
82000         * sysdeps/generic/_G_config.h: Likewise.
82002 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
82004         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
82005         tests.
82006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82008         * sysdeps/powerpc/powerpc32/crti.S: New file.
82009         * sysdeps/powerpc/powerpc32/crtn.S: New file.
82010         * sysdeps/powerpc/powerpc64/crti.S: New file.
82011         * sysdeps/powerpc/powerpc64/crtn.S: New file.
82013         * Makeconfig (have-initfini): Don't set.
82014         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
82015         * configure.in (nopic_initfini): Don't substitute.
82016         * config.h.in (HAVE_INITFINI): Don't #undef.
82017         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
82018         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
82020 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
82022         Support crti.S and crtn.S provided directly by architectures.
82023         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
82024         [crti.S in sysdirs] (omit-deps): Likewise.
82025         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
82026         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
82027         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
82028         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
82029         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
82030         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
82031         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
82032         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
82033         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
82034         compiler output for sysdeps/generic/initfini.c.
82035         * sysdeps/i386/elf/Makefile: Remove file.
82036         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
82038 2012-02-07  Marek Polacek  <polacek@redhat.com>
82040         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
82041         * sysdeps/gnu/_G_config.h: Likewise.
82042         * sysdeps/mach/hurd/_G_config.h: Likewise.
82044 2012-02-07  Marek Polacek  <polacek@redhat.com>
82046         * math/Makefile (tests): Add tst-CMPLX2.
82047         * math/tst-CMPLX2.c: New file.
82049 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
82051         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82053         * math/libm-test.inc (jn_test): Add missing L suffix.
82055 2012-02-06  Marek Polacek  <polacek@redhat.com>
82057         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
82058         * sysdeps/i386/fpu/e_powf.S: Likewise.
82059         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82060         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82061         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82062         * sysdeps/i386/fpu/e_pow.S: Likewise.
82063         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
82064         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82065         * sysdeps/i386/fpu/s_expm1.S: Likewise.
82066         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
82067         * sysdeps/i386/fpu/e_log2.S: Likewise.
82068         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82069         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82070         * sysdeps/i386/fpu/e_powl.S: Likewise.
82071         * sysdeps/i386/fpu/s_log1p.S: Likewise.
82072         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82073         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
82074         * sysdeps/i386/fpu/e_logl.S: Likewise.
82075         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
82076         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
82077         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
82078         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
82079         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82080         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82081         * sysdeps/i386/fpu/e_log.S: Likewise.
82082         * sysdeps/i386/fpu/s_cexp.S: Likewise.
82083         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82084         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
82085         * sysdeps/i386/fpu/e_logf.S: Likewise.
82086         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82087         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82088         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
82089         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
82090         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82091         * sysdeps/i386/fpu/e_log10.S: Likewise.
82092         * sysdeps/i386/fpu/s_frexp.S: Likewise.
82093         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82094         * sysdeps/i386/fpu/s_asinh.S: Likewise.
82095         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
82096         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82097         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
82098         * sysdeps/i386/asm-syntax.h: Likewise.
82099         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82100         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82101         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82102         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
82103         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
82104         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82105         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
82106         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
82107         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82108         * sysdeps/powerpc/sysdep.h: Likewise.
82109         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
82110         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
82112 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82114         [BZ #411]
82115         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
82117 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82119         * sysdeps/i386/sysdep.h: Include <features.h>.
82120         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
82121         version.
82123 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
82125         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
82126         Define.
82127         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
82128         LOAD_PIC_REG_STR.
82130 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82132         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
82133         (SETUP_PIC_REG): Use GET_PC_THUNK.
82134         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
82135         macro.
82137 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82139         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
82140         for non-PIC compilation.
82141         (SETUP_PIC_REG): Add .p2align directive.
82142         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
82143         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
82144         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
82145         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
82146         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
82147         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
82148         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
82149         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82150         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
82151         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
82152         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
82153         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
82154         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
82155         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
82156         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
82157         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
82158         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
82159         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
82160         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
82161         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
82162         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
82163         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
82164         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
82165         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
82166         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
82167         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
82168         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82169         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
82170         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
82171         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
82172         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
82173         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82174         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
82175         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
82176         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
82177         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
82178         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
82179         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
82180         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
82181         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
82182         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
82184 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82186         * math/tst-CMPLX.c: Include <stdio.h>.
82188 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
82190         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
82191         float.
82192         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82193         * sysdeps/sparc/bits/mathdef.h: Likewise.
82195 2012-01-31  Marek Polacek  <polacek@redhat.com>
82197         * libio/libio.h: Don't define _PARAMS.
82198         * locale/programs/config.h: Don't define PARAMS.
82199         * stdlib/strtol_l.c: Likewise.
82200         (__strtol_l): Remove PARAMS from the prototype.
82202 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
82204         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
82205         names.  Just use the correct names.  Remove unnecessary wrapper
82206         functions.
82207         * malloc/arena.c: Likewise.
82208         * malloc/hooks.c: Likewise.
82210         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
82211         ARENA_TEST says not to.  Simplify test for creation of a new arena.
82212         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
82214 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
82216         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
82217         into tail calls.
82218         (update_get_addr): New function.
82219         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
82220         GET_ADDR_MODULE parameter.
82222 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82224         * crypt/cert.c: Remove __STDC__ conditionals.
82225         * crypt/crypt-entry.c: Likewise.
82226         * crypt/crypt_util.c: Likewise.
82227         * libio/filedoalloc.c: Likewise.
82228         * libio/fileops.c: Likewise.
82229         * libio/genops.c: Likewise.
82230         * libio/iofclose.c: Likewise.
82231         * libio/iofdopen.c: Likewise.
82232         * libio/iofopen.c: Likewise.
82233         * libio/iofopen64.c: Likewise.
82234         * libio/iogetdelim.c: Likewise.
82235         * libio/iopopen.c: Likewise.
82236         * libio/obprintf.c: Likewise.
82237         * libio/oldfileops.c: Likewise.
82238         * libio/oldiofclose.c: Likewise.
82239         * libio/oldiofdopen.c: Likewise.
82240         * libio/oldiofopen.c: Likewise.
82241         * libio/oldiopopen.c: Likewise.
82242         * libio/wfiledoalloc.c: Likewise.
82243         * libio/wgenops.c: Likewise.
82244         * locale/programs/xmalloc.c: Likewise.
82245         * misc/syslog.c: Likewise.
82246         * stdio-common/xbug.c: Likewise.
82247         * string/memchr.c: Likewise.
82248         * string/memcmp.c: Likewise.
82249         * string/memrchr.c: Likewise.
82250         * string/rawmemchr.c: Likewise.
82251         * sysdeps/posix/getcwd.c: Likewise.
82252         * time/strftime_l.c: Likewise.
82254 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82256         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
82257         * config.make.in (config-cflags-sse2avx): Define.
82258         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
82259         Fix typo.
82261 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
82263         * scripts/config.guess: Update from upstream config git repository.
82264         * scripts/config.sub: Likewise.
82266 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
82268         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
82269         (EM_NUM): Update.
82270         (R_TILEPRO_*, R_TILEGX_*): New macros.
82272         * scripts/firstversions.awk: Fix bug in version range handling.
82274         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
82276         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
82278         * include/sys/epoll.h: New file.
82279         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
82280         libc_hidden_def.
82282 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
82284         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
82285         Avoid unnecessary __WORDSIZE == 64 test.
82286         (fmaxf): Use VEX format if possible.
82287         (fmax): Likewise.
82288         (fminf): Likewise.
82289         (fmin): Likewise.
82291         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
82292         * math/math_private.h: Remove libc_fegetround* and
82293         libc_fesetround*.
82294         * sysdeps/i386/configure.in: Check for -msse2avx.
82295         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
82296         also if SSE2AVX is defined.
82297         Remove libc_fegetround* and libc_fesetround*.
82298         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
82299         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
82300         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
82301         of HAS_YMM_USABLE.
82302         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82303         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82304         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82305         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82306         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82308         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
82310 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82312         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
82313         size is not set.
82314         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82316 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
82318         [BZ #13618]
82319         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
82320         relocation.
82321         * Makeconfig (libm): Define.
82322         * elf/Makefile: Add rules to build and run tst-relsort1.
82323         * elf/tst-relsort1.c: New file.
82324         * elf/tst-relsort1mod1.c: New file.
82325         * elf/tst-relsort1mod2.c: New file.
82327 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
82329         * math/s_ldexp.c: Remove __STDC__ conditionals.
82330         * math/s_ldexpf.c: Likewise.
82331         * math/s_ldexpl.c: Likewise.
82332         * math/s_nextafter.c: Likewise.
82333         * math/s_nexttowardf.c: Likewise.
82334         * math/s_significand.c: Likewise.
82335         * math/s_significandf.c: Likewise.
82336         * math/s_significandl.c: Likewise.
82337         * math/w_jnl.c: Likewise.
82338         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82339         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82340         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82341         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82342         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82343         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82344         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
82345         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82346         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82347         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82348         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82349         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82350         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82351         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82352         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82353         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82354         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82355         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82356         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82357         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82358         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82359         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82360         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82361         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82362         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82363         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82364         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82365         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82366         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82367         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82368         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82369         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82370         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82371         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82372         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82373         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82374         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82375         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82376         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82377         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82378         * sysdeps/ieee754/k_standard.c: Likewise.
82379         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82380         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82381         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82382         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82383         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82384         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82385         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82386         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82387         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82388         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82389         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82390         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82391         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82392         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82393         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82394         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82395         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82396         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82397         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82398         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82399         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82400         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82401         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82402         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82403         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82404         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82405         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82406         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82407         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82408         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82409         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82410         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
82411         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82412         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82413         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82414         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82415         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
82416         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82417         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82418         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
82419         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
82420         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82421         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
82422         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
82423         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82424         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
82425         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
82426         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82427         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82428         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
82429         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
82430         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82431         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82432         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82433         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82434         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82435         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
82436         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82437         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82438         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82439         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82440         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82441         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82442         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82443         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82444         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82445         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82446         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82447         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82448         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82449         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82450         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82451         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82452         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82453         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82454         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82455         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82456         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82457         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82458         * sysdeps/ieee754/s_matherr.c: Likewise.
82459         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82460         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82461         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82462         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82464 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82466         * crypt/md5.h: Remove __STDC__ conditionals.
82467         * libio/libioP.h: Likewise.
82468         * locale/programs/config.h: Likewise.
82469         * sysdeps/generic/sysdep.h: Likewise.
82470         * sysdeps/i386/asm-syntax.h: Likewise.
82471         * sysdeps/s390/asm-syntax.h: Likewise.
82472         * sysdeps/unix/sysdep.h: Likewise.
82473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
82474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
82476 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82478         * libio/libio.h: Remove __STDC__ conditionals.
82479         * malloc/obstack.h: Likewise.
82480         * math/complex.h: Likewise.
82481         * math/math.h: Likewise.
82482         * sysdeps/generic/_G_config.h: Likewise.
82483         * sysdeps/gnu/_G_config.h: Likewise.
82484         * sysdeps/mach/hurd/_G_config.h: Likewise.
82485         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82486         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82487         * sysdeps/sparc/bits/mathdef.h: Likewise.
82489 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
82491         [BZ #13583]
82492         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
82493         Clean up HAS_* macros.
82494         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
82495         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
82496         possible.
82497         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
82498         HAS_AVX.
82499         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82500         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82501         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82502         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82503         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82505 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
82507         * elf/tst-unique3.cc (gets): Remove declaration.
82508         * elf/tst-unique3lib.cc (gets): Likewise.
82509         * elf/tst-unique3lib2.cc (gets): Likewise.
82510         * elf/tst-unique4.cc (gets): Likewise.
82512 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
82514         * include/stdio.h: Add C++ protection.  Add gets declarations and
82515         definitions.
82516         * debug/tst-chk1.c: Don't declare gets here.
82517         * stdio-common/tst-gets.c: Likewise.
82519 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82521         * posix/glob: Remove directory.
82523 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82525         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
82527 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
82529         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
82530         of the non-standard EPFNOSUPPORT.
82532 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82534         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
82535         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
82536         ANYWHERE set to 1 only on KERN_NO_SPACE error.
82538 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
82540         * wcsmbs/uchar.h: Test __STDC_VERSION__.
82542 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
82544         * nscd/aicache.c (addhstaiX): Do not cache negative results of
82545         transient errors.
82546         * nscd/grpcache.c (cache_addgr): Likewise.
82547         * nscd/hstcache.c (cache_addhst): Likewise.
82548         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82549         * nscd/pwdcache.c (cache_addpw): Likewise.
82550         * nscd/servicescache.c (cache_addserv): Likewise.
82552 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
82554         * malloc/malloc.c: Various cleanups.
82555         * malloc/hooks.c: Likewise.
82557         * stdlib/Makefile (tests): Add bug-fmtmsg1.
82558         * stdlib/bug-fmtmsg1.c: New file.
82560         * stdlib/fmtmsg.c (init): Add missing unlock.
82561         Patch by Peng Haitao <penght@cn.fujitsu.com>.
82563 2012-01-12  Marek Polacek  <polacek@redhat.com>
82565         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
82566         and _GNU_SOURCE.
82568 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
82570         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
82571         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
82572         macro to ensure uniqueness of label name.
82573         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82574         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82576 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
82578         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
82580         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
82581         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
82582         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
82583         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
82585 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
82587         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
82589         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
82590         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
82591         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
82593         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
82595         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
82596         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
82597         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
82598         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
82600         * math/bits/math-finite.h: Add ldexp support.
82602 2012-01-10  Marek Polacek  <polacek@redhat.com>
82604         * locale/programs/localedef.h (show_archive_content): Add noreturn
82605         attribute.
82607 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
82609         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
82611 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82613         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
82615         * io/Makefile (headers): Add bits/poll2.h.
82617 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
82619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
82620         typo #include statement.
82622 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82624         * include/sys/cdefs.h: Define __attribute_alloc_size.
82625         * catgets/gencat.c: Add alloc_size attribute and apply consistently
82626         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
82627         * elf/pldd.c: Likewise.
82628         * iconv/iconv_charmap.c: Likewise.
82629         * iconv/iconvconfig.c: Likewise.
82630         * iconv/strtab.c: Likewise.
82631         * locale/programs/locale.c: Likewise.
82632         * locale/programs/localedef.h: Likewise.
82633         * locale/programs/simple-hash.c: Likewise.
82634         * nscd/nscd.h: Likewise.
82635         * nss/makedb.c: Likewise.
82636         * sysdeps/generic/ldconfig.h: Likewise.
82637         * locale/programs/localedef.c: Remove xmalloc prototype.
82638         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
82640 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
82642         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
82643         appropriate.
82645 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82647         * math/Makefile (tests): Add tst-CMPLX.
82648         * math/tst-CMPLX.c: New file.
82650         * math/complex.h (CMPLXL): Fix typo.
82652         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
82653         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
82654         GLIBC_2.16.
82655         * debug/tst-chk1.c: Add poll and ppoll tests.
82656         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
82657         * include/sys/poll.h: Add hidden proto for ppoll.
82658         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
82659         * sysdeps/mach/hurd/ppoll.c: Likewise.
82660         * io/ppoll.c: Likewise.
82661         * debug/poll_chk.c: New file.
82662         * debug/ppoll_chk.c: New file.
82663         * include/bits/poll2.h: New file.
82664         * io/bits/poll2.h: New file.
82666         [BZ #1350]
82667         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
82669         * configure.in: static is always set to yes.  Remove.
82670         * config.make.in: Don't set build-static.
82671         * Makeconfig: Remove use of build-static.
82672         * dlfcn/Makefile: Likewise.
82673         * elf/Makefile: Likewise.
82674         * math/Makefile: Likewise.
82675         * misc/Makefile: Likewise.
82676         * nptl/Makefile: Likewise.
82677         * sysdeps/mach/hurd/Makefile: Likewise.
82679         * configure.in: PWD_P is not used anymore.
82680         * config.make.in: Remove PWD_P entry.
82682         * configure.in: Remove last remnants of RANLIB.
82683         No need to check for signed size_t anymore.
82684         Don't set libc_commonpagesize and libc_relro_required here for Alpha
82685         and IA-64.
82686         Remove __builtin_expect test because we require at least gcc 3.4.
82687         * aclocal.m4: Likewise.
82689         * wcsmbs/mbrtoc16.c: Implement using towc function.
82690         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
82691         * wcsmbs/wcsmbsload.c: Likewise.
82692         * iconv/gconv_simple.c: Likewise.
82693         * iconv/gconv_int.h: Likewise.
82694         * iconv/gconv_builtin.h: Likewise.
82695         * iconv/iconv_prog.c: Remove CHAR16 handling.
82697         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
82699         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
82701         * configure.in: Remove --with-elf and --enable-bounded options.
82702         Dont set base_machine for ia64.  More non-ELF conditions removed.
82703         Remove testing and setting of leading underscore information.
82704         * config.make.in (build-bounded): Set to no.
82705         * config.h.in: Remove NO_UNDERSCORES entry.
82706         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
82707         them.
82708         * csu/start.c: Remove !NO_UNDERSCORE code.
82709         * locale/localeinfo.h: Likewise.
82710         * sysdeps/generic/machine-gmon.h: Likewise.
82711         * sysdeps/generic/sysdep.h: Likewise.
82712         * sysdeps/i386/sysdep.h: Likewise.
82713         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82714         * sysdeps/mach/sysdep.h: Likewise.
82715         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82716         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82717         * sysdeps/sh/sysdep.h: Likewise.
82718         * sysdeps/sparc/sparc32/alloca.S: Likewise.
82719         * sysdeps/unix/i386/sysdep.S: Likewise.
82720         * sysdeps/unix/sparc/start.c: Likewise.
82721         * sysdeps/unix/sparc/sysdep.S: Likewise.
82722         * sysdeps/unix/sparc/sysdep.h: Likewise.
82723         * sysdeps/unix/start.c: Likewise.
82724         * sysdeps/unix/x86_64/sysdep.S: Likewise.
82725         * sysdeps/x86_64/sysdep.h: Likewise.
82727 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
82729         [BZ #13553]
82730         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
82731         for non-gcc.
82732         * argp/argp-fmtstream.h: Use const instead __const.
82733         * argp/argp.h: Likewise.
82734         * assert/assert.h: Likewise.
82735         * bits/fenv.h: Likewise.
82736         * bits/sched.h: Likewise.
82737         * bits/sigset.h: Likewise.
82738         * bits/sigthread.h: Likewise.
82739         * catgets/nl_types.h: Likewise.
82740         * conform/data/pthread.h-data: Likewise.
82741         * crypt/crypt-private.h: Likewise.
82742         * crypt/crypt.h: Likewise.
82743         * crypt/crypt_util.c: Likewise.
82744         * ctype/ctype.h: Likewise.
82745         * debug/execinfo.h: Likewise.
82746         * debug/mbsnrtowcs_chk.c: Likewise.
82747         * debug/mbsrtowcs_chk.c: Likewise.
82748         * debug/wcsnrtombs_chk.c: Likewise.
82749         * debug/wcsrtombs_chk.c: Likewise.
82750         * debug/wcstombs_chk.c: Likewise.
82751         * dirent/dirent.h: Likewise.
82752         * dlfcn/dlfcn.h: Likewise.
82753         * elf/neededtest4.c: Likewise.
82754         * grp/grp.h: Likewise.
82755         * gshadow/gshadow.h: Likewise.
82756         * iconv/gconv.h: Likewise.
82757         * iconv/gconv_int.h: Likewise.
82758         * iconv/gconv_simple.c: Likewise.
82759         * iconv/iconv.h: Likewise.
82760         * iconv/loop.c: Likewise.
82761         * iconv/skeleton.c: Likewise.
82762         * include/aio.h: Likewise.
82763         * include/aliases.h: Likewise.
82764         * include/argz.h: Likewise.
82765         * include/arpa/inet.h: Likewise.
82766         * include/assert.h: Likewise.
82767         * include/dirent.h: Likewise.
82768         * include/dlfcn.h: Likewise.
82769         * include/execinfo.h: Likewise.
82770         * include/fcntl.h: Likewise.
82771         * include/fenv.h: Likewise.
82772         * include/glob.h: Likewise.
82773         * include/grp.h: Likewise.
82774         * include/libintl.h: Likewise.
82775         * include/mntent.h: Likewise.
82776         * include/netdb.h: Likewise.
82777         * include/pwd.h: Likewise.
82778         * include/rpc/netdb.h: Likewise.
82779         * include/sched.h: Likewise.
82780         * include/search.h: Likewise.
82781         * include/shadow.h: Likewise.
82782         * include/signal.h: Likewise.
82783         * include/stdio.h: Likewise.
82784         * include/stdlib.h: Likewise.
82785         * include/string.h: Likewise.
82786         * include/sys/socket.h: Likewise.
82787         * include/sys/stat.h: Likewise.
82788         * include/sys/statfs.h: Likewise.
82789         * include/sys/statvfs.h: Likewise.
82790         * include/sys/syslog.h: Likewise.
82791         * include/sys/time.h: Likewise.
82792         * include/sys/uio.h: Likewise.
82793         * include/time.h: Likewise.
82794         * include/unistd.h: Likewise.
82795         * include/utmp.h: Likewise.
82796         * include/wchar.h: Likewise.
82797         * include/wctype.h: Likewise.
82798         * inet/aliases.h: Likewise.
82799         * inet/arpa/inet.h: Likewise.
82800         * inet/netinet/ether.h: Likewise.
82801         * inet/netinet/in.h: Likewise.
82802         * intl/libintl.h: Likewise.
82803         * io/bits/fcntl2.h: Likewise.
82804         * io/fcntl.h: Likewise.
82805         * io/ftw.h: Likewise.
82806         * io/sys/poll.h: Likewise.
82807         * io/sys/stat.h: Likewise.
82808         * io/sys/statfs.h: Likewise.
82809         * io/sys/statvfs.h: Likewise.
82810         * io/utime.h: Likewise.
82811         * libio/bits/stdio.h: Likewise.
82812         * libio/bits/stdio2.h: Likewise.
82813         * libio/libio.h: Likewise.
82814         * libio/libioP.h: Likewise.
82815         * libio/stdio.h: Likewise.
82816         * locale/lc-ctype.c: Likewise.
82817         * locale/locale.h: Likewise.
82818         * login/utmp.h: Likewise.
82819         * malloc/arena.c: Likewise.
82820         * malloc/malloc.c: Likewise.
82821         * malloc/malloc.h: Likewise.
82822         * malloc/mcheck.c: Likewise.
82823         * malloc/mtrace.c: Likewise.
82824         * math/bits/mathcalls.h: Likewise.
82825         * math/fenv.h: Likewise.
82826         * math/math_private.h: Likewise.
82827         * misc/bits/error.h: Likewise.
82828         * misc/bits/syslog.h: Likewise.
82829         * misc/err.h: Likewise.
82830         * misc/error.h: Likewise.
82831         * misc/fstab.h: Likewise.
82832         * misc/mntent.h: Likewise.
82833         * misc/regexp.h: Likewise.
82834         * misc/search.h: Likewise.
82835         * misc/sgtty.h: Likewise.
82836         * misc/sys/mman.h: Likewise.
82837         * misc/sys/syslog.h: Likewise.
82838         * misc/sys/uio.h: Likewise.
82839         * misc/sys/xattr.h: Likewise.
82840         * misc/ttyent.h: Likewise.
82841         * nis/rpcsvc/ypclnt.h: Likewise.
82842         * nss/nss.h: Likewise.
82843         * posix/bits/unistd.h: Likewise.
82844         * posix/fnmatch.h: Likewise.
82845         * posix/glob.h: Likewise.
82846         * posix/sched.h: Likewise.
82847         * posix/spawn.h: Likewise.
82848         * posix/sys/wait.h: Likewise.
82849         * posix/unistd.h: Likewise.
82850         * posix/wordexp.h: Likewise.
82851         * pwd/pwd.h: Likewise.
82852         * resolv/netdb.h: Likewise.
82853         * resource/sys/resource.h: Likewise.
82854         * rt/aio.h: Likewise.
82855         * rt/bits/mqueue2.h: Likewise.
82856         * rt/mqueue.h: Likewise.
82857         * shadow/shadow.h: Likewise.
82858         * signal/signal.h: Likewise.
82859         * socket/send.c: Likewise.
82860         * socket/sendto.c: Likewise.
82861         * socket/sys/socket.h: Likewise.
82862         * stdio-common/printf.h: Likewise.
82863         * stdlib/bits/stdlib.h: Likewise.
82864         * stdlib/fmtmsg.h: Likewise.
82865         * stdlib/monetary.h: Likewise.
82866         * stdlib/stdlib.h: Likewise.
82867         * stdlib/ucontext.h: Likewise.
82868         * streams/stropts.h: Likewise.
82869         * string/argz.h: Likewise.
82870         * string/bits/string2.h: Likewise.
82871         * string/string.h: Likewise.
82872         * string/strings.h: Likewise.
82873         * sunrpc/rpc/auth.h: Likewise.
82874         * sunrpc/rpc/auth_des.h: Likewise.
82875         * sunrpc/rpc/clnt.h: Likewise.
82876         * sunrpc/rpc/netdb.h: Likewise.
82877         * sunrpc/rpc/pmap_clnt.h: Likewise.
82878         * sunrpc/rpc/xdr.h: Likewise.
82879         * sysdeps/generic/inttypes.h: Likewise.
82880         * sysdeps/generic/net/if.h: Likewise.
82881         * sysdeps/generic/sys/swap.h: Likewise.
82882         * sysdeps/gnu/net/if.h: Likewise.
82883         * sysdeps/gnu/utmpx.h: Likewise.
82884         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
82885         * sysdeps/i386/i486/bits/string.h: Likewise.
82886         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
82887         * sysdeps/s390/bits/string.h: Likewise.
82888         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
82889         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
82890         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
82891         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
82892         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
82893         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
82894         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
82895         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
82896         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
82897         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
82898         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
82899         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
82900         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
82901         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
82902         * sysdeps/unix/sysv/linux/readv.c: Likewise.
82903         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
82904         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
82905         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82906         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
82907         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
82908         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82909         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
82910         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
82911         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
82912         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
82913         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
82914         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
82915         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82916         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
82917         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
82918         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
82919         * sysvipc/sys/ipc.h: Likewise.
82920         * sysvipc/sys/msg.h: Likewise.
82921         * sysvipc/sys/sem.h: Likewise.
82922         * sysvipc/sys/shm.h: Likewise.
82923         * termios/termios.h: Likewise.
82924         * time/sys/time.h: Likewise.
82925         * time/time.h: Likewise.
82926         * wcsmbs/bits/wchar2.h: Likewise.
82927         * wcsmbs/uchar.h: Likewise.
82928         * wcsmbs/wchar.h: Likewise.
82929         * wctype/wctype.h: Likewise.
82931         [BZ #13551]
82932         * Makeconfig: Remove all but ELF support including AIX support.
82933         * Makerules: Likewise.
82934         * config.h.in: Likewise.
82935         * config.make.in: Likewise.
82936         * configure: Likewise.
82937         * configure.in: Likewise.
82938         * csu/Makefile: Likewise.
82939         * csu/version.c: Likewise.
82940         * debug/Makefile: Likewise.
82941         * dlfcn/Makefile: Likewise.
82942         * elf/Makefile: Likewise.
82943         * extra-lib.mk: Likewise.
82944         * iconv/Makefile: Likewise.
82945         * include/libc-symbols.h: Likewise.
82946         * include/shlib-compat.h: Likewise.
82947         * resolv/Makefile: Likewise.
82948         * resolv/res_libc.c: Likewise.
82949         * rt/Makefile: Likewise.
82950         * sysdeps/i386/asm-syntax.h: Likewise.
82951         * sysdeps/i386/sysdep.h: Likewise.
82952         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82953         * sysdeps/mach/sysdep.h: Likewise.
82954         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
82955         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
82956         * sysdeps/s390/asm-syntax.h: Likewise.
82957         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82958         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82959         * sysdeps/sh/sysdep.h: Likewise.
82960         * sysdeps/unix/sparc/sysdep.h: Likewise.
82961         * sysdeps/wordsize-32/divdi3.c: Likewise.
82962         * sysdeps/x86_64/sysdep.h: Likewise.
82964         * argp/Versions: Remove _argp_unlock_xxx.
82966         [BZ #13559]
82967         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
82968         * abilist/libBrokenLocale.abilist: Likewise.
82969         * abilist/libanl.abilist: Likewise.
82970         * abilist/libc.abilist: Likewise.
82971         * abilist/libcrypt.abilist: Likewise.
82972         * abilist/libdl.abilist: Likewise.
82973         * abilist/libm.abilist: Likewise.
82974         * abilist/libnsl.abilist: Likewise.
82975         * abilist/libpthread.abilist: Likewise.
82976         * abilist/libresolv.abilist: Likewise.
82977         * abilist/librt.abilist: Likewise.
82978         * abilist/libthread_db.abilist: Likewise.
82979         * abilist/libutil.abilist: Likewise.
82980         * abilist/libnss_db.abilist: New file.
82982         * scripts/abilist.awk: Add support for indirect functions.
82984         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
82986         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
82988         * shlib-versions: Remove entries for ports architectures.
82990         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
82991         files in ports.
82992         * elf/stackguard-macros.h: Remove support for IA-64.
82993         * elf/tst-auditmod1.c: Likewise.
82994         * sysdeps/generic/ldsodefs.h: Likewise.
82996         * sysdeps/unix/sysv/linux/configure.in: Ports should define
82997         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
82998         configure files.
83000         [BZ #13552]
83001         * configure.in: Remove --enable-omitfp support.
83002         * FAQ.in: Adjust.
83003         * config.make.in: Likewise.
83004         * Makeconfig: Likewise.
83005         * manual/install.texi: Likewise.
83007         In case anyone cares, the IA-64 architecture could move to ports.
83008         * sysdeps/ia64/*: Removed.
83009         * sysdeps/unix/sysv/linux/ia64/*: Removed.
83010         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
83012         [BZ #13555]
83013         * configure.in: Remove entries for unsupported architectures.
83015         [BZ #13533]
83016         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
83017         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
83018         routines.
83019         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
83020         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
83021         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
83022         fall back to using wcrtomb.
83023         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
83024         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
83025         renaming.
83026         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
83027         * wcsmbs/tst-c16c32-1.c: New file.
83029         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
83030         local variable.
83032         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
83034         * elf/tst-unique3.cc: Add explicit declaration of gets.
83035         * elf/tst-unique3lib.cc: Likewise.
83036         * elf/tst-unique3lib2.cc: Likewise.
83037         * elf/tst-unique4.cc: Likewise.
83039         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
83041 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
83043         [BZ #13566]
83044         * assert/assert.h (static_assert): Don't define for C++.
83045         * libio/stdio.h (gets): Do declare for C++ <= C++11.
83046         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
83048 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
83050         * iconv/loop.c (single loop): Fix assertion in storing of
83051         remaining bytes.
83053         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
83055 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
83057         * posix/getconf.c: Update copyright year.
83058         * nss/getent.c: Likewise.
83059         * nss/makedb.c: Likewise.
83060         * iconv/iconvconfig.c: Likewise.
83061         * iconv/iconv_prog.c: Likewise.
83062         * elf/ldconfig.c: Likewise.
83063         * elf/pldd.c: Likewise.
83064         * elf/sotruss.ksh: Likewise.
83065         * catgets/gencat.c: Likewise.
83066         * csu/version.c: Likewise.
83067         * elf/ldd.bash.in: Likewise.
83068         * elf/sprof.c (print_version): Likewise.
83069         * locale/programs/locale.c: Likewise.
83070         * locale/programs/localedef.c: Likewise.
83071         * login/programs/pt_chown.c: Likewise.
83072         * nscd/nscd.c (print_version): Likewise.
83073         * debug/xtrace.sh: Likewise.
83074         * malloc/memusage.sh: Likewise.
83075         * malloc/mtrace.pl: Likewise.
83076         * debug/catchsegv.sh: Likewise.
83078 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
83080         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
83081         pure attribute.
83083 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
83085         [BZ #13533]
83086         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
83087         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
83088         transformations.
83089         * iconv/gconv_int.h: Likewise.
83090         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
83091         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
83092         from libc for GLIBC_2.16.
83093         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
83094         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
83095         * wcsmbs/uchar.h: Really define mbstate_t.
83096         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
83097         * wcsmbs/c16rtomb.c: New file.
83098         * wcsmbs/mbrtoc16.c: New file.
83099         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
83100         for C/POSIX locale.
83101         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
83102         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
83104         * wcsmbs/wchar.h: Add missing __restrict.
83106 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83108         [BZ #13532]
83109         * time/Makefile (routines): Add timespec_get.
83110         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
83111         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
83112         timespec for ISO C11.
83113         * time/timespec_get.c: New file.
83114         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
83115         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
83117         [BZ #13531]
83118         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
83119         * stdlib/stdlib.h: Declare aligned_alloc.
83120         * Versions.def: Add GLIBC_2.16 for libc.
83121         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
83123         [BZ 13527]
83124         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
83125         ISO C11.
83127         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
83128         code.
83130         [BZ #13528]
83131         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
83133         [BZ #13529]
83134         * assert/assert.h (static_assert): Define.
83136         * version.h: Update for 2.16 development version.
83138         [BZ #13526]
83139         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
83140         _ISOC11_SOURCE.
83142         * version.h (RELEASE): Bump for 2.15 release.
83143         * include/features.h (__GLIBC_MINOR__): Bump to 15.
83145         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
83146         Patch by Marek Polacek <mpolacek@redhat.com>.
83148         * bits/byteswap.h: Protect long long constants with __extension__.
83149         * sysdeps/i386/bits/byteswap.h: Likewise.
83150         * sysdeps/ia64/bits/byteswap.h: Likewise.
83151         * sysdeps/s390/bits/byteswap.h: Likewise.
83152         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83154 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83156         [BZ #13540]
83157         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
83158         destination buffer.
83159         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
83161 2011-12-23  Marek Polacek  <polacek@redhat.com>
83163         * elf/dl-addr.c (determine_info): Add inline keyword.
83164         * elf/tst-auditmod4b.c (check_avx): Likewise.
83165         * elf/tst-auditmod6b.c (check_avx): Likewise.
83166         * elf/tst-auditmod6c.c (check_avx): Likewise.
83167         * elf/tst-auditmod7b.c (check_avx): Likewise.
83169 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83171         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
83172         !__SSE_MATH__.
83174 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83176         [BZ #13540]
83177         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
83178         processing for last bytes.
83180 2011-08-06  Bruno Haible  <bruno@clisp.org>
83182         [BZ #13061]
83183         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
83184         U+0385, not to U+1FEE.
83186         [BZ #13062]
83187         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
83188         entry for U+00A5 U+0301.
83190 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83192         [BZ #13166]
83193         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
83194         buffer for the output is too small.
83196         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
83197         optimization.
83199         [BZ #13185]
83200         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
83201         SSE flags if possible.
83203 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83205         [BZ #13540]
83206         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
83207         processing for last bytes.
83209 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
83211         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
83212         (syscall-list-default-options, syscall-list-default-condition)
83213         (syscall-list-includes): Define.
83214         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
83215         list of ABIs and options and #if conditions for each ABI.  Do not
83216         handle common syscalls between ABIs specially.
83217         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
83218         Remove.
83219         (syscall-list-variants, syscall-list-32bit-options)
83220         (syscall-list-32bit-condition, syscall-list-64bit-options)
83221         (syscall-list-64bit-condition): Define.
83222         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
83223         (syscall-list-variants, syscall-list-32bit-options)
83224         (syscall-list-32bit-condition, syscall-list-64bit-options)
83225         (syscall-list-64bit-condition): Define.
83226         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
83227         Remove.
83228         (syscall-list-variants, syscall-list-32bit-options)
83229         (syscall-list-32bit-condition, syscall-list-64bit-options)
83230         (syscall-list-64bit-condition): Define.
83231         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
83232         Remove.
83233         (syscall-list-variants, syscall-list-32bit-options)
83234         (syscall-list-32bit-condition, syscall-list-64bit-options)
83235         (syscall-list-64bit-condition): Define.
83237 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83239         * locale/iso-639.def: Add brx entry.
83241         [BZ #13328]
83242         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
83243         Proposed by Mariusz_Cukr <marcukr@op.pl>.
83245         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
83246         __feraiseexcept_renamed.
83248 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83250         [BZ #13538]
83251         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
83252         EPOLLET with unsigned values.
83253         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83254         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83256         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
83257         to large cancellation.
83258         * math/s_cacoshf.c: Likewise.
83259         * math/s_cacoshl.c: Likewise.
83261 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
83263         [BZ #13305]
83264         [BZ #12786]
83265         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
83266         * math/s_cacoshf.c: Likewise.
83267         * math/s_cacoshl.c: Likewise.
83269 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83271         [BZ #13439]
83272         * iconv/gconv.h: Define __GCONV_SWAP.
83273         * iconvdata/unicode.c: The swap bit must be stored in __flags.
83274         * iconvdata/utf-16.c: Likewise.
83275         * iconvdata/utf-32.c: Likewise.
83277 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
83279         [BZ #13524]
83280         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
83281         numerator after shifting it by one limb.
83283 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
83285         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
83286         under [__USE_EXTERN_INLINES].
83288 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83290         [BZ #13446]
83291         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
83293 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83295         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
83296         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
83297         optimized code.
83298         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
83299         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
83300         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
83301         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
83302         for strncasecmp/strncasecmp_l compilation.
83303         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
83304         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
83306 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
83308         [BZ #13484]
83309         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
83310         of __asm__.
83312 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83314         [BZ #13506]
83315         * time/tzfile.c (__tzfile_read): Check values from file header.
83317 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
83319         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
83320         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
83321         * powerpc/powerpc32/dl-start.S: Likewise.
83322         * powerpc/powerpc32/elf/start.S: Likewise.
83323         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
83324         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
83325         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
83326         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
83327         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
83328         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
83329         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
83330         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
83331         * powerpc/powerpc32/fpu/s_round.S: Likewise.
83332         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
83333         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
83334         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
83335         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
83336         * powerpc/powerpc32/memset.S: Likewise.
83337         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
83338         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
83339         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
83340         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
83341         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
83342         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
83343         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
83344         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
83345         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
83346         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
83347         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
83348         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83349         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83351 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83353         * math/libm-test.inc: Added more nearbyint tests.
83354         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
83355         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
83356         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
83357         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
83359 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
83361         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
83362         FD_CLOEXEC.
83364 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83366         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
83367         Add wcscpy-ssse3 wcscpy-c.
83368         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
83369         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
83370         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
83371         * sysdeps/x86_64/wcschr.S: New file.
83372         * sysdeps/x86_64/wcsrchr.S: New file.
83373         * string/test-strcmp.c: Remove checking of wcscmp function for
83374         wrong alignments.
83375         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
83376         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
83377         wcsrchr-sse2 wcsrchr-c.
83378         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
83379         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
83380         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
83381         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
83382         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
83383         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
83384         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
83385         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
83386         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
83387         * wcsmbc/wcschr.c (WCSCHR): New macro.
83389 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83391         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
83392         * wcsmbs/test-wcsrchr.c: New file.
83393         * string/test-strrchr.c: Add wcsrchr support.
83394         (WIDE): New macro.
83395         * wcsmbs/test-wcscpy.c: New file.
83396         * string/test-strcpy.c: Add wcscpy support.
83397         (WIDE): New macro.
83399 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
83401         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
83402         the inner loop.
83404 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
83406         [BZ #13472]
83407         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
83409 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
83411         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
83412         Minor optimizations.
83414         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
83415         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
83416         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
83418 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
83420         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
83421         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
83422         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
83423         for gcc to avoid warnings.
83424         * inet/Makefile (tests): Add tst-checks.
83425         * inet/tst-checks.c: New file.
83427         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
83428         warning.
83430         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
83431         __wmemcmp_sse2.
83433         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
83434         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
83436         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
83438 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
83440         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
83441         problem.
83443         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
83445 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
83447         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
83448         conditional on GCC version.
83449         (__arch_compare_and_exchange_val_8_acq)
83450         (__arch_compare_and_exchange_val_16_acq)
83451         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
83452         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
83453         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
83455 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
83457         * sysdeps/sh/backtrace.c: New file.
83459 2011-12-02  Andreas Schwab  <schwab@redhat.com>
83461         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
83462         parenthesis.
83464 2011-12-01  Andreas Schwab  <schwab@redhat.com>
83466         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
83467         falling back to utime.
83469 2011-11-30  Andreas Schwab  <schwab@redhat.com>
83471         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
83472         expectations for float.
83474 2011-11-29  Andreas Schwab  <schwab@redhat.com>
83476         * locale/weight.h (findidx): Add parameter len.
83477         * locale/weightwc.h (findidx): Likewise.
83478         * posix/fnmatch_loop.c (FCT): Adjust caller.
83479         * posix/regcomp.c (build_equiv_class): Likewise.
83480         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
83481         * posix/regexec.c (check_node_accept_bytes): Likewise.
83482         * string/strcoll_l.c (STRCOLL): Likewise.
83483         * string/strxfrm_l.c (STRXFRM): Likewise.
83485 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
83487         * Makefile.in: Remove CVSOPT handling.
83488         * configure.in: Remove use of AC_REVISION.
83489         * iconvdata/Makefile (distribute): No need to filter out CVS.
83490         * scripts/list-sources.sh: Remove CVS, subversion and monotone
83491         handling.
83493 2011-11-16  Andreas Schwab  <schwab@redhat.com>
83495         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
83496         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
83497         [USE_AS_STRNCASECMP_L]: Likewise.
83498         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
83499         NO_TLS_DIRECT_SEG_REFS.
83500         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
83501         Fix argument offsets for non-PIC.
83502         [USE_AS_STRNCASECMP_L]: Likewise.
83503         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
83504         NO_TLS_DIRECT_SEG_REFS.
83506 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83508         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
83509         O_CLOEXEC.
83510         * locale/loadlocale.c (_nl_load_locale): Likewise.
83512 2011-11-15  Andreas Schwab  <schwab@redhat.com>
83514         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
83515         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
83516         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
83517         (SYSCALL_GETTIME): Set errno on error.
83519         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
83520         count references to noai6ai_cached.
83522 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83524         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
83526         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
83527         FD_CLOEXEC for /proc/self/maps.
83529         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
83530         FD_CLOEXEC for /proc/meminfo.
83532         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
83533         gai.conf.
83535         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
83536         FD_CLOEXEC for given file.
83538         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
83540         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
83541         FD_CLOEXEC for /etc/hosts.
83542         (_gethtent): Likewise.
83544         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
83546         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
83547         cancellation and set FD_CLOEXEC for /etc/netgroup.
83549         * nss/nss_files/files-key.c (search): Don't allow cancellation when
83550         reading /etc/publickey.
83552         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
83553         allow cancellation when reading /etc/group.
83555         * nss/nss_files/files-alias.c (internal_setent): Don't allow
83556         cancellation.
83557         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
83559         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
83560         when using data file.
83562         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
83564         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
83565         (write_nis_obj): Use "c" and "e" in fopen.
83567         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
83569         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
83571         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
83573         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
83575         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
83576         locale.alias.
83578         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
83580         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
83582         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
83584         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
83585         file parsing and set FD_CLOEXEC.
83587 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83589         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
83591 2011-11-14  Andreas Schwab  <schwab@redhat.com>
83593         * malloc/arena.c (arena_get2): Don't call reused_arena when
83594         _int_new_arena failed.
83596 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83598         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
83599         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
83600         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
83601         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
83602         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83603         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
83604         to compile strcasecmp and strncasecmp.
83605         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
83606         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
83608         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
83610 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
83612         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
83613         locale-defines.sym to gen-as-const-headers.
83614         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
83615         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
83616         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
83617         to compile strcasecmp and strncasecmp.
83618         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
83619         strcasecmp_l and strncasecmp_l.
83620         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
83621         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
83622         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
83623         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
83624         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
83625         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
83626         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
83627         * sysdeps/i386/i686/multiarch/strncase.S: New file.
83628         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
83629         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
83630         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
83632 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
83634         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
83635         result of SYSDEP_GETTIME_CPU to retval.
83636         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
83637         parameter list to macro.  Remove trailing semicolon.  Adjust users.
83639         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
83640         variable.
83642         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
83643         mantissa words.
83644         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
83646         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
83647         from unused variable.
83649         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
83650         DWARF definitions.
83651         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
83652         for assembling.
83654         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
83655         over namespaces.
83657         * sunrpc/rpc_prot.c (rejected): Fix case value.
83659         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
83660         unsigned long long int to avoid warnings in shift.
83662         * posix/regex_internal.c (re_string_reconstruct): Actually use result
83663         of use of trans.
83664         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
83665         variable tmp.
83667         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
83668         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
83669         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
83671         * nis/nis_table.c (nis_list): Use variable of correct type for
83672         result of __follow_path call.
83674 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83676         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
83677         of math functions ceil, trunc, floor, round, and sqrt, when
83678         avaliable on the platform.
83679         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
83680         name clash.
83681         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
83682         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
83683         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
83685 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
83687         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
83688         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
83690 2011-11-11  Roland McGrath  <roland@hack.frob.com>
83692         * include/unistd.h: Fix __readlink return type.
83693         Reported by Chris Metcalf <cmetcalf@tilera.com>.
83695 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
83697         * stdlib/ucontext.h: Undo last change for makecontext.
83699 2011-11-11  Andreas Schwab  <schwab@redhat.com>
83701         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
83703         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
83704         * setjmp/setjmp.h: Mark functions as non-leaf.
83705         * setjmp/bits/setjmp2.h: Likewise.
83706         * stdlib/ucontext.h: Likewise.
83708 2011-11-10  Andreas Schwab  <schwab@redhat.com>
83710         * malloc/arena.c (_int_new_arena): Don't increment narenas.
83711         (reused_arena): Don't check arena limit.
83712         (arena_get2): Atomically check arena limit.
83714 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
83716         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
83717         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
83719         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
83720         instructions.
83722 2011-11-07  Andreas Schwab  <schwab@redhat.com>
83724         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
83725         handler when locking.
83727         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83728         Fix size of allocated buffer.
83730 2011-11-04  Andreas Schwab  <schwab@redhat.com>
83732         [BZ #10103]
83733         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
83734         declarations for long double functions.
83735         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
83737         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
83739 2011-11-03  Andreas Schwab  <schwab@redhat.com>
83741         * nscd/nscd.c (main): Don't start AVC thread until credentials are
83742         installed.
83744         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
83745         is disabled.
83747 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83749         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
83751 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
83753         * include/alloca.h (stackinfo_alloca_round): Define.
83754         (extend_alloca): Use it.
83755         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
83756         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
83757         here.
83759         * scripts/check-local-headers.sh: Ignore libaudit.h.
83761         * nscd/Makefile (extra-objs): Make recursively expanded.
83763 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
83765         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
83766         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
83768         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
83769         * posix/tst-rfc3484-2.c: Likewise.
83770         * posix/tst-rfc3484-3.c: Likewise.
83772         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
83773         process_vm_writev.
83774         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
83775         process_vm_writev.
83776         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
83777         process_vm_writev from libc using GLIBC_2.15 version.
83779         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
83781 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
83783         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
83784         stack usage.
83786 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
83788         [BZ #13367]
83789         * nss/getent.c (initgroups_keys): Show error message in case no group
83790         names are given.
83792         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
83793         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
83794         __bump_nl_timestamp.
83795         * nscd/connections (nscd_init): When host database is served open
83796         netlink socket and request notification about configuration changes.
83797         (main_loop_poll): Track netlink file descriptor and bump timestamp
83798         in case data becomes available.
83799         (main_loop_epoll): Likewise.
83800         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
83801         (database_pers_head): Add extra_data fileds.
83802         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
83803         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
83804         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
83805         Adjust caller.
83806         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
83807         in6ai data, call __free_in6ai.
83808         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
83809         Add -DHAVE_NETLINK.
83810         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
83811         interface information.  Reuse previous data if netlink timestamp
83812         is not changed.
83813         (__bump_nl_timestamp): New function.
83814         (__free_in6ai): New function.
83816 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
83818         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
83819         close_not_cancel_no_status here.
83820         (__check_pf): Reorganize code a bit to not call close twice if OOM.
83822 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83824         [BZ #13276]
83825         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
83826         return value.
83828         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
83829         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
83830         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
83832 2011-07-03  Andreas Jaeger  <aj@suse.de>
83834         [BZ #10709]
83835         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
83836         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
83837         * math/libm-test.inc (sin_test): Add test case.
83839 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83841         [BZ #13337]
83842         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
83843         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83845         * elf/chroot_canon.c (chroot_canon): Cleanups.
83847         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
83849         [BZ #13335]
83850         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
83851         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83853         * string/test-strchr.c: Make usable for strchrnul testing.
83854         * string/test-strchrnul.c: New file.
83855         * string/Makefile (strop-tests): Add strchrnul.
83857         * po/it.po: Update from translation team.
83858         * po/es.po: Likewise.
83860 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
83862         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
83863         the three constants needed as parameters.  Drop the others.
83864         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
83865         __m128i_strloadu_tolower.
83866         Create and initialize variable zero and use it in all the places
83867         where _mm_setzero_si128 was used.
83869         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
83870         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
83871         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
83872         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
83873         anymore.
83874         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
83875         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
83876         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
83877         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
83878         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
83879         __mpranred, __mptan.
83880         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
83881         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
83882         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
83883         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
83884         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
83885         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
83886         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
83887         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
83888         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
83890 2011-10-28  Andreas Schwab  <schwab@redhat.com>
83892         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
83893         redefine if SHARED.
83894         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
83896         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
83897         wide char related routines to wcsmbs subdir.
83899 2011-10-27  Andreas Schwab  <schwab@redhat.com>
83901         [BZ #13344]
83902         * misc/sys/cdefs.h (__THROWNL): Define.
83903         * posix/unistd.h: Use __THREADNL instead of __THREAD
83904         for memory synchronization functions.
83906 2011-10-26  Roland McGrath  <roland@hack.frob.com>
83908         [BZ #13349]
83909         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
83910         doesn't exist.
83911         * manual/stdio.texi (Obstack Streams): Node removed.
83913 2011-10-26  Andreas Schwab  <schwab@redhat.com>
83915         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
83916         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83917         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83919         * math/math_private.h (math_force_eval): Allow non-addressable
83920         arguments.
83921         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
83923 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83925         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
83926         file is not needed.
83928         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
83929         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
83930         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83931         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83932         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83933         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83934         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83935         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
83936         Add AVX variants.
83937         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
83938         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
83939         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
83940         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
83941         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
83942         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
83943         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
83944         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
83945         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
83946         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
83947         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
83948         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
83949         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
83950         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
83951         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
83952         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
83953         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
83954         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
83955         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
83957         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
83958         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
83960         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
83961         place.  Use VEX encoding when compiling for AVX.
83963 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83965         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
83966         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
83968         * string/test-strchr.c (do_test): Don't generate NUL bytes.
83970 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83972         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
83973         useless if() expression.
83974         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83975         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83976         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83977         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83978         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83979         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83980         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83981         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83982         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83983         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83984         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83985         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83986         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83987         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83988         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83989         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83990         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83991         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83992         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83994         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
83996 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83998         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
83999         condition.
84000         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84002 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84004         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
84005         .text section.  Avoid duplicate constants.
84006         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84007         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84008         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84009         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84010         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84011         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84012         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84013         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84014         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
84015         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
84016         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
84017         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
84018         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
84019         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
84020         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
84021         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
84022         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
84023         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
84024         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84025         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84026         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84027         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84028         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84029         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
84030         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
84031         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
84032         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
84033         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
84034         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
84035         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
84036         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
84037         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
84038         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
84039         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
84040         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
84041         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
84042         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
84043         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
84044         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
84045         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
84046         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
84047         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
84048         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
84049         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
84050         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
84052 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
84054         * sysdeps/x86_64/dla.h: Move to ...
84055         * sysdeps/x86_64/fpu/dla.h: ...here.
84056         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
84057         situations.  Use __builtin_fma only for gcc 4.6 and up.
84059         * config.make.in: Add have-mfma4 entry.
84060         * configure.in: Substitute libc_cv_cc_fma4.
84061         * math/Makefile (dbl-only-routines): Add sincostab.
84062         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
84063         Use __sincostab not sincos.
84064         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
84065         name is a macro.
84066         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84067         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84068         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84069         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
84070         using __copysign.
84071         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
84072         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
84073         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
84074         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
84075         and __inv.
84076         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
84077         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
84078         __copysign.
84079         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
84080         define aliases when function name is a macro.
84081         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
84082         sysdeps/ieee754/dbl-64/sincos.tbl.
84083         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
84084         fma4-enabled routines.
84085         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
84086         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
84087         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
84088         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
84089         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
84090         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
84091         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
84092         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
84093         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
84094         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
84095         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
84096         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
84097         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
84098         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
84099         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
84100         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
84101         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
84102         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
84103         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
84104         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
84105         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
84106         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
84107         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
84108         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
84109         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
84110         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
84111         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
84112         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
84113         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
84114         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
84116         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
84117         rename.
84118         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84119         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84120         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84121         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84122         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84123         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84124         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84125         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84127 2011-10-24  Andreas Schwab  <schwab@redhat.com>
84129         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
84131 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84133         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
84135         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
84136         prediction.
84137         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
84139         * string/strnlen.c: Don't define STRNLEN, reverse logic.
84140         Remove unused variable magic_bits.
84141         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
84143         * string/strnlen.c: Define and use STRNLEN macro.
84144         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
84145         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
84146         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
84147         * wcsmbs/wcslen.c: Define and use WCSLEN.
84148         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
84149         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
84150         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
84151         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
84152         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
84153         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
84154         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84156 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84158         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84159         strnlen-sse2-no-bsf.
84160         Rename strlen-no-bsf to strlen-sse2-no-bsf.
84161         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
84162         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
84163         Add strnlen support.
84164         (USE_AS_STRNLEN): New macro.
84165         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
84166         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
84167         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
84168         * sysdeps/x86_64/wcslen.S: New file.
84170 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
84172         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84173         XMM-moves are used for copying on small sizes.
84175 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84177         * wcsmbs/Makefile (strop-tests): Add wcschr.
84178         * wcsmbs/test-wcschr.c: New file.
84179         * string/test-strchr.c: Update.
84180         Add wcschr support.
84181         (WIDE): New macro.
84183 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84185         * wcsmbs/Makefile (strop-tests): Add wcslen.
84186         * wcsmbs/test-wcslen.c: New file.
84187         * string/test-strlen.c: Update.
84188         Add wcslen support.
84189         (WIDE): New macro.
84191 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84193         * po/it.po: Update from translation team.
84195 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84197         * sysdeps/x86_64/wcscmp.S: Update.
84198         Fix wrong comparison semantics.
84199         wcscmp shall use signed comparison not unsigned.
84200         Don't use substraction to avoid overflow bug.
84201         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
84202         * wcsmbc/wcscmp.c: Likewise.
84203         * string/test-strcmp.c: Likewise.
84204         Add new tests to check cases with negative values.
84206 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84208         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
84209         * sysdeps/x86_64/dla.h: ...here.  New file.
84210         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
84211         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84212         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84213         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84214         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84215         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84216         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84217         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84218         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84220 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
84222         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
84223         __ynl_finite aliases.
84225 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84229         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
84230         define DLA_FMA.
84231         [DLA_FMA] (EMULV): Use DLA_FMA.
84232         [DLA_FMA] (MUL12): Use EMULV.
84233         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
84234         that are not needed.
84235         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84236         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84237         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84238         * sysdeps/ieee754/dbl-64/e_pow.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-22  Andreas Schwab  <schwab@linux-m68k.org>
84245         * math/s_nan.c: Undef __nan.
84246         * math/s_nanf.c: Undef __nanf.
84247         * math/s_nanl.c: Undef __nanl.
84248         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
84249         "math_private.h".
84251 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84253         * math/s_catan.c: Add branch predictions.
84254         * math/s_catanf.c: Likewise.
84255         * math/s_catanh.c: Likewise.
84256         * math/s_catanhf.c: Likewise.
84257         * math/s_catanhl.c: Likewise.
84258         * math/s_catanl.c: Likewise.
84259         * math/s_cexp.c: Likewise.
84260         * math/s_cexpf.c: Likewise.
84261         * math/s_cexpl.c: Likewise.
84262         * math/s_clog.c: Likewise.
84263         * math/s_clog10.c: Likewise.
84264         * math/s_clog10f.c: Likewise.
84265         * math/s_clog10l.c: Likewise.
84266         * math/s_clogf.c: Likewise.
84267         * math/s_clogl.c: Likewise.
84268         * math/s_csqrt.c: Likewise.
84269         * math/s_csqrtf.c: Likewise.
84270         * math/s_csqrtl.c: Likewise.
84271         * math/s_ctanf.c: Likewise.
84272         * math/s_ctanh.c: Likewise.
84273         * math/s_ctanhf.c: Likewise.
84274         * math/s_ctanhl.c: Likewise.
84275         * math/s_ctanl.c: Likewise.
84277         * math/math_private.h: Define __nan, __nanf, __nanl.
84278         * math/s_cacosh.c: Include <math_private.h>.
84279         * math/s_cacoshl.c: Likewise.
84280         * math/s_casinh.c: Likewise.
84281         * math/s_casinhf.c: Likewise.
84282         * math/s_casinhl.c: Likewise.
84283         * math/s_ccos.c: Rely entire on ccosh.
84284         * math/s_ccosf.c: Rely entire on ccoshf.
84285         * math/s_ccosl.c: Rely entirely on ccoshl.
84286         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
84287         Remove tests for FE_INVALID.
84288         * math/s_ccoshf.c: Likewise.
84289         * math/s_ccoshl.c: Likewise.
84290         * math/s_csin.c: Likewise.
84291         * math/s_csinf.c: Likewise.
84292         * math/s_csinh.c Likewise.
84293         * math/s_csinhf.c: Likewise.
84294         * math/s_csinhl.c: Likewise.
84295         * math/s_csinl.c: Likewise.
84296         * math/s_ctan.c: Likewise.
84297         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
84298         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
84299         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
84301 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
84303         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
84304         compilation problems.
84306         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
84307         __builtin_expect.
84309 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
84311         * sysdeps/i386/configure.in: Test for -mfma4 option.
84312         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
84313         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
84314         COMMON_CPUID_INDEX_80000001.
84315         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
84316         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
84317         use it if FMA3 is not supported.
84318         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
84320         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
84321         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84323 2011-10-20  Andreas Schwab  <schwab@redhat.com>
84325         [BZ #12892]
84326         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
84327         it would create a cycle with a link time dependency.
84329 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
84331         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
84332         instruction.
84333         * string/Makefile (strop-tests): Add rawmemchr.
84334         * string/test-rawmemchr.c: New file.
84336         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
84337         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
84338         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
84339         when compiling str{,n}casecmp and when AVX is available.  Hook up
84340         new optimized code in initializers.
84342 2011-10-19  Andreas Schwab  <schwab@redhat.com>
84344         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
84345         __feraiseexcept instead of feraiseexcept.
84347 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
84349         * math/math_private.h: Define defaults for libc_fetestexcept and
84350         libc_feupdateenv.
84351         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
84352         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
84353         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84354         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84355         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84356         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84357         libc_fetestexcept and libc_feupdateenv.
84359         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
84360         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
84361         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
84362         * sysdeps/x86_64/fpu/math_private.h: Define special version of
84363         libc_feholdexcept_setround.
84365         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
84366         Add s_nearbyint-c and s_nearbyintf-c.
84367         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
84368         nearbyintf inlines.
84369         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
84370         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
84371         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
84372         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
84374         * math/math_private.h: Define defaults for libc_fegetround,
84375         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
84376         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
84377         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
84378         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
84379         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
84380         standard functions.
84381         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84382         Remove comments and hacks for old compiler versions.
84383         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84384         libc_fegetround, libc_fesetround, libc_feholdexcept, and
84385         libc_feholdexceptl.
84387 2011-10-18  Andreas Schwab  <schwab@redhat.com>
84389         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
84390         (__feraiseexcept_renamed): Add __NTH.
84391         (feraiseexcept): Add __NTH.  Rename local variables to fix
84392         namespace violations.
84394 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
84396         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
84398         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
84400         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
84401         recently added interfaces.
84402         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
84404         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
84405         about macro parameter expansion.
84407         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
84408         __NO_MATH_INLINES is defined.  Cleanups.
84410         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
84411         and __floorf is target has SSE4.1.
84412         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
84413         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
84414         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
84415         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
84417         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
84418         name.
84419         (floorf): Likewise.
84421         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
84423 2011-10-17  Andreas Schwab  <schwab@redhat.com>
84425         * misc/sys/cdefs.h: Fix last change.
84427         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
84428         database lookup.
84430 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
84432         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
84434         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
84435         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84436         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84437         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84438         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84439         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84440         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84441         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84442         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84443         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
84444         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
84445         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
84446         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
84447         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
84448         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
84449         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
84450         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
84451         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
84452         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
84453         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
84454         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
84455         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
84457         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
84458         ceil, ceilf, floor, floorf.
84460         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
84461         Perform IRELATIVE relocations last.
84463         * elf/do-rel.h: Add another parameter nrelative, replacing the
84464         local variable with the same name.  Change name of the function
84465         to end in Rel or Rela (uppercase).
84466         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
84467         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
84468         elf_dynamic_do_##reloc function.
84470 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84472         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
84473         is sufficient, at least on modern CPUs.
84475         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
84477         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
84478         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
84480         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
84481         __expl_finite.
84482         * math/bits/math-finite.h: Add entries for exp.
84483         * math/e_expl.c: Add __*_finite alias.
84484         * sysdeps/i386/fpu/e_exp.S: Likewise.
84485         * sysdeps/i386/fpu/e_expf.S: Likewise.
84486         * sysdeps/i386/fpu/e_expl.c: Likewise.
84487         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84488         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84489         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
84490         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
84491         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
84492         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84493         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84495         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
84496         is sufficient, at least on modern CPUs.
84498         * ctype/ctype-info.c (__ctype_init): Define.
84499         * include/ctype.h (__ctype_init): Declare.
84500         (__ctype_b_loc): The variable is always initialized.
84501         (__ctype_toupper_loc): Likewise.
84502         (__ctype_tolower_loc): Likewise.
84503         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
84504         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
84506 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
84508         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
84510         * configure.in: Also look in $cxxmachine/include for C++ system
84511         headers.
84513 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84515         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
84516         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
84517         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
84518         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
84519         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
84520         (USE_AS_WMEMCMP): New macro.
84521         Fixing indents.
84522         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
84523         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
84524         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
84525         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
84526         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84527         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
84528         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
84529         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
84530         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
84531         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
84532         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
84533         (USE_AS_WMEMCMP): New macro.
84534         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
84535         * sysdeps/string/test-memcmp.c: Update.
84536         Fix simple_wmemcmp.
84537         Add new tests.
84538         * wcsmbs/wmemcmp.c: Update.
84539         (WMEMCMP): New macro.
84540         Fix overflow bug.
84542 2011-10-12  Andreas Jaeger  <aj@suse.de>
84544         [BZ #13268]
84545         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
84547 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84549         * libio/iofwide.c (do_length): Avoid warning.
84551         * ctype/ctype.h (__isctype_f): Add missing __THROW.
84553 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
84555         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
84557         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
84558         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
84559         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
84560         * sysdeps/i386/i686/fpu/e_log.S: New file.
84561         * sysdeps/i386/i686/fpu/e_logf.S: New file.
84562         * sysdeps/i386/i686/fpu/e_logl.S: New file.
84564         * ctype/ctype.h: Add support for inlined isXXX functions when
84565         compiling C++ code.
84567 2011-10-14  Andreas Schwab  <schwab@redhat.com>
84569         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84571         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
84573 2011-10-13  Roland McGrath  <roland@hack.frob.com>
84575         [BZ #13291]
84576         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
84578 2011-10-13  Andreas Schwab  <schwab@redhat.com>
84580         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
84581         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
84582         feraiseexcept.
84584         * sysdeps/x86_64/memrchr.S: Check for zero size.
84586         * string/stratcliff.c: Add memrchr tests.
84588 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84590         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84591         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
84592         rawmemchr-sse2 rawmemchr-sse2-bsf.
84593         * sysdeps/i386/i686/multiarch/memchr.S: New file.
84594         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
84595         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
84596         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
84597         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
84598         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
84599         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
84600         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
84601         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
84602         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
84603         * string/memrchr.c (MEMRCHR): New macro.
84605 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
84607         Add integration with gcc's -ffinite-math-only and optimize wrapper
84608         functions in libm.
84609         * Versions.def: Define GLIBC_2.15 version for libm.
84610         * math/Makefile (headers): Add bits/math-finite.h.
84611         * math/bits/math-finite.h: New file.
84612         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
84613         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
84614         * math/e_acoshl.c: Add __*_finite alias.
84615         * math/e_acosl.c: Likewise.
84616         * math/e_asinl.c: Likewise.
84617         * math/e_atan2l.c: Likewise.
84618         * math/e_atanhl.c: Likewise.
84619         * math/e_coshl.c: Likewise.
84620         * math/e_exp10.c: Likewise.
84621         * math/e_exp10f.c: Likewise.
84622         * math/e_exp10l.c: Likewise.
84623         * math/e_exp2l.c: Likewise.
84624         * math/e_fmodl.c: Likewise.
84625         * math/e_gammal_r.c: Likewise.
84626         * math/e_hypotl.c: Likewise.
84627         * math/e_j0l.c: Likewise.
84628         * math/e_j1l.c: Likewise.
84629         * math/e_jnl.c: Likewise.
84630         * math/e_lgammal_r.c: Likewise.
84631         * math/e_log10l.c: Likewise.
84632         * math/e_log2l.c: Likewise.
84633         * math/e_logl.c: Likewise.
84634         * math/e_powl.c: Likewise.
84635         * math/e_sinhl.c: Likewise.
84636         * math/e_sqrtl.c: Likewise.
84637         * math/e_scalb.c: Completely rewritten and optimized.
84638         * math/e_scalbf.c: Likewise.
84639         * math/e_scalbl.c: Likewise.
84640         * math/w_acos.c: Likewise.
84641         * math/w_acosf.c: Likewise.
84642         * math/w_acosl.c: Likewise.
84643         * math/w_acosh.c: Likewise.
84644         * math/w_acoshf.c: Likewise.
84645         * math/w_acoshl.c: Likewise.
84646         * math/w_asin.c: Likewise.
84647         * math/w_asinf.c: Likewise.
84648         * math/w_asinl.c: Likewise.
84649         * math/w_atan2.c: Likewise.
84650         * math/w_atan2f.c: Likewise.
84651         * math/w_atan2l.c: Likewise.
84652         * math/w_atanh.c: Likewise.
84653         * math/w_atanhf.c: Likewise.
84654         * math/w_atanhl.c: Likewise.
84655         * math/w_exp10.c: Likewise.
84656         * math/w_exp10f.c: Likewise.
84657         * math/w_exp10l.c: Likewise.
84658         * math/w_fmod.c: Likewise.
84659         * math/w_fmodf.c: Likewise.
84660         * math/w_fmodl.c: Likewise.
84661         * math/w_j0.c: Likewise.
84662         * math/w_j0f.c: Likewise.
84663         * math/w_j0l.c: Likewise.
84664         * math/w_j1.c: Likewise.
84665         * math/w_j1f.c: Likewise.
84666         * math/w_j1l.c: Likewise.
84667         * math/w_jn.c: Likewise.
84668         * math/w_jnf.c: Likewise.
84669         * math/w_log.c: Likewise.
84670         * math/w_logf.c: Likewise.
84671         * math/w_logl.c: Likewise.
84672         * math/w_log10.c: Likewise.
84673         * math/w_log10f.c: Likewise.
84674         * math/w_log10l.c: Likewise.
84675         * math/w_log2.c: Likewise.
84676         * math/w_log2f.c: Likewise.
84677         * math/w_log2l.c: Likewise.
84678         * math/w_pow.c: Likewise.
84679         * math/w_powf.c: Likewise.
84680         * math/w_powl.c: Likewise.
84681         * math/w_remainder.c: Likewise.
84682         * math/w_remainderf.c: Likewise.
84683         * math/w_remainderl.c: Likewise.
84684         * math/w_scalb.c: Likewise.
84685         * math/w_scalbf.c: Likewise.
84686         * math/w_scalbl.c: Likewise.
84687         * math/w_sqrt.c: Likewise.
84688         * math/w_sqrtf.c: Likewise.
84689         * math/w_sqrtl.c: Likewise.
84690         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
84691         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
84692         used.
84693         * math/math_private.h: Declare __kernel_standard_f.
84694         * math/w_cosh.c: Remove cruft and optimize a bit.
84695         * math/w_coshf.c: Likewise.
84696         * math/w_coshl.c: Likewise.
84697         * math/w_exp2.c: Likewise.
84698         * math/w_exp2f.c: Likewise.
84699         * math/w_exp2l.c: Likewise.
84700         * math/w_hypot.c: Likewise.
84701         * math/w_hypotf.c: Likewise.
84702         * math/w_hypotl.c: Likewise.
84703         * math/w_lgamma.c: Likewise.
84704         * math/w_lgamma_r.c: Likewise.
84705         * math/w_lgammaf.c: Likewise.
84706         * math/w_lgammaf_r.c: Likewise.
84707         * math/w_lgammal.c: Likewise.
84708         * math/w_lgammal_r.c: Likewise.
84709         * math/w_sinh.c: Likewise.
84710         * math/w_sinhf.c: Likewise.
84711         * math/w_sinhl.c: Likewise.
84712         * math/w_tgamma.c: Likewise.
84713         * math/w_tgammaf.c: Likewise.
84714         * math/w_tgammal.c: Likewise.
84715         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84716         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84717         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
84718         Minor optimizations.  Pretty printing.  Remove cruft.
84719         * sysdeps/i386/fpu/e_acosf.S: Likewise.
84720         * sysdeps/i386/fpu/e_acosh.S: Likewise.
84721         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
84722         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
84723         * sysdeps/i386/fpu/e_acosl.c: Likewise.
84724         * sysdeps/i386/fpu/e_asin.S: Likewise.
84725         * sysdeps/i386/fpu/e_asinf.S: Likewise.
84726         * sysdeps/i386/fpu/e_atan2.S: Likewise.
84727         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
84728         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
84729         * sysdeps/i386/fpu/e_atanh.S: Likewise.
84730         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
84731         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
84732         * sysdeps/i386/fpu/e_exp10.S: Likewise.
84733         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
84734         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
84735         * sysdeps/i386/fpu/e_exp2.S: Likewise.
84736         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
84737         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
84738         * sysdeps/i386/fpu/e_fmod.S: Likewise.
84739         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
84740         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
84741         * sysdeps/i386/fpu/e_hypot.S: Likewise.
84742         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
84743         * sysdeps/i386/fpu/e_log.S: Likewise.
84744         * sysdeps/i386/fpu/e_log10.S: Likewise.
84745         * sysdeps/i386/fpu/e_log10f.S: Likewise.
84746         * sysdeps/i386/fpu/e_log10l.S: Likewise.
84747         * sysdeps/i386/fpu/e_log2.S: Likewise.
84748         * sysdeps/i386/fpu/e_log2f.S: Likewise.
84749         * sysdeps/i386/fpu/e_log2l.S: Likewise.
84750         * sysdeps/i386/fpu/e_logf.S: Likewise.
84751         * sysdeps/i386/fpu/e_logl.S: Likewise.
84752         * sysdeps/i386/fpu/e_pow.S: Likewise.
84753         * sysdeps/i386/fpu/e_powf.S: Likewise.
84754         * sysdeps/i386/fpu/e_powl.S: Likewise.
84755         * sysdeps/i386/fpu/e_remainder.S: Likewise.
84756         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
84757         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
84758         * sysdeps/i386/fpu/e_scalb.S: Likewise.
84759         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
84760         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
84761         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
84762         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
84763         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
84764         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
84765         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84766         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84767         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
84768         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84769         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
84770         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
84771         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
84772         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84773         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
84774         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
84775         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
84776         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84777         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
84778         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
84779         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84780         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
84781         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
84782         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84783         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84784         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
84785         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
84786         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84787         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84788         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
84789         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
84790         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84791         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84792         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
84793         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84794         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84795         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84796         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84797         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84798         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84799         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84800         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84801         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84802         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84803         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84804         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84805         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84806         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84807         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84808         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84809         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84810         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84811         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84812         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84813         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
84814         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84815         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84816         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84817         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84818         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84819         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84820         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84821         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84822         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84823         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84824         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84825         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84826         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84827         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84828         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84829         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84830         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84831         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84832         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
84833         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84834         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84835         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84836         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84837         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84838         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84839         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84840         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
84841         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84842         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84843         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84844         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84845         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84846         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
84847         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84848         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84849         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84850         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84851         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84852         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84853         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84854         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84855         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84856         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84857         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
84858         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84859         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84860         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84861         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
84862         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
84863         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
84864         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
84865         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
84866         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
84867         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
84868         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84869         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84870         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84871         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84872         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
84873         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84874         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
84875         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
84876         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
84877         (__isnanf): Likewise.
84878         (__isinf_ns): Likewise.
84879         (__isinf_nsf): Likewise.
84880         (__finite): Likewise.
84881         (__finitef): Likewise.
84882         (__ieee754_sqrt): Define as macro.
84883         (__ieee754_sqrtf): Define as macro.
84884         (__ieee754_sqrtl): Define as macro.
84885         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
84886         inlined copy.
84887         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
84888         __FINITE_MATH_ONLY__ consistent.
84889         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
84891 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
84893         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
84894         of rawmemchr.
84896         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
84898 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
84900         * po/ja.po: Update from translation team.
84902 2011-10-08  Roland McGrath  <roland@hack.frob.com>
84904         * locale/programs/locarchive.c (prepare_address_space): New function.
84905         (create_archive, enlarge_archive, open_archive): Use it.
84907         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
84908         inside [SHARED], where it is used.
84910         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
84912         * nss/getent.c (netgroup_keys): Remove unused variable.
84913         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84915 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
84917         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
84918         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
84919         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
84920         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
84921         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
84922         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
84923         * math/Makefile (libm-calls): Add s_isinf_ns.
84924         * math/divtc3.c: Use __isinf_nsl instead of isinf.
84925         * math/multc3.c: Likewise.
84926         * math/s_casin.c: Likewise.
84927         * math/s_casinf.c: Likewise.
84928         * math/s_casinl.c: Likewise.
84929         * math/s_ccos.c: Likewise.
84930         * math/s_ccosf.c: Likewise.
84931         * math/s_ccosl.c: Likewise.
84932         * math/s_ctan.c: Likewise.
84933         * math/s_ctanf.c: Likewise.
84934         * math/s_ctanh.c: Likewise.
84935         * math/s_ctanhf.c: Likewise.
84936         * math/s_ctanhl.c: Likewise.
84937         * math/s_ctanl.c: Likewise.
84938         * math/w_fmod.c: Likewise.
84939         * math/w_fmodf.c: Likewise.
84940         * math/w_fmodl.c: Likewise.
84941         * math/w_remainder.c: Likewise.
84942         * math/w_remainderf.c: Likewise.
84943         * math/w_remainderl.c: Likewise.
84944         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
84945         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
84946         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
84947         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
84948         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
84949         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
84950         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
84951         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
84953         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
84954         of the number.
84955         * stdio-common/printf_fphex.c: Likewise.
84956         * stdio-common/printf_size.c: Likewise.
84958         * math/e_exp10.c: Include math_private.h using <...> not "...".
84959         * math/e_exp10f.c: Likewise.
84960         * math/e_exp10l.c: Likewise.
84961         * math/e_exp2l.c: Likewise.
84962         * math/e_j0l.c: Likewise.
84963         * math/e_j1l.c: Likewise.
84964         * math/e_jnl.c: Likewise.
84965         * math/e_lgammal_r.c: Likewise.
84966         * math/e_rem_pio2l.c: Likewise.
84967         * math/e_scalb.c: Likewise.
84968         * math/e_scalbf.c: Likewise.
84969         * math/e_scalbl.c: Likewise.
84970         * math/k_cosl.c: Likewise.
84971         * math/k_sinl.c: Likewise.
84972         * math/k_tanl.c: Likewise.
84973         * math/s_cacoshf.c: Likewise.
84974         * math/s_catan.c: Likewise.
84975         * math/s_catanf.c: Likewise.
84976         * math/s_catanh.c: Likewise.
84977         * math/s_catanhf.c: Likewise.
84978         * math/s_catanhl.c: Likewise.
84979         * math/s_catanl.c: Likewise.
84980         * math/s_ccosh.c: Likewise.
84981         * math/s_ccoshf.c: Likewise.
84982         * math/s_ccoshl.c: Likewise.
84983         * math/s_cexp.c: Likewise.
84984         * math/s_cexpf.c: Likewise.
84985         * math/s_cexpl.c: Likewise.
84986         * math/s_clog.c: Likewise.
84987         * math/s_clog10.c: Likewise.
84988         * math/s_clog10f.c: Likewise.
84989         * math/s_clog10l.c: Likewise.
84990         * math/s_clogf.c: Likewise.
84991         * math/s_clogl.c: Likewise.
84992         * math/s_csin.c: Likewise.
84993         * math/s_csinf.c: Likewise.
84994         * math/s_csinh.c: Likewise.
84995         * math/s_csinhf.c: Likewise.
84996         * math/s_csinhl.c: Likewise.
84997         * math/s_csinl.c: Likewise.
84998         * math/s_csqrt.c: Likewise.
84999         * math/s_csqrtf.c: Likewise.
85000         * math/s_csqrtl.c: Likewise.
85001         * math/s_ctan.c: Likewise.
85002         * math/s_ctanf.c: Likewise.
85003         * math/s_ctanh.c: Likewise.
85004         * math/s_ctanhf.c: Likewise.
85005         * math/s_ctanhl.c: Likewise.
85006         * math/s_ctanl.c: Likewise.
85007         * math/s_ldexp.c: Likewise.
85008         * math/s_ldexpf.c: Likewise.
85009         * math/s_ldexpl.c: Likewise.
85010         * math/s_significand.c: Likewise.
85011         * math/s_significandf.c: Likewise.
85012         * math/s_significandl.c: Likewise.
85013         * math/w_acos.c: Likewise.
85014         * math/w_acosf.c: Likewise.
85015         * math/w_acosh.c: Likewise.
85016         * math/w_acoshf.c: Likewise.
85017         * math/w_acoshl.c: Likewise.
85018         * math/w_acosl.c: Likewise.
85019         * math/w_asin.c: Likewise.
85020         * math/w_asinf.c: Likewise.
85021         * math/w_asinl.c: Likewise.
85022         * math/w_atan2.c: Likewise.
85023         * math/w_atan2f.c: Likewise.
85024         * math/w_atan2l.c: Likewise.
85025         * math/w_atanh.c: Likewise.
85026         * math/w_atanhf.c: Likewise.
85027         * math/w_atanhl.c: Likewise.
85028         * math/w_cosh.c: Likewise.
85029         * math/w_coshf.c: Likewise.
85030         * math/w_coshl.c: Likewise.
85031         * math/w_dremf.c: Likewise.
85032         * math/w_exp10.c: Likewise.
85033         * math/w_exp10f.c: Likewise.
85034         * math/w_exp10l.c: Likewise.
85035         * math/w_exp2.c: Likewise.
85036         * math/w_exp2f.c: Likewise.
85037         * math/w_fmod.c: Likewise.
85038         * math/w_fmodf.c: Likewise.
85039         * math/w_fmodl.c: Likewise.
85040         * math/w_hypot.c: Likewise.
85041         * math/w_hypotf.c: Likewise.
85042         * math/w_hypotl.c: Likewise.
85043         * math/w_j0.c: Likewise.
85044         * math/w_j0f.c: Likewise.
85045         * math/w_j0l.c: Likewise.
85046         * math/w_j1.c: Likewise.
85047         * math/w_j1f.c: Likewise.
85048         * math/w_j1l.c: Likewise.
85049         * math/w_jn.c: Likewise.
85050         * math/w_jnf.c: Likewise.
85051         * math/w_jnl.c: Likewise.
85052         * math/w_lgamma.c: Likewise.
85053         * math/w_lgamma_r.c: Likewise.
85054         * math/w_lgammaf.c: Likewise.
85055         * math/w_lgammaf_r.c: Likewise.
85056         * math/w_lgammal.c: Likewise.
85057         * math/w_lgammal_r.c: Likewise.
85058         * math/w_log.c: Likewise.
85059         * math/w_log10.c: Likewise.
85060         * math/w_log10f.c: Likewise.
85061         * math/w_log10l.c: Likewise.
85062         * math/w_log2.c: Likewise.
85063         * math/w_log2f.c: Likewise.
85064         * math/w_log2l.c: Likewise.
85065         * math/w_logf.c: Likewise.
85066         * math/w_logl.c: Likewise.
85067         * math/w_pow.c: Likewise.
85068         * math/w_powf.c: Likewise.
85069         * math/w_powl.c: Likewise.
85070         * math/w_remainder.c: Likewise.
85071         * math/w_remainderf.c: Likewise.
85072         * math/w_remainderl.c: Likewise.
85073         * math/w_scalb.c: Likewise.
85074         * math/w_scalbf.c: Likewise.
85075         * math/w_scalbl.c: Likewise.
85076         * math/w_sinh.c: Likewise.
85077         * math/w_sinhf.c: Likewise.
85078         * math/w_sinhl.c: Likewise.
85079         * math/w_sqrt.c: Likewise.
85080         * math/w_sqrtf.c: Likewise.
85081         * math/w_sqrtl.c: Likewise.
85082         * math/w_tgamma.c: Likewise.
85083         * math/w_tgammaf.c: Likewise.
85084         * math/w_tgammal.c: Likewise.
85086         * po/ja.po: Update from translation team.
85088 2011-09-29  Andreas Jaeger  <aj@suse.de>
85090         [BZ #13179]
85091         * sunrpc/netname.c (netname2host): Fix logic.
85093         [BZ #6779]
85094         [BZ #6783]
85095         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
85096         correctly.
85097         * math/w_remainder.c (__remainder): Likewise.
85098         * math/w_remainderf.c (__remainderf): Likewise.
85099         * math/libm-test.inc (remainder_test): Add test cases.
85101 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85103         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
85104         sdiv_qrnnd.
85106 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85108         * string/test-memcmp.c: Avoid unncessary #defines.
85109         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85111 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85113         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
85114         Use new sse2 version for core i3 - i7 as it's faster
85115         than sse42 version.
85116         (bit_Prefer_PMINUB_for_stringop): New.
85117         * sysdeps/x86_64/rawmemchr.S: Update.
85118         Replace with faster SSE2 version.
85119         * sysdeps/x86_64/memrchr.S: New file.
85120         * sysdeps/x86_64/memchr.S: Update.
85121         Replace with faster SSE2 version.
85123 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
85125         * elf/dl-load.c (lose): Add cast to avoid warning.
85127 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85129         * po/ca.po: Update from translation team.
85131         * inet/getnetgrent_r.c: Hook up nscd.
85132         * nscd/Makefile (routines): Add nscd_netgroup.
85133         (nscd-modules): Add netgroupcache.
85134         (CFLAGS-netgroupcache.c): Define.
85135         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
85136         (cache_search): Add const to second parameter.
85137         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
85138         INNETGR.
85139         (dbs): Add netgrdb entry.
85140         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
85141         (verify_persistent_db): Handle netgrdb.
85142         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
85143         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
85144         GETFDNETGR.
85145         (netgroup_response_header): Define.
85146         (innetgroup_response_header): Define.
85147         (datahead): Add netgroup_response_header and innetgroup_response_header
85148         elements.
85149         * nscd/nscd.conf: Add entries for netgroup cache.
85150         * nscd/nscd.h (dbtype): Add netgrdb.
85151         (_PATH_NSCD_NETGROUP_DB): Define.
85152         (netgroup_iov_disabled): Declare.
85153         (xmalloc, xcalloc, xrealloc): Move declarations here.
85154         (cache_search): Adjust prototype.
85155         Add netgroup-related prototypes.
85156         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
85157         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
85158         (__nscd_innetgr): Declare.
85159         * nscd/selinux.c (perms): Use access_vector_t as element type and
85160         add netgroup-related initializers.
85161         * nscd/netgroupcache.c: New file.
85162         * nscd/nscd_netgroup.c: New file.
85163         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
85164         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
85165         For four parameters use innetgr.
85166         * nss/nss_files/files-init.c: Add definition and callback for netgr.
85167         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
85168         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
85169         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
85171         * nscd/connections.c (register_traced_file): Don't register file
85172         for disabled databases.
85174 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
85176         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
85178         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
85179         from tree and freeing node.
85181 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
85183         * nss/nsswitch.c (__nss_database_lookup): Handle
85184         nss_parse_service_list out of memory case.
85186 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
85188         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
85189         out of memory case.
85191 2011-10-04  Andreas Schwab  <schwab@redhat.com>
85193         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
85194         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
85195         pass it down.
85196         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
85197         elf_machine_rela, elf_machine_lazy_rel.
85198         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
85199         (ELF_DYNAMIC_DO_REL): Likewise.
85200         (ELF_DYNAMIC_DO_RELA): Likewise.
85201         (ELF_DYNAMIC_RELOCATE): Likewise.
85202         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
85203         to ELF_DYNAMIC_DO_REL.
85204         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
85205         (dl_main): In trace mode always set __RTLD_NOIFUNC.
85206         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
85207         elf_machine_rela.
85208         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
85209         skip_ifunc, don't call ifunc function if non-zero.
85210         (elf_machine_rela): Likewise.
85211         (elf_machine_lazy_rel): Likewise.
85212         (elf_machine_lazy_rela): Likewise.
85213         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
85214         (elf_machine_lazy_rel): Likewise.
85215         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
85216         Likewise.
85217         (elf_machine_lazy_rel): Likewise.
85218         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85219         Likewise.
85220         (elf_machine_lazy_rel): Likewise.
85221         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
85222         (elf_machine_lazy_rel): Likewise.
85223         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
85224         (elf_machine_lazy_rel): Likewise.
85225         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
85226         (elf_machine_lazy_rel): Likewise.
85227         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
85228         (elf_machine_lazy_rel): Likewise.
85229         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
85230         (elf_machine_lazy_rel): Likewise.
85231         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
85232         (elf_machine_lazy_rel): Likewise.
85234 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
85236         * nss/nss_files/files-init.c (_nss_files_init): Use static
85237         initialization for all the *_traced_file variables.
85239 2011-09-28  Andreas Schwab  <schwab@redhat.com>
85241         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85243 2011-09-27  Roland McGrath  <roland@hack.frob.com>
85245         [BZ #13226]
85246         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
85248 2011-09-27  Andreas Schwab  <schwab@redhat.com>
85250         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
85251         Reread the line before reparsing it.
85253 2011-09-26  Andreas Schwab  <schwab@redhat.com>
85255         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
85257 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
85258             Maxim Kuvyrkov  <maxim@codesourcery.com>
85259             Joseph Myers  <joseph@codesourcery.com>
85261         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
85262         if needed for __stack_chk_guard.
85264 2011-09-19  Roland McGrath  <roland@hack.frob.com>
85266         * sysdeps/posix/spawni.c (script_execute): Always define it.
85267         It will be optimized away if unused.
85268         (maybe_script_execute): New function.
85269         (__spawni): Call it.
85271         * Makerules: Don't include tls.make.
85272         (config-tls): Always set to thread.
85273         * tls.make.c: File removed.
85275 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
85277         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
85278         * config.make.in (CPPFLAGS-config): New substituted variable.
85280 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85282         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
85284         [BZ #13192]
85285         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
85286         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
85288 2011-09-15  Roland McGrath  <roland@hack.frob.com>
85290         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
85291         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
85292         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85293         (CALL_FAIL): Likewise.
85294         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
85295         (CALL_FAIL): Macro removed.
85296         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
85298 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85300         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
85301         for __FINITE_MATH_ONLY__ == 1.
85303 2011-09-15  Andreas Schwab  <schwab@redhat.com>
85305         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
85306         __ieee754_sqrt instead of sqrt.
85307         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
85308         __ieee754_sqrtf instead of sqrtf.
85309         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
85310         __floorf instead of floorf.
85311         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
85312         __floorf, __truncf instead of floorf, truncf.
85314 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
85316         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
85318         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
85319         __extern_always_inline.
85320         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
85321         32-bit.
85323 2011-09-14  Andreas Schwab  <schwab@redhat.com>
85325         * elf/rtld.c (dl_main): Also relocate in dependency order when
85326         doing symbol dependency testing.
85328 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
85330         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85331         Always define `refsym'.
85333 2011-09-13  Andreas Schwab  <schwab@redhat.com>
85335         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
85336         (__FD_ELT): Renamed from __FDELT.
85337         * misc/bits/select2.h (__FD_ELT): Likewise.
85338         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
85339         __FD_MASK instead of __FDELT, __FDMASK.
85340         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85341         Likewise.
85342         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85343         Likewise.
85345         * elf/Makefile (gen-ldd): Fix pattern.
85347         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
85348         (init_tls): Likewise.
85350 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
85352         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
85354 2011-09-12  Andreas Schwab  <schwab@redhat.com>
85356         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
85357         `struct cmsghdr *' instead of `void *'.
85358         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
85359         Likewise.
85361 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
85363         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
85364         if non-absolute.
85365         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
85366         ldd_rewrite_script.
85368 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
85370         * configure.in: Remove --with-tls option.
85371         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
85372         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
85373         out in case it is missing.
85374         * sysdeps/ia64/elf/configure.in: Likewise.
85375         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
85376         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
85377         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
85378         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
85379         * sysdeps/sh/elf/configure.in: Likewise.
85380         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
85381         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85382         * sysdeps/x86_64/elf/configure.in: Likewise.
85383         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
85384         * sysdeps/mach/hurd/tls.h: Likewise.
85386         [BZ #13067]
85387         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
85389         [BZ #13090]
85390         * configure.in: Fix use of AC_INIT.
85392         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
85394 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
85396         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
85397         __set_errno.
85398         * malloc/hooks.c: Likewise.
85400         [BZ #11929]
85401         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
85402         variables statically.
85403         (narenas): Initialize.
85404         (list_lock): Initialize.
85405         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
85406         initializtion of main_arena and list_lock.  Small cleanups.
85407         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
85408         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
85409         Add initializers to main_arena and mp_.
85410         (malloc_state): Remove pagesize member.  Change all users to use
85411         GLRO(dl_pagesize).
85413         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
85414         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
85415         is always initialized.
85417         * malloc/malloc.c: Removed unused configurations and dead code.
85418         * malloc/arena.c: Likewise.
85419         * malloc/hooks.c: Likewise.
85420         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
85422         * include/tls.h: Removed.  USE___THREAD must always be defined.
85423         * bits/libc-tsd.h: Don't handle !USE___THREAD.
85424         * elf/dl-libc.c: Likewise.
85425         * elf/dl-tsd.c: Likewise.
85426         * include/errno.h: Likewise.
85427         * include/netdb.h: Likewise.
85428         * include/resolv.h: Likewise.
85429         * inet/herrno-loc.c: Likewise.
85430         * inet/herrno.c: Likewise.
85431         * malloc/arena.c: Likewise.
85432         * malloc/hooks.c: Likewise.
85433         * malloc/malloc.c: Likewise.
85434         * resolv/res-state.c: Likewise.
85435         * resolv/res_libc.c: Likewise.
85436         * sysdeps/i386/dl-machine.h: Likewise.
85437         * sysdeps/ia64/dl-machine.h: Likewise.
85438         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
85439         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
85440         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
85441         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
85442         * sysdeps/sh/dl-machine.h: Likewise.
85443         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85444         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85445         * sysdeps/unix/i386/sysdep.S: Likewise.
85446         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
85447         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
85448         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
85449         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
85450         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
85451         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
85452         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
85453         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85454         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85455         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
85456         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85457         * sysdeps/x86_64/dl-machine.h: Likewise.
85458         * tls.make.c: Likewise.
85460         * configure.in: Remove --with-__thread option.  Make tests for
85461         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
85462         tls_model attribute fail if no support is available.  Remove
85463         USE_IN_LIBIO.
85464         * Makeconfig: Adjust for dropped configure option.  All features are
85465         now mandatory.
85466         * Makerules: Likewise.
85467         * Versions.def: Likewise.
85468         * argp/argp-fmtstream.c: Likewise.
85469         * argp/argp-fmtstream.h: Likewise.
85470         * argp/argp-help.c: Likewise.
85471         * assert/assert.c: Likewise.
85472         * config.h.in: Likewise.
85473         * config.make.in: Likewise.
85474         * configure: Likewise.
85475         * configure.in: Likewise.
85476         * csu/Versions: Likewise.
85477         * csu/init.c: Likewise.
85478         * elf/tst-audit2.c: Likewise.
85479         * elf/tst-tls10.c: Likewise.
85480         * elf/tst-tls10.h: Likewise.
85481         * elf/tst-tls11.c: Likewise.
85482         * elf/tst-tls12.c: Likewise.
85483         * elf/tst-tls14.c: Likewise.
85484         * elf/tst-tlsmod11.c: Likewise.
85485         * elf/tst-tlsmod12.c: Likewise.
85486         * elf/tst-tlsmod13.c: Likewise.
85487         * elf/tst-tlsmod13a.c: Likewise.
85488         * elf/tst-tlsmod14a.c: Likewise.
85489         * elf/tst-tlsmod15b.c: Likewise.
85490         * elf/tst-tlsmod16a.c: Likewise.
85491         * elf/tst-tlsmod16b.c: Likewise.
85492         * elf/tst-tlsmod7.c: Likewise.
85493         * elf/tst-tlsmod8.c: Likewise.
85494         * elf/tst-tlsmod9.c: Likewise.
85495         * gmon/gmon.c: Likewise.
85496         * grp/fgetgrent_r.c: Likewise.
85497         * grp/putgrent.c: Likewise.
85498         * hurd/fopenport.c: Likewise.
85499         * include/libc-symbols.h: Likewise.
85500         * include/tls.h: Likewise.
85501         * intl/gettextP.h: Likewise.
85502         * intl/loadinfo.h: Likewise.
85503         * locale/global-locale.c: Likewise.
85504         * locale/localeinfo.h: Likewise.
85505         * mach/devstream.c: Likewise.
85506         * malloc/arena.c: Likewise.
85507         * malloc/set-freeres.c: Likewise.
85508         * misc/err.c: Likewise.
85509         * misc/getttyent.c: Likewise.
85510         * misc/mntent_r.c: Likewise.
85511         * posix/getopt.c: Likewise.
85512         * posix/wordexp.c: Likewise.
85513         * pwd/fgetpwent_r.c: Likewise.
85514         * resolv/Versions: Likewise.
85515         * resolv/res_hconf.c: Likewise.
85516         * shadow/fgetspent_r.c: Likewise.
85517         * shadow/putspent.c: Likewise.
85518         * stdio-common/printf_fphex.c: Likewise.
85519         * stdio-common/tmpfile.c: Likewise.
85520         * stdlib/abort.c: Likewise.
85521         * stdlib/fmtmsg.c: Likewise.
85522         * sunrpc/auth_unix.c: Likewise.
85523         * sunrpc/clnt_perr.c: Likewise.
85524         * sunrpc/clnt_tcp.c: Likewise.
85525         * sunrpc/clnt_udp.c: Likewise.
85526         * sunrpc/clnt_unix.c: Likewise.
85527         * sunrpc/openchild.c: Likewise.
85528         * sunrpc/svc_simple.c: Likewise.
85529         * sunrpc/svc_tcp.c: Likewise.
85530         * sunrpc/svc_udp.c: Likewise.
85531         * sunrpc/svc_unix.c: Likewise.
85532         * sunrpc/xdr.c: Likewise.
85533         * sunrpc/xdr_array.c: Likewise.
85534         * sunrpc/xdr_rec.c: Likewise.
85535         * sunrpc/xdr_ref.c: Likewise.
85536         * sunrpc/xdr_stdio.c: Likewise.
85538 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85540         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85542 2011-07-03  Andreas Jaeger  <aj@suse.de>
85544         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
85545         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
85546         regenerate with gen-libm-tests.pl.
85548 2010-05-12  Petr Baudis  <pasky@suse.cz>
85550         [BZ #11589]
85551         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
85552         around j0() zero points by switching to j1().
85553         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85554         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85555         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85556         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85558 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85560         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
85561         instead of 0.
85562         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
85563         instead of 0.
85564         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85565         Patch in part by Pavel Roskin <proski@gnu.org>.
85567         [BZ #13138]
85568         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
85569         realloc.
85570         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
85571         Free memory block if necessary.
85573         [BZ #12847]
85574         * libio/genops.c (INTDEF): For string streams the _lock pointer can
85575         be NULL.  Don't lock in this case.
85577 2011-09-09  Roland McGrath  <roland@hack.frob.com>
85579         * elf/elf.h (ELFOSABI_GNU): New macro.
85580         (ELFOSABI_LINUX): Define to that.
85582 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
85584         * string/strncat.c (strncat): Undef the symbol in case it has been
85585         defined in bits/string.h.
85587 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85589         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
85591         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
85592         link map.
85594 2011-08-17  Andreas Jaeger  <aj@suse.de>
85596         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
85598 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
85599             Ian Lance Taylor  <iant@google.com>
85601         * math/libm-test.inc (lround_test): New testcase.
85602         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
85604 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
85606         * Makefile: Remove support for automatic cvs check-ins.
85607         * Makerules: Likewise.
85608         * config.make.in: Likewise.
85609         * configure.in: Likewise.
85610         * intl/Makefile: Likewise.
85611         * locale/Makefile: Likewise.
85612         * po/Makefile: Likewise.
85613         * posix/Makefile: Likewise.
85614         * sysdeps/gnu/Makefile: Likewise.
85615         * sysdeps/mach/hurd/Makefile: Likewise.
85616         * sysdeps/sparc/sparc32/Makefile: Likewise.
85618         [BZ #13118]
85619         * posix/Makefile (bug-regex32-ENV): Define.
85620         Patch by John Stanley <jpsinthemix@verizon.net>.
85622         * misc/Makefile (headers): Add bits/select2.h.
85623         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
85624         * misc/bits/select2.h: New file.
85625         * include/bits/select2.h: New file.
85626         * debug/Makefile (routines): Add fdelt_chk.
85627         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
85628         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
85629         FD_ISSET.
85630         * debug/fdelt_chk.c: New file.
85632         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
85633         * wcsmbs/test-wmemcmp.c: Likewise.
85634         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
85635         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
85637 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85639         * string/Makefile (strop-tests): Add memcmp.
85640         * string/test-wmemcmp.c: New file.
85641         * string/test-memcmp.c: Add wmemcmp support.
85643 2011-09-08  Roland McGrath  <roland@hack.frob.com>
85645         [BZ #13153]
85646         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
85647         2011-07-19 change.
85649         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
85650         garbage value in a __mach_port_mod_refs call in the cases of the
85651         task-self and thread-self ports.
85653 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85655         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
85657 2011-09-08  Andreas Schwab  <schwab@redhat.com>
85659         * elf/dl-load.c (lose): Check for non-null L.
85661 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
85663         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
85665         * elf/dl-libc.c (dlerror_run): Pass back error code from
85666         dl_catch_error.
85668         [BZ #13123]
85669         * elf/dl-load.c (lose): Free l_origin if it is valid.
85671         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
85672         names.
85673         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
85674         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85675         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85676         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85677         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
85678         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
85680 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85682         * sysdeps/powerpc/fpu/e_hypot.c: New file.
85683         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
85684         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
85685         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
85686         * sysdeps/powerpc/fpu/k_cosf.c: New file.
85687         * sysdeps/powerpc/fpu/k_sinf.c: New file.
85688         * sysdeps/powerpc/fpu/s_cosf.c: New file.
85689         * sysdeps/powerpc/fpu/s_sinf.c: New file.
85690         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
85691         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
85693 2011-08-15  Alan Modra  <amodra@gmail.com>
85695         [BZ #13092]
85696         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
85697         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
85698         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
85699         ppc_mcount to static-only-routines.
85700         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
85701         __mcount_internal.
85702         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
85703         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
85705 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
85707         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
85708         for finite and infinity parameters.
85710 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
85712         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
85713         and add nop instructions for throughput optimization.
85714         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85716 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
85718         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
85719         aligned copy for power7 with vector-scalar instructions.
85720         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
85722 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
85724         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
85725         AVX check.
85727 2011-09-07  Andreas Schwab  <schwab@redhat.com>
85729         [BZ #13144]
85730         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
85731         last change.
85733 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
85735         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85736         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
85737         syscall wrapper around clock_gettime in __vdso_clock_gettime.
85738         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
85739         clock_gettime.
85741 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
85743         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
85744         Forgot to demangle the pointer.
85746         * sysdeps/i386/sysdep.h: Define atom_text_section.
85747         * sysdeps/x86_64/sysdep.h: Likewise.
85748         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
85749         section with atom_text_section.
85750         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85751         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85752         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
85753         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85754         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
85756         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
85757         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
85758         already be defined.  Change to take two parameters and don't assign
85759         result to variable.  Adjust all users.
85760         Define INTERNAL_GETTIME if not already defined.
85761         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
85762         call.
85763         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
85764         HAVE_CLOCK_GETTIME_VSYSCALL.
85765         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
85767         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
85768         gettimeofday vsyscall, just use time.
85770 2011-09-06  Andreas Schwab  <schwab@redhat.com>
85772         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
85773         <errno.h>.
85775 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
85777         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
85778         syscall on x86-64.
85779         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
85780         syscall.
85781         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
85782         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
85783         syscall if possible.
85785 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85787         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
85788         e_ident.  Don't pass to find_mapsXX.
85789         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
85791 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85793         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85794         strchr-sse2-no-bsf strrchr-sse2-no-bsf
85795         * sysdeps/x86_64/multiarch/strchr.S: Update.
85796         Check bit_slow_BSF bit.
85797         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
85798         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
85799         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
85801 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85803         [BZ #13134]
85804         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
85805         before glibc 2.15.
85806         (tryshell): Define.
85807         (__spawni): Change last parameter to be flag.  Test
85808         SPAWN_XFLAGS_USE_PATH flag to use path or not.
85809         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
85810         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
85811         * posix/spawni.c: Likewise.
85812         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
85813         * posix/spawnp.c: Likewise.  Change normal version to use
85814         SPAWN_XFLAGS_USE_PATH.
85815         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
85816         SPAWN_XFLAGS_TRY_SHELL.
85818         [BZ #13150]
85819         * posix/glob.h: Remove gcc 1.x support.
85821         [BZ #13068]
85822         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
85824 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85826         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85827         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
85828         strrchr-sse2-bsf
85829         * sysdeps/i386/i686/multiarch/strchr.S: New file.
85830         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
85831         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
85832         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
85833         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
85834         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
85836 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85838         * sysdeps/x86_64/wcscmp.S: New file.
85840         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
85841         wcscmp-c wcscmp-sse2
85842         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
85843         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
85844         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
85845         * wcsmbs/wcscmp.c: Allow renaming.
85847 2011-09-05  David S. Miller  <davem@davemloft.net>
85849         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
85850         stack slot, rather than the struct return pointer slot.
85851         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
85852         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
85853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
85854         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
85856 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85858         * po/ja.po: Update from translation team.
85860         [BZ #13144]
85861         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
85862         kernel in 64-bit binaries.
85864 2011-09-01  David S. Miller  <davem@davemloft.net>
85866         * elf/elf.h (HWCAP_SPARC_*): Move to..
85867         * sysdeps/sparc/sysdep.h: this new file and add new values.
85868         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
85869         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
85870         _DL_HWCAP_COUNT to 24.
85871         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
85872         entries.
85873         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
85874         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
85875         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
85876         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
85877         instead of magic constants.
85878         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85880 2011-08-31  David S. Miller  <davem@davemloft.net>
85882         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
85883         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
85884         Reimplement to do errno handling inline.
85885         (SYSCALL_ERROR_HANDLER): New macro.
85886         (__SYSCALL_STRING): Do not do errno handling in asm.
85887         (__CLONE_SYSCALL_STRING): Delete.
85888         (__INTERNAL_SYSCALL_STRING): Delete.
85889         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
85890         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
85891         (PSEUDO): Reimplement to do errno handling inline.
85892         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
85893         (SYSCALL_ERROR_HANDLER): New macro.
85894         (__SYSCALL_STRING): Do not do errno handling in asm.
85895         (__CLONE_SYSCALL_STRING): Delete.
85896         (__INTERNAL_SYSCALL_STRING): Delete.
85897         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
85898         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
85899         i386.
85900         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
85901         (inline_syscall*): Add 'err' argument.
85902         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
85903         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
85904         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
85905         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
85907         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
85908         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
85910 2011-08-30  Andreas Schwab  <schwab@redhat.com>
85912         * elf/rtld.c (dl_main): Relocate objects in dependency order.
85914 2011-08-29  Jiri Olsa <jolsa@redhat.com>
85916         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
85917         directive.
85919 2011-08-24  David S. Miller  <davem@davemloft.net>
85921         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
85923 2011-08-24  Andreas Schwab  <schwab@redhat.com>
85925         * elf/Makefile: Add rules to build and run unload8 test.
85926         * elf/unload8.c: New file.
85927         * elf/unload8mod1.c: New file.
85928         * elf/unload8mod1x.c: New file.
85929         * elf/unload8mod2.c: New file.
85930         * elf/unload8mod3.c: New file.
85932         * elf/dl-close.c (_dl_close_worker): Reset private search list if
85933         it wasn't used.
85935 2011-08-23  David S. Miller  <davem@davemloft.net>
85937         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
85938         subtract stack bias.
85939         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
85940         %sp not %fp in calculations.
85941         (_JMPBUF_UNWINDS_ADJ): Likewise.
85943         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
85944         (aio_suspend): Call it to force an exception region around the
85945         AIO_MISC_WAIT() invocation.
85947 2011-08-23  Andreas Schwab  <schwab@redhat.com>
85949         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
85950         backslash.
85952 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
85954         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
85955         protection macro.
85956         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
85957         and <dl-machine.h>.
85958         (Elf64_FuncDesc): Remove.
85960 2011-08-22  David S. Miller  <davem@davemloft.net>
85962         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
85963         sigaltstack check, add missing cfi directives.
85964         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
85965         missing cfi directives, and sigaltstack handling.
85967 2011-08-16  Andreas Schwab  <schwab@redhat.com>
85969         [BZ #11724]
85970         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
85971         object is seen twice.
85972         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85974         * elf/Makefile (distribute): Add tst-initorder2.c.
85975         (tests): Add tst-initorder2.
85976         (modules-names): Add tst-initorder2a tst-initorder2b
85977         tst-initorder2c tst-initorder2d.  Add rules to build them.
85978         ($(objpfx)tst-initorder2.out): New rule.
85979         * elf/tst-initorder2.c: New file.
85980         * elf/tst-initorder2.exp: New file.
85982 2011-08-22  Andreas Schwab  <schwab@redhat.com>
85984         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
85986         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
85987         dependencies back to end of function.
85989         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85990         $(elfobjdir)/ld.so.
85992 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
85994         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
85995         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
85996         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
85997         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
85998         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
85999         of __vdso_gettimeofday.
86000         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
86001         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
86002         attribute_hidden.
86003         (_libc_vdso_platform_setup): Remove initialization of
86004         __vdso_gettimeofday and __vdso_time.
86006 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86008         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
86009         and fgetc_unlocked.
86010         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
86011         getc_unlocked.
86013         * elf/dl-open.c (add_to_global): Report additions to the global scope
86014         for LD_DEBUG=scopes.
86015         (dl_open_worker): Also print scope of newly loaded dependencies.
86016         (_dl_show_scope): Indicate if there is no scope.
86018         [BZ #13114]
86019         * stdio-common/Makefile (tests): Add bug24.
86020         * stdio-common/bug24.c: New file.
86022 2011-08-19  Andreas Jaeger  <aj@suse.de>
86024         [BZ #13114]
86025         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
86026         non-existant file when using close-on-exec mode.
86028 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86030         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
86031         the very first instruction.
86033         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
86034         the CFI state in the end.
86035         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
86036         inclusion of dl-trampoline.h.
86037         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
86039 2011-08-19  Andreas Schwab  <schwab@redhat.com>
86041         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
86042         expectations for long double.
86044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
86045         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
86047 2011-08-14  David S. Miller  <davem@davemloft.net>
86049         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
86050         artificual limit depends upon the system page size.
86052 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86054         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
86055         * resolv/Makefile: Define CFLAGS-libresolv.
86057 2011-08-17  Andreas Schwab  <schwab@redhat.com>
86059         * nss/makedb.c (compute_tables): Make variables used in nested
86060         function static.
86062 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86064         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
86065         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
86066         if buffer was too small.
86068         * elf/pldd.c (main): Attach to all threads in the process.
86069         Rewrite /proc handling to use *at functions.
86071 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
86073         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
86074         specifies first scope to show.
86075         (dl_open_worker): Update callers.  Move printing scope of new
86076         object to before the relocation.
86077         * elf/rtld.c (dl_main): Update _dl_show_scope call.
86078         * sysdeps/generic/ldsodefs.h: Update declaration.
86080         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
86081         string for the scope number.
86083 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
86085         * nscd/servicescache.c (cache_addserv): Make sure written is always
86086         initialized.
86088 2011-08-14  Roland McGrath  <roland@hack.frob.com>
86090         * sysdeps/i386/i486/bits/atomic.h
86091         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
86092         statement expression, so as to suppress "set but not used" warning.
86093         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
86095         * string/strncat.c (STRNCAT): Use prototype definition.
86097         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
86098         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
86099         -Iprograms here.
86100         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
86101         (localedef-modules): Add localedef.
86102         (locale-modules): Add locale.
86104         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
86105         * elf/rtld.c (dl_main): Invert order of assignment in last change,
86106         to avoid a warning.
86108 2011-08-14  David S. Miller  <davem@davemloft.net>
86110         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
86111         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
86113 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
86115         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
86116         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
86117         * elf/rtld.c (dl_main): Set l_name of vDSO.
86118         Call _dl_show_scope when DL_DEBUG_SCOPES.
86119         (process_dl_debug): Recognize scopes flag and also set it for all.
86120         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
86121         Declare _dl_show_scope.
86123         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
86124         (do_dlopen): Pass caller_dlopen to dl_open.
86125         (__libc_dlopen_mode): Initialize caller_dlopen.
86127         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
86128         of libc.  Make tolower call locale-independent.  Optimize a bit by
86129         using isdigit instead of isalnum.
86130         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
86132 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
86134         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
86135         was a dependency or dynamically loaded.
86137 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
86139         * intl/l10nflist.c: Allow architecture-specific pop function.
86140         * sysdeps/x86_64/l10nflist.c: New file.
86142         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
86143         classification.
86145 2011-08-10  Andreas Schwab  <schwab@redhat.com>
86147         * include/dirent.h: Add libc_hidden_proto for scandirat and
86148         scandirat64.  Don't declare __scandirat64.
86149         * dirent/scandirat.c: Add libc_hidden_def.
86150         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
86151         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
86153 2011-08-10  David S. Miller  <davem@davemloft.net>
86155         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
86156         enum.
86157         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86158         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86159         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86161 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
86163         * Versions.def [libc]: Add GLIBC_2.15.
86164         * dirent/Makefile (routines): Add scandirat and scandirat64.
86165         * dirent/Versions [libc]: Export scandirat and scandirat64 for
86166         GLIBC_2.15.
86167         * dirent/dirent.h: Declare scandirat and scandirat64.
86168         * dirent/scandirat.c: New file.
86169         * dirent/scandirat64.c: New file.
86170         * sysdeps/wordsize-64/scandirat.c: New file.
86171         * sysdeps/wordsize-64/scandirat64.c: New file.
86172         * dirent/opendir.c: Define opendirat.
86173         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
86174         using scandirat.
86175         * dirent/scandir64.c: Adjust for scandir.c change.
86176         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
86177         __scandirat64, and __scandir_cancel_handler.
86178         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
86179         additional parameter and use openat instead of open (outside of ld.so).
86180         Add new __opendir as wrapper around __opendirat.
86181         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
86182         here without requiring old scandirat implementation.
86184 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
86186         * dirent/scandir.c (cancel_handler): Renamed to
86187         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
86188         defined.  Adjust users.
86189         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
86190         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
86192 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
86194         * string/test-string.h (IMPL): Use __STRING to expand name and then
86195         stringify it.
86197         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
86198         of cleanups.
86200 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86202         * string/Makefile: Update.
86203         (strop-tests): Append strncat.
86204         * string/test-wcscmp.c: New file.
86205         New comprehensive test for wcscmp.
86206         * string/test-strcmp.c: Update.
86207         (WIDE): New define.
86209 2011-07-22  Andreas Schwab  <schwab@redhat.com>
86211         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
86212         line.
86214 2011-07-26  Andreas Schwab  <schwab@redhat.com>
86216         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86217         encoding to ACE if AI_IDN.
86219 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
86221         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
86222         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
86224 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86226         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
86227         Fix overflow bug in strncat.
86228         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
86230         * string/test-strncat.c: Update.
86231         Add new tests for checking overflow bugs.
86233 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86235         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86236         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
86237         * sysdeps/i386/i686/multiarch/strcat.S: New file.
86238         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
86239         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
86240         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
86241         * sysdeps/i386/i686/multiarch/strncat.S: New file.
86242         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
86243         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
86245         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
86246         (USE_AS_STRCAT): Define.
86247         Add strcat and strncat support.
86248         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86250 2011-07-25  Andreas Schwab  <schwab@redhat.com>
86252         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
86253         __n bigger than INT_MAX+1.
86254         (__strncmp_g): Likewise.
86256 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
86258         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
86259         * libio/stido.h: Likewise.
86261         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
86262         (AF_NFC): Define.
86263         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
86264         (AF_NFC): Define.
86266         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
86267         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86268         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86269         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
86270         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86272         [BZ #13021]
86273         * scripts/test-installation.pl: Don't expect libnss_test1 to be
86274         installed.
86276         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
86277         typo.
86278         (_dl_x86_64_save_sse): Likewise.
86280 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
86282         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
86283         OSXSAVE.
86284         (_dl_x86_64_save_sse): Likewise.
86286         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
86288         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
86290 2011-07-21  Andreas Schwab  <schwab@redhat.com>
86292         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
86293         change.
86294         (_dl_x86_64_save_sse): Use correct AVX check.
86296 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86298         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
86299         bug in strncpy/strncat.
86300         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
86302 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
86304         * string/tester.c (test_strcat): Add tests for different alignments
86305         of source and destination.
86306         (test_strncat): Likewise.
86308 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86310         [BZ #12852]
86311         * posix/glob.c (glob): Check passed in values before using them in
86312         expressions to avoid some overflows.
86313         (glob_in_dir): Likewise.
86315         [BZ #13007]
86316         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
86317         check for AVX enablement so that we don't crash with old kernels and
86318         new hardware.
86319         * elf/tst-audit4.c: Add same checks here.
86320         * elf/tst-audit6.c: Likewise.
86322         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
86324 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
86326         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
86328 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86330         * po/cs.po: Update from translation team.
86331         * po/bg.po: Likewise.
86333 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
86335         * misc/sys/cdefs.h: Add support for const attribute.
86336         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
86337         to gnu_dev_{major,minor,makedev} functions.
86339 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
86341         * intl/dcigettext.c (get_output_charset): Add missing bracket.
86343 2011-07-20  Andreas Schwab  <schwab@redhat.com>
86345         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
86346         strlen results.
86348 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86350         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
86351         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
86352         register in order to avoid conflicts with the soft frame pointer
86353         being held in r11 when necessary.
86354         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
86355         (INTERNAL_VSYSCALL_NCS): Likewise.
86357 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
86359         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
86360         * elf/dl-fini.c (_dl_fini): Adjust caller.
86361         * elf/dl-close.c (_dl_close_worker): Likewise.
86362         * sysdeps/generic/ldsodefs.h: Adjust declaration.
86364 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86366         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
86367         "aux_cache->nlibs < 0".
86369         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
86370         in the reload-count case.
86372 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86374         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86375         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
86376         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
86377         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
86378         * sysdeps/x86_64/multiarch/strcat.S: New file.
86379         * sysdeps/x86_64/multiarch/strncat.S: New file.
86380         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
86381         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
86382         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
86383         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
86384         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
86385         (USE_AS_STRCAT): Define.
86386         Add strcat and strncat support.
86387         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86388         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
86389         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
86390         * string/strncat.c: Update.
86391         (USE_AS_STRNCAT): Define.
86392         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86393         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
86394         and i7.
86395         * sysdeps/x86_64/multiarch/init-arch.h
86396         (bit_Prefer_PMINUB_for_stringop): New.
86397         (index_Prefer_PMINUB_for_stringop): Likewise.
86398         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
86399         bit_Prefer_PMINUB_for_stringop.
86401 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86403         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
86404         buffer64.
86405         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
86406         of casting of buffer.
86407         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
86408         buffer32 and buffer64.
86409         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
86410         writes instead of casting of buffer.
86411         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
86412         buffer32.
86413         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
86414         casting of buffer.
86416 2011-07-19  Andreas Schwab  <schwab@redhat.com>
86418         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
86420 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86422         * nscd/nscd.c (termination_handler): Don't do anything for a database
86423         if it has not yet been initialized.
86425 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86427         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86429 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86431         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86433 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86435         * po/nl.po: Update from translation team.
86436         * po/sv.po: Likewise.
86438 2011-07-16  Roland McGrath  <roland@hack.frob.com>
86440         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
86441         now disallowed by GCC.
86443         * configure.in (use-default-link): Default to yes if a test -shared
86444         link meets our qualifications.
86445         * configure: Regenerated.
86447         * config.make.in (output-format): New variable.
86448         * configure.in: Check for ld --print-output-format support.
86449         * configure: Regenerated.
86450         * Makerules ($(common-objpfx)format.lds)
86451         [$(output-format) != unknown]: Just use $(output-format),
86452         instead of the linker-script munging.
86454 2011-07-14  Roland McGrath  <roland@hack.frob.com>
86456         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
86457         of $(common-objpfx)shlib.lds.
86458         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
86460         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
86461         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
86463         * configure.in (-z relro check): Adjust test code to add a large
86464         writable data section after it.
86465         * configure: Regenerated.
86467 2011-07-11  Roland McGrath  <roland@hack.frob.com>
86469         * configure.in (-z relro check): Fix test code to make the variable
86470         truly const.
86471         * configure: Regenerated.
86473 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
86475         * nscd/nscd.h (struct traced_file): Define.
86476         (struct database_dyn): Remove inotify_descr, reset_res, and filename
86477         elements.  Add traced_files.
86478         (inotify_fd): Declare.
86479         (register_traced_file): Declare.
86480         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
86481         (inotify_fd): Export.
86482         (resolv_conf_descr): Remove.
86483         (nscd_init): Move inotify descriptor creation to main.
86484         Don't register files for notification here.
86485         (register_traced_file): New function.
86486         (invalidate_cache): Don't use reset_res to determine whether to call
86487         res_init, go through the list of registered files.
86488         (main_loop_poll): The inotify descriptors are now stored in the
86489         structures for the traced files.
86490         (main_loop_epoll): Likewise.
86491         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
86492         to __nss_disable_nscd.
86493         * nscd/cache.c (prune_cache): There is no single inotify descriptor
86494         for a database anymore.  Check the records for all the registered
86495         files instead.
86496         * nss/Makefile (libnss_files-routines): Add files-init.
86497         (libnss_db-routines): Add db-init.
86498         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
86499         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
86500         * nss/nss_db/db-init.c: New file.
86501         * nss/nss_files/files-init.c: New file.
86502         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
86503         __nss_lookup_function.
86504         (__nss_lookup_function): Call nss_load_library.
86505         (nss_load_all_libraries): New function.
86506         (__nss_disable_nscd): Take parameter with callback function for files
86507         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
86508         used for the cached services.
86509         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
86510         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
86511         options for features to all the files in nscd.
86513         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
86515 2011-07-10  Roland McGrath  <roland@hack.frob.com>
86517         * csu/elf-init.c (__libc_csu_init): Comment typo.
86519 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
86521         * po/pl.po: Update from translation team.
86522         * po/ja.po: Likewise.
86523         * po/ru.po: Likewise.
86524         * po/ko.po: Likewise.
86525         * po/fr.po: Likewise.
86527 2011-07-09  Roland McGrath  <roland@hack.frob.com>
86529         * configure.in (.ctors/.dtors header and trailer check):
86530         Use an empirical test on a built program.
86531         * configure: Regenerated.
86533         * configure.in (-z relro check): Use an empirical test on a built DSO.
86534         Detect, but do not require, on ia64.
86535         * configure: Regenerated.
86537         * configure.in (READELF): Find it with AC_CHECK_TOOL.
86538         Update tests that use readelf to use $READELF instead.
86539         * configure: Regenerated.
86541 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
86543         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
86544         if the result is not used.
86546 2011-07-05  Andreas Jaeger  <aj@suse.de>
86548         [BZ #9696]
86549         * stdlib/tst-strtod.c: Add testcase.
86551 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
86553         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
86554         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
86555         The latter has a higher limit.  Take additional parameter to pass to
86556         the new function.
86557         (__pathconf): Pass file to __statfs_link_max.
86558         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
86559         __statfs_link_max.
86560         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
86561         __statfs_link_max.
86563         [BZ #12868]
86564         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
86565         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86566         Handle Lustre.
86567         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
86568         (__statfs_filesize_max): Likewise.
86569         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
86571 2011-07-05  Andreas Jaeger  <aj@suse.de>
86573         * resolv/res_comp.c (dn_skipname): Remove unused variable.
86575 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
86577         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
86578         `status' variable.
86579         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
86580         Likewise.
86582 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
86584         * Makefile (strop-tests): Add strncat.
86585         * string/test-strncat.c: New file.
86587 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
86589         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
86591 2011-06-21  Andreas Jaeger  <aj@suse.de>
86593         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
86594         Copy rule from iconvdata/Makefile.
86596 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86598         [BZ #12922]
86599         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
86600         but no long options are defined, just return 'W'.
86602 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
86604         [BZ #9696]
86605         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
86607 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86609         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
86610         netgroups to read.
86611         (innetgr): Likewise.
86613 2011-07-05  Roland McGrath  <roland@hack.frob.com>
86615         * config.make.in (install_root): Default to $(DESTDIR).
86617 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
86619         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
86621 2011-07-02  Roland McGrath  <roland@hack.frob.com>
86623         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
86625         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
86626         containing directory rather than embedding absolute directory names.
86628         * scripts/check-local-headers.sh: Rewritten using awk.
86629         Match by word, not by line.  Print error messages for matches.
86630         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
86632         * Makerules [shlib-lds-flags empty]:
86633         ($(common-objpfx)libc_pic.opts): New target.
86634         ($(common-objpfx)libc_pic.os.clean): New target.
86635         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
86637         * config.make.in (OBJCOPY): New variable.
86638         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
86639         * configure: Regenerated.
86641         * config.make.in (use-default-link): New variable.
86642         * configure.in (use_default_link): Grok --with-default-link to set it.
86643         * configure: Regenerated.
86644         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
86645         (shlib-lds, shlib-lds-flags): Define to empty.
86647         * Makerules (shlib-lds): New variable.
86648         (shlib-lds-flags): New variable.
86649         (build-shlib, build-moduile, build-module-asneeded): Use it.
86650         ($(common-objpfx)libc.so): Use $(shlib-lds).
86651         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
86652         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
86654         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
86655         DT_FLAGS/DT_FLAGS_1 with zero flags.
86657         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
86658         linker script munging.
86660 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
86662         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
86663         as 128-bit value.
86664         * crypt/sha512.c (sha512_process_block): Perform total addition using
86665         128-bit if possible.
86666         (__sha512_finish_ctx): Likewise.
86667         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
86668         as 64-bit value.
86669         * crypt/sha256.c (SWAP64): Define.
86670         (sha256_process_block): Perform total addition using 64-bit if
86671         possible.
86672         (__sha256_finish_ctx): Likewise.
86674 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
86676         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
86677         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86678         * nscd/hstcache.c (cache_addhst): Likewise.
86679         * nscd/grpcache.c (cache_addgr): Likewise.
86680         * nscd/aicache.c (addhstaiX): Likewise.
86681         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
86683 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
86685         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
86686         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86687         * nscd/hstcache.c (cache_addhst): Likewise.
86688         * nscd/grpcache.c (cache_addgr): Likewise.
86689         * nscd/aicache.c (addhstaiX): Likewise.
86691 2011-07-01  Andreas Schwab  <schwab@redhat.com>
86693         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
86694         domain only when needed.
86696 2011-06-30  Andreas Schwab  <schwab@redhat.com>
86698         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
86699         is always restored.
86701 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
86703         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
86704         are re-adding the entry.
86705         * nscd/servicescache.c (cache_addserv): Likewise.
86707 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
86709         * sysdeps/generic/dl-irel.h: fix protection against multiple
86710         inclusions.
86711         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
86713 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
86715         [BZ #12935]
86716         * malloc/memusage.sh: Fix quoting in message.
86717         * debug/xtrace.sh: Likewise.
86719         * configure.in: Remove support for --experimental-malloc option, make
86720         it the default.
86721         * config.make.in: Likewise.
86722         * malloc/Makefile: Likewise.
86724 2011-06-27  Andreas Schwab  <schwab@redhat.com>
86726         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
86727         two-byte characters.
86729 2011-06-27  Roland McGrath  <roland@hack.frob.com>
86731         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
86732         AC_CACHE_CHECK invocation.
86733         * configure: Regenerated.
86735         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
86737 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
86739         [BZ #12350]
86740         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
86741         bit from old_res_options.
86743         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
86745         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
86746         value type for setfct.
86748 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
86750         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86751         __gettimeofday instead of gettimeofday.
86753 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
86755         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
86757 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
86759         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
86761         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
86762         info.
86764 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86766         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86767         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86768         strcpy-sse2-unaligned strncpy-sse2-unaligned
86769         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
86770         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
86771         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
86772         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
86773         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
86774         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
86775         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
86776         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
86777         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
86778         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
86779         (STRCPY): Support SSE2 and SSSE3 versions.
86781 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
86783         [BZ #12874]
86784         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
86785         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
86786         kernels which artificially limit size of requests.
86788 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86790         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86791         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86792         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
86793         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
86794         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
86795         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
86796         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
86797         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
86798         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
86799         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
86800         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
86801         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
86802         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
86803         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
86804         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
86805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86806         Enable unaligned load optimization for Intel Core i3, i5 and i7
86807         processors.
86808         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
86809         Define.
86810         (index_Fast_Unaligned_Load): Define.
86811         (HAS_FAST_UNALIGNED_LOAD): Define.
86813 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
86815         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
86817 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86819         [BZ #12907]
86820         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
86821         until it is clear that the information is realy needed.
86822         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
86824 2011-06-22  Andreas Schwab  <schwab@redhat.com>
86826         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
86828 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86830         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86831         /sys/devices/system/cpu/online if it is usable.
86833         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
86834         reading the information from the /proc filesystem to once a second.
86836 2011-06-21  Andreas Jaeger  <aj@suse.de>
86838         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
86839         NULL after inclusion of kernel headers.
86841 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
86843         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
86844         calls to internal_setent.
86846         [BZ #12885]
86847         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
86848         addresses using gethostbyname4_r ignore IPv4 addresses.
86850         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
86851         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
86853         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
86855 2011-06-20  David S. Miller  <davem@davemloft.net>
86857         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
86858         inclusions.
86859         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
86861         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
86862         (elf_irel): Use it.
86863         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
86864         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
86865         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
86866         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
86867         * sysdeps/x86_64/dl-irel.h: Likewise.
86869         * elf/dl-runtime.c: Use elf_ifunc_invoke.
86870         * elf/dl-sym.c: Likewise.
86872 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86874         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
86875         need to dereference resplen2.
86877 2011-06-14  Andreas Schwab  <schwab@redhat.com>
86879         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
86881 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86883         * Makeconfig: Define vardbdir and inst_vardbdir.
86884         * nss/Makefile: Add rules to install db-Makefile.
86886         * nss/nss_db/db-XXX.c: Cleanup.
86888         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
86889         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
86890         GLIBC_PRIVATE.
86891         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
86892         * nss/makedb.c: Implement -g option to specify that value strings
86893         are generated and should not be added to table iterated over for
86894         get*ent calls.
86895         * nss/nss_db/db-initgroups.c: New file.
86897         * nss/getent.c: Add support for initgroups lookups through getgrouplist
86898         interface.
86900         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
86901         (internal_getgrouplist): Adjust to name change.
86902         Update use_initgroups_entry if this is not the first call.
86903         * nss/databases.def: Add initgroups entry.
86905         * nss/makedb.c (compute_tables): Check result of multiple hash table
86906         sizes to minimize maximum chain length.
86908 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
86910         * Versions.def: Add entry for libnss_db.
86911         * shlib-versions: Likewise.
86912         * nss/Makefile: Add rules to build libnss_db.
86913         * nss/Versions: Add libnss_db information.  Organize libnss_files
86914         entries better.
86915         * nss/db-Makefile: Add gshadow support.  Change rules for the new
86916         makedb progra.  Some minor improvements to generate smaller files.
86917         * nss/nss_db/nss_db.h: Move NSS database header data structures to
86918         here from...
86919         * nss/makedb.c: ...here.
86920         Improve database format to be smaller and require less memory at
86921         runtime.
86922         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
86923         db anymore.
86924         * nss/nss_db/db-netgrp.c: Likewise.
86925         * nss/nss_db/db-open.c: Likewise.
86926         * nss/nss_files/flies-XXX.x: Adjust comments.
86927         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
86928         * nss/nss_files/files-grp.c: Likewise.
86929         * nss/nss_files/files-hosts.c: Likewise.
86930         * nss/nss_files/files-network.c: Likewise.
86931         * nss/nss_files/files-proto.c: Likewise.
86932         * nss/nss_files/files-pwd.c: Likewise.
86933         * nss/nss_files/files-rpc.c: Likewise.
86934         * nss/nss_files/files-service.c: Likewise.
86935         * nss/nss_files/files-sgrp.c: Likewise.
86936         * nss/nss_files/files-spwd.c: Likewise.
86937         * nss/nss_db/db-alias.c: Removed.
86938         * nss/nss_db/dummy-db.h: Removed.
86940 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
86942         * nss/makedb.c: Rewritten to not use database library.
86943         * nss/Makefile: Update to build new makedb program.
86945 2011-06-14  Andreas Jaeger  <aj@suse.de>
86947         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
86948         memset declaration.
86950 2011-06-10  Andreas Schwab  <schwab@redhat.com>
86952         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
86953         tmpbuf.
86955 2011-06-10  Roland McGrath  <roland@hack.frob.com>
86957         * Makerules (shlib.lds): Fail if the linker script comes out empty.
86958         * elf/Makefile ($(objpfx)ld.so): Likewise.
86960         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
86961         Don't list ld.so twice in dependencies.
86963         * posix/bug-regex31.c: Include <stdlib.h>.
86965         * nscd/hstcache.c (cache_addhst): Remove unused variable.
86967         * nis/nss_compat/compat-spwd.c
86968         (getspent_next_nss_netgr): Remove unused variable.
86969         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
86971         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
86972         nonmembers" output to use the right array.
86974         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
86976         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
86978         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
86979         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
86980         * catgets/gencat.c (read_input_file): Likewise.
86981         * locale/programs/locarchive.c (enlarge_archive): Likewise.
86983         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
86984         variable definition inside #if's controlling its use.
86986         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
86988         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
86990         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
86992         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
86993         unreachable code.
86995         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
86997         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
86998         * configure: Regenerated.
87000         * Makerules: Revert last change.
87001         * elf/Makefile: Likewise.
87003 2011-06-09  Roland McGrath  <roland@hack.frob.com>
87005         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
87006         * elf/Makefile ($(objpfx)librtld.os): Likewise.
87007         (reloc-link): Likewise.
87009 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
87011         * elf/Makefile: Add rules to build pldd.
87012         * elf/pldd.c: New file.
87013         * elf/pldd-xx.c: New file.
87015 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
87017         * version.h: Update for 2.15 development version.
87019 2011-06-07  David S. Miller  <davem@davemloft.net>
87021         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
87022         ifuncs.
87023         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
87024         elf_machine_lazy_rel): Likewise.
87025         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
87026         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
87027         elf_machine_lazy_rel): Likewise.
87028         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
87029         dl_hwcap via passed in argument.
87030         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
87031         Likewise.
87033 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87035         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
87037 2011-06-06  Roland McGrath  <roland@hack.frob.com>
87039         [BZ #12849]
87040         * manual/fdl-1.1.texi: New file, verbatim from:
87041         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
87042         * manual/lgpl-2.1.texi: New file, verbatim from:
87043         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
87044         * manual/Makefile (licenses): New variable, list those new file names.
87045         (texis): Use it.
87046         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
87048         * manual/fdl.texi: File removed.
87049         * manual/lesser.texi: File removed.
87050         * manual/libc.texinfo (Copying, Documentation License):
87051         Use new @include file names, put @appendix directive before @include.
87053 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
87055         [BZ #12841]
87056         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
87057         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
87058         (mq_open): Add __NTH.
87060 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
87062         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87063         Assume Intel Core i3/i5/i7 processor if AVX is available.
87065 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87067         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
87068         typo.
87070 2011-05-31  Andreas Schwab  <schwab@redhat.com>
87072         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
87073         memory.  Use alloca_account.  Fix memory leak when retrying.
87075 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87077         * version.h (RELEASE): Bump for 2.14 release.
87078         * include/features.h (__GLIBC_MINOR__): Bump to 14.
87080         * config.make.in (RANLIB): Remove entry.
87082 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
87084         * po/Makefile (po-sed-cmd): Add ksh to extensions.
87085         (libc.pot): Work around missing support for .ksh extension in xgettext.
87087         [BZ #12684]
87088         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
87089         if both request failed.
87090         (send_dg): In case of server errors clear resplen or *resplen2.
87092         [BZ #12454]
87093         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
87094         when there are multiple maps.
87095         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
87096         (_dl_fini): Remove test here.
87098         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
87100 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
87102         [BZ #12350]
87103         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
87104         bit from old_res_options.
87105         (gaih_inet): Likewise.
87107         [BZ #11099]
87108         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
87109         as signed.
87111         * resolv/res_init.c (res_setoptions): Make the code more compact.
87113         [BZ #11558]
87114         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
87115         set RES_USEVC.
87117         [BZ #11634]
87118         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
87120         * malloc/malloc.h: Mark malloc hook variables as deprecated.
87122         [BZ #11781]
87123         * malloc/malloc.h: Declare malloc hook variables as volatile.
87125         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
87126         in last patch.
87128         [BZ #11799]
87129         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
87130         raise in the comment.
87131         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87132         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87133         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
87135 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
87137         [BZ #12811]
87138         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
87139         grow the buffers more if it already has to be sufficient.
87140         (build_wcs_upper_buffer): Likewise.
87141         * posix/regexec.c (check_matching): Likewise.
87142         (clean_state_log_if_needed): Likewise.
87143         (extend_buffers): Don't enlarge buffers beyond size of the input
87144         buffer.
87145         Patches mostly by Emil Wojak <emil@wojak.eu>.
87146         * posix/bug-regex32.c: New file.
87147         * posix/Makefile (tests): Add bug-regex32.
87149         * locale/findlocale.c (_nl_find_locale): Return right away if
87150         _nl_explode_name failed.
87151         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
87153         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
87155         * debug/xtrace.sh: Unify messages.
87156         * malloc/memusage.sh: Likewise.
87158         [BZ #12813]
87159         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
87160         time symbol from vDSO.  Substitute with vsyscall if not available.
87161         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
87162         __vdso_time.
87164         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
87165         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
87166         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
87167         Add sendmmsg and internal_sendmmsg.
87168         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
87169         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
87170         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
87172         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
87173         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
87174         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
87176 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
87178         [BZ #12813]
87179         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
87180         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
87181         available.
87182         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
87183         __vdso_getcpu.
87185         [BZ #12814]
87186         * iconvdata/Makefile (tests): Add bug-iconv9.
87187         * iconvdata/bug-iconv9.c: New file.
87189 2011-05-27  Andreas Schwab  <schwab@redhat.com>
87191         [BZ #12814]
87192         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
87194 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
87196         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87197         (struct user_regs_struct): Change intcs field back to cs.
87199 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
87201         * po/ja.po: Update from translation team.
87203 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
87205         [BZ #12795]
87206         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
87207         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
87209 2011-05-20  Andreas Schwab  <schwab@redhat.com>
87211         * stdlib/longlong.h: Update from GCC.
87213 2011-05-23  Andreas Schwab  <schwab@redhat.com>
87215         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
87216         parameter name.
87217         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
87218         Add parameter name.
87219         (__sysconf): Pass it down.
87221 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
87223         [BZ #12671]
87224         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
87225         some situations.
87226         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
87227         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
87228         add in in __libc_use_alloca calls.  Adjust callers.
87229         (glob): Use malloc in some situations.
87231         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
87232         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
87233         pltexit.
87235 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
87237         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
87238         and CLOCK_BOOTTIME_ALARM.
87240         [BZ #12782]
87241         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
87242         is returned.
87244         * string/_strerror.c (__strerror_r): Print negative errors as signed
87245         numbers.
87247         [BZ #12777]
87248         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
87249         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
87250         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
87252         * configure.in: Fix typo in redirection and correct removal of test
87253         files in two cases.
87255         [BZ #12788]
87256         * locale/setlocale.c (new_composite_name): Fix test to check for
87257         identical name of all categories.
87259         [BZ #12792]
87260         * libio/filedoalloc.c (local_isatty): New function.
87261         (_IO_file_doallocate): Use local_isatty.
87262         * stdio-common/perror.c (perror): In case a new stream is used
87263         forward the stream error.
87264         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
87265         error flag.
87267 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
87269         [BZ #11884]
87270         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
87271         alloca.
87272         * include/alloca.h (extend_alloca_account): Define.
87274         [BZ #11857]
87275         * posix/regex.h: Fix comments with documentation of user-accessible
87276         fields after compilation and describe correct free'ing of pattern
87277         after re_compile_pattern.
87278         Patch by Reuben Thomas <rrt@sc3d.org>.
87280 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
87282         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
87283         and -mno-altivec to prevent the compiler from using Altivec and/or
87284         VSX instructions when the corresponding registers are not available.
87286 2011-05-19  Andreas Schwab  <schwab@redhat.com>
87288         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
87290 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
87292         * libio/freopen.c (freopen): Use __dup2, not dup2.
87293         * libio/freopen64.c (freopen64): Likewise.
87295 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
87297         [BZ #12775]
87298         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
87299         * math/Makefile (tests): Add test-powl.
87300         (CFLAGS-test-powl.c): Define.
87301         * math/test-powl.c: New file.
87303 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
87305         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
87307 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
87309         [BZ #11837]
87310         * iconvdata/gb18030.c: Update to GB18020-2005.
87312 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
87314         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
87315         RE_SYNTAX_POSIX_AWK): Update to match recent development.
87316         Patch by Aharon Robbins <arnold@skeeve.com>.
87318         [BZ #11892]
87319         * stdlib/putenv.c (putenv): Don't always create copy of the variable
87320         on the stack.
87322         [BZ #11895]
87323         * misc/pselect.c (__pselect): Handle timeout value errors hidden
87324         through underflows.
87326         [BZ #12766]
87327         * misc/error.c (error_at_line): Ensure file_name and old_file_name
87328         point to strings before performing equality test for error_one_per_line
87329         mode.
87331         [BZ #11697]
87332         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
87334         [BZ #11820]
87335         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87336         (struct user_fpregs_struct): Avoid __uint*_t types.
87338         [BZ #6420]
87339         * malloc/mtrace.c (tr_where): Add additional parameter to point to
87340         symbol info.  Use it instead of calling _dl_addr locally.
87341         (lock_and_info): New function.
87342         (tr_freehook): Call lock_and_info and pass symbol info as additional
87343         parameter to tr_where.
87344         (tr_mallochook): Likewise.
87345         (tr_reallochook): Likewise.
87346         (tr_memalignhook): Likewise.
87348         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
87349         used and couldn't be at all thread-safe.
87351 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
87353         * libio/freopen.c (freopen): Don't close old file descriptor
87354         before the new one is opened.  Instead dup the new file descriptor
87355         to the old one after the new stream is created.
87356         * libio/freopen64.c (freopen64): Likewise.
87357         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
87358         * libio/fileops.c (_IO_new_file_close_it): Handle new
87359         _IO_FLAGS2_NOCLOSE flag.
87360         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
87361         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
87362         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
87363         _IO_FLAGS2_NOCLOSE flag.
87364         * include/unistd.h: Add hidden_proto for dup3.
87365         Define __have_dup3.
87366         * io/dup3.c: Define hidden symbol.
87367         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
87369         [BZ #7101]
87370         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
87371         when an incomplete long option is used.
87372         * posix/tst-getopt_long1.c: New file.
87373         * posix/Makefile (tests): Add tst-getopt_long1.
87375         [BZ #10138]
87376         * scripts/config.guess: Update from autoconf-2.68.
87377         * scripts/config.sub: Likewise.
87379         [BZ #10157]
87380         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
87381         tests into ...
87382         (has_cpuclock): ...this.  New function.
87383         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
87384         macro here based on has_cpuclock code.
87386         [BZ #10149]
87387         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87388         First byte (not low byte) is now always NUL.
87389         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
87391         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87392         Use non-cancelable interfaces.
87394         [BZ #9809]
87395         * locale/iso-639.def: Add entry for Sorani.
87397         [BZ #11901]
87398         * include/stdlib.h: Move include protection to the right place.
87399         Define abort_msg_s.  Declare __abort_msg with it.
87400         * stdlib/abort.c (__abort_msg): Adjust type.
87401         * assert/assert.c (__assert_fail_base): New function.  Majority
87402         of code from __assert_fail.  Allocate memory for __abort_msg with
87403         mmap.
87404         (__assert_fail): Now call __assert_fail_base.
87405         * assert/assert-perr.c: Remove bulk of implementation.  Use
87406         __assert_fail_base.
87407         * include/assert.hL Declare __assert_fail_base.
87408         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
87409         mmap.
87410         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
87412 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
87414         [BZ #11952]
87415         [BZ #12453]
87416         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
87417         until all modules are registered in the DTV.
87418         * elf/Makefile: Add rules to build and run tst-tls19.
87419         * elf/tst-tls19.c: New file.
87420         * elf/tst-tls19mod1.c: New file.
87421         * elf/tst-tls19mod2.c: New file.
87422         * elf/tst-tls19mod3.c: New file.
87423         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
87425         [BZ #12083]
87426         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
87427         correctly.
87429         [BZ #12601]
87430         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
87431         two-byte sequence errors.
87432         * iconvdata/Makefile (tests): Add bug-iconv8.
87433         * iconvdata/bug-iconv8.c: New file.
87435         [BZ #12626]
87436         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
87437         buf2 definition.
87439         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
87441         [BZ #12432]
87442         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
87443         (dummy_getcfa): New function.
87444         (init): Get _Unwind_GetCFA address, use dummy if not found.
87445         (backtrace_helper): In recursion check, also check whether CFA changes.
87446         (__backtrace): Completely initialize arg.
87448         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
87449         storing incomplete byte sequence in state object.  Avoid testing for
87450         guaranteed too small input if we know there is enough data available.
87452 2011-05-11  Andreas Schwab  <schwab@redhat.com>
87454         * Makeconfig (+link-pie): Indent.
87455         * Rules (binaries-pie): Define if $(have-fpie) and
87456         $(build-shared).
87457         (binaries-shared): Also filter out $(binaries-pie).
87458         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
87459         * nscd/Makefile (others-pie): Add nscd.
87460         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
87461         ($(objpfx)nscd): Remove command override.
87462         * login/Makefile (others-pie): Add pt_chown.
87463         ($(objpfx)pt_chown): Remove command override.
87464         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
87465         remove command overrides.
87467 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
87469         * libio/tst_putwc.c: Fix error messages.
87471         [BZ #12724]
87472         * libio/fileops.c (_IO_new_file_close_it): Always flush when
87473         currently writing and seek to current position when not.
87474         * libio/Makefile (tests): Add bug-fclose1.
87475         * libio/bug-fclose1.c: New file.
87477 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
87479         [BZ #12511]
87480         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
87481         don't set DF_1_NODELETE here.
87482         (do_lookup_x): When entering new entry test for copy relocation
87483         and if necessary set DF_1_NODELETE flag.
87484         * elf/tst-unique4.cc: New file.
87485         * elf/tst-unique4.h: New file.
87486         * elf/tst-unique4lib.cc: New file.
87487         * elf/Makefile: Add rules to build and run tst-unique4.
87488         Patch by Piotr Bury <pbury@goahead.com>.
87490 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
87492         [BZ #12052]
87493         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
87495         [BZ #12625]
87496         * misc/mntent_r.c (addmntent): Flush the stream after the output
87498         [BZ #12393]
87499         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
87500         (is_trusted_path_normalize): Skip initial colon.  Append slash
87501         to empty buffer.  Duplicate is_trusted_path code but allow
87502         constructed patch to be prefix.
87503         (is_dst): Allow $ORIGIN followed by /.
87504         (_dl_dst_substitute): Correct clearing of check_for_trusted.
87505         Correct testing of result of is_trusted_path_normalize
87506         (decompose_rpath): Fix warning.
87508 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
87510         [BZ #11257]
87511         * grp/initgroups.c (internal_getgrouplist): When we found the service
87512         list through the initgroups entry in nsswitch.conf do not always
87513         continue on a successful lookup.  Don't always use the
87514         __nss_group_database value if it is set.
87515         * nss/nsswitch.conf (initgroups): Change action for successful db
87516         lookup to continue for compatibility.
87518 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
87520         [BZ #11532]
87521         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
87522         and CP774 modules.
87523         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
87524         and CP774 modules.
87525         * iconvdata/tst-tables.sh: Likewise.
87526         * iconvdata/cp770.c: New file.
87527         * iconvdata/cp771.c: New file.
87528         * iconvdata/cp772.c: New file.
87529         * iconvdata/cp773.c: New file.
87530         * iconvdata/cp774.c: New file.
87531         * iconvdata/testdata/CP770: New file.
87532         * iconvdata/testdata/CP770..UTF8: New file.
87533         * iconvdata/testdata/CP771: New file.
87534         * iconvdata/testdata/CP771..UTF8: New file.
87535         * iconvdata/testdata/CP772: New file.
87536         * iconvdata/testdata/CP772..UTF8: New file.
87537         * iconvdata/testdata/CP773: New file.
87538         * iconvdata/testdata/CP773..UTF8: New file.
87539         * iconvdata/testdata/CP774: New file.
87540         * iconvdata/testdata/CP774..UTF8: New file.
87542         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
87543         END CHARMAP line.
87544         * iconvdata/gen-8bit-gap.sh: Likewise.
87545         * iconvdata/gen-8bit.sh: Likewise.
87547         * locale/iso-639.def: Add ary entry.
87549         [BZ #11258]
87550         * locale/C-translit.h.in: Add U20A1 transliteration.
87552         [BZ #12178]
87553         * locale/iso-639.def: Add wae entry.
87554         Patch by Kevin Bortis <bortis@translate-wae.ch>.
87556         [BZ #12545]
87557         * locale/programs/localedef.c (construct_output_path): Use ssize_t
87558         for n.
87560         [BZ #12711]
87561         * locale/C-translit.h.in: Add entry for U20B9.
87562         Patch by pravin.d.s@gmail.com.
87564 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
87566         [BZ #12713]
87567         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
87568         ENAMETOOLONG use generic getcwd.
87569         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
87570         in rtld.  Use *stat64.
87571         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
87572         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
87573         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
87574         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
87575         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
87576         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
87577         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
87578         __fstatat64 macros.
87579         * include/dirent.h: Add libc_hidden_proto for rewinddir.
87580         * dirent/rewinddir.c: Add libc_hidden_def.
87581         * sysdeps/mach/hurd/rewinddir.c: Likewise.
87582         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
87584         * include/dirent.h (__alloc_dir): Add flags parameter.
87585         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
87586         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
87587         __alloc_dir.
87588         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
87589         from fdopendir if O_CLOEXEC is already set.
87591 2011-03-15  Alan Modra  <amodra@gmail.com>
87593         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
87594         l_tls_firstbyte_offset non-zero.  Save padding offset in
87595         l_tls_firstbyte_offset for later use.
87596         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
87597         freeing static tls block.
87599 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
87601         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
87602         where #ifdef was intended.  The intent is to prevent ARG_MAX from
87603         being defined by the kernel headers.
87605 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
87607         [BZ #12734]
87608         * resolv/resolv.h: Define RES_NOTLDQUERY.
87609         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
87610         no-tld-query and set RES_NOTLDQUERY.
87611         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
87612         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
87613         modern BIND to search name as TLD unless forbidden.
87615 2011-05-07  Petr Baudis  <pasky@suse.cz>
87616             Ulrich Drepper  <drepper@gmail.com>
87618         [BZ #12393]
87619         * elf/dl-load.c (fillin_rpath): Move trusted path check...
87620         (is_trusted_path): ...to here.
87621         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
87622         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
87623         using is_trusted_path_normalize() in setuid scripts.
87625 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
87627         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
87628         __BEGIN/__END_DECLS.
87630 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
87632         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
87633         NSS_STATUS_NOTFOUND if no record was found.
87635 2011-05-05  Andreas Schwab  <schwab@redhat.com>
87637         * sunrpc/Makefile (headers): Add rpc/netdb.h.
87638         (headers-not-in-tirpc): Remove rpc/netdb.h
87639         * resolv/netdb.h: Revert last change.
87641 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87643         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
87644         circular dependency between libgcc.a and libc.a.
87646 2011-05-05  Andreas Schwab  <schwab@redhat.com>
87648         * resolv/netdb.h: Don't include <rpc/netdb.h>.
87649         * nis/Makefile: Don't install rpcsvc/*.
87650         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
87651         instead of <rpc/types.h>.
87652         (MAXHOSTNAMELEN): Define.
87654 2011-05-03  Andreas Schwab  <schwab@redhat.com>
87656         * elf/ldconfig.c (add_dir): Don't crash on empty path.
87658 2011-04-28  Maciej Babinski  <mbabinski@google.com>
87660         [BZ #12714]
87661         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
87662         gethostbyname4_r when IPv6 results are possible.
87664 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
87666         [BZ #12723]
87667         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
87668         _PC_PIPE_BUF handling.
87670 2011-04-30  Bruno Haible  <bruno@clisp.org>
87672         [BZ #12717]
87673         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
87674         * resolv/netdb.h (getnameinfo): Change type of flags parameter
87675         to 'int'.
87676         * inet/getnameinfo.c (getnameinfo): Likewise.
87678 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
87680         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
87681         to groups setting in database lookup.
87682         * nss/nsswitch.conf: Add initgroups entry.
87684 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
87686         [BZ #12685]
87687         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
87688         mode string.
87689         Patch by Eric Blake <eblake@redhat.com>.
87691 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
87693         * sunrpc/Makefile (need-export-routines): Add svc_run.
87694         (routines): Remove svc_run.
87695         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
87696         * sunrpc/clnt_perr.c (clnt_perrno): Export.
87697         * sunrpc/svc_run.c (svc_run): Likewise.
87698         * sunrpc/svc_udp.c (svcudp_create): Likewise.
87700 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
87702         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
87703         problem in reallocation in last patch.
87705 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
87707         * sunrpc/Makefile: Move inclusion of Rules.
87709 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
87711         * nss/nss_files/files-initgroups.c: New file.
87712         * nss/Makefile (libnss_files-routines): Add files-initgroups.
87713         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
87714         _nss_files_initgroups_dyn.
87716 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
87718         * elf/elf.h (R_ARM_IRELATIVE): Define.
87720 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
87722         * po/ru.po: Update from translation team.
87724 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
87726         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
87727         dependencies.
87729 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
87731         [BZ #12653]
87732         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
87733         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
87734         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87735         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
87736         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
87738 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
87740         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
87741         differing bytes.
87742         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
87743         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
87744         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
87746 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
87748         [BZ #12420]
87749         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
87750         storing it.
87751         * stdlib/bug-getcontext.c: New file.
87752         * stdlib/Makefile: Add rules to build and run bug-getcontext.
87754 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87756         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
87757         instructions into .machine "z9-109".
87758         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
87759         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
87761 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87763         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
87764         between environment variables and auxiliary vector.
87766 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
87768         * Makefile: Add rules to build linkobj/libc.so.
87769         * include/libc-symbols.h: Define libc_hidden_nolink.
87770         * include/rpc/auth.h: Mark functions which are to be hidden.
87771         * include/rpc/auth_des.h: Likewise.
87772         * include/rpc/auth_unix.h: Likewise.
87773         * include/rpc/clnt.h: Likewise.
87774         * include/rpc/des_crypt.h: Likewise.
87775         * include/rpc/key_prot.h: Likewise.
87776         * include/rpc/pmap_clnt.h: Likewise.
87777         * include/rpc/pmap_prot.h: Likewise.
87778         * include/rpc/pmap_rmt.h: Likewise.
87779         * include/rpc/rpc_msg.h: Likewise.
87780         * include/rpc/svc.h: Likewise.
87781         * include/rpc/svc_auth.h: Likewise.
87782         * include/rpc/xdr.h: Likewise.
87783         * nis/Makefile: Link all DSOs against linkobj/libc.so.
87784         * nss/Makefile: Likewise.
87785         * sunrpc/Makefile: Don't install headers.  Build library with normal
87786         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
87787         * sunrpc/auth_des.c: Hide exported symbols by default, export some
87788         for the compat linking library.  Remove use of INTDEF/INTUSE.
87789         * sunrpc/auth_none.c: Likewise.
87790         * sunrpc/auth_unix.c: Likewise.
87791         * sunrpc/authdes_prot.c: Likewise.
87792         * sunrpc/authuxprot.c: Likewise.
87793         * sunrpc/clnt_gen.c: Likewise.
87794         * sunrpc/clnt_perr.c: Likewise.
87795         * sunrpc/clnt_raw.c: Likewise.
87796         * sunrpc/clnt_simp.c: Likewise.
87797         * sunrpc/clnt_tcp.c: Likewise.
87798         * sunrpc/clnt_udp.c: Likewise.
87799         * sunrpc/clnt_unix.c: Likewise.
87800         * sunrpc/des_crypt.c: Likewise.
87801         * sunrpc/des_soft.c: Likewise.
87802         * sunrpc/get_myaddr.c: Likewise.
87803         * sunrpc/key_call.c: Likewise.
87804         * sunrpc/key_prot.c: Likewise.
87805         * sunrpc/netname.c: Likewise.
87806         * sunrpc/pm_getmaps.c: Likewise.
87807         * sunrpc/pm_getport.c: Likewise.
87808         * sunrpc/pmap_clnt.c: Likewise.
87809         * sunrpc/pmap_prot.c: Likewise.
87810         * sunrpc/pmap_prot2.c: Likewise.
87811         * sunrpc/pmap_rmt.c: Likewise.
87812         * sunrpc/publickey.c: Likewise.
87813         * sunrpc/rpc_cmsg.c: Likewise.
87814         * sunrpc/rpc_common.c: Likewise.
87815         * sunrpc/rpc_dtable.c: Likewise.
87816         * sunrpc/rpc_prot.c: Likewise.
87817         * sunrpc/rpc_thread.c: Likewise.
87818         * sunrpc/rtime.c: Likewise.
87819         * sunrpc/svc.c: Likewise.
87820         * sunrpc/svc_auth.c: Likewise.
87821         * sunrpc/svc_authux.c: Likewise.
87822         * sunrpc/svc_raw.c: Likewise.
87823         * sunrpc/svc_run.c: Likewise.
87824         * sunrpc/svc_simple.c: Likewise.
87825         * sunrpc/svc_tcp.c: Likewise.
87826         * sunrpc/svc_udp.c: Likewise.
87827         * sunrpc/svc_unix.c: Likewise.
87828         * sunrpc/svcauth_des.c: Likewise.
87829         * sunrpc/xcrypt.c: Likewise.
87830         * sunrpc/xdr.c: Likewise.
87831         * sunrpc/xdr_array.c: Likewise.
87832         * sunrpc/xdr_float.c: Likewise.
87833         * sunrpc/xdr_intXX_t.c: Likewise.
87834         * sunrpc/xdr_mem.c: Likewise.
87835         * sunrpc/xdr_rec.c: Likewise.
87836         * sunrpc/xdr_ref.c: Likewise.
87837         * sunrpc/xdr_sizeof.c: Likewise.
87838         * sunrpc/xdr_stdio.c: Likewise.
87840 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
87842         [BZ #12650]
87843         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
87844         * sysdeps/ia64/dl-tls.h: Likewise.
87845         * sysdeps/powerpc/dl-tls.h: Likewise.
87846         * sysdeps/s390/dl-tls.h: Likewise.
87847         * sysdeps/sh/dl-tls.h: Likewise.
87848         * sysdeps/sparc/dl-tls.h: Likewise.
87849         * sysdeps/x86_64/dl-tls.h: Likewise.
87850         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
87852 2011-03-14  Andreas Schwab  <schwab@redhat.com>
87854         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
87855         rpath element also skip the following colon.
87856         (expand_dynamic_string_token): Add is_path parameter and pass
87857         down to DL_DST_REQUIRED and _dl_dst_substitute.
87858         (decompose_rpath): Call expand_dynamic_string_token with
87859         non-zero is_path.  Ignore empty rpaths.
87860         (_dl_map_object_from_fd): Call expand_dynamic_string_token
87861         with zero is_path.
87863 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
87865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
87866         Make cancelable.
87868 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
87870         [BZ #12655]
87871         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
87872         Patch by Filipe David Manana <fdmanana@apache.org>.
87874 2011-04-07  Andreas Schwab  <schwab@redhat.com>
87876         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
87877         Maintain aligned stack.
87878         (CHECK_RSP): Remove unused macro.
87880 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
87882         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
87883         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
87885 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
87887         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
87889         * include/features.h: Mention __USE_XOPEN2K8 in comment.
87891 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
87893         [BZ #12518]
87894         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
87895         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
87896         * sysdeps/x86_64/memmove.c: New file.
87897         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
87898         (memcpy): Renamed to ...
87899         (__new_memcpy): This.
87900         (memcpy): Provide GLIBC_2_14 memcpy.
87901         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
87902         (memcpy): Provide GLIBC_2_2_5 memcpy.
87904 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87906         [BZ #12631]
87907         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
87909 2011-03-30  Andreas Schwab  <schwab@redhat.com>
87911         * misc/syncfs.c: New file.
87912         * misc/Makefile (routines): Add syncfs.
87913         * posix/unistd.h: Declare syncfs.
87914         * sysdeps/unix/syscalls.list: Add syncfs.
87916 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87918         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
87919         open_by_handle_at.
87920         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87921         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87922         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87923         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87924         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87925         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
87926         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87928 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87930         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
87931         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87932         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
87933         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87934         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87935         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87936         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87938         * io/Makefile: Compile fallocate.c, fallocate64.c, and
87939         sync_file_range.c with -fexceptions.
87940         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
87941         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
87942         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
87943         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
87944         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
87945         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
87946         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
87947         sync_file_range as cancellation point
87948         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
87949         now a wrapper around __call_sync_file_range with cancellation handling.
87950         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
87951         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
87952         function name to __call_sync_file_range.
87953         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
87954         Add call_sync_file_range.
87956 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87958         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87959         bits/timex.h.
87961 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87963         * iconv/iconv.h: Fix typo in comment.
87964         * io/fcntl.h: Likewise.
87965         * libio/stdio.h: Likewise.
87966         * posix/spawn.h: Likewise.
87967         * posix/unistd.h: Likewise.
87968         * stdlib/stdlib.h: Likewise.
87969         * time/time.h: Likewise.
87970         * wcsmbs/wchar.h: Likewise.
87972         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
87973         open_by_handle): Add.
87974         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
87975         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
87976         Augment a few comments.
87977         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87978         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87979         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87980         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87981         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87982         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
87983         open_by_handle.
87985         * io/fcntl.h (AT_EMPTY_PATH): Define.
87987 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
87989         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
87990         * sysdeps/unix/sysv/linux/bits/time.h: New file.
87991         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
87992         to...
87993         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
87994         * Versions.def: Add GLIBC_2.14.
87995         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
87996         Export.
87998 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
88000         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
88001         round counter.
88002         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88004 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
88006         [BZ #12597]
88007         * string/test-strncmp.c (do_page_test): New function.
88008         (check2): Likewise.
88009         (test_main): Call check2.
88010         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
88012 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
88014         [BZ #12587]
88015         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
88016         Handle cache information in CPU leaf 4.
88017         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88019 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
88021         [BZ #12583]
88022         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
88023         character representation.
88024         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
88026 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
88028         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
88029         END(__isnan) to END(__isnanf) to match function entry point/label
88030         EALIGN(__isnanf,...).
88032 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
88034         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
88036 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
88038         [BZ #12510]
88039         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
88040         copy from the symbol referenced in the relocation to initialize the
88041         used variable.
88042         Patch by Piotr Bury <pbury@goahead.com>.
88043         * elf/Makefile: Add rules to build and tst-unique3.
88044         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
88045         * elf/tst-unique3.cc: New file.
88046         * elf/tst-unique3.h: New file.
88047         * elf/tst-unique3lib.cc: New file.
88048         * elf/tst-unique3lib2.cc: New file.
88050         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
88052 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
88054         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
88055         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
88056         to _start.
88058 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
88060         * elf/dl-load.c (_dl_map_object): If we are looking for the first
88061         to-be-loaded object along a path to loader is ld.so.
88063 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88064             Ulrich Drepper  <drepper@gmail.com>
88066         * sysdeps/x86_64/memset.S: After aligning destination, code
88067         branches to different locations depending on the value of
88068         misalignment, when multiarch is enabled. Fix this.
88070 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88072         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
88073         Set _x86_64_preferred_memory_instruction for AMD processsors.
88074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88075         Set bit_Prefer_SSE_for_memop for AMD processors.
88077 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
88079         * libio/fmemopen.c (fmemopen): Optimize a bit.
88081 2011-03-03  Andreas Schwab  <schwab@redhat.com>
88083         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
88085 2011-03-03  Roland McGrath  <roland@redhat.com>
88087         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
88089 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
88091         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
88092         __bzero_ultra1 instead of __memset_ultra1.
88094 2011-02-23  Andreas Schwab  <schwab@redhat.com>
88095             Ulrich Drepper  <drepper@gmail.com>
88097         [BZ #12509]
88098         * include/link.h (struct link_map): Add l_orig_initfini.
88099         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
88100         returning unsuccessfully.
88101         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
88102         close of a file loaded at startup, restore the original l_initfini
88103         list.
88104         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
88105         list, store the pointer.
88106         * elf/Makefile ($(objpfx)noload-mem): New rule.
88107         (noload-ENV): Define.
88108         (tests): Add $(objpfx)noload-mem.
88109         * elf/noload.c: Include <memcheck.h>.
88110         (main): Call mtrace.  Close all opened handles.
88112 2011-02-17  Andreas Schwab  <schwab@redhat.com>
88114         [BZ #12454]
88115         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
88116         dependencies are missing.
88118 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88120         Fix __if_freereq crash: Unlike the generic version which uses free,
88121         Hurd needs munmap.
88122         * sysdeps/mach/hurd/ifreq.h: New file.
88124 2011-01-27  Petr Baudis  <pasky@suse.cz>
88125             Ulrich Drepper  <drepper@gmail.com>
88127         [BZ 12445]#
88128         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
88129         to extend_alloca().
88130         * stdio-common/bug23.c: New file.
88131         * stdio-common/Makefile (tests): Add bug23.
88133 2010-09-28  Andreas Schwab  <schwab@redhat.com>
88134             Ulrich Drepper  <drepper@gmail.com>
88136         [BZ #12489]
88137         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
88138         before performing relro protection.  At old place add assertion
88139         to make sure nothing changed.
88141 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
88142             Glauber de Oliveira Costa  <glommer@gmail.com>
88144         * elf/elf.h: Add new ARM TLS relocs.
88146 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
88148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
88149         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
88150         cast from r3.
88151         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
88152         'tests' variable.
88153         * sysdeps/wordsize-64/tst-writev.c: New file.
88155 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
88157         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
88158         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
88159         insns in _dl_start to prevent a TOC reference before relocs are
88160         resolved.
88162 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
88164         [BZ #12469]
88165         * Makeconfig: Remove RANLIB definition.
88166         * Makerules: Don't use RANLIB.
88167         * aclocal.m4: Remove ranlib test.
88168         * configure.in: No need to check for ranlib.
88169         * elf/rtld-Rules: Don't use RANLIB.
88171 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88173         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
88174         protection macro.
88175         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
88176         inclusion protection macro.
88178         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
88179         SIGRTMIN and SIGRTMAX and print information in that case only when
88180         SIGRTMIN is defined.
88182 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
88184         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
88185         arginfo fn returning -1.
88187         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
88188         and thousands string is zero terminated.
88190 2011-02-03  Andreas Schwab  <schwab@redhat.com>
88192         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
88193         sysdeps/unix/sysv/linux/bits/socket.h.
88195 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88197         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
88198         (__CPU_COUNT): Remove old macros.
88199         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
88200         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
88201         (__CPU_ALLOC, __CPU_FREE): Add macros.
88202         (__sched_cpualloc, __sched_cpufree): Add declarations.
88204 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
88206         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
88207         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
88208         * nscd/aicache.c (addhstaiX): Return timeout of added value.
88209         (readdhstai): Return value of addhstaiX call.
88210         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
88211         (addgrbyX): Return value returned by cache_addgr.
88212         (readdgrbyname): Return value returned by addgrbyX.
88213         (readdgrbygid): Likewise.
88214         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
88215         (addpwbyX): Return value returned by cache_addpw.
88216         (readdpwbyname): Return value returned by addhstbyX.
88217         (readdpwbyuid): Likewise.
88218         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
88219         (addservbyX): Return value returned by cache_addserv.
88220         (readdservbyname): Return value returned by addservbyX:
88221         (readdservbyport): Likewise.
88222         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
88223         (addhstbyX): Return value returned by cache_addhst.
88224         (readdhstbyname): Return value returned by addhstbyX.
88225         (readdhstbyaddr): Likewise.
88226         (readdhstbynamev6): Likewise.
88227         (readdhstbyaddrv6): Likewise.
88228         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
88229         (readdinitgroups): Return value returned by addinitgroupsX.
88230         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
88231         (prune_cache): Keep track of timeout value of re-added entries.
88232         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
88233         * nscd/nscd.h: Adjust prototypes of readd* functions.
88235 2011-02-04  Roland McGrath  <roland@redhat.com>
88237         * nis/nis_server.c (nis_servstate): Use the right name for 0.
88238         (nis_stats): Likewise.
88239         * nis/nis_modify.c (nis_modify): Likewise.
88240         * nis/nis_remove.c (nis_remove): Likewise.
88241         * nis/nis_add.c (nis_add): Likewise.
88243         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
88245         * posix/fnmatch_loop.c: Add some consts.
88247         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
88249 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
88251         [BZ #12460]
88252         * config.make.in (config-cflags-novzeroupper): Define.
88253         * configure.in: Substitute libc_cv_cc_novzeroupper.
88254         * elf/Makefile (AVX-CFLAGS): Define.
88255         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
88256         (CFLAGS-tst-auditmod4a.c): Likewise.
88257         (CFLAGS-tst-auditmod4b.c): Likewise.
88258         (CFLAGS-tst-auditmod6b.c): Likewise.
88259         (CFLAGS-tst-auditmod6c.c): Likewise.
88260         (CFLAGS-tst-auditmod7b.c): Likewise.
88261         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
88263 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
88265         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
88266         function to the callback.
88267         Patch partly by Jiri Olsa <jolsa@redhat.com>.
88269 2011-02-02  Andreas Schwab  <schwab@redhat.com>
88271         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
88272         of errno.
88274 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
88276         [BZ #11724]
88277         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
88278         of constructors.
88279         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
88280         of destructors.
88281         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
88283         [BZ #11724]
88284         * elf/Makefile: Add rules to build and run new test.
88285         * elf/tst-initorder.c: New file.
88286         * elf/tst-initorder.exp: New file.
88287         * elf/tst-initordera1.c: New file.
88288         * elf/tst-initordera2.c: New file.
88289         * elf/tst-initordera3.c: New file.
88290         * elf/tst-initordera4.c: New file.
88291         * elf/tst-initorderb1.c: New file.
88292         * elf/tst-initorderb2.c: New file.
88293         * elf/tst-order-a1.c: New file.
88294         * elf/tst-order-a2.c: New file.
88295         * elf/tst-order-a3.c: New file.
88296         * elf/tst-order-a4.c: New file.
88297         * elf/tst-order-b1.c: New file.
88298         * elf/tst-order-b2.c: New file.
88299         * elf/tst-order-main.c: New file.
88300         New test case by George Gensure <werkt0@gmail.com>.
88302 2010-10-01  Andreas Schwab  <schwab@redhat.com>
88304         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88305         decoding ACE if AI_CANONIDN.
88307 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
88309         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
88311 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
88313         * version.h (RELEASE): Bump for 2.13 release.
88314         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
88316         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
88318         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
88319         MADV_NOHUGEPAGE.
88320         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
88321         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
88322         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
88323         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
88324         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
88325         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88327         * posix/getconf.c: Update copyright year.
88328         * catgets/gencat.c: Likewise.
88329         * csu/version.c: Likewise.
88330         * debug/catchsegv.sh: Likewise.
88331         * debug/xtrace.sh: Likewise.
88332         * elf/ldconfig.c: Likewise.
88333         * elf/ldd.bash.in: Likewise.
88334         * elf/sprof.c (print_version): Likewise.
88335         * iconv/iconv_prog.c: Likewise.
88336         * iconv/iconvconfig.c: Likewise.
88337         * locale/programs/locale.c: Likewise.
88338         * locale/programs/localedef.c: Likewise.
88339         * malloc/memusage.sh: Likewise.
88340         * malloc/mtrace.pl: Likewise.
88341         * nscd/nscd.c (print_version): Likewise.
88342         * nss/getent.c: Likewise.
88344         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
88345         PF_CAIF, and PF_ALG.
88346         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88348 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
88350         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
88351         (modules-names): Use them.
88352         (ifunc-test-modules, ifunc-pie-tests): Define.
88353         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
88354         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
88355         (test-extras): Likewise.
88356         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
88357         $(compile-command.c).
88358         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
88359         (all-built-dso): Define.
88360         (check-textrel.out, check-execstack.out): Depend on it.
88362         * configure.in: Don't override --enable-multi-arch.
88364 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
88366         [BZ #6812]
88367         * nscd/hstcache.c (tryagain): Define.
88368         (cache_addhst): Return tryagain not notfound for temporary errors.
88369         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
88370         failed.
88372 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
88374         [BZ #10563]
88375         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
88376         to make the syscall.
88377         * sysdeps/unix/sysv/linux/setgroups.c: New file.
88379         [BZ #12378]
88380         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
88381         and fall back to matching as normal character if the string ends before
88382         the matching ']' is found.  This is what POSIX requires.
88383         * posix/testfnm.c: Adjust test result.
88384         * posix/globtest.sh: Adjust test result.  Add new test.
88385         * posix/tst-fnmatch.input: Likewise.
88386         * posix/tst-fnmatch2.c: Add new test.
88388 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
88390         * elf/Makefile (check-execstack): Revert last change.  Depend on
88391         check-execstack.h.
88392         (check-execstack.h): New target.
88393         (generated): Add check-execstack.h.
88394         * elf/check-execstack.c: Include "check-execstack.h".
88395         (main): Revert last change.
88396         (handle_file): Return zero if GNU_STACK is absent and
88397         DEFAULT_STACK_PERMS doesn't include PF_X.
88399 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
88401         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
88402         in child fails because the descriptor is already closed.
88403         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
88404         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
88405         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
88407         [BZ #12397]
88408         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
88409         syscall.
88411         [BZ #10484]
88412         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
88413         temporary buffer used to handle multi lookups locally.
88414         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
88416 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88418         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
88419         loader is ld.so.
88421 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
88423         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
88424         alignment for SSE2.
88426 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88428         [BZ #12394]
88429         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
88430         characters.  When rounding increased number of integer digits recompute
88431         number of groups.
88432         * stdio-common/tst-grouping.c: New file.
88433         * stdio-common/Makefile: Add rules to build and run tst-grouping.
88435 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
88437         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
88438         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
88440         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
88441         void.
88442         * bits/select.h: Likewise.
88444 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
88446         * po/ja.po: Update from translation team.
88448 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
88450         [BZ #11155]
88451         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
88452         implementation just like for lxstat, fxstatat, et al.
88454 2010-12-27  Jim Meyering  <meyering@redhat.com>
88456         [BZ #12348]
88457         * posix/regexec.c (build_trtable): Return failure indication upon
88458         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
88460 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
88462         [BZ #12201]
88463         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
88464         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
88465         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
88466         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
88468         [BZ #12207]
88469         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
88471         [BZ #12204]
88472         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
88473         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
88475 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
88477         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
88478         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
88479         script has SORT_BY_INIT_PRIORITY.
88480         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
88481         NO_CTORS_DTORS_SECTIONS is defined.
88482         * elf/soinit.c: Likewise.
88483         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
88484         NO_CTORS_DTORS_SECTIONS is defined.
88485         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
88486         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
88487         * sysdeps/sh/init-first.c: Likewise.
88488         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
88490 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
88492         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
88493         always use the slow path.
88495 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
88497         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
88498         similar rule which adds the sysdep directories to the header search in
88499         order to pick up the correct platform stackinfo.h.
88500         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
88501         perform test if it is, otherwise return successfully without testing.
88502         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
88503         DEFAULT_STACK_PERMS define in stackinfo.h.
88504         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
88505         defined in stackinfo.h.
88506         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
88507         DEFAULT_STACK_PERMS defined in stackinfo.h.
88508         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
88509         * sysdeps/ia64/stackinfo.h: Likewise.
88510         * sysdeps/s390/stackinfo.h: Likewise.
88511         * sysdeps/sh/stackinfo.h: Likewise.
88512         * sysdeps/sparc/stackinfo.h: Likewise.
88513         * sysdeps/x86_64/stackinfo.h: Likewise.
88514         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
88515         PF_X for powerpc64.  Retain PF_X for powerpc32.
88517 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
88519         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
88520         accurately.
88521         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
88522         GETDENTS_64BIT_ALIGNED.
88524 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
88526         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
88528 2010-12-10  Andreas Schwab  <schwab@redhat.com>
88530         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
88531         _GNU_SOURCE.
88533         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
88534         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
88535         Remove __restrict.
88536         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
88537         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
88539 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
88541         [BZ #11655]
88542         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
88543         are initialized.
88545 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
88547         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
88549 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
88551         * po/it.po: Update from translation team.
88553 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
88555         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
88556         unused codes.
88558 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
88560         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
88562 2010-11-24  Andreas Schwab  <schwab@redhat.com>
88564         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
88565         specially.
88566         (gaih_getanswer_slice): Likewise.
88568 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
88570         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
88572 2010-05-31  Petr Baudis  <pasky@suse.cz>
88574         [BZ #11149]
88575         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
88576         silently even in the chroot mode.
88578 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
88580         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
88581         last patch a bit.  Pretty printing
88583 2010-05-31  Petr Baudis <pasky@suse.cz>
88585         [BZ #10085]
88586         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
88587         initialization of skip_initgroups_dyn.
88589 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
88591         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
88592         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88594 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
88596         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
88598 2010-11-11  Andreas Schwab  <schwab@redhat.com>
88600         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
88601         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
88602         (tst-fnmatch-ENV): Set MALLOC_TRACE.
88603         ($(objpfx)tst-fnmatch-mem): New rule.
88604         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
88605         * posix/tst-fnmatch.c (main): Call mtrace.
88607 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
88609         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88610         Support Intel processor model 6 and model 0x2c.
88612 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
88614         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
88615           signed comparison.
88617 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
88619         [BZ #12205]
88620         * string/test-strncasecmp.c (check_result): New function.
88621         (do_one_test): Use it.
88622         (check1): New function.
88623         (test_main): Use it.
88624         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
88625         Support strcasecmp and strncasecmp.
88627 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
88629         [BZ #12194]
88630         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
88631         * sysdeps/x86_64/bits/byteswap.h: Likewise.
88633 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
88635         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
88636         IFUNC support.
88637         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88638         memset-x86-64.
88639         * sysdeps/x86_64/multiarch/bzero.S: New file.
88640         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
88641         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
88642         * sysdeps/x86_64/multiarch/memset.S: New file.
88643         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
88644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88645         Set bit_Prefer_SSE_for_memop for Intel processors.
88646         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
88647         Define.
88648         (index_Prefer_SSE_for_memop): Define.
88649         (HAS_PREFER_SSE_FOR_MEMOP): Define.
88651 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
88653         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
88654         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
88656 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
88658         [BZ #12191]
88659         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
88660         (__x86_64_raw_data_cache_size_half): Likewise.
88661         (__x86_64_raw_shared_cache_size): Likewise.
88662         (__x86_64_raw_shared_cache_size_half): Likewise.
88664         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
88665         (__x86_64_raw_data_cache_size_half): Likewise.
88666         (__x86_64_raw_shared_cache_size): Likewise.
88667         (__x86_64_raw_shared_cache_size_half): Likewise.
88668         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
88669         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
88670         and __x86_64_raw_shared_cache_size_half.  Round
88671         __x86_64_data_cache_size_half, __x86_64_data_cache_size
88672         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
88673         to multiple of 256 bytes.
88675 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
88677         [BZ #12167]
88678         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
88679         of inacessible symlinks.  Verify result of symlink before returning it.
88680         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
88681         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
88683 2010-10-28  Erich Ritz  <erichritz@gmail.com>
88685         * math/math.h (isinf): Fix typo in comment.
88687 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
88689         * po/da.po: Update from translation team.
88691 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
88693         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
88694         is added to the list.
88696 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88697             Ulrich Drepper  <drepper@gmail.com>
88699         * elf/dl-object.c (_dl_new_object): Don't append the new object to
88700         the global list here.  Move code to...
88701         (_dl_add_to_namespace_list): ...here.  New function.
88702         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
88703         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
88704         * elf/dl-load.c (lose): Don't remove the element from the list.
88705         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
88706         (_dl_map_object): Likewise.
88708 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
88710         [BZ #12159]
88711         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
88712         into all bytes of SSE register.
88713         Patch by Richard Li <richardpku@gmail.com>.
88715 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
88717         [BZ #12140]
88718         * malloc/malloc.c (_int_free): Fill correct number of bytes when
88719         perturbing.
88721 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
88723         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
88724         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
88725         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
88726         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
88728         submachine.
88729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
88731 2010-10-22  Andreas Schwab  <schwab@redhat.com>
88733         * include/dlfcn.h (__RTLD_SECURE): Define.
88734         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
88735         mode & __RTLD_SECURE instead.
88736         (open_path): Rename preloaded parameter to secure.
88737         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
88738         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
88739         * elf/dl-deps.c (openaux): Likewise.
88740         * elf/rtld.c (struct map_args): Remove is_preloaded.
88741         (map_doit): Don't use it.
88742         (dl_main): Likewise.
88743         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
88744         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
88746 2010-09-09  Andreas Schwab  <schwab@redhat.com>
88748         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
88749         (sysd-rules-targets): Remove duplicates.
88750         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
88751         rtld-%.$o dependency.
88753 2010-10-18  Andreas Schwab  <schwab@redhat.com>
88755         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
88756         _dl_map_object do it.
88758 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
88760         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
88761         fast fma builtins, define the macros in the C99 standard.
88762         (FP_FAST_FMAF): Likewise.
88763         (FP_FAST_FMAL): Likewise.
88764         * sysdeps/x86_64/bits/mathdef.h: Likewise.
88766         * bits/mathdef.h: Update copyright year.
88767         * sysdeps/powerpc/bits/mathdef.h: Likewise.
88769 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
88771         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
88772         builtins, define the macros in the C99 standard.
88773         (FP_FAST_FMAF): Likewise.
88774         (FP_FAST_FMAL): Likewise.
88775         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
88776         multiply/add.
88777         (FP_FAST_FMAF): Likewise.
88779 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
88781         [BZ #3268]
88782         * math/libm-test.inc (fma_test): Some new testcases.
88783         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
88784         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
88785         y and infinite z.  Do multiplication by C already in long double.
88786         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
88787         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
88788         y and infinite z.  Do bitwise or of inexact bit into u.d.
88789         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
88790         * sysdeps/i386/fpu/s_fmaf.S: Removed.
88791         * sysdeps/i386/fpu/s_fma.S: Removed.
88792         * sysdeps/i386/fpu/s_fmal.S: Removed.
88794 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
88796         [BZ #3268]
88797         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
88798         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
88799         computation is not scheduled after fetestexcept.  Fix value
88800         of minimum denormal long double.
88802 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
88804         [BZ #3268]
88805         * math/libm-test.inc (fma_test): Add some more tests.
88806         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
88807         correctly.
88809 2010-10-15  Andreas Schwab  <schwab@redhat.com>
88811         * scripts/data/localplt-s390-linux-gnu.data: New file.
88812         * scripts/data/localplt-s390x-linux-gnu.data: New file.
88814 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
88816         [BZ #3268]
88817         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
88818         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
88819         instead of dbl-64.
88820         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
88821         inlines.
88822         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
88823         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
88824         if one of x and y is very large and the other is subnormal.
88825         * sysdeps/s390/fpu/s_fmaf.c: New file.
88826         * sysdeps/s390/fpu/s_fma.c: New file.
88827         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
88828         * sysdeps/powerpc/fpu/s_fma.S: New file.
88829         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
88830         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
88831         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
88833 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
88835         [BZ #3268]
88836         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
88837         fma tests.
88838         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
88839         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
88840         * sysdeps/i386/i686/multiarch/s_fma.c: Include
88841         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
88842         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
88843         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
88844         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
88846 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
88848         [BZ #12078]
88849         * posix/regcomp.c (parse_branch): One more memory leak plugged.
88850         * posix/bug-regex31.input: Add test case.
88852 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88854         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
88855         * posix/bug-regex31.input: New file.
88857         [BZ #12078]
88858         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
88859         (parse_sub_exp): Fix last change, use postorder.
88861         * posix/bug-regex31.c: New file.
88862         * posix/Makefile: Add rules to build and run bug-regex31.
88864         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
88866         [BZ #12078]
88867         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
88869         [BZ #12108]
88870         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
88871         to have entries in sys_siglist.
88873         [BZ #12093]
88874         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
88875         be NULL.
88877 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
88879         [BZ #3268]
88880         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
88881         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
88882         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
88883         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
88884         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88885         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
88886         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
88887         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
88888         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
88889         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
88890         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
88891         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
88892         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
88893         * math/ftestexcept.c (fetestexcept): Likewise.
88894         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
88895         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
88896         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
88897         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
88898         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
88899         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
88900         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
88902 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88904         [BZ #12107]
88905         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
88906         newline.
88908 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
88910         * string/bug-strstr1.c: New file.
88911         * string/Makefile: Add rules to build and run bug-strstr1.
88913 2010-10-05  Eric Blake  <eblake@redhat.com>
88915         [BZ #12092]
88916         * string/str-two-way.h (two_way_long_needle): Always clear memory
88917         when skipping input due to the shift table.
88919 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
88921         [BZ #12005]
88922         * malloc/mcheck.c: Handle large requests.
88924         [BZ #12077]
88925         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
88926         for strncmp and strncasecmp.
88927         * string/stratcliff.c: Add tests for strcmp and strncmp.
88928         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
88930 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
88932         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
88933         __set_fpscr.
88935 2010-09-30  Andreas Jaeger  <aj@suse.de>
88937         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
88938         (CGROUP_SUPER_MAGIC): Define.
88939         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88940         Handle btrfs and cgroup file systems.
88941         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
88942         Likewise.
88944 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
88946         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
88947         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
88949 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88951         [BZ #12067]
88952         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
88953         trying to locate the ELF header.
88955 2010-09-27  Andreas Schwab  <schwab@redhat.com>
88957         [BZ #11611]
88958         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
88959         Mask out sign-bit copies when constructing f_fsid.
88961 2010-09-24  Petr Baudis <pasky@suse.cz>
88963         * debug/stack_chk_fail_local.c: Add missing licence exception.
88964         * debug/warning-nop.c: Likewise.
88966 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
88968         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
88969         implementing getdents64 using getdents syscall, set d_type if
88970         __ASSUME_GETDENTS32_D_TYPE.
88972 2010-09-16  Andreas Schwab  <schwab@redhat.com>
88974         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
88975         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
88977 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
88979         [BZ #12037]
88980         * posix/unistd.h: Undo change of feature selection for ftruncate from
88981         2010-01-11.
88983 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
88985         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
88986         detection.
88988 2010-09-20  Andreas Schwab  <schwab@redhat.com>
88990         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
88991         fanotify_mark.
88992         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88994 2010-09-14  Andreas Schwab  <schwab@redhat.com>
88996         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
88997         variables after CHECK_SP call.
88998         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
89000 2010-09-13  Andreas Schwab  <schwab@redhat.com>
89001             Ulrich Drepper  <drepper@redhat.com>
89003         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
89004         re-relocationg ld.so.
89005         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
89006         _dl_init_paths call.
89007         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
89008         here anymore.
89010 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
89012         * resolv/res_init.c (__res_vinit): Count the default server we added.
89014 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
89015             Ulrich Drepper  <drepper@redhat.com>
89017         [BZ #11968]
89018         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89019         (____longjmp_chk): Use %ebx for saving value across system call.
89020         Add unwind info.
89022 2010-09-06  Andreas Schwab  <schwab@redhat.com>
89024         * manual/Makefile: Don't mix pattern rules with normal rules.
89026 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
89028         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
89029         operation.
89030         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
89031         * libio/iofopncook.c (_IO_cookie_init): Likewise.
89032         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
89033         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
89034         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89035         Likewise.
89037 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
89039         [BZ #11979]
89040         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
89041         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
89043 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
89045         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
89046         * sysdeps/x86_64/addmul_1.S: Likewise.
89047         * sysdeps/x86_64/lshift.S: Likewise.
89048         * sysdeps/x86_64/mul_1.S: Likewise.
89049         * sysdeps/x86_64/rshift.S: Likewise.
89050         * sysdeps/x86_64/sub_n.S: Likewise.
89051         * sysdeps/x86_64/submul_1.S: Likewise.
89053 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89055         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
89056         Define __sched_param instead of SCHED_* and sched_param when
89057         <bits/sched.h> is included with __need_schedparam defined.
89058         * bits/sched.h [__need_schedparam]
89059         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
89060         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
89061         (__defined_schedparam): Define to 1.
89062         (__sched_param): New structure, identical to sched_param.
89063         (__need_schedparam): Undefine.
89065 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
89067         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
89068         (epoll_create1): Declare.
89070         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
89072 2010-08-31  Andreas Schwab  <schwab@redhat.com>
89074         [BZ #7066]
89075         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
89076         shifting retval into place.
89078 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
89080         * nis/rpcsvc/nis.h: Update copyright notice.
89081         * nis/rpcsvc/nis.x: Likewise.
89082         * nis/rpcsvc/nis_callback.h: Likewise.
89083         * nis/rpcsvc/nis_callback.x: Likewise.
89084         * nis/rpcsvc/nis_object.x: Likewise.
89085         * nis/rpcsvc/nis_tags.h: Likewise.
89086         * nis/rpcsvc/yp.h: Likewise.
89087         * nis/rpcsvc/yp.x: Likewise.
89088         * nis/rpcsvc/ypupd.h: Likewise.
89089         * nis/yp_xdr.c: Likewise.
89090         * nis/ypupdate_xdr.c: Likewise.
89092         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
89093         mainly the body of pmap_getport.  Add parameters to specify timeouts.
89094         (pmap_getport): Use __libc_rpc_getport.
89095         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
89096         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
89097         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
89099 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
89101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
89102         fanotify_mark.
89104 2010-08-27  Roland McGrath  <roland@redhat.com>
89106         * sysdeps/i386/i686/multiarch/Makefile
89107         (CFLAGS-varshift.c): New variable.
89109 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
89111         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
89112         * sysdeps/i386/i686/multiarch/varshift.c: New file.
89114         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
89116         * sysdeps/x86_64/strlen.S: Minimal code improvement.
89118 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
89120         * sysdeps/x86_64/strlen.S: Unroll the loop.
89121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89122         strlen-sse2 strlen-sse2-bsf.
89123         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
89124         __strlen_no_bsf if bit_Slow_BSF is set.
89125         (__strlen_sse42): Removed.
89126         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
89127         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
89129 2010-08-25  Roland McGrath  <roland@redhat.com>
89131         * sysdeps/x86_64/multiarch/varshift.S: File removed.
89132         * sysdeps/x86_64/multiarch/varshift.c: New file.
89133         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
89134         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
89135         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
89136         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
89138 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
89140         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89141         strlen-sse2 strlen-sse2-bsf.
89142         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
89143         __strlen_sse2_bsf if bit_Slow_BSF is unset.
89144         (__strlen_sse2): Removed.
89145         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
89146         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
89147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
89148         bit_Slow_BSF for Atom.
89149         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
89150         (index_Slow_BSF): Define.
89151         (HAS_SLOW_BSF): Define.
89153 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
89155         [BZ #10851]
89156         * resolv/res_init.c (__res_vinit): When no server address at all
89157         is given default to loopback.
89159 2010-08-24  Roland McGrath  <roland@redhat.com>
89161         * configure.in: Remove config-name.h generation.
89162         * configure: Regenerated.
89163         * config-name.in: File removed.
89164         * scripts/config-uname.sh: New file.
89165         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
89166         ($(objdir)config-name.h): New target.
89168         * sunrpc/rpc_parse.h: Avoid nested comment.
89170 2010-08-24  Richard Henderson  <rth@redhat.com>
89171             Ulrich Drepper  <drepper@redhat.com>
89172             H.J. Lu  <hongjiu.lu@intel.com>
89174         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
89175         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
89176         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
89177         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
89178         _mm_alignr_epi8 with _mm_loadu_si128.
89179         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
89180         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
89181         (__m128i_shift_right): Removed.
89182         * sysdeps/i386/i686/multiarch/varshift.h: New file.
89183         * sysdeps/i386/i686/multiarch/varshift.S: New file.
89184         * sysdeps/x86_64/multiarch/varshift.h: New file.
89185         * sysdeps/x86_64/multiarch/varshift.S: New file.
89187 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
89189         * configure.in: Move assembler checks to before sysdep dir checking.
89191 2010-08-20  Petr Baudis  <pasky@suse.cz>
89193         * LICENSES: Sync the sunrpc license.
89195 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
89197         * sunrpc/auth_des.c: Update copyright notice once again.
89198         * sunrpc/auth_none.c: Likewise.
89199         * sunrpc/auth_unix.c: Likewise.
89200         * sunrpc/authdes_prot.c: Likewise.
89201         * sunrpc/authuxprot.c: Likewise.
89202         * sunrpc/bindrsvprt.c: Likewise.
89203         * sunrpc/clnt_gen.c: Likewise.
89204         * sunrpc/clnt_perr.c: Likewise.
89205         * sunrpc/clnt_raw.c: Likewise.
89206         * sunrpc/clnt_simp.c: Likewise.
89207         * sunrpc/clnt_tcp.c: Likewise.
89208         * sunrpc/clnt_udp.c: Likewise.
89209         * sunrpc/clnt_unix.c: Likewise.
89210         * sunrpc/des_crypt.c: Likewise.
89211         * sunrpc/des_soft.c: Likewise.
89212         * sunrpc/get_myaddr.c: Likewise.
89213         * sunrpc/getrpcport.c: Likewise.
89214         * sunrpc/key_call.c: Likewise.
89215         * sunrpc/key_prot.c: Likewise.
89216         * sunrpc/openchild.c: Likewise.
89217         * sunrpc/pm_getmaps.c: Likewise.
89218         * sunrpc/pm_getport.c: Likewise.
89219         * sunrpc/pmap_clnt.c: Likewise.
89220         * sunrpc/pmap_prot.c: Likewise.
89221         * sunrpc/pmap_prot2.c: Likewise.
89222         * sunrpc/pmap_rmt.c: Likewise.
89223         * sunrpc/rpc/auth.h: Likewise.
89224         * sunrpc/rpc/auth_unix.h: Likewise.
89225         * sunrpc/rpc/clnt.h: Likewise.
89226         * sunrpc/rpc/des_crypt.h: Likewise.
89227         * sunrpc/rpc/key_prot.h: Likewise.
89228         * sunrpc/rpc/netdb.h: Likewise.
89229         * sunrpc/rpc/pmap_clnt.h: Likewise.
89230         * sunrpc/rpc/pmap_prot.h: Likewise.
89231         * sunrpc/rpc/pmap_rmt.h: Likewise.
89232         * sunrpc/rpc/rpc.h: Likewise.
89233         * sunrpc/rpc/rpc_des.h: Likewise.
89234         * sunrpc/rpc/rpc_msg.h: Likewise.
89235         * sunrpc/rpc/svc.h: Likewise.
89236         * sunrpc/rpc/svc_auth.h: Likewise.
89237         * sunrpc/rpc/types.h: Likewise.
89238         * sunrpc/rpc/xdr.h: Likewise.
89239         * sunrpc/rpc_clntout.c: Likewise.
89240         * sunrpc/rpc_cmsg.c: Likewise.
89241         * sunrpc/rpc_common.c: Likewise.
89242         * sunrpc/rpc_cout.c: Likewise.
89243         * sunrpc/rpc_dtable.c: Likewise.
89244         * sunrpc/rpc_hout.c: Likewise.
89245         * sunrpc/rpc_main.c: Likewise.
89246         * sunrpc/rpc_parse.c: Likewise.
89247         * sunrpc/rpc_parse.h: Likewise.
89248         * sunrpc/rpc_prot.c: Likewise.
89249         * sunrpc/rpc_sample.c: Likewise.
89250         * sunrpc/rpc_scan.c: Likewise.
89251         * sunrpc/rpc_scan.h: Likewise.
89252         * sunrpc/rpc_svcout.c: Likewise.
89253         * sunrpc/rpc_tblout.c: Likewise.
89254         * sunrpc/rpc_util.c: Likewise.
89255         * sunrpc/rpc_util.h: Likewise.
89256         * sunrpc/rpcinfo.c: Likewise.
89257         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
89258         * sunrpc/rpcsvc/key_prot.x: Likewise.
89259         * sunrpc/rpcsvc/klm_prot.x: Likewise.
89260         * sunrpc/rpcsvc/mount.x: Likewise.
89261         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
89262         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
89263         * sunrpc/rpcsvc/rex.x: Likewise.
89264         * sunrpc/rpcsvc/rstat.x: Likewise.
89265         * sunrpc/rpcsvc/rusers.x: Likewise.
89266         * sunrpc/rpcsvc/sm_inter.x: Likewise.
89267         * sunrpc/rpcsvc/spray.x: Likewise.
89268         * sunrpc/rpcsvc/yppasswd.x: Likewise.
89269         * sunrpc/rtime.c: Likewise.
89270         * sunrpc/svc.c: Likewise.
89271         * sunrpc/svc_auth.c: Likewise.
89272         * sunrpc/svc_authux.c: Likewise.
89273         * sunrpc/svc_raw.c: Likewise.
89274         * sunrpc/svc_run.c: Likewise.
89275         * sunrpc/svc_simple.c: Likewise.
89276         * sunrpc/svc_tcp.c: Likewise.
89277         * sunrpc/svc_udp.c: Likewise.
89278         * sunrpc/svc_unix.c: Likewise.
89279         * sunrpc/svcauth_des.c: Likewise.
89280         * sunrpc/xcrypt.c: Likewise.
89281         * sunrpc/xdr.c: Likewise.
89282         * sunrpc/xdr_array.c: Likewise.
89283         * sunrpc/xdr_float.c: Likewise.
89284         * sunrpc/xdr_mem.c: Likewise.
89285         * sunrpc/xdr_rec.c: Likewise.
89286         * sunrpc/xdr_ref.c: Likewise.
89287         * sunrpc/xdr_sizeof.c: Likewise.
89288         * sunrpc/xdr_stdio.c: Likewise.
89290         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
89291         handling.
89293 2010-08-19  Andreas Schwab  <schwab@redhat.com>
89295         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
89297 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
89299         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
89300         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
89301         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
89302         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
89303         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
89304         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
89305         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
89306         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
89307         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
89308         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
89309         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
89310         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
89311         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
89312         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
89314 2010-07-26  Anton Blanchard  <anton@samba.org>
89316         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
89317         * malloc/arena.c (heap_trim): Likewise.
89319 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
89321         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
89322         here.  Not...
89323         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
89324         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
89326 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
89328         * sysdeps/i386/elf/Makefile: New file.
89330 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89332         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
89333         from fanotify_init.
89334         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
89335         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89337 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
89339         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
89340         of strncasecmp_l.
89341         * sysdeps/multiarch/strcmp.S: Likewise.
89343 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
89345         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89346         strncase_l-nonascii.
89347         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89348         Add strncase_l-ssse3.
89349         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
89350         * sysdeps/x86_64/strcmp.S: Likewise.
89351         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
89352         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
89353         * sysdeps/x86_64/strncase.S: New file.
89354         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
89355         * sysdeps/x86_64/strncase_l.S: New file.
89356         * string/Makefile (strop-tests): Add strncasecmp.
89357         * string/test-strncasecmp.c: New file.
89359         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
89360         warning.
89362         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
89363         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
89365 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89367         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
89369 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
89371         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
89372         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
89373         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
89375 2010-05-01  Alan Modra  <amodra@gmail.com>
89377         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
89378         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
89379         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
89380         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
89381         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
89382         tidying.  Don't tail-call __sigjmp_save for static lib.
89383         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
89384         save location.
89385         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
89386         (CALL_MCOUNT): Add eh info, and nop after bl.
89387         (TAIL_CALL_SYSCALL_ERROR): New macro.
89388         (PSEUDO_RET): Use it.
89389         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
89390         Correct save location of integer regs and cr.
89391         (_dl_profile_resolve): Correct cr save location.  Delete nops
89392         after bl when SHARED.  Reduce cfi size a little by better
89393         placement of cfi directives.
89394         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
89395         make a stack frame.  Instead use parm save area as a temp.
89396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
89397         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
89398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
89399         Don't make a stack frame for parent, use parm save area.
89400         Increase child stack frame to 112 bytes.  Don't save unused reg,
89401         and adjust reg usage.  Set up cfi on error recovery and
89402         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
89403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
89404         (__makecontext): Add dummy nop after jump to exit.
89405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
89406         Use correct parm save area and cr save, reduce stack frame.
89407         Correct cfi for possible PSEUDO_RET frame setup.
89408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
89409         Branch to local label emitted by PSEUDO_RET rather than
89410         __syscall_error.
89412 2010-08-12  Andreas Schwab  <schwab@redhat.com>
89414         [BZ #11904]
89415         * locale/programs/locale.c (print_assignment): New function.
89416         (show_locale_vars): Use it.
89418 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
89420         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
89421         field.
89422         (struct statfs64): Likewise.
89423         (_STATFS_F_FLAGS): Define.
89424         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
89425         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89426         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
89427         (ST_VALID): Define locally.
89428         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
89429         __statvfs_getflags, use the provided value.
89430         * sysdeps/unix/sysv/linux/kernel-features.h: Define
89431         __ASSUME_STATFS_F_FLAGS.
89433         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
89435         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
89436         Add sys/fanotify.h.
89437         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
89438         fanotify_mask for GLIBC_2.13.
89439         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
89440         fanotify_init and fanotify_mark.
89441         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89442         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
89444         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
89445         Add prlimit.
89446         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
89447         prlimit64 for GLIBC_2.13.
89448         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
89449         prlimit64.
89450         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
89451         syscall.
89452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
89453         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89454         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
89455         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
89456         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
89457         add prlimit alias.
89458         * sysdeps/unix/sysv/linux/prlimit.c: New file.
89460         [BZ #11903]
89461         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
89462         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
89464         * nss/Makefile: Add rules to build and run tst-nss-test1.
89465         * shlib-versions: Add entry for libnss_test1.
89466         * nss/nss_test1.c: New file.
89467         * nss/tst-nss-test1.c: New file.
89469         * nss/nsswitch.c (__nss_database_custom): Define new variable.
89470         (__nss_configure_lookup): Set appropriate entry in
89471         __nss_configure_lookup to true.
89472         * nss/nsswitch.h: Define enum with indeces of databases in
89473         databases and __nss_database_custom arrays.  Declare
89474         __nss_database_custom.
89475         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
89476         to avoid using nscd when custom rules are installed.
89477         * nss/getXXbyYY_r.c: Likewise.
89478         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
89480         * nss/nss_files/files-parse.c: Whitespace fixes.
89482 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
89484         [BZ #11883]
89485         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
89486         * posix/fnmatch_loop.c: Likewise.
89488 2010-07-17  Andi Kleen  <ak@linux.intel.com>
89490         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
89491         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
89492         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
89493         * Versions.def [GLIBC_2.13]: Add.
89495 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
89497         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89498         Also fail if tpwd after pwuid call is NULL.
89500 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89502         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
89503         when converting to ms.
89505 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89507         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
89508         EOPNOTSUPP errors with ENOTTY.
89509         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
89510         EOPNOTSUPP errors with ENOTTY.
89512 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
89514         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89515         Add strcasecmp_l-ssse3.
89516         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
89517         strcasecmp.
89518         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
89519         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
89520         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
89522 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
89524         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
89526         * string/Makefile (strop-tests): Add strcasecmp.
89527         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89528         strcasecmp_l-nonascii.
89529         (gen-as-const-headers): Add locale-defines.sym.
89530         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
89531         * sysdeps/x86_64/strcasecmp.S: New file.
89532         * sysdeps/x86_64/strcasecmp_l.S: New file.
89533         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
89534         * sysdeps/x86_64/locale-defines.sym: New file.
89535         * string/test-strcasecmp.c: New file.
89537         * string/test-strcasestr.c: Test both ends of the range of characters.
89538         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
89540 2010-07-29  Roland McGrath  <roland@redhat.com>
89542         [BZ #11856]
89543         * manual/locale.texi (Yes-or-No Questions): Fix example code.
89545 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
89547         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
89548         for ld.so.
89550 2010-07-27  Andreas Schwab  <schwab@redhat.com>
89552         * manual/memory.texi (Malloc Tunable Parameters): Document
89553         M_PERTURB.
89555 2010-07-26  Roland McGrath  <roland@redhat.com>
89557         [BZ #11840]
89558         * configure.in (-fgnu89-inline check): Set and substitute
89559         gnu89_inline, not libc_cv_gnu89_inline.
89560         * configure: Regenerated.
89561         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
89563 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
89565         * string/test-strnlen.c: New file.
89566         * string/Makefile (strop-tests): Add strnlen.
89567         * string/tester.c (test_strnlen): Add a few more test cases.
89568         * string/tst-strlen.c: Better error reporting.
89570         * sysdeps/x86_64/strnlen.S: New file.
89572 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
89574         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
89575         lower-latency instructions.
89577 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
89579         * string/test-strcasestr.c: New file.
89580         * string/test-strstr.c: New file.
89581         * string/Makefile (strop-tests): Add strstr and strcasestr.
89582         * string/str-two-way.h: Don't undefine MAX.
89583         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
89585 2010-07-21  Andreas Schwab  <schwab@redhat.com>
89587         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89588         strcasestr-nonascii.
89589         (CFLAGS-strcasestr-nonascii.c): Define.
89590         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
89591         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
89592         Remove unused attribute.
89594 2010-07-20  Roland McGrath  <roland@redhat.com>
89596         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
89597         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
89598         ld.so.cache was broken.  With it, there is no way to disable dsocaps
89599         like LD_HWCAP_MASK can disable hwcaps.
89601 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89603         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
89605 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
89607         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
89608         call in strcasestr.
89609         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
89610         __strcasestr_sse42_nonascii.
89611         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
89612         strcasestr-nonascii.c.
89613         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
89615 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
89617         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
89618         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
89619         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
89620         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
89622 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
89624         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
89625         fcntl.
89627 2010-07-06  Andreas Schwab  <schwab@redhat.com>
89629         [BZ #11577]
89630         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
89631         dl_signal_cerror.
89633 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
89635         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
89636         _PC_PIPE_BUF using F_GETPIPE_SZ.
89638 2010-07-05  Roland McGrath  <roland@redhat.com>
89640         * manual/arith.texi (Rounding Functions): Fix rint description
89641         implicit in round description.
89643 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
89645         * elf/Makefile: Fix linking for a few tests to make recent linker
89646         happy.
89648 2010-06-30  Andreas Schwab  <schwab@redhat.com>
89650         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
89651         $(common-objpfx)libc_nonshared.a.
89653 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
89655         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
89656         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
89657         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
89658         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
89659         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
89660         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
89661         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
89662         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
89663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
89664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
89665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
89666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
89667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
89668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
89669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
89670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
89671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
89672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
89673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
89674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
89675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
89676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
89677         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
89678         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
89679         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
89680         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
89681         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
89682         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
89683         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
89684         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
89685         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
89686         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
89687         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
89688         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
89689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
89690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
89691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
89692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
89693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
89694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
89695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
89696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
89697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
89698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
89699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
89700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
89701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
89702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
89704 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
89706         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
89707         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
89708         * string/memmove.c (memmove): Renamed to ...
89709         (MEMMOVE): ...this.  Default to memmove.
89710         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
89711         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
89712         (END_CHK): Define.
89713         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89714         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
89715         mempcpy-ssse3-back memmove-ssse3-back.
89716         * sysdeps/x86_64/multiarch/bcopy.S: New file .
89717         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
89718         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
89719         * sysdeps/x86_64/multiarch/memcpy.S: New file.
89720         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
89721         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
89722         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
89723         * sysdeps/x86_64/multiarch/memmove.c: New file.
89724         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
89725         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
89726         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
89727         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
89728         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
89729         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
89730         Define.
89731         (index_Fast_Copy_Backward): Define.
89732         (HAS_ARCH_FEATURE): Define.
89733         (HAS_FAST_REP_STRING): Define.
89734         (HAS_FAST_COPY_BACKWARD): Define.
89736 2010-06-21  Andreas Schwab  <schwab@redhat.com>
89738         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89739         Restore proper fallback handling.
89741 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
89743         [BZ #11701]
89744         * posix/group_member.c (__group_member): Correct checking loop.
89746         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
89747         OOM in getpwuid_r correctly.  Return error number when the caller
89748         should return, otherwise -1.
89749         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
89750         call returning > 0 value.
89751         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
89753 2010-06-07  Andreas Schwab  <schwab@redhat.com>
89755         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
89756         libc_nonshared.a from targets in modules-names.
89758 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
89760         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
89761         requires it.
89763 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
89765         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
89766         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
89767         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
89768         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
89770 2010-06-02  Andreas Schwab  <schwab@redhat.com>
89772         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
89774 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
89776         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
89777         and F_GETPIPE_SZ.
89778         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
89779         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89780         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89781         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89782         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89783         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89785 2010-06-14  Roland McGrath  <roland@redhat.com>
89787         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
89789 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
89791         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
89792         __REDIRECT followed by __THROW.
89793         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
89794         * posix/getopt.h (getopt): Likewise.
89796 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89798         * hurd/lookup-at.c (__file_name_lookup_at): Accept
89799         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
89800         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
89801         in AT_FLAGS.
89802         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
89803         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
89805 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
89807         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
89809 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
89811         [BZ #11640]
89812         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89813         Properly check family and model.
89815 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
89817         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
89819 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
89821         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
89823 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
89825         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
89826         symbol reference.
89828 2010-05-19  Andreas Schwab  <schwab@redhat.com>
89830         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
89831         symbol reference.
89833 2010-05-21  Andreas Schwab  <schwab@redhat.com>
89835         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
89836         and internal_recvmmsg.
89837         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
89838         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
89839         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
89840         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
89842         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
89843         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
89844         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
89846 2010-05-20  Andreas Schwab  <schwab@redhat.com>
89848         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
89850 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
89852         POWER7 optimizations.
89853         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
89854         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
89856 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
89858         * version.h: Update for 2.13 development version.
89860 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
89862         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
89863         exceptions.  Return 0.
89865 2010-05-07  Roland McGrath  <roland@redhat.com>
89867         * elf/ldconfig.c (main): Add a const.
89869 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
89871         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
89872         (args_options): Add no-idn option.
89873         (ahosts_keys_int): Add idn_flags to ai_flags.
89874         (parse_option): Handle 'i' option to clear idn_flags.
89876         * malloc/malloc.c (_int_free): Possible race in the most recently
89877         added check.  Only act on the data if no current modification
89878         happened.
89880 See ChangeLog.17 for earlier changes.